@azure/arm-mixedreality 4.1.0-alpha.20221128.1 → 4.1.0-beta.1

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 +6 -3
  2. package/dist/index.js +213 -67
  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 +48 -17
  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 +13 -9
  37. package/review/arm-mixedreality.api.md +27 -28
  38. package/src/index.ts +1 -0
  39. package/src/mixedRealityClient.ts +59 -19
  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 +1 @@
1
- {"version":3,"file":"spatialAnchorsAccounts.js","sourceRoot":"","sources":["../../../src/operations/spatialAnchorsAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA0BnD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAM,OAAO,0BAA0B;IAGrC;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAAgE;QAEhE,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;YACpD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAAgE;;YAEhE,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,mBAAm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,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given a result page from a pageable operation, returns a
6
+ * continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page A result object from calling .byPage() on a paged operation.
9
+ * @returns The continuation token that can be passed into byPage().
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,32 @@
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
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given a result page from a pageable operation, returns a
11
+ * continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page A result object from calling .byPage() on a paged operation.
14
+ * @returns The continuation token that can be passed into byPage().
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;QAC7C,OAAO,SAAS,CAAC;KAClB;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE;QACnE,OAAO;KACR;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC"}
@@ -6,24 +6,22 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
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: []
9
+ import { Recorder } from "@azure-tools/test-recorder";
10
+ const replaceableVariables = {
11
+ AZURE_CLIENT_ID: "azure_client_id",
12
+ AZURE_CLIENT_SECRET: "azure_client_secret",
13
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
14
+ SUBSCRIPTION_ID: "azure_subscription_id"
15
+ };
16
+ const recorderOptions = {
17
+ envSetupForPlayback: replaceableVariables
21
18
  };
22
19
  describe("My test", () => {
23
20
  let recorder;
24
21
  beforeEach(function () {
25
22
  return __awaiter(this, void 0, void 0, function* () {
26
- recorder = record(this, recorderEnvSetup);
23
+ recorder = new Recorder(this.currentTest);
24
+ yield recorder.start(recorderOptions);
27
25
  });
28
26
  });
29
27
  afterEach(function () {
@@ -1 +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"}
1
+ {"version":3,"file":"sampleTest.js","sourceRoot":"","sources":["../../test/sampleTest.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,QAAQ,EAGT,MAAM,4BAA4B,CAAC;AAIpC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;IACvB,IAAI,QAAkB,CAAC;IAEvB,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACxC,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
@@ -3,13 +3,13 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for MixedRealityClient.",
6
- "version": "4.1.0-alpha.20221128.1",
6
+ "version": "4.1.0-beta.1",
7
7
  "engines": {
8
8
  "node": ">=14.0.0"
9
9
  },
10
10
  "dependencies": {
11
11
  "@azure/core-paging": "^1.2.0",
12
- "@azure/core-client": "^1.5.0",
12
+ "@azure/core-client": "^1.6.1",
13
13
  "@azure/core-auth": "^1.3.0",
14
14
  "@azure/core-rest-pipeline": "^1.8.0",
15
15
  "tslib": "^2.2.0"
@@ -34,13 +34,18 @@
34
34
  "mkdirp": "^1.0.4",
35
35
  "rollup": "^2.66.1",
36
36
  "rollup-plugin-sourcemaps": "^0.6.3",
37
- "typescript": "~4.2.0",
37
+ "typescript": "~4.8.0",
38
38
  "uglify-js": "^3.4.9",
39
39
  "rimraf": "^3.0.0",
40
40
  "@azure/identity": "^2.0.1",
41
- "@azure-tools/test-recorder": "^1.0.0",
41
+ "@azure-tools/test-recorder": "^2.0.0",
42
+ "@azure-tools/test-credential": "^1.0.0",
42
43
  "mocha": "^7.1.1",
43
- "cross-env": "^7.0.2"
44
+ "@types/chai": "^4.2.8",
45
+ "chai": "^4.2.0",
46
+ "cross-env": "^7.0.2",
47
+ "@types/node": "^14.0.0",
48
+ "@azure/dev-tool": "^1.0.0"
44
49
  },
45
50
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/mixedreality/arm-mixedreality",
46
51
  "repository": {
@@ -91,9 +96,8 @@
91
96
  "unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
92
97
  "unit-test:browser": "echo skipped",
93
98
  "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"
99
+ "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
100
+ "integration-test:browser": "echo skipped"
97
101
  },
98
102
  "sideEffects": false,
99
103
  "//metadata": {
@@ -113,4 +117,4 @@
113
117
  "disableDocsMs": true,
114
118
  "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality?view=azure-node-preview"
115
119
  }
116
- }
120
+ }
@@ -55,6 +55,9 @@ export interface CloudErrorBody {
55
55
  // @public
56
56
  export type CreatedByType = string;
57
57
 
58
+ // @public
59
+ export function getContinuationToken(page: unknown): string | undefined;
60
+
58
61
  // @public
59
62
  export interface Identity {
60
63
  readonly principalId?: string;
@@ -64,21 +67,15 @@ export interface Identity {
64
67
 
65
68
  // @public
66
69
  export enum KnownCreatedByType {
67
- // (undocumented)
68
70
  Application = "Application",
69
- // (undocumented)
70
71
  Key = "Key",
71
- // (undocumented)
72
72
  ManagedIdentity = "ManagedIdentity",
73
- // (undocumented)
74
73
  User = "User"
75
74
  }
76
75
 
77
76
  // @public
78
77
  export enum KnownNameUnavailableReason {
79
- // (undocumented)
80
78
  AlreadyExists = "AlreadyExists",
81
- // (undocumented)
82
79
  Invalid = "Invalid"
83
80
  }
84
81
 
@@ -148,19 +145,21 @@ export interface MixedRealityClientOptionalParams extends coreClient.ServiceClie
148
145
  export type NameUnavailableReason = string;
149
146
 
150
147
  // @public
151
- export type ObjectAnchorsAccount = TrackedResource & {
148
+ export interface ObjectAnchorsAccount extends TrackedResource {
149
+ readonly accountDomain?: string;
150
+ readonly accountId?: string;
151
+ // (undocumented)
152
152
  identity?: ObjectAnchorsAccountIdentity;
153
+ kind?: Sku;
153
154
  plan?: Identity;
154
155
  sku?: Sku;
155
- kind?: Sku;
156
- readonly systemData?: SystemData;
157
156
  storageAccountName?: string;
158
- readonly accountId?: string;
159
- readonly accountDomain?: string;
160
- };
157
+ readonly systemData?: SystemData;
158
+ }
161
159
 
162
160
  // @public (undocumented)
163
- export type ObjectAnchorsAccountIdentity = Identity & {};
161
+ export interface ObjectAnchorsAccountIdentity extends Identity {
162
+ }
164
163
 
165
164
  // @public
166
165
  export interface ObjectAnchorsAccountPage {
@@ -295,16 +294,16 @@ export interface OperationsListOptionalParams extends coreClient.OperationOption
295
294
  export type OperationsListResponse = OperationPage;
296
295
 
297
296
  // @public
298
- export type RemoteRenderingAccount = TrackedResource & {
297
+ export interface RemoteRenderingAccount extends TrackedResource {
298
+ readonly accountDomain?: string;
299
+ readonly accountId?: string;
299
300
  identity?: Identity;
301
+ kind?: Sku;
300
302
  plan?: Identity;
301
303
  sku?: Sku;
302
- kind?: Sku;
303
- readonly systemData?: SystemData;
304
304
  storageAccountName?: string;
305
- readonly accountId?: string;
306
- readonly accountDomain?: string;
307
- };
305
+ readonly systemData?: SystemData;
306
+ }
308
307
 
309
308
  // @public
310
309
  export interface RemoteRenderingAccountPage {
@@ -420,16 +419,16 @@ export interface Sku {
420
419
  export type SkuTier = "Free" | "Basic" | "Standard" | "Premium";
421
420
 
422
421
  // @public
423
- export type SpatialAnchorsAccount = TrackedResource & {
422
+ export interface SpatialAnchorsAccount extends TrackedResource {
423
+ readonly accountDomain?: string;
424
+ readonly accountId?: string;
424
425
  identity?: Identity;
426
+ kind?: Sku;
425
427
  plan?: Identity;
426
428
  sku?: Sku;
427
- kind?: Sku;
428
- readonly systemData?: SystemData;
429
429
  storageAccountName?: string;
430
- readonly accountId?: string;
431
- readonly accountDomain?: string;
432
- };
430
+ readonly systemData?: SystemData;
431
+ }
433
432
 
434
433
  // @public
435
434
  export interface SpatialAnchorsAccountPage {
@@ -527,12 +526,12 @@ export interface SystemData {
527
526
  }
528
527
 
529
528
  // @public
530
- export type TrackedResource = Resource & {
529
+ export interface TrackedResource extends Resource {
530
+ location: string;
531
531
  tags?: {
532
532
  [propertyName: string]: string;
533
533
  };
534
- location: string;
535
- };
534
+ }
536
535
 
537
536
  // (No @packageDocumentation comment for this package)
538
537
 
package/src/index.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  /// <reference lib="esnext.asynciterable" />
10
+ export { getContinuationToken } from "./pagingHelper";
10
11
  export * from "./models";
11
12
  export { MixedRealityClient } from "./mixedRealityClient";
12
13
  export * from "./operationsInterfaces";
@@ -8,6 +8,11 @@
8
8
 
9
9
  import * as coreClient from "@azure/core-client";
10
10
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
+ import {
12
+ PipelineRequest,
13
+ PipelineResponse,
14
+ SendRequest
15
+ } from "@azure/core-rest-pipeline";
11
16
  import * as coreAuth from "@azure/core-auth";
12
17
  import {
13
18
  OperationsImpl,
@@ -69,41 +74,47 @@ export class MixedRealityClient extends coreClient.ServiceClient {
69
74
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
70
75
  : `${packageDetails}`;
71
76
 
72
- if (!options.credentialScopes) {
73
- options.credentialScopes = ["https://management.azure.com/.default"];
74
- }
75
77
  const optionsWithDefaults = {
76
78
  ...defaults,
77
79
  ...options,
78
80
  userAgentOptions: {
79
81
  userAgentPrefix
80
82
  },
81
- baseUri:
83
+ endpoint:
82
84
  options.endpoint ?? options.baseUri ?? "https://management.azure.com"
83
85
  };
84
86
  super(optionsWithDefaults);
85
87
 
88
+ let bearerTokenAuthenticationPolicyFound: boolean = false;
86
89
  if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
87
90
  const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
88
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
91
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
89
92
  (pipelinePolicy) =>
90
93
  pipelinePolicy.name ===
91
94
  coreRestPipeline.bearerTokenAuthenticationPolicyName
92
95
  );
93
- if (!bearerTokenAuthenticationPolicyFound) {
94
- this.pipeline.removePolicy({
95
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
96
- });
97
- this.pipeline.addPolicy(
98
- coreRestPipeline.bearerTokenAuthenticationPolicy({
99
- scopes: `${optionsWithDefaults.baseUri}/.default`,
100
- challengeCallbacks: {
101
- authorizeRequestOnChallenge:
102
- coreClient.authorizeRequestOnClaimChallenge
103
- }
104
- })
105
- );
106
- }
96
+ }
97
+ if (
98
+ !options ||
99
+ !options.pipeline ||
100
+ options.pipeline.getOrderedPolicies().length == 0 ||
101
+ !bearerTokenAuthenticationPolicyFound
102
+ ) {
103
+ this.pipeline.removePolicy({
104
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
105
+ });
106
+ this.pipeline.addPolicy(
107
+ coreRestPipeline.bearerTokenAuthenticationPolicy({
108
+ credential: credentials,
109
+ scopes:
110
+ optionsWithDefaults.credentialScopes ??
111
+ `${optionsWithDefaults.endpoint}/.default`,
112
+ challengeCallbacks: {
113
+ authorizeRequestOnChallenge:
114
+ coreClient.authorizeRequestOnClaimChallenge
115
+ }
116
+ })
117
+ );
107
118
  }
108
119
  // Parameter assignments
109
120
  this.subscriptionId = subscriptionId;
@@ -115,6 +126,35 @@ export class MixedRealityClient extends coreClient.ServiceClient {
115
126
  this.spatialAnchorsAccounts = new SpatialAnchorsAccountsImpl(this);
116
127
  this.remoteRenderingAccounts = new RemoteRenderingAccountsImpl(this);
117
128
  this.objectAnchorsAccounts = new ObjectAnchorsAccountsImpl(this);
129
+ this.addCustomApiVersionPolicy(options.apiVersion);
130
+ }
131
+
132
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
133
+ private addCustomApiVersionPolicy(apiVersion?: string) {
134
+ if (!apiVersion) {
135
+ return;
136
+ }
137
+ const apiVersionPolicy = {
138
+ name: "CustomApiVersionPolicy",
139
+ async sendRequest(
140
+ request: PipelineRequest,
141
+ next: SendRequest
142
+ ): Promise<PipelineResponse> {
143
+ const param = request.url.split("?");
144
+ if (param.length > 1) {
145
+ const newParams = param[1].split("&").map((item) => {
146
+ if (item.indexOf("api-version") > -1) {
147
+ return "api-version=" + apiVersion;
148
+ } else {
149
+ return item;
150
+ }
151
+ });
152
+ request.url = param[0] + "?" + newParams.join("&");
153
+ }
154
+ return next(request);
155
+ }
156
+ };
157
+ this.pipeline.addPolicy(apiVersionPolicy);
118
158
  }
119
159
 
120
160
  /**
@@ -259,18 +259,18 @@ export interface ObjectAnchorsAccountPage {
259
259
  nextLink?: string;
260
260
  }
261
261
 
262
- export type ObjectAnchorsAccountIdentity = Identity & {};
262
+ export interface ObjectAnchorsAccountIdentity extends Identity {}
263
263
 
264
264
  /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
265
- export type TrackedResource = Resource & {
265
+ export interface TrackedResource extends Resource {
266
266
  /** Resource tags. */
267
267
  tags?: { [propertyName: string]: string };
268
268
  /** The geo-location where the resource lives */
269
269
  location: string;
270
- };
270
+ }
271
271
 
272
272
  /** SpatialAnchorsAccount Response. */
273
- export type SpatialAnchorsAccount = TrackedResource & {
273
+ export interface SpatialAnchorsAccount extends TrackedResource {
274
274
  /** The identity associated with this account */
275
275
  identity?: Identity;
276
276
  /** The plan associated with this account */
@@ -296,10 +296,10 @@ export type SpatialAnchorsAccount = TrackedResource & {
296
296
  * NOTE: This property will not be serialized. It can only be populated by the server.
297
297
  */
298
298
  readonly accountDomain?: string;
299
- };
299
+ }
300
300
 
301
301
  /** RemoteRenderingAccount Response. */
302
- export type RemoteRenderingAccount = TrackedResource & {
302
+ export interface RemoteRenderingAccount extends TrackedResource {
303
303
  /** The identity associated with this account */
304
304
  identity?: Identity;
305
305
  /** The plan associated with this account */
@@ -325,10 +325,10 @@ export type RemoteRenderingAccount = TrackedResource & {
325
325
  * NOTE: This property will not be serialized. It can only be populated by the server.
326
326
  */
327
327
  readonly accountDomain?: string;
328
- };
328
+ }
329
329
 
330
330
  /** ObjectAnchorsAccount Response. */
331
- export type ObjectAnchorsAccount = TrackedResource & {
331
+ export interface ObjectAnchorsAccount extends TrackedResource {
332
332
  identity?: ObjectAnchorsAccountIdentity;
333
333
  /** The plan associated with this account */
334
334
  plan?: Identity;
@@ -353,11 +353,13 @@ export type ObjectAnchorsAccount = TrackedResource & {
353
353
  * NOTE: This property will not be serialized. It can only be populated by the server.
354
354
  */
355
355
  readonly accountDomain?: string;
356
- };
356
+ }
357
357
 
358
358
  /** Known values of {@link NameUnavailableReason} that the service accepts. */
359
359
  export enum KnownNameUnavailableReason {
360
+ /** Invalid */
360
361
  Invalid = "Invalid",
362
+ /** AlreadyExists */
361
363
  AlreadyExists = "AlreadyExists"
362
364
  }
363
365
 
@@ -373,9 +375,13 @@ export type NameUnavailableReason = string;
373
375
 
374
376
  /** Known values of {@link CreatedByType} that the service accepts. */
375
377
  export enum KnownCreatedByType {
378
+ /** User */
376
379
  User = "User",
380
+ /** Application */
377
381
  Application = "Application",
382
+ /** ManagedIdentity */
378
383
  ManagedIdentity = "ManagedIdentity",
384
+ /** Key */
379
385
  Key = "Key"
380
386
  }
381
387
 
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
 
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
9
+ import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
+ import { setContinuationToken } from "../pagingHelper";
10
11
  import { ObjectAnchorsAccounts } from "../operationsInterfaces";
11
12
  import * as coreClient from "@azure/core-client";
12
13
  import * as Mappers from "../models/mappers";
@@ -16,9 +17,9 @@ import {
16
17
  ObjectAnchorsAccount,
17
18
  ObjectAnchorsAccountsListBySubscriptionNextOptionalParams,
18
19
  ObjectAnchorsAccountsListBySubscriptionOptionalParams,
20
+ ObjectAnchorsAccountsListBySubscriptionResponse,
19
21
  ObjectAnchorsAccountsListByResourceGroupNextOptionalParams,
20
22
  ObjectAnchorsAccountsListByResourceGroupOptionalParams,
21
- ObjectAnchorsAccountsListBySubscriptionResponse,
22
23
  ObjectAnchorsAccountsListByResourceGroupResponse,
23
24
  ObjectAnchorsAccountsDeleteOptionalParams,
24
25
  ObjectAnchorsAccountsGetOptionalParams,
@@ -64,22 +65,34 @@ export class ObjectAnchorsAccountsImpl implements ObjectAnchorsAccounts {
64
65
  [Symbol.asyncIterator]() {
65
66
  return this;
66
67
  },
67
- byPage: () => {
68
- return this.listBySubscriptionPagingPage(options);
68
+ byPage: (settings?: PageSettings) => {
69
+ if (settings?.maxPageSize) {
70
+ throw new Error("maxPageSize is not supported by this operation.");
71
+ }
72
+ return this.listBySubscriptionPagingPage(options, settings);
69
73
  }
70
74
  };
71
75
  }
72
76
 
73
77
  private async *listBySubscriptionPagingPage(
74
- options?: ObjectAnchorsAccountsListBySubscriptionOptionalParams
78
+ options?: ObjectAnchorsAccountsListBySubscriptionOptionalParams,
79
+ settings?: PageSettings
75
80
  ): AsyncIterableIterator<ObjectAnchorsAccount[]> {
76
- let result = await this._listBySubscription(options);
77
- yield result.value || [];
78
- let continuationToken = result.nextLink;
81
+ let result: ObjectAnchorsAccountsListBySubscriptionResponse;
82
+ let continuationToken = settings?.continuationToken;
83
+ if (!continuationToken) {
84
+ result = await this._listBySubscription(options);
85
+ let page = result.value || [];
86
+ continuationToken = result.nextLink;
87
+ setContinuationToken(page, continuationToken);
88
+ yield page;
89
+ }
79
90
  while (continuationToken) {
80
91
  result = await this._listBySubscriptionNext(continuationToken, options);
81
92
  continuationToken = result.nextLink;
82
- yield result.value || [];
93
+ let page = result.value || [];
94
+ setContinuationToken(page, continuationToken);
95
+ yield page;
83
96
  }
84
97
  }
85
98
 
@@ -108,19 +121,33 @@ export class ObjectAnchorsAccountsImpl implements ObjectAnchorsAccounts {
108
121
  [Symbol.asyncIterator]() {
109
122
  return this;
110
123
  },
111
- byPage: () => {
112
- return this.listByResourceGroupPagingPage(resourceGroupName, options);
124
+ byPage: (settings?: PageSettings) => {
125
+ if (settings?.maxPageSize) {
126
+ throw new Error("maxPageSize is not supported by this operation.");
127
+ }
128
+ return this.listByResourceGroupPagingPage(
129
+ resourceGroupName,
130
+ options,
131
+ settings
132
+ );
113
133
  }
114
134
  };
115
135
  }
116
136
 
117
137
  private async *listByResourceGroupPagingPage(
118
138
  resourceGroupName: string,
119
- options?: ObjectAnchorsAccountsListByResourceGroupOptionalParams
139
+ options?: ObjectAnchorsAccountsListByResourceGroupOptionalParams,
140
+ settings?: PageSettings
120
141
  ): AsyncIterableIterator<ObjectAnchorsAccount[]> {
121
- let result = await this._listByResourceGroup(resourceGroupName, options);
122
- yield result.value || [];
123
- let continuationToken = result.nextLink;
142
+ let result: ObjectAnchorsAccountsListByResourceGroupResponse;
143
+ let continuationToken = settings?.continuationToken;
144
+ if (!continuationToken) {
145
+ result = await this._listByResourceGroup(resourceGroupName, options);
146
+ let page = result.value || [];
147
+ continuationToken = result.nextLink;
148
+ setContinuationToken(page, continuationToken);
149
+ yield page;
150
+ }
124
151
  while (continuationToken) {
125
152
  result = await this._listByResourceGroupNext(
126
153
  resourceGroupName,
@@ -128,7 +155,9 @@ export class ObjectAnchorsAccountsImpl implements ObjectAnchorsAccounts {
128
155
  options
129
156
  );
130
157
  continuationToken = result.nextLink;
131
- yield result.value || [];
158
+ let page = result.value || [];
159
+ setContinuationToken(page, continuationToken);
160
+ yield page;
132
161
  }
133
162
  }
134
163