@azure/arm-connectedcache 1.0.0-alpha.20250718.1 → 1.0.0-alpha.20250721.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 (164) hide show
  1. package/dist/browser/api/cacheNodesOperations/index.js +14 -8
  2. package/dist/browser/api/cacheNodesOperations/index.js.map +1 -1
  3. package/dist/browser/api/connectedCacheContext.js +11 -8
  4. package/dist/browser/api/connectedCacheContext.js.map +1 -1
  5. package/dist/browser/api/enterpriseCustomerOperations/index.js +14 -8
  6. package/dist/browser/api/enterpriseCustomerOperations/index.js.map +1 -1
  7. package/dist/browser/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  8. package/dist/browser/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  9. package/dist/browser/api/enterpriseMccCustomers/index.js +16 -10
  10. package/dist/browser/api/enterpriseMccCustomers/index.js.map +1 -1
  11. package/dist/browser/api/ispCacheNodesOperations/index.js +17 -11
  12. package/dist/browser/api/ispCacheNodesOperations/index.js.map +1 -1
  13. package/dist/browser/api/ispCustomers/index.js +16 -10
  14. package/dist/browser/api/ispCustomers/index.js.map +1 -1
  15. package/dist/browser/api/operations/index.js +1 -1
  16. package/dist/browser/api/operations/index.js.map +1 -1
  17. package/dist/browser/classic/cacheNodesOperations/index.js +3 -1
  18. package/dist/browser/classic/cacheNodesOperations/index.js.map +1 -1
  19. package/dist/browser/classic/enterpriseCustomerOperations/index.js +3 -1
  20. package/dist/browser/classic/enterpriseCustomerOperations/index.js.map +1 -1
  21. package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  22. package/dist/browser/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  23. package/dist/browser/classic/enterpriseMccCustomers/index.js +3 -1
  24. package/dist/browser/classic/enterpriseMccCustomers/index.js.map +1 -1
  25. package/dist/browser/classic/ispCacheNodesOperations/index.js +3 -1
  26. package/dist/browser/classic/ispCacheNodesOperations/index.js.map +1 -1
  27. package/dist/browser/classic/ispCustomers/index.js +3 -1
  28. package/dist/browser/classic/ispCustomers/index.js.map +1 -1
  29. package/dist/browser/classic/operations/index.js +3 -1
  30. package/dist/browser/classic/operations/index.js.map +1 -1
  31. package/dist/browser/connectedCacheClient.js +22 -3
  32. package/dist/browser/connectedCacheClient.js.map +1 -1
  33. package/dist/browser/models/models.js +2 -4
  34. package/dist/browser/models/models.js.map +1 -1
  35. package/dist/browser/restorePollerHelpers.js +11 -13
  36. package/dist/browser/restorePollerHelpers.js.map +1 -1
  37. package/dist/browser/static-helpers/pagingHelpers.js +31 -50
  38. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  39. package/dist/browser/static-helpers/pollingHelpers.js +14 -11
  40. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  41. package/dist/commonjs/api/cacheNodesOperations/index.js +14 -8
  42. package/dist/commonjs/api/cacheNodesOperations/index.js.map +1 -1
  43. package/dist/commonjs/api/connectedCacheContext.js +11 -8
  44. package/dist/commonjs/api/connectedCacheContext.js.map +1 -1
  45. package/dist/commonjs/api/enterpriseCustomerOperations/index.js +14 -8
  46. package/dist/commonjs/api/enterpriseCustomerOperations/index.js.map +1 -1
  47. package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  48. package/dist/commonjs/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  49. package/dist/commonjs/api/enterpriseMccCustomers/index.js +16 -10
  50. package/dist/commonjs/api/enterpriseMccCustomers/index.js.map +1 -1
  51. package/dist/commonjs/api/ispCacheNodesOperations/index.js +17 -11
  52. package/dist/commonjs/api/ispCacheNodesOperations/index.js.map +1 -1
  53. package/dist/commonjs/api/ispCustomers/index.js +16 -10
  54. package/dist/commonjs/api/ispCustomers/index.js.map +1 -1
  55. package/dist/commonjs/api/operations/index.js +1 -1
  56. package/dist/commonjs/api/operations/index.js.map +1 -1
  57. package/dist/commonjs/classic/cacheNodesOperations/index.js +3 -1
  58. package/dist/commonjs/classic/cacheNodesOperations/index.js.map +1 -1
  59. package/dist/commonjs/classic/enterpriseCustomerOperations/index.js +3 -1
  60. package/dist/commonjs/classic/enterpriseCustomerOperations/index.js.map +1 -1
  61. package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  62. package/dist/commonjs/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  63. package/dist/commonjs/classic/enterpriseMccCustomers/index.js +3 -1
  64. package/dist/commonjs/classic/enterpriseMccCustomers/index.js.map +1 -1
  65. package/dist/commonjs/classic/ispCacheNodesOperations/index.js +3 -1
  66. package/dist/commonjs/classic/ispCacheNodesOperations/index.js.map +1 -1
  67. package/dist/commonjs/classic/ispCustomers/index.js +3 -1
  68. package/dist/commonjs/classic/ispCustomers/index.js.map +1 -1
  69. package/dist/commonjs/classic/operations/index.js +3 -1
  70. package/dist/commonjs/classic/operations/index.js.map +1 -1
  71. package/dist/commonjs/connectedCacheClient.js +22 -3
  72. package/dist/commonjs/connectedCacheClient.js.map +1 -1
  73. package/dist/commonjs/models/models.js +2 -4
  74. package/dist/commonjs/models/models.js.map +1 -1
  75. package/dist/commonjs/restorePollerHelpers.js +11 -13
  76. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  77. package/dist/commonjs/static-helpers/pagingHelpers.js +31 -50
  78. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  79. package/dist/commonjs/static-helpers/pollingHelpers.js +14 -11
  80. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
  81. package/dist/commonjs/tsdoc-metadata.json +11 -11
  82. package/dist/esm/api/cacheNodesOperations/index.js +14 -8
  83. package/dist/esm/api/cacheNodesOperations/index.js.map +1 -1
  84. package/dist/esm/api/connectedCacheContext.js +11 -8
  85. package/dist/esm/api/connectedCacheContext.js.map +1 -1
  86. package/dist/esm/api/enterpriseCustomerOperations/index.js +14 -8
  87. package/dist/esm/api/enterpriseCustomerOperations/index.js.map +1 -1
  88. package/dist/esm/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  89. package/dist/esm/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  90. package/dist/esm/api/enterpriseMccCustomers/index.js +16 -10
  91. package/dist/esm/api/enterpriseMccCustomers/index.js.map +1 -1
  92. package/dist/esm/api/ispCacheNodesOperations/index.js +17 -11
  93. package/dist/esm/api/ispCacheNodesOperations/index.js.map +1 -1
  94. package/dist/esm/api/ispCustomers/index.js +16 -10
  95. package/dist/esm/api/ispCustomers/index.js.map +1 -1
  96. package/dist/esm/api/operations/index.js +1 -1
  97. package/dist/esm/api/operations/index.js.map +1 -1
  98. package/dist/esm/classic/cacheNodesOperations/index.js +3 -1
  99. package/dist/esm/classic/cacheNodesOperations/index.js.map +1 -1
  100. package/dist/esm/classic/enterpriseCustomerOperations/index.js +3 -1
  101. package/dist/esm/classic/enterpriseCustomerOperations/index.js.map +1 -1
  102. package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  103. package/dist/esm/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  104. package/dist/esm/classic/enterpriseMccCustomers/index.js +3 -1
  105. package/dist/esm/classic/enterpriseMccCustomers/index.js.map +1 -1
  106. package/dist/esm/classic/ispCacheNodesOperations/index.js +3 -1
  107. package/dist/esm/classic/ispCacheNodesOperations/index.js.map +1 -1
  108. package/dist/esm/classic/ispCustomers/index.js +3 -1
  109. package/dist/esm/classic/ispCustomers/index.js.map +1 -1
  110. package/dist/esm/classic/operations/index.js +3 -1
  111. package/dist/esm/classic/operations/index.js.map +1 -1
  112. package/dist/esm/connectedCacheClient.js +22 -3
  113. package/dist/esm/connectedCacheClient.js.map +1 -1
  114. package/dist/esm/models/models.js +2 -4
  115. package/dist/esm/models/models.js.map +1 -1
  116. package/dist/esm/restorePollerHelpers.js +11 -13
  117. package/dist/esm/restorePollerHelpers.js.map +1 -1
  118. package/dist/esm/static-helpers/pagingHelpers.js +31 -50
  119. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  120. package/dist/esm/static-helpers/pollingHelpers.js +14 -11
  121. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  122. package/dist/react-native/api/cacheNodesOperations/index.js +14 -8
  123. package/dist/react-native/api/cacheNodesOperations/index.js.map +1 -1
  124. package/dist/react-native/api/connectedCacheContext.js +11 -8
  125. package/dist/react-native/api/connectedCacheContext.js.map +1 -1
  126. package/dist/react-native/api/enterpriseCustomerOperations/index.js +14 -8
  127. package/dist/react-native/api/enterpriseCustomerOperations/index.js.map +1 -1
  128. package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.js +16 -10
  129. package/dist/react-native/api/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  130. package/dist/react-native/api/enterpriseMccCustomers/index.js +16 -10
  131. package/dist/react-native/api/enterpriseMccCustomers/index.js.map +1 -1
  132. package/dist/react-native/api/ispCacheNodesOperations/index.js +17 -11
  133. package/dist/react-native/api/ispCacheNodesOperations/index.js.map +1 -1
  134. package/dist/react-native/api/ispCustomers/index.js +16 -10
  135. package/dist/react-native/api/ispCustomers/index.js.map +1 -1
  136. package/dist/react-native/api/operations/index.js +1 -1
  137. package/dist/react-native/api/operations/index.js.map +1 -1
  138. package/dist/react-native/classic/cacheNodesOperations/index.js +3 -1
  139. package/dist/react-native/classic/cacheNodesOperations/index.js.map +1 -1
  140. package/dist/react-native/classic/enterpriseCustomerOperations/index.js +3 -1
  141. package/dist/react-native/classic/enterpriseCustomerOperations/index.js.map +1 -1
  142. package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.js +3 -1
  143. package/dist/react-native/classic/enterpriseMccCacheNodesOperations/index.js.map +1 -1
  144. package/dist/react-native/classic/enterpriseMccCustomers/index.js +3 -1
  145. package/dist/react-native/classic/enterpriseMccCustomers/index.js.map +1 -1
  146. package/dist/react-native/classic/ispCacheNodesOperations/index.js +3 -1
  147. package/dist/react-native/classic/ispCacheNodesOperations/index.js.map +1 -1
  148. package/dist/react-native/classic/ispCustomers/index.js +3 -1
  149. package/dist/react-native/classic/ispCustomers/index.js.map +1 -1
  150. package/dist/react-native/classic/operations/index.js +3 -1
  151. package/dist/react-native/classic/operations/index.js.map +1 -1
  152. package/dist/react-native/connectedCacheClient.js +22 -3
  153. package/dist/react-native/connectedCacheClient.js.map +1 -1
  154. package/dist/react-native/models/models.js +2 -4
  155. package/dist/react-native/models/models.js.map +1 -1
  156. package/dist/react-native/restorePollerHelpers.js +11 -13
  157. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  158. package/dist/react-native/static-helpers/pagingHelpers.js +31 -50
  159. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  160. package/dist/react-native/static-helpers/pollingHelpers.js +14 -11
  161. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  162. package/package.json +2 -2
  163. package/review/arm-connectedcache-models-node.api.md +441 -441
  164. package/review/arm-connectedcache-node.api.md +723 -723
@@ -11,6 +11,8 @@ function getOperations(context) {
11
11
  };
12
12
  }
13
13
  function getOperationsOperations(context) {
14
- return Object.assign({}, getOperations(context));
14
+ return {
15
+ ...getOperations(context),
16
+ };
15
17
  }
16
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAclC,sCAIC;AAED,0DAIC;AArBD,4DAA+D;AAW/D,SAAgB,aAAa,CAAC,OAA8B;IAC1D,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAA,yBAAc,EAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,SAAgB,uBAAuB,CAAC,OAA8B;IACpE,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: ConnectedCacheContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(context: ConnectedCacheContext): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAclC,sCAIC;AAED,0DAIC;AArBD,4DAA+D;AAW/D,SAAgB,aAAa,CAAC,OAA8B;IAC1D,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAA,yBAAc,EAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,SAAgB,uBAAuB,CAAC,OAA8B;IACpE,OAAO;QACL,GAAG,aAAa,CAAC,OAAO,CAAC;KAC1B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { ConnectedCacheContext } from \"../../api/connectedCacheContext.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { OperationsListOptionalParams } from \"../../api/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: ConnectedCacheContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(context: ConnectedCacheContext): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
@@ -12,14 +12,19 @@ const index_js_6 = require("./classic/enterpriseMccCustomers/index.js");
12
12
  const index_js_7 = require("./classic/enterpriseMccCacheNodesOperations/index.js");
13
13
  const index_js_8 = require("./api/index.js");
14
14
  class ConnectedCacheClient {
15
+ _client;
16
+ /** The pipeline used by this client to make requests */
17
+ pipeline;
15
18
  /** Microsoft Connected Cache Rest Api version 2023-05-01-preview */
16
19
  constructor(credential, subscriptionId, options = {}) {
17
- var _a;
18
- const prefixFromOptions = (_a = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _a === void 0 ? void 0 : _a.userAgentPrefix;
20
+ const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
19
21
  const userAgentPrefix = prefixFromOptions
20
22
  ? `${prefixFromOptions} azsdk-js-client`
21
23
  : `azsdk-js-client`;
22
- this._client = (0, index_js_8.createConnectedCache)(credential, Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix } }));
24
+ this._client = (0, index_js_8.createConnectedCache)(credential, {
25
+ ...options,
26
+ userAgentOptions: { userAgentPrefix },
27
+ });
23
28
  this.pipeline = this._client.pipeline;
24
29
  this.operations = (0, index_js_1.getOperationsOperations)(this._client);
25
30
  this.enterpriseCustomerOperations = (0, index_js_2.getEnterpriseCustomerOperationsOperations)(this._client, subscriptionId);
@@ -29,6 +34,20 @@ class ConnectedCacheClient {
29
34
  this.enterpriseMccCustomers = (0, index_js_6.getEnterpriseMccCustomersOperations)(this._client, subscriptionId);
30
35
  this.enterpriseMccCacheNodesOperations = (0, index_js_7.getEnterpriseMccCacheNodesOperationsOperations)(this._client, subscriptionId);
31
36
  }
37
+ /** The operation groups for Operations */
38
+ operations;
39
+ /** The operation groups for EnterpriseCustomerOperations */
40
+ enterpriseCustomerOperations;
41
+ /** The operation groups for CacheNodesOperations */
42
+ cacheNodesOperations;
43
+ /** The operation groups for IspCustomers */
44
+ ispCustomers;
45
+ /** The operation groups for IspCacheNodesOperations */
46
+ ispCacheNodesOperations;
47
+ /** The operation groups for EnterpriseMccCustomers */
48
+ enterpriseMccCustomers;
49
+ /** The operation groups for EnterpriseMccCacheNodesOperations */
50
+ enterpriseMccCacheNodesOperations;
32
51
  }
33
52
  exports.ConnectedCacheClient = ConnectedCacheClient;
34
53
  //# sourceMappingURL=connectedCacheClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectedCacheClient.js","sourceRoot":"","sources":["../../src/connectedCacheClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,4DAA8F;AAC9F,8EAGyD;AACzD,sEAGiD;AACjD,8DAAoG;AACpG,yEAGoD;AACpD,wEAGmD;AACnD,mFAG8D;AAC9D,6CAIwB;AAMxB,MAAa,oBAAoB;IAK/B,oEAAoE;IACpE,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAA8C,EAAE;;QAEhD,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAA,+BAAoB,EAAC,UAAU,kCACzC,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,IACrC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,IAAA,kCAAuB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,IAAI,CAAC,4BAA4B,GAAG,IAAA,oDAAyC,EAC3E,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG,IAAA,4CAAiC,EAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5F,IAAI,CAAC,YAAY,GAAG,IAAA,oCAAyB,EAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5E,IAAI,CAAC,uBAAuB,GAAG,IAAA,+CAAoC,EACjE,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,sBAAsB,GAAG,IAAA,8CAAmC,EAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAChG,IAAI,CAAC,iCAAiC,GAAG,IAAA,yDAA8C,EACrF,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;IACJ,CAAC;CAgBF;AApDD,oDAoDC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { getOperationsOperations, OperationsOperations } from \"./classic/operations/index.js\";\nimport {\n getEnterpriseCustomerOperationsOperations,\n EnterpriseCustomerOperationsOperations,\n} from \"./classic/enterpriseCustomerOperations/index.js\";\nimport {\n getCacheNodesOperationsOperations,\n CacheNodesOperationsOperations,\n} from \"./classic/cacheNodesOperations/index.js\";\nimport { getIspCustomersOperations, IspCustomersOperations } from \"./classic/ispCustomers/index.js\";\nimport {\n getIspCacheNodesOperationsOperations,\n IspCacheNodesOperationsOperations,\n} from \"./classic/ispCacheNodesOperations/index.js\";\nimport {\n getEnterpriseMccCustomersOperations,\n EnterpriseMccCustomersOperations,\n} from \"./classic/enterpriseMccCustomers/index.js\";\nimport {\n getEnterpriseMccCacheNodesOperationsOperations,\n EnterpriseMccCacheNodesOperationsOperations,\n} from \"./classic/enterpriseMccCacheNodesOperations/index.js\";\nimport {\n createConnectedCache,\n ConnectedCacheContext,\n ConnectedCacheClientOptionalParams,\n} from \"./api/index.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport { ConnectedCacheClientOptionalParams } from \"./api/connectedCacheContext.js\";\n\nexport class ConnectedCacheClient {\n private _client: ConnectedCacheContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Connected Cache Rest Api version 2023-05-01-preview */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ConnectedCacheClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createConnectedCache(credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.operations = getOperationsOperations(this._client);\n this.enterpriseCustomerOperations = getEnterpriseCustomerOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.cacheNodesOperations = getCacheNodesOperationsOperations(this._client, subscriptionId);\n this.ispCustomers = getIspCustomersOperations(this._client, subscriptionId);\n this.ispCacheNodesOperations = getIspCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.enterpriseMccCustomers = getEnterpriseMccCustomersOperations(this._client, subscriptionId);\n this.enterpriseMccCacheNodesOperations = getEnterpriseMccCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n }\n\n /** The operation groups for Operations */\n public readonly operations: OperationsOperations;\n /** The operation groups for EnterpriseCustomerOperations */\n public readonly enterpriseCustomerOperations: EnterpriseCustomerOperationsOperations;\n /** The operation groups for CacheNodesOperations */\n public readonly cacheNodesOperations: CacheNodesOperationsOperations;\n /** The operation groups for IspCustomers */\n public readonly ispCustomers: IspCustomersOperations;\n /** The operation groups for IspCacheNodesOperations */\n public readonly ispCacheNodesOperations: IspCacheNodesOperationsOperations;\n /** The operation groups for EnterpriseMccCustomers */\n public readonly enterpriseMccCustomers: EnterpriseMccCustomersOperations;\n /** The operation groups for EnterpriseMccCacheNodesOperations */\n public readonly enterpriseMccCacheNodesOperations: EnterpriseMccCacheNodesOperationsOperations;\n}\n"]}
1
+ {"version":3,"file":"connectedCacheClient.js","sourceRoot":"","sources":["../../src/connectedCacheClient.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,4DAA8F;AAC9F,8EAGyD;AACzD,sEAGiD;AACjD,8DAAoG;AACpG,yEAGoD;AACpD,wEAGmD;AACnD,mFAG8D;AAC9D,6CAIwB;AAMxB,MAAa,oBAAoB;IACvB,OAAO,CAAwB;IACvC,wDAAwD;IACxC,QAAQ,CAAW;IAEnC,oEAAoE;IACpE,YACE,UAA2B,EAC3B,cAAsB,EACtB,UAA8C,EAAE;QAEhD,MAAM,iBAAiB,GAAG,OAAO,EAAE,gBAAgB,EAAE,eAAe,CAAC;QACrE,MAAM,eAAe,GAAG,iBAAiB;YACvC,CAAC,CAAC,GAAG,iBAAiB,kBAAkB;YACxC,CAAC,CAAC,iBAAiB,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAA,+BAAoB,EAAC,UAAU,EAAE;YAC9C,GAAG,OAAO;YACV,gBAAgB,EAAE,EAAE,eAAe,EAAE;SACtC,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC;QACtC,IAAI,CAAC,UAAU,GAAG,IAAA,kCAAuB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxD,IAAI,CAAC,4BAA4B,GAAG,IAAA,oDAAyC,EAC3E,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,oBAAoB,GAAG,IAAA,4CAAiC,EAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5F,IAAI,CAAC,YAAY,GAAG,IAAA,oCAAyB,EAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAC5E,IAAI,CAAC,uBAAuB,GAAG,IAAA,+CAAoC,EACjE,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;QACF,IAAI,CAAC,sBAAsB,GAAG,IAAA,8CAAmC,EAAC,IAAI,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC;QAChG,IAAI,CAAC,iCAAiC,GAAG,IAAA,yDAA8C,EACrF,IAAI,CAAC,OAAO,EACZ,cAAc,CACf,CAAC;IACJ,CAAC;IAED,0CAA0C;IAC1B,UAAU,CAAuB;IACjD,4DAA4D;IAC5C,4BAA4B,CAAyC;IACrF,oDAAoD;IACpC,oBAAoB,CAAiC;IACrE,4CAA4C;IAC5B,YAAY,CAAyB;IACrD,uDAAuD;IACvC,uBAAuB,CAAoC;IAC3E,sDAAsD;IACtC,sBAAsB,CAAmC;IACzE,iEAAiE;IACjD,iCAAiC,CAA8C;CAChG;AApDD,oDAoDC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { getOperationsOperations, OperationsOperations } from \"./classic/operations/index.js\";\nimport {\n getEnterpriseCustomerOperationsOperations,\n EnterpriseCustomerOperationsOperations,\n} from \"./classic/enterpriseCustomerOperations/index.js\";\nimport {\n getCacheNodesOperationsOperations,\n CacheNodesOperationsOperations,\n} from \"./classic/cacheNodesOperations/index.js\";\nimport { getIspCustomersOperations, IspCustomersOperations } from \"./classic/ispCustomers/index.js\";\nimport {\n getIspCacheNodesOperationsOperations,\n IspCacheNodesOperationsOperations,\n} from \"./classic/ispCacheNodesOperations/index.js\";\nimport {\n getEnterpriseMccCustomersOperations,\n EnterpriseMccCustomersOperations,\n} from \"./classic/enterpriseMccCustomers/index.js\";\nimport {\n getEnterpriseMccCacheNodesOperationsOperations,\n EnterpriseMccCacheNodesOperationsOperations,\n} from \"./classic/enterpriseMccCacheNodesOperations/index.js\";\nimport {\n createConnectedCache,\n ConnectedCacheContext,\n ConnectedCacheClientOptionalParams,\n} from \"./api/index.js\";\nimport { Pipeline } from \"@azure/core-rest-pipeline\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport { ConnectedCacheClientOptionalParams } from \"./api/connectedCacheContext.js\";\n\nexport class ConnectedCacheClient {\n private _client: ConnectedCacheContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n /** Microsoft Connected Cache Rest Api version 2023-05-01-preview */\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options: ConnectedCacheClientOptionalParams = {},\n ) {\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createConnectedCache(credential, {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.operations = getOperationsOperations(this._client);\n this.enterpriseCustomerOperations = getEnterpriseCustomerOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.cacheNodesOperations = getCacheNodesOperationsOperations(this._client, subscriptionId);\n this.ispCustomers = getIspCustomersOperations(this._client, subscriptionId);\n this.ispCacheNodesOperations = getIspCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n this.enterpriseMccCustomers = getEnterpriseMccCustomersOperations(this._client, subscriptionId);\n this.enterpriseMccCacheNodesOperations = getEnterpriseMccCacheNodesOperationsOperations(\n this._client,\n subscriptionId,\n );\n }\n\n /** The operation groups for Operations */\n public readonly operations: OperationsOperations;\n /** The operation groups for EnterpriseCustomerOperations */\n public readonly enterpriseCustomerOperations: EnterpriseCustomerOperationsOperations;\n /** The operation groups for CacheNodesOperations */\n public readonly cacheNodesOperations: CacheNodesOperationsOperations;\n /** The operation groups for IspCustomers */\n public readonly ispCustomers: IspCustomersOperations;\n /** The operation groups for IspCacheNodesOperations */\n public readonly ispCacheNodesOperations: IspCacheNodesOperationsOperations;\n /** The operation groups for EnterpriseMccCustomers */\n public readonly enterpriseMccCustomers: EnterpriseMccCustomersOperations;\n /** The operation groups for EnterpriseMccCacheNodesOperations */\n public readonly enterpriseMccCacheNodesOperations: EnterpriseMccCacheNodesOperationsOperations;\n}\n"]}
@@ -277,7 +277,6 @@ var KnownAutoUpdateRingType;
277
277
  KnownAutoUpdateRingType["Fast"] = "Fast";
278
278
  })(KnownAutoUpdateRingType || (exports.KnownAutoUpdateRingType = KnownAutoUpdateRingType = {}));
279
279
  function additionalCacheNodePropertiesSerializer(item) {
280
- var _a;
281
280
  return {
282
281
  cacheNodePropertiesDetailsIssuesList: !item["cacheNodePropertiesDetailsIssuesList"]
283
282
  ? item["cacheNodePropertiesDetailsIssuesList"]
@@ -299,7 +298,7 @@ function additionalCacheNodePropertiesSerializer(item) {
299
298
  updateCycleType: item["updateCycleType"],
300
299
  autoUpdateVersion: item["autoUpdateVersion"],
301
300
  updateInfoDetails: item["updateInfoDetails"],
302
- updateRequestedDateTime: (_a = item["updateRequestedDateTime"]) === null || _a === void 0 ? void 0 : _a.toISOString(),
301
+ updateRequestedDateTime: item["updateRequestedDateTime"]?.toISOString(),
303
302
  optionalProperty1: item["optionalProperty1"],
304
303
  optionalProperty2: item["optionalProperty2"],
305
304
  optionalProperty3: item["optionalProperty3"],
@@ -651,7 +650,6 @@ function customerEntityDeserializer(item) {
651
650
  };
652
651
  }
653
652
  function additionalCustomerPropertiesSerializer(item) {
654
- var _a;
655
653
  return {
656
654
  customerEmail: item["customerEmail"],
657
655
  customerTransitAsn: item["customerTransitAsn"],
@@ -660,7 +658,7 @@ function additionalCustomerPropertiesSerializer(item) {
660
658
  customerEntitlementSkuId: item["customerEntitlementSkuId"],
661
659
  customerEntitlementSkuGuid: item["customerEntitlementSkuGuid"],
662
660
  customerEntitlementSkuName: item["customerEntitlementSkuName"],
663
- customerEntitlementExpiration: (_a = item["customerEntitlementExpiration"]) === null || _a === void 0 ? void 0 : _a.toISOString(),
661
+ customerEntitlementExpiration: item["customerEntitlementExpiration"]?.toISOString(),
664
662
  optionalProperty1: item["optionalProperty1"],
665
663
  optionalProperty2: item["optionalProperty2"],
666
664
  optionalProperty3: item["optionalProperty3"],