@azure/arm-graphservices 1.0.0-beta.1

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 (120) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +1313 -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/accountCreateAndUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/accountCreateAndUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/accountCreateAndUpdateSample.js +43 -0
  11. package/dist-esm/samples-dev/accountCreateAndUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/accountDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/accountDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/accountDeleteSample.js +39 -0
  15. package/dist-esm/samples-dev/accountDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/accountGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/accountGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/accountGetSample.js +39 -0
  19. package/dist-esm/samples-dev/accountGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/accountUpdateSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/accountUpdateSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/accountUpdateSample.js +42 -0
  23. package/dist-esm/samples-dev/accountUpdateSample.js.map +1 -0
  24. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/accountsListByResourceGroupSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js +52 -0
  27. package/dist-esm/samples-dev/accountsListByResourceGroupSample.js.map +1 -0
  28. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/accountsListBySubscriptionSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js +51 -0
  31. package/dist-esm/samples-dev/accountsListBySubscriptionSample.js.map +1 -0
  32. package/dist-esm/samples-dev/operationListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/operationListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/operationListSample.js +51 -0
  35. package/dist-esm/samples-dev/operationListSample.js.map +1 -0
  36. package/dist-esm/src/graphServices.d.ts +22 -0
  37. package/dist-esm/src/graphServices.d.ts.map +1 -0
  38. package/dist-esm/src/graphServices.js +102 -0
  39. package/dist-esm/src/graphServices.js.map +1 -0
  40. package/dist-esm/src/index.d.ts +6 -0
  41. package/dist-esm/src/index.d.ts.map +1 -0
  42. package/dist-esm/src/index.js +13 -0
  43. package/dist-esm/src/index.js.map +1 -0
  44. package/dist-esm/src/lroImpl.d.ts +11 -0
  45. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  46. package/dist-esm/src/lroImpl.js +21 -0
  47. package/dist-esm/src/lroImpl.js.map +1 -0
  48. package/dist-esm/src/models/index.d.ts +320 -0
  49. package/dist-esm/src/models/index.d.ts.map +1 -0
  50. package/dist-esm/src/models/index.js +46 -0
  51. package/dist-esm/src/models/index.js.map +1 -0
  52. package/dist-esm/src/models/mappers.d.ts +15 -0
  53. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  54. package/dist-esm/src/models/mappers.js +384 -0
  55. package/dist-esm/src/models/mappers.js.map +1 -0
  56. package/dist-esm/src/models/parameters.d.ts +12 -0
  57. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  58. package/dist-esm/src/models/parameters.js +109 -0
  59. package/dist-esm/src/models/parameters.js.map +1 -0
  60. package/dist-esm/src/operations/account.d.ts +52 -0
  61. package/dist-esm/src/operations/account.d.ts.map +1 -0
  62. package/dist-esm/src/operations/account.js +208 -0
  63. package/dist-esm/src/operations/account.js.map +1 -0
  64. package/dist-esm/src/operations/accounts.d.ts +53 -0
  65. package/dist-esm/src/operations/accounts.d.ts.map +1 -0
  66. package/dist-esm/src/operations/accounts.js +252 -0
  67. package/dist-esm/src/operations/accounts.js.map +1 -0
  68. package/dist-esm/src/operations/index.d.ts +4 -0
  69. package/dist-esm/src/operations/index.d.ts.map +1 -0
  70. package/dist-esm/src/operations/index.js +11 -0
  71. package/dist-esm/src/operations/index.js.map +1 -0
  72. package/dist-esm/src/operations/operationOperations.d.ts +32 -0
  73. package/dist-esm/src/operations/operationOperations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/operationOperations.js +131 -0
  75. package/dist-esm/src/operations/operationOperations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/account.d.ts +44 -0
  77. package/dist-esm/src/operationsInterfaces/account.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/account.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/account.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/accounts.d.ts +17 -0
  81. package/dist-esm/src/operationsInterfaces/accounts.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/accounts.js +9 -0
  83. package/dist-esm/src/operationsInterfaces/accounts.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  85. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  87. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/operationOperations.d.ts +11 -0
  89. package/dist-esm/src/operationsInterfaces/operationOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/operationOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/operationOperations.js.map +1 -0
  92. package/dist-esm/src/pagingHelper.d.ts +13 -0
  93. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  94. package/dist-esm/src/pagingHelper.js +32 -0
  95. package/dist-esm/src/pagingHelper.js.map +1 -0
  96. package/dist-esm/test/graphservices_operations_test.spec.d.ts +4 -0
  97. package/dist-esm/test/graphservices_operations_test.spec.d.ts.map +1 -0
  98. package/dist-esm/test/graphservices_operations_test.spec.js +55 -0
  99. package/dist-esm/test/graphservices_operations_test.spec.js.map +1 -0
  100. package/package.json +123 -0
  101. package/review/arm-graphservices.api.md +262 -0
  102. package/rollup.config.js +122 -0
  103. package/src/graphServices.ts +148 -0
  104. package/src/index.ts +13 -0
  105. package/src/lroImpl.ts +42 -0
  106. package/src/models/index.ts +364 -0
  107. package/src/models/mappers.ts +408 -0
  108. package/src/models/parameters.ts +127 -0
  109. package/src/operations/account.ts +295 -0
  110. package/src/operations/accounts.ts +303 -0
  111. package/src/operations/index.ts +11 -0
  112. package/src/operations/operationOperations.ts +149 -0
  113. package/src/operationsInterfaces/account.ts +90 -0
  114. package/src/operationsInterfaces/accounts.ts +35 -0
  115. package/src/operationsInterfaces/index.ts +11 -0
  116. package/src/operationsInterfaces/operationOperations.ts +22 -0
  117. package/src/pagingHelper.ts +39 -0
  118. package/tsconfig.json +33 -0
  119. package/types/arm-graphservices.d.ts +459 -0
  120. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,51 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { GraphServices } from "@azure/arm-graphservices";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Returns list of accounts belonging to a subscription.
17
+ *
18
+ * @summary Returns list of accounts belonging to a subscription.
19
+ * x-ms-original-file: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/preview/2022-09-22-preview/examples/Accounts_List_Sub.json
20
+ */
21
+ function getListOfAccountsBySubscription() {
22
+ var e_1, _a;
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ const subscriptionId = process.env["GRAPHSERVICES_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new GraphServices(credential, subscriptionId);
28
+ const resArray = new Array();
29
+ try {
30
+ for (var _b = __asyncValues(client.accounts.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
31
+ let item = _c.value;
32
+ resArray.push(item);
33
+ }
34
+ }
35
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
36
+ finally {
37
+ try {
38
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
39
+ }
40
+ finally { if (e_1) throw e_1.error; }
41
+ }
42
+ console.log(resArray);
43
+ });
44
+ }
45
+ function main() {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ getListOfAccountsBySubscription();
48
+ });
49
+ }
50
+ main().catch(console.error);
51
+ //# sourceMappingURL=accountsListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/accountsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+BAA+B;;;QAC5C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC;YAC5C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAhD,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,+BAA+B,EAAE,CAAC;IACpC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationListSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,51 @@
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 { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ import { GraphServices } from "@azure/arm-graphservices";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ import * as dotenv from "dotenv";
14
+ dotenv.config();
15
+ /**
16
+ * This sample demonstrates how to Returns list of operations.
17
+ *
18
+ * @summary Returns list of operations.
19
+ * x-ms-original-file: specification/graphservicesprod/resource-manager/Microsoft.GraphServices/preview/2022-09-22-preview/examples/Operations_List.json
20
+ */
21
+ function getListOfOperations() {
22
+ var e_1, _a;
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ const subscriptionId = process.env["GRAPHSERVICES_SUBSCRIPTION_ID"] ||
25
+ "00000000-0000-0000-0000-000000000000";
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new GraphServices(credential, subscriptionId);
28
+ const resArray = new Array();
29
+ try {
30
+ for (var _b = __asyncValues(client.operationOperations.list()), _c; _c = yield _b.next(), !_c.done;) {
31
+ let item = _c.value;
32
+ resArray.push(item);
33
+ }
34
+ }
35
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
36
+ finally {
37
+ try {
38
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
39
+ }
40
+ finally { if (e_1) throw e_1.error; }
41
+ }
42
+ console.log(resArray);
43
+ });
44
+ }
45
+ function main() {
46
+ return __awaiter(this, void 0, void 0, function* () {
47
+ getListOfOperations();
48
+ });
49
+ }
50
+ main().catch(console.error);
51
+ //# sourceMappingURL=operationListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationListSample.js","sourceRoot":"","sources":["../../samples-dev/operationListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,mBAAmB;;;QAChC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC;YAC5C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,CAAA,IAAA;gBAA7C,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,mBAAmB,EAAE,CAAC;IACxB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,22 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Accounts, Account, OperationOperations } from "./operationsInterfaces";
4
+ import { GraphServicesOptionalParams } from "./models";
5
+ export declare class GraphServices extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the GraphServices class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The ID of the target subscription.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: GraphServicesOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ accounts: Accounts;
19
+ account: Account;
20
+ operationOperations: OperationOperations;
21
+ }
22
+ //# sourceMappingURL=graphServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphServices.d.ts","sourceRoot":"","sources":["../../src/graphServices.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAM7C,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAEvD,qBAAa,aAAc,SAAQ,UAAU,CAAC,aAAa;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2BAA2B;IA8EvC,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
@@ -0,0 +1,102 @@
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 * as coreClient from "@azure/core-client";
10
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
+ import { AccountsImpl, AccountImpl, OperationOperationsImpl } from "./operations";
12
+ export class GraphServices extends coreClient.ServiceClient {
13
+ /**
14
+ * Initializes a new instance of the GraphServices class.
15
+ * @param credentials Subscription credentials which uniquely identify client subscription.
16
+ * @param subscriptionId The ID of the target subscription.
17
+ * @param options The parameter options
18
+ */
19
+ constructor(credentials, subscriptionId, options) {
20
+ var _a, _b, _c;
21
+ if (credentials === undefined) {
22
+ throw new Error("'credentials' cannot be null");
23
+ }
24
+ if (subscriptionId === undefined) {
25
+ throw new Error("'subscriptionId' cannot be null");
26
+ }
27
+ // Initializing default values for options
28
+ if (!options) {
29
+ options = {};
30
+ }
31
+ const defaults = {
32
+ requestContentType: "application/json; charset=utf-8",
33
+ credential: credentials
34
+ };
35
+ const packageDetails = `azsdk-js-arm-graphservices/1.0.0-beta.1`;
36
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
+ : `${packageDetails}`;
39
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ userAgentPrefix
41
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
42
+ super(optionsWithDefaults);
43
+ let bearerTokenAuthenticationPolicyFound = false;
44
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
45
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
48
+ }
49
+ if (!options ||
50
+ !options.pipeline ||
51
+ options.pipeline.getOrderedPolicies().length == 0 ||
52
+ !bearerTokenAuthenticationPolicyFound) {
53
+ this.pipeline.removePolicy({
54
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
55
+ });
56
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
+ credential: credentials,
58
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
59
+ challengeCallbacks: {
60
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
61
+ }
62
+ }));
63
+ }
64
+ // Parameter assignments
65
+ this.subscriptionId = subscriptionId;
66
+ // Assigning values to Constant parameters
67
+ this.$host = options.$host || "https://management.azure.com";
68
+ this.apiVersion = options.apiVersion || "2022-09-22-preview";
69
+ this.accounts = new AccountsImpl(this);
70
+ this.account = new AccountImpl(this);
71
+ this.operationOperations = new OperationOperationsImpl(this);
72
+ this.addCustomApiVersionPolicy(options.apiVersion);
73
+ }
74
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
75
+ addCustomApiVersionPolicy(apiVersion) {
76
+ if (!apiVersion) {
77
+ return;
78
+ }
79
+ const apiVersionPolicy = {
80
+ name: "CustomApiVersionPolicy",
81
+ sendRequest(request, next) {
82
+ return __awaiter(this, void 0, void 0, function* () {
83
+ const param = request.url.split("?");
84
+ if (param.length > 1) {
85
+ const newParams = param[1].split("&").map((item) => {
86
+ if (item.indexOf("api-version") > -1) {
87
+ return "api-version=" + apiVersion;
88
+ }
89
+ else {
90
+ return item;
91
+ }
92
+ });
93
+ request.url = param[0] + "?" + newParams.join("&");
94
+ }
95
+ return next(request);
96
+ });
97
+ }
98
+ };
99
+ this.pipeline.addPolicy(apiVersionPolicy);
100
+ }
101
+ }
102
+ //# sourceMappingURL=graphServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphServices.js","sourceRoot":"","sources":["../../src/graphServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,YAAY,EACZ,WAAW,EACX,uBAAuB,EACxB,MAAM,cAAc,CAAC;AAItB,MAAM,OAAO,aAAc,SAAQ,UAAU,CAAC,aAAa;IAKzD;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqC;;QAErC,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAgC;YAC5C,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAA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,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAKF"}
@@ -0,0 +1,6 @@
1
+ /// <reference lib="esnext.asynciterable" />
2
+ export { getContinuationToken } from "./pagingHelper";
3
+ export * from "./models";
4
+ export { GraphServices } from "./graphServices";
5
+ export * from "./operationsInterfaces";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,13 @@
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
+ /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper";
10
+ export * from "./models";
11
+ export { GraphServices } from "./graphServices";
12
+ export * from "./operationsInterfaces";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare function createLroSpec<T>(inputs: {
3
+ sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
+ args: Record<string, unknown>;
5
+ spec: {
6
+ readonly requestBody?: unknown;
7
+ readonly path?: string;
8
+ readonly httpMethod: string;
9
+ } & Record<string, any>;
10
+ }): LongRunningOperation<T>;
11
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -0,0 +1,21 @@
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 { __rest } from "tslib";
9
+ export function createLroSpec(inputs) {
10
+ const { args, spec, sendOperationFn } = inputs;
11
+ return {
12
+ requestMethod: spec.httpMethod,
13
+ requestPath: spec.path,
14
+ sendInitialRequest: () => sendOperationFn(args, spec),
15
+ sendPollRequest: (path, options) => {
16
+ const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
17
+ return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
18
+ }
19
+ };
20
+ }
21
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,320 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ /** The list of accounts. */
3
+ export interface AccountResourceList {
4
+ /** The link to the next page of items */
5
+ nextLink?: string;
6
+ /** The list of recommendations. */
7
+ value?: AccountResource[];
8
+ }
9
+ /** Metadata pertaining to creation and last modification of the resource. */
10
+ export interface AccountResourceSystemData {
11
+ /** The type of identity that created the resource. */
12
+ createdByType?: CreatedByType;
13
+ /** The timestamp of resource creation (UTC). */
14
+ createdAt?: Date;
15
+ /** The type of identity that last modified the resource. */
16
+ lastModifiedByType?: CreatedByType;
17
+ /** The timestamp of resource last modification (UTC) */
18
+ lastModifiedAt?: Date;
19
+ }
20
+ /** Property bag from billing account */
21
+ export interface AccountResourceProperties {
22
+ /**
23
+ * Provisioning state.
24
+ * NOTE: This property will not be serialized. It can only be populated by the server.
25
+ */
26
+ readonly provisioningState?: ProvisioningState;
27
+ /** Customer owned application ID */
28
+ appId: string;
29
+ /**
30
+ * Billing Plan Id
31
+ * NOTE: This property will not be serialized. It can only be populated by the server.
32
+ */
33
+ readonly billingPlanId?: string;
34
+ }
35
+ /** An Azure resource. */
36
+ export interface Resource {
37
+ /**
38
+ * Azure resource ID.
39
+ * NOTE: This property will not be serialized. It can only be populated by the server.
40
+ */
41
+ readonly id?: string;
42
+ /**
43
+ * Azure resource name.
44
+ * NOTE: This property will not be serialized. It can only be populated by the server.
45
+ */
46
+ readonly name?: string;
47
+ /**
48
+ * Azure resource type.
49
+ * NOTE: This property will not be serialized. It can only be populated by the server.
50
+ */
51
+ readonly type?: string;
52
+ /** Location of the resource. */
53
+ location?: string;
54
+ /** resource tags. */
55
+ tags?: {
56
+ [propertyName: string]: string;
57
+ };
58
+ }
59
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
60
+ export interface ErrorResponse {
61
+ /** The error object. */
62
+ error?: ErrorDetail;
63
+ }
64
+ /** The error detail. */
65
+ export interface ErrorDetail {
66
+ /**
67
+ * The error code.
68
+ * NOTE: This property will not be serialized. It can only be populated by the server.
69
+ */
70
+ readonly code?: string;
71
+ /**
72
+ * The error message.
73
+ * NOTE: This property will not be serialized. It can only be populated by the server.
74
+ */
75
+ readonly message?: string;
76
+ /**
77
+ * The error target.
78
+ * NOTE: This property will not be serialized. It can only be populated by the server.
79
+ */
80
+ readonly target?: string;
81
+ /**
82
+ * The error details.
83
+ * NOTE: This property will not be serialized. It can only be populated by the server.
84
+ */
85
+ readonly details?: ErrorDetail[];
86
+ /**
87
+ * The error additional info.
88
+ * NOTE: This property will not be serialized. It can only be populated by the server.
89
+ */
90
+ readonly additionalInfo?: ErrorAdditionalInfo[];
91
+ }
92
+ /** The resource management error additional info. */
93
+ export interface ErrorAdditionalInfo {
94
+ /**
95
+ * The additional info type.
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
97
+ */
98
+ readonly type?: string;
99
+ /**
100
+ * The additional info.
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
102
+ */
103
+ readonly info?: Record<string, unknown>;
104
+ }
105
+ /** Request payload used to update an existing resource's tags. */
106
+ export interface TagUpdate {
107
+ /** List of key value pairs that describe the resource. This will overwrite the existing tags. */
108
+ tags?: {
109
+ [propertyName: string]: string;
110
+ };
111
+ }
112
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
113
+ export interface OperationListResult {
114
+ /**
115
+ * List of operations supported by the resource provider
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
117
+ */
118
+ readonly value?: Operation[];
119
+ /**
120
+ * URL to get the next set of operation list results (if there are any).
121
+ * NOTE: This property will not be serialized. It can only be populated by the server.
122
+ */
123
+ readonly nextLink?: string;
124
+ }
125
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
126
+ export interface Operation {
127
+ /**
128
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
129
+ * NOTE: This property will not be serialized. It can only be populated by the server.
130
+ */
131
+ readonly name?: string;
132
+ /**
133
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
134
+ * NOTE: This property will not be serialized. It can only be populated by the server.
135
+ */
136
+ readonly isDataAction?: boolean;
137
+ /** Localized display information for this particular operation. */
138
+ display?: OperationDisplay;
139
+ /**
140
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
142
+ */
143
+ readonly origin?: Origin;
144
+ /**
145
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
147
+ */
148
+ readonly actionType?: ActionType;
149
+ }
150
+ /** Localized display information for this particular operation. */
151
+ export interface OperationDisplay {
152
+ /**
153
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
155
+ */
156
+ readonly provider?: string;
157
+ /**
158
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
159
+ * NOTE: This property will not be serialized. It can only be populated by the server.
160
+ */
161
+ readonly resource?: string;
162
+ /**
163
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
+ */
166
+ readonly operation?: string;
167
+ /**
168
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
+ */
171
+ readonly description?: string;
172
+ }
173
+ /** Account details */
174
+ export interface AccountResource extends Resource {
175
+ /**
176
+ * Metadata pertaining to creation and last modification of the resource.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly systemData?: AccountResourceSystemData;
180
+ /** Property bag from billing account */
181
+ properties: AccountResourceProperties;
182
+ }
183
+ /** Account patch properties */
184
+ export interface AccountPatchResource extends TagUpdate {
185
+ }
186
+ /** Known values of {@link CreatedByType} that the service accepts. */
187
+ export declare enum KnownCreatedByType {
188
+ /** User */
189
+ User = "User",
190
+ /** Application */
191
+ Application = "Application",
192
+ /** ManagedIdentity */
193
+ ManagedIdentity = "ManagedIdentity",
194
+ /** Key */
195
+ Key = "Key"
196
+ }
197
+ /**
198
+ * Defines values for CreatedByType. \
199
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
200
+ * this enum contains the known values that the service supports.
201
+ * ### Known values supported by the service
202
+ * **User** \
203
+ * **Application** \
204
+ * **ManagedIdentity** \
205
+ * **Key**
206
+ */
207
+ export declare type CreatedByType = string;
208
+ /** Known values of {@link ProvisioningState} that the service accepts. */
209
+ export declare enum KnownProvisioningState {
210
+ /** Succeeded */
211
+ Succeeded = "Succeeded",
212
+ /** Failed */
213
+ Failed = "Failed",
214
+ /** Canceled */
215
+ Canceled = "Canceled"
216
+ }
217
+ /**
218
+ * Defines values for ProvisioningState. \
219
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
220
+ * this enum contains the known values that the service supports.
221
+ * ### Known values supported by the service
222
+ * **Succeeded** \
223
+ * **Failed** \
224
+ * **Canceled**
225
+ */
226
+ export declare type ProvisioningState = string;
227
+ /** Known values of {@link Origin} that the service accepts. */
228
+ export declare enum KnownOrigin {
229
+ /** User */
230
+ User = "user",
231
+ /** System */
232
+ System = "system",
233
+ /** UserSystem */
234
+ UserSystem = "user,system"
235
+ }
236
+ /**
237
+ * Defines values for Origin. \
238
+ * {@link KnownOrigin} can be used interchangeably with Origin,
239
+ * this enum contains the known values that the service supports.
240
+ * ### Known values supported by the service
241
+ * **user** \
242
+ * **system** \
243
+ * **user,system**
244
+ */
245
+ export declare type Origin = string;
246
+ /** Known values of {@link ActionType} that the service accepts. */
247
+ export declare enum KnownActionType {
248
+ /** Internal */
249
+ Internal = "Internal"
250
+ }
251
+ /**
252
+ * Defines values for ActionType. \
253
+ * {@link KnownActionType} can be used interchangeably with ActionType,
254
+ * this enum contains the known values that the service supports.
255
+ * ### Known values supported by the service
256
+ * **Internal**
257
+ */
258
+ export declare type ActionType = string;
259
+ /** Optional parameters. */
260
+ export interface AccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
261
+ }
262
+ /** Contains response data for the listByResourceGroup operation. */
263
+ export declare type AccountsListByResourceGroupResponse = AccountResourceList;
264
+ /** Optional parameters. */
265
+ export interface AccountsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
266
+ }
267
+ /** Contains response data for the listBySubscription operation. */
268
+ export declare type AccountsListBySubscriptionResponse = AccountResourceList;
269
+ /** Optional parameters. */
270
+ export interface AccountsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
271
+ }
272
+ /** Contains response data for the listByResourceGroupNext operation. */
273
+ export declare type AccountsListByResourceGroupNextResponse = AccountResourceList;
274
+ /** Optional parameters. */
275
+ export interface AccountsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
276
+ }
277
+ /** Contains response data for the listBySubscriptionNext operation. */
278
+ export declare type AccountsListBySubscriptionNextResponse = AccountResourceList;
279
+ /** Optional parameters. */
280
+ export interface AccountGetOptionalParams extends coreClient.OperationOptions {
281
+ }
282
+ /** Contains response data for the get operation. */
283
+ export declare type AccountGetResponse = AccountResource;
284
+ /** Optional parameters. */
285
+ export interface AccountCreateAndUpdateOptionalParams extends coreClient.OperationOptions {
286
+ /** Delay to wait until next poll, in milliseconds. */
287
+ updateIntervalInMs?: number;
288
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
289
+ resumeFrom?: string;
290
+ }
291
+ /** Contains response data for the createAndUpdate operation. */
292
+ export declare type AccountCreateAndUpdateResponse = AccountResource;
293
+ /** Optional parameters. */
294
+ export interface AccountUpdateOptionalParams extends coreClient.OperationOptions {
295
+ }
296
+ /** Contains response data for the update operation. */
297
+ export declare type AccountUpdateResponse = AccountResource;
298
+ /** Optional parameters. */
299
+ export interface AccountDeleteOptionalParams extends coreClient.OperationOptions {
300
+ }
301
+ /** Optional parameters. */
302
+ export interface OperationListOptionalParams extends coreClient.OperationOptions {
303
+ }
304
+ /** Contains response data for the list operation. */
305
+ export declare type OperationListResponse = OperationListResult;
306
+ /** Optional parameters. */
307
+ export interface OperationListNextOptionalParams extends coreClient.OperationOptions {
308
+ }
309
+ /** Contains response data for the listNext operation. */
310
+ export declare type OperationListNextResponse = OperationListResult;
311
+ /** Optional parameters. */
312
+ export interface GraphServicesOptionalParams extends coreClient.ServiceClientOptions {
313
+ /** server parameter */
314
+ $host?: string;
315
+ /** Api Version */
316
+ apiVersion?: string;
317
+ /** Overrides client endpoint. */
318
+ endpoint?: string;
319
+ }
320
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,4BAA4B;AAC5B,MAAM,WAAW,mBAAmB;IAClC,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,KAAK,CAAC,EAAE,eAAe,EAAE,CAAC;CAC3B;AAED,6EAA6E;AAC7E,MAAM,WAAW,yBAAyB;IACxC,sDAAsD;IACtD,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,gDAAgD;IAChD,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,wDAAwD;IACxD,cAAc,CAAC,EAAE,IAAI,CAAC;CACvB;AAED,wCAAwC;AACxC,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IAC/C,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,yBAAyB;AACzB,MAAM,WAAW,QAAQ;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB;IACrB,IAAI,CAAC,EAAE;QAAE,CAAC,YAAY,EA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