ibm-cloud-sdk-core 4.0.0 → 4.0.2

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 (233) hide show
  1. package/.secrets.baseline +20 -30
  2. package/CHANGELOG.md +16 -4
  3. package/MIGRATION-V4.md +54 -0
  4. package/auth/authenticators/authenticator-interface.d.ts +3 -4
  5. package/auth/authenticators/authenticator-interface.js +1 -1
  6. package/auth/authenticators/authenticator.d.ts +5 -9
  7. package/auth/authenticators/authenticator.js +4 -8
  8. package/auth/authenticators/basic-authenticator.d.ts +12 -12
  9. package/auth/authenticators/basic-authenticator.js +12 -12
  10. package/auth/authenticators/bearer-token-authenticator.d.ts +11 -14
  11. package/auth/authenticators/bearer-token-authenticator.js +11 -14
  12. package/auth/authenticators/cloud-pak-for-data-authenticator.d.ts +15 -15
  13. package/auth/authenticators/cloud-pak-for-data-authenticator.js +15 -15
  14. package/auth/authenticators/container-authenticator.d.ts +23 -23
  15. package/auth/authenticators/container-authenticator.js +23 -23
  16. package/auth/authenticators/iam-authenticator.d.ts +20 -20
  17. package/auth/authenticators/iam-authenticator.js +20 -20
  18. package/auth/authenticators/iam-request-based-authenticator.d.ts +23 -25
  19. package/auth/authenticators/iam-request-based-authenticator.js +23 -25
  20. package/auth/authenticators/token-request-based-authenticator.d.ts +19 -24
  21. package/auth/authenticators/token-request-based-authenticator.js +19 -24
  22. package/auth/authenticators/vpc-instance-authenticator.d.ts +17 -16
  23. package/auth/authenticators/vpc-instance-authenticator.js +17 -16
  24. package/auth/token-managers/container-token-manager.d.ts +23 -25
  25. package/auth/token-managers/container-token-manager.js +23 -25
  26. package/auth/token-managers/cp4d-token-manager.d.ts +13 -13
  27. package/auth/token-managers/cp4d-token-manager.js +13 -13
  28. package/auth/token-managers/iam-request-based-token-manager.d.ts +26 -31
  29. package/auth/token-managers/iam-request-based-token-manager.js +26 -31
  30. package/auth/token-managers/iam-token-manager.d.ts +17 -16
  31. package/auth/token-managers/iam-token-manager.js +17 -16
  32. package/auth/token-managers/jwt-token-manager.d.ts +10 -13
  33. package/auth/token-managers/jwt-token-manager.js +13 -16
  34. package/auth/token-managers/token-manager.d.ts +23 -35
  35. package/auth/token-managers/token-manager.js +22 -34
  36. package/auth/token-managers/vpc-instance-token-manager.d.ts +15 -15
  37. package/auth/token-managers/vpc-instance-token-manager.js +15 -15
  38. package/auth/utils/get-authenticator-from-environment.d.ts +2 -2
  39. package/auth/utils/get-authenticator-from-environment.js +2 -2
  40. package/auth/utils/helpers.d.ts +34 -32
  41. package/auth/utils/helpers.js +34 -32
  42. package/auth/utils/read-external-sources.d.ts +2 -1
  43. package/auth/utils/read-external-sources.js +5 -4
  44. package/build/docs/ibm-cloud-sdk-core.atleastone.md +4 -4
  45. package/build/docs/ibm-cloud-sdk-core.atmostone.md +2 -2
  46. package/build/docs/ibm-cloud-sdk-core.authenticator._constructor_.md +1 -1
  47. package/build/docs/ibm-cloud-sdk-core.authenticator.authenticate.md +1 -1
  48. package/build/docs/ibm-cloud-sdk-core.authenticator.authenticationtype.md +1 -1
  49. package/build/docs/ibm-cloud-sdk-core.authenticator.md +1 -1
  50. package/build/docs/ibm-cloud-sdk-core.authenticatorinterface.authenticate.md +1 -1
  51. package/build/docs/ibm-cloud-sdk-core.baseservice._constructor_.md +1 -1
  52. package/build/docs/ibm-cloud-sdk-core.baseservice.configureservice.md +1 -1
  53. package/build/docs/ibm-cloud-sdk-core.baseservice.createrequest.md +2 -2
  54. package/build/docs/ibm-cloud-sdk-core.baseservice.enableretries.md +1 -1
  55. package/build/docs/ibm-cloud-sdk-core.baseservice.getauthenticator.md +1 -1
  56. package/build/docs/ibm-cloud-sdk-core.baseservice.md +3 -3
  57. package/build/docs/ibm-cloud-sdk-core.baseservice.setdefaultheaders.md +1 -1
  58. package/build/docs/ibm-cloud-sdk-core.baseservice.setserviceurl.md +1 -1
  59. package/build/docs/ibm-cloud-sdk-core.basicauthenticator._constructor_.md +2 -2
  60. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.authenticate.md +1 -1
  61. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.md +3 -3
  62. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator._constructor_.md +2 -2
  63. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.authenticate.md +2 -2
  64. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.md +3 -3
  65. package/build/docs/ibm-cloud-sdk-core.buildrequestfileobject.md +2 -2
  66. package/build/docs/ibm-cloud-sdk-core.checkcredentials.md +3 -3
  67. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator._constructor_.md +3 -3
  68. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator.md +5 -5
  69. package/build/docs/ibm-cloud-sdk-core.computebasicauthheader.md +1 -1
  70. package/build/docs/ibm-cloud-sdk-core.constructserviceurl.md +4 -4
  71. package/build/docs/ibm-cloud-sdk-core.containerauthenticator._constructor_.md +3 -3
  72. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.md +4 -4
  73. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setcrtokenfilename.md +1 -1
  74. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setiamprofileid.md +1 -1
  75. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setiamprofilename.md +1 -1
  76. package/build/docs/ibm-cloud-sdk-core.containertokenmanager._constructor_.md +6 -2
  77. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.md +5 -5
  78. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.requesttoken.md +0 -2
  79. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setcrtokenfilename.md +2 -2
  80. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setiamprofileid.md +2 -2
  81. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setiamprofilename.md +2 -2
  82. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager._constructor_.md +6 -2
  83. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager.md +3 -3
  84. package/build/docs/ibm-cloud-sdk-core.fileobject.md +5 -5
  85. package/build/docs/ibm-cloud-sdk-core.fileoptions.md +4 -4
  86. package/build/docs/ibm-cloud-sdk-core.filestream.md +3 -3
  87. package/build/docs/ibm-cloud-sdk-core.filewithmetadata.md +5 -5
  88. package/build/docs/ibm-cloud-sdk-core.getauthenticatorfromenvironment.md +1 -1
  89. package/build/docs/ibm-cloud-sdk-core.getcontenttype.md +1 -1
  90. package/build/docs/ibm-cloud-sdk-core.getcurrenttime.md +2 -2
  91. package/build/docs/ibm-cloud-sdk-core.getformat.md +0 -2
  92. package/build/docs/ibm-cloud-sdk-core.getmissingparams.md +1 -1
  93. package/build/docs/ibm-cloud-sdk-core.getnewlogger.md +1 -1
  94. package/build/docs/ibm-cloud-sdk-core.getqueryparam.md +1 -5
  95. package/build/docs/ibm-cloud-sdk-core.iamauthenticator._constructor_.md +3 -3
  96. package/build/docs/ibm-cloud-sdk-core.iamauthenticator.md +5 -5
  97. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator._constructor_.md +3 -3
  98. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.getrefreshtoken.md +1 -1
  99. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.md +7 -7
  100. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.setclientidandsecret.md +3 -3
  101. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.setscope.md +1 -1
  102. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager._constructor_.md +6 -2
  103. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.getrefreshtoken.md +2 -2
  104. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.md +8 -8
  105. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.requesttoken.md +2 -2
  106. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.savetokeninfo.md +1 -3
  107. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.setclientidandsecret.md +3 -5
  108. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.setscope.md +2 -4
  109. package/build/docs/ibm-cloud-sdk-core.iamrequestoptions.md +5 -5
  110. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager._constructor_.md +6 -2
  111. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager.md +3 -3
  112. package/build/docs/ibm-cloud-sdk-core.ishtml.md +1 -1
  113. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager._constructor_.md +2 -2
  114. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.md +5 -5
  115. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.requesttoken.md +1 -1
  116. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.savetokeninfo.md +1 -3
  117. package/build/docs/ibm-cloud-sdk-core.md +24 -24
  118. package/build/docs/ibm-cloud-sdk-core.onlyone.md +2 -2
  119. package/build/docs/ibm-cloud-sdk-core.qs.md +1 -1
  120. package/build/docs/ibm-cloud-sdk-core.readexternalsources.md +1 -1
  121. package/build/docs/ibm-cloud-sdk-core.removesuffix.md +4 -4
  122. package/build/docs/ibm-cloud-sdk-core.sdklogger.md +7 -7
  123. package/build/docs/ibm-cloud-sdk-core.streamtopromise.md +3 -1
  124. package/build/docs/ibm-cloud-sdk-core.striptrailingslash.md +4 -2
  125. package/build/docs/ibm-cloud-sdk-core.tokenmanager._constructor_.md +2 -2
  126. package/build/docs/ibm-cloud-sdk-core.tokenmanager.gettoken.md +1 -1
  127. package/build/docs/ibm-cloud-sdk-core.tokenmanager.md +15 -15
  128. package/build/docs/ibm-cloud-sdk-core.tokenmanager.pacedrequesttoken.md +1 -1
  129. package/build/docs/ibm-cloud-sdk-core.tokenmanager.requesttoken.md +1 -1
  130. package/build/docs/ibm-cloud-sdk-core.tokenmanager.savetokeninfo.md +1 -3
  131. package/build/docs/ibm-cloud-sdk-core.tokenmanager.setdisablesslverification.md +1 -3
  132. package/build/docs/ibm-cloud-sdk-core.tokenmanager.setheaders.md +2 -4
  133. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator._constructor_.md +2 -2
  134. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.authenticate.md +2 -2
  135. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.md +9 -9
  136. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.setdisablesslverification.md +1 -1
  137. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.setheaders.md +1 -1
  138. package/build/docs/ibm-cloud-sdk-core.tolowerkeys.md +1 -1
  139. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkforsuccessfulexecution.md +0 -2
  140. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkmediaheaders.md +0 -2
  141. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkurlandmethod.md +1 -3
  142. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkuserheader.md +0 -2
  143. package/build/docs/ibm-cloud-sdk-core.unittestutils.expecttobepromise.md +0 -2
  144. package/build/docs/ibm-cloud-sdk-core.unittestutils.getoptions.md +1 -1
  145. package/build/docs/ibm-cloud-sdk-core.useroptions.md +9 -9
  146. package/build/docs/ibm-cloud-sdk-core.validateinput.md +8 -2
  147. package/build/docs/ibm-cloud-sdk-core.validateparams.md +1 -1
  148. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator._constructor_.md +6 -2
  149. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.md +6 -6
  150. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofilecrn.md +2 -2
  151. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofileid.md +2 -2
  152. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager._constructor_.md +6 -2
  153. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.md +4 -4
  154. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofilecrn.md +2 -2
  155. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofileid.md +2 -2
  156. package/docs/ibm-cloud-sdk-core.api.json +516 -241
  157. package/es/auth/authenticators/authenticator-interface.d.ts +3 -4
  158. package/es/auth/authenticators/authenticator-interface.js +1 -1
  159. package/es/auth/authenticators/authenticator.d.ts +5 -9
  160. package/es/auth/authenticators/authenticator.js +4 -8
  161. package/es/auth/authenticators/basic-authenticator.d.ts +12 -12
  162. package/es/auth/authenticators/basic-authenticator.js +12 -12
  163. package/es/auth/authenticators/bearer-token-authenticator.d.ts +11 -14
  164. package/es/auth/authenticators/bearer-token-authenticator.js +11 -14
  165. package/es/auth/authenticators/cloud-pak-for-data-authenticator.d.ts +15 -15
  166. package/es/auth/authenticators/cloud-pak-for-data-authenticator.js +15 -15
  167. package/es/auth/authenticators/container-authenticator.d.ts +23 -23
  168. package/es/auth/authenticators/container-authenticator.js +23 -23
  169. package/es/auth/authenticators/iam-authenticator.d.ts +20 -20
  170. package/es/auth/authenticators/iam-authenticator.js +20 -20
  171. package/es/auth/authenticators/iam-request-based-authenticator.d.ts +23 -25
  172. package/es/auth/authenticators/iam-request-based-authenticator.js +23 -25
  173. package/es/auth/authenticators/token-request-based-authenticator.d.ts +19 -24
  174. package/es/auth/authenticators/token-request-based-authenticator.js +19 -24
  175. package/es/auth/authenticators/vpc-instance-authenticator.d.ts +17 -16
  176. package/es/auth/authenticators/vpc-instance-authenticator.js +17 -16
  177. package/es/auth/token-managers/container-token-manager.d.ts +23 -25
  178. package/es/auth/token-managers/container-token-manager.js +23 -25
  179. package/es/auth/token-managers/cp4d-token-manager.d.ts +13 -13
  180. package/es/auth/token-managers/cp4d-token-manager.js +13 -13
  181. package/es/auth/token-managers/iam-request-based-token-manager.d.ts +26 -31
  182. package/es/auth/token-managers/iam-request-based-token-manager.js +26 -31
  183. package/es/auth/token-managers/iam-token-manager.d.ts +17 -16
  184. package/es/auth/token-managers/iam-token-manager.js +17 -16
  185. package/es/auth/token-managers/jwt-token-manager.d.ts +10 -13
  186. package/es/auth/token-managers/jwt-token-manager.js +13 -16
  187. package/es/auth/token-managers/token-manager.d.ts +23 -35
  188. package/es/auth/token-managers/token-manager.js +22 -34
  189. package/es/auth/token-managers/vpc-instance-token-manager.d.ts +15 -15
  190. package/es/auth/token-managers/vpc-instance-token-manager.js +15 -15
  191. package/es/auth/utils/get-authenticator-from-environment.d.ts +2 -2
  192. package/es/auth/utils/get-authenticator-from-environment.js +2 -2
  193. package/es/auth/utils/helpers.d.ts +34 -32
  194. package/es/auth/utils/helpers.js +34 -32
  195. package/es/auth/utils/read-external-sources.d.ts +2 -1
  196. package/es/auth/utils/read-external-sources.js +5 -4
  197. package/es/lib/base-service.d.ts +31 -32
  198. package/es/lib/base-service.js +31 -32
  199. package/es/lib/content-type.js +5 -5
  200. package/es/lib/get-new-logger.d.ts +2 -2
  201. package/es/lib/get-new-logger.js +2 -2
  202. package/es/lib/helper.d.ts +24 -31
  203. package/es/lib/helper.js +25 -32
  204. package/es/lib/querystring.d.ts +1 -1
  205. package/es/lib/querystring.js +3 -3
  206. package/es/lib/request-wrapper.d.ts +4 -6
  207. package/es/lib/request-wrapper.js +17 -23
  208. package/es/lib/sdk-test-helpers.d.ts +14 -19
  209. package/es/lib/sdk-test-helpers.js +14 -19
  210. package/es/lib/stream-to-promise.d.ts +3 -3
  211. package/es/lib/stream-to-promise.js +3 -3
  212. package/es/tsdoc-metadata.json +1 -1
  213. package/etc/ibm-cloud-sdk-core.api.md +12 -12
  214. package/ibm-cloud-sdk-core.d.ts +1402 -1449
  215. package/lib/base-service.d.ts +31 -32
  216. package/lib/base-service.js +31 -32
  217. package/lib/content-type.js +5 -5
  218. package/lib/get-new-logger.d.ts +2 -2
  219. package/lib/get-new-logger.js +2 -2
  220. package/lib/helper.d.ts +24 -31
  221. package/lib/helper.js +25 -32
  222. package/lib/querystring.d.ts +1 -1
  223. package/lib/querystring.js +3 -3
  224. package/lib/request-wrapper.d.ts +4 -6
  225. package/lib/request-wrapper.js +17 -23
  226. package/lib/sdk-test-helpers.d.ts +14 -19
  227. package/lib/sdk-test-helpers.js +14 -19
  228. package/lib/stream-to-promise.d.ts +3 -3
  229. package/lib/stream-to-promise.js +3 -3
  230. package/package.json +2 -2
  231. package/temp/ibm-cloud-sdk-core.api.json +516 -241
  232. package/temp/ibm-cloud-sdk-core.api.md +12 -12
  233. package/MIGRATION-V1.md +0 -42
package/es/lib/helper.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2014, 2021.
2
+ * (C) Copyright IBM Corp. 2014, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -45,8 +45,8 @@ export function isEmptyObject(obj) {
45
45
  }
46
46
  /**
47
47
  * This function retrieves the content type of the input.
48
- * @param {NodeJS.ReadableStream|Buffer} inputData - The data to retrieve content type for.
49
- * @returns {string} the content type of the input.
48
+ * @param inputData - The data to retrieve content type for.
49
+ * @returns the content type of the input.
50
50
  */
51
51
  export function getContentType(inputData) {
52
52
  return __awaiter(this, void 0, void 0, function* () {
@@ -64,9 +64,9 @@ export function getContentType(inputData) {
64
64
  });
65
65
  }
66
66
  /**
67
- *
68
- * @param {string} url - the url string.
69
- * @returns {string}
67
+ * Strips trailing slashes from "url", if present.
68
+ * @param url - the url string
69
+ * @returns the url with any trailing slashes removed
70
70
  */
71
71
  export function stripTrailingSlash(url) {
72
72
  // Match a forward slash / at the end of the string ($)
@@ -75,11 +75,9 @@ export function stripTrailingSlash(url) {
75
75
  /**
76
76
  * Return a query parameter value from a URL
77
77
  *
78
- * @param {string} urlStr - the url string.
79
- * @param {string} param - the name of the query parameter
80
- * whose value should be returned
81
- * @returns {string} the value of the `param` query parameter
82
- * @throws if urlStr is an invalid URL
78
+ * @param urlStr - the url string.
79
+ * @param param - the name of the query parameter whose value should be returned
80
+ * @returns the value of the "param" query parameter
83
81
  */
84
82
  export function getQueryParam(urlStr, param) {
85
83
  // The base URL is a dummy value just so we can process relative URLs
@@ -90,7 +88,7 @@ export function getQueryParam(urlStr, param) {
90
88
  * Validates that all required params are provided
91
89
  * @param params - the method parameters.
92
90
  * @param requires - the required parameter names.
93
- * @returns {Error|null}
91
+ * @returns null if no errors found, otherwise an Error instance
94
92
  */
95
93
  export function getMissingParams(params, requires) {
96
94
  let missing;
@@ -123,7 +121,7 @@ export function getMissingParams(params, requires) {
123
121
  * If null, then the "required params" check is bypassed.
124
122
  * @param allParams - the names of all valid parameters.
125
123
  * If null, then the "valid params" check is bypassed.
126
- * @returns {Error|null}
124
+ * @returns null if no errors found, otherwise an Error instance
127
125
  */
128
126
  export function validateParams(params, requiredParams, allParams) {
129
127
  let missing = [];
@@ -168,15 +166,15 @@ export function validateParams(params, requiredParams, allParams) {
168
166
  * as `undefined`, `null`, or the empty string.
169
167
  *
170
168
  * @param value - the parameter value
171
- * @returns boolean
169
+ * @returns true if "value" is either undefined, null or "" (empty string)
172
170
  */
173
171
  function isMissing(value) {
174
172
  return value === undefined || value === null || value === '';
175
173
  }
176
174
  /**
177
175
  * Return true if 'text' is html
178
- * @param {string} text - The 'text' to analyze
179
- * @returns {boolean} true if 'text' has html tags
176
+ * @param text - The 'text' to analyze
177
+ * @returns true if 'text' has html tags
180
178
  */
181
179
  export function isHTML(text) {
182
180
  logger.debug(`Determining if the text ${text} is HTML.`);
@@ -185,9 +183,8 @@ export function isHTML(text) {
185
183
  /**
186
184
  * Returns the first match from formats that is key the params map
187
185
  * otherwise null
188
- * @param {Object} params - The parameters.
189
- * @param {string[]} requires - The keys we want to check
190
- * @returns {string|null}
186
+ * @param params - The parameters.
187
+ * @param requires - The keys we want to check
191
188
  */
192
189
  export function getFormat(params, formats) {
193
190
  if (!formats || !params) {
@@ -202,11 +199,8 @@ export function getFormat(params, formats) {
202
199
  }
203
200
  /**
204
201
  * This function builds a `form-data` object for each file parameter.
205
- * @param {FileWithMetadata} fileParam The file parameter.
206
- * @param {NodeJS.ReadableStream|Buffer} fileParam.data The data content of the file.
207
- * @param {string} fileParam.filename The filename of the file.
208
- * @param {string} fileParam.contentType The content type of the file.
209
- * @returns {FileObject}
202
+ * @param fileParam - The FileWithMetadata instance that contains the file information
203
+ * @returns the FileObject instance
210
204
  */
211
205
  export function buildRequestFileObject(fileParam) {
212
206
  return __awaiter(this, void 0, void 0, function* () {
@@ -254,8 +248,8 @@ export function buildRequestFileObject(fileParam) {
254
248
  /**
255
249
  * This function converts an object's keys to lower case.
256
250
  * note: does not convert nested keys
257
- * @param {Object} obj The object to convert the keys of.
258
- * @returns {Object}
251
+ * @param obj - The object to convert the keys of.
252
+ * @returns the object with keys folded to lowercase
259
253
  */
260
254
  export function toLowerKeys(obj) {
261
255
  let lowerCaseObj = {};
@@ -269,13 +263,12 @@ export function toLowerKeys(obj) {
269
263
  /**
270
264
  * Constructs a service URL by formatting a parameterized URL.
271
265
  *
272
- * @param {string} parameterizedUrl URL that contains variable placeholders, e.g. '{scheme}://ibm.com'.
273
- * @param {Map<string, string>} defaultUrlVariables Map from variable names to default values.
266
+ * @param parameterizedUrl - a URL that contains variable placeholders, e.g. '\{scheme\}://ibm.com'.
267
+ * @param defaultUrlVariables - a Map of variable names to default values.
274
268
  * Each variable in the parameterized URL must have a default value specified in this map.
275
- * @param {Map<string, string>} providedUrlVariables Map from variable names to desired values.
276
- * If a variable is not provided in this map,
277
- * the default variable value will be used instead.
278
- * @returns {string} The formatted URL with all variable placeholders replaced by values.
269
+ * @param providedUrlVariables - a Map of variable names to desired values.
270
+ * If a variable is not provided in this map, the default variable value will be used instead.
271
+ * @returns the formatted URL with all variable placeholders replaced by values.
279
272
  */
280
273
  export function constructServiceUrl(parameterizedUrl, defaultUrlVariables, providedUrlVariables) {
281
274
  // If null was passed, we set the variables to an empty map.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2019, 2021.
2
+ * (C) Copyright IBM Corp. 2019, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2019, 2021.
2
+ * (C) Copyright IBM Corp. 2019, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -16,8 +16,8 @@
16
16
  /**
17
17
  * Lightweight implementation for stringify-ing query params
18
18
  *
19
- * @param {object<string, object>} queryParams
20
- * @return {String}
19
+ * @param queryParams - the query params
20
+ * @returns the query string
21
21
  */
22
22
  const stringify = (queryParams) => Object.keys(queryParams)
23
23
  .map((key) => `${key}=${encodeURIComponent(queryParams[key])}`)
@@ -40,16 +40,14 @@ export declare class RequestWrapper {
40
40
  * 2. Checks for missing parameters
41
41
  * 3. Encode path and query parameters
42
42
  * 4. Call the api
43
- * @private
44
- * @returns {ReadableStream|undefined}
45
- * @throws {Error}
43
+ * @returns ReadableStream|undefined
44
+ * @throws Error
46
45
  */
47
46
  sendRequest(parameters: any): Promise<any>;
48
47
  /**
49
48
  * Format error returned by axios
50
- * @param {object} the object returned by axios via rejection
51
- * @private
52
- * @returns {Error}
49
+ * @param axiosError - the object returned by axios via rejection
50
+ * @returns the Error object
53
51
  */
54
52
  formatError(axiosError: any): Error;
55
53
  getHttpClient(): AxiosInstance;
@@ -120,9 +120,8 @@ export class RequestWrapper {
120
120
  * 2. Checks for missing parameters
121
121
  * 3. Encode path and query parameters
122
122
  * 4. Call the api
123
- * @private
124
- * @returns {ReadableStream|undefined}
125
- * @throws {Error}
123
+ * @returns ReadableStream|undefined
124
+ * @throws Error
126
125
  */
127
126
  sendRequest(parameters) {
128
127
  return __awaiter(this, void 0, void 0, function* () {
@@ -220,9 +219,8 @@ export class RequestWrapper {
220
219
  }
221
220
  /**
222
221
  * Format error returned by axios
223
- * @param {object} the object returned by axios via rejection
224
- * @private
225
- * @returns {Error}
222
+ * @param axiosError - the object returned by axios via rejection
223
+ * @returns the Error object
226
224
  */
227
225
  formatError(axiosError) {
228
226
  // return an actual error object,
@@ -373,10 +371,10 @@ export class RequestWrapper {
373
371
  }
374
372
  }
375
373
  /**
376
- * @private
377
- * @param {string} path
378
- * @param {Object} params
379
- * @returns {string}
374
+ * Parses the path.
375
+ * @param path - the path
376
+ * @param params - the params
377
+ * @returns the parsed path
380
378
  */
381
379
  function parsePath(path, params) {
382
380
  if (!path || !params) {
@@ -389,9 +387,8 @@ function parsePath(path, params) {
389
387
  }
390
388
  /**
391
389
  * Determine if the error is due to bad credentials
392
- * @private
393
- * @param {Object} error - error object returned from axios
394
- * @returns {boolean} true if error is due to authentication
390
+ * @param error - error object returned from axios
391
+ * @returns true if error is due to authentication
395
392
  */
396
393
  function isAuthenticationError(error) {
397
394
  let isAuthErr = false;
@@ -406,9 +403,8 @@ function isAuthenticationError(error) {
406
403
  }
407
404
  /**
408
405
  * Determine if the error is due to a bad self signed certificate
409
- * @private
410
- * @param {Object} error - error object returned from axios
411
- * @returns {boolean} true if error is due to an SSL error
406
+ * @param error - error object returned from axios
407
+ * @returnstrue if error is due to an SSL error
412
408
  */
413
409
  function isSelfSignedCertificateError(error) {
414
410
  let result = false;
@@ -423,10 +419,9 @@ function isSelfSignedCertificateError(error) {
423
419
  }
424
420
  /**
425
421
  * Return true if object has a specified property that is a string
426
- * @private
427
- * @param {Object} obj - object to look for property in
428
- * @param {string} property - name of the property to look for
429
- * @returns {boolean} true if property exists and is string
422
+ * @param obj - object to look for property in
423
+ * @param property - name of the property to look for
424
+ * @returns true if property exists and is string
430
425
  */
431
426
  function hasStringProperty(obj, property) {
432
427
  return Boolean(obj[property] && typeof obj[property] === 'string');
@@ -435,9 +430,8 @@ function hasStringProperty(obj, property) {
435
430
  * Look for service error message in common places, by priority
436
431
  * first look in `errors[0].message`, then in `error`, then in
437
432
  * `message`, then in `errorMessage`
438
- * @private
439
- * @param {Object} response - error response body received from service
440
- * @returns {string | undefined} the error message if is was found, undefined otherwise
433
+ * @param response - error response body received from service
434
+ * @returns the error message if is was found, undefined otherwise
441
435
  */
442
436
  function parseServiceErrorMessage(response) {
443
437
  let message;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2019, 2021.
2
+ * (C) Copyright IBM Corp. 2019, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -22,10 +22,9 @@
22
22
  * Takes the request options constructed by the SDK and checks that the `url` and `method` properties
23
23
  * were set to their correct values.
24
24
  *
25
- * @param {Object} options - the options object put together by the SDK, retrieved from the createRequest mock
26
- * @param {String} url - The URL path of the service endpoint, from the paths section of the API definition
27
- * @param {String} string - The HTTP method for the request, from the API definition
28
- * @returns {void}
25
+ * @param options - the options object put together by the SDK, retrieved from the createRequest mock
26
+ * @param url - The URL path of the service endpoint, from the paths section of the API definition
27
+ * @param method - The HTTP method for the request, from the API definition
29
28
  */
30
29
  export declare function checkUrlAndMethod(options: any, url: string, method: any): void;
31
30
  /**
@@ -33,10 +32,9 @@ export declare function checkUrlAndMethod(options: any, url: string, method: any
33
32
  * and checks for the expected values for `Accept` and `Content-Type`. This to verify that the SDK sets
34
33
  * the correct values in the code.
35
34
  *
36
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
37
- * @param {String} accept - the expected value for the `Accept` header
38
- * @param {String} contentType - the expected value for the `Content-Type` header
39
- * @returns {void}
35
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
36
+ * @param accept - the expected value for the `Accept` header
37
+ * @param contentType - the expected value for the `Content-Type` header
40
38
  */
41
39
  export declare function checkMediaHeaders(createRequestMock: any, accept: string, contentType: string): void;
42
40
  /**
@@ -44,18 +42,16 @@ export declare function checkMediaHeaders(createRequestMock: any, accept: string
44
42
  * and checks for the expected value for a user-defined header. This is verify that the SDK accepts header
45
43
  * parameters and sends them as headers in the request.
46
44
  *
47
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
48
- * @param {String} userHeaderName - the name of the header passed by the user, e.g. `Contained-Content-Type`
49
- * @param {String} userHeaderValue - the expected value for the header passed by the user
50
- * @returns {void}
45
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
46
+ * @param userHeaderName - the name of the header passed by the user, e.g. `Contained-Content-Type`
47
+ * @param userHeaderValue - the expected value for the header passed by the user
51
48
  */
52
49
  export declare function checkUserHeader(createRequestMock: any, userHeaderName: string, userHeaderValue: string): void;
53
50
  /**
54
51
  * This method simply ensures that the method executed without any issues by extracting
55
52
  * the argument from the mock object for the `createRequest` method and verifying that it is an object.
56
53
  *
57
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
58
- * @returns {void}
54
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
59
55
  */
60
56
  export declare function checkForSuccessfulExecution(createRequestMock: any): void;
61
57
  /**
@@ -63,15 +59,14 @@ export declare function checkForSuccessfulExecution(createRequestMock: any): voi
63
59
  * an object containing all of the SDK method-specific information (like `path` and `body`) used to build a request.
64
60
  * This method is just a convenience method for the unit tests to be able to make assertions on the items in the request.
65
61
  *
66
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
67
- * @returns {Object}
62
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
63
+ * @returns Object
68
64
  */
69
65
  export declare function getOptions(createRequestMock: any): any;
70
66
  /**
71
67
  * This method simply ensures that the SDK methods return Promises by checking for
72
68
  * the `then` function - common way to assess whether or not an object is a Promise.
73
69
  *
74
- * @param {Promise<any>} sdkPromise - the Promise returned by an SDK method
75
- * @returns {void}
70
+ * @param sdkPromise - the Promise returned by an SDK method
76
71
  */
77
72
  export declare function expectToBePromise(sdkPromise: any): void;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2019, 2021.
2
+ * (C) Copyright IBM Corp. 2019, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -23,10 +23,9 @@ import expect from 'expect';
23
23
  * Takes the request options constructed by the SDK and checks that the `url` and `method` properties
24
24
  * were set to their correct values.
25
25
  *
26
- * @param {Object} options - the options object put together by the SDK, retrieved from the createRequest mock
27
- * @param {String} url - The URL path of the service endpoint, from the paths section of the API definition
28
- * @param {String} string - The HTTP method for the request, from the API definition
29
- * @returns {void}
26
+ * @param options - the options object put together by the SDK, retrieved from the createRequest mock
27
+ * @param url - The URL path of the service endpoint, from the paths section of the API definition
28
+ * @param method - The HTTP method for the request, from the API definition
30
29
  */
31
30
  export function checkUrlAndMethod(options, url, method) {
32
31
  expect(options.url).toEqual(url);
@@ -37,10 +36,9 @@ export function checkUrlAndMethod(options, url, method) {
37
36
  * and checks for the expected values for `Accept` and `Content-Type`. This to verify that the SDK sets
38
37
  * the correct values in the code.
39
38
  *
40
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
41
- * @param {String} accept - the expected value for the `Accept` header
42
- * @param {String} contentType - the expected value for the `Content-Type` header
43
- * @returns {void}
39
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
40
+ * @param accept - the expected value for the `Accept` header
41
+ * @param contentType - the expected value for the `Content-Type` header
44
42
  */
45
43
  export function checkMediaHeaders(createRequestMock, accept, contentType) {
46
44
  const { headers } = createRequestMock.mock.calls[0][0].defaultOptions;
@@ -52,10 +50,9 @@ export function checkMediaHeaders(createRequestMock, accept, contentType) {
52
50
  * and checks for the expected value for a user-defined header. This is verify that the SDK accepts header
53
51
  * parameters and sends them as headers in the request.
54
52
  *
55
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
56
- * @param {String} userHeaderName - the name of the header passed by the user, e.g. `Contained-Content-Type`
57
- * @param {String} userHeaderValue - the expected value for the header passed by the user
58
- * @returns {void}
53
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
54
+ * @param userHeaderName - the name of the header passed by the user, e.g. `Contained-Content-Type`
55
+ * @param userHeaderValue - the expected value for the header passed by the user
59
56
  */
60
57
  export function checkUserHeader(createRequestMock, userHeaderName, userHeaderValue) {
61
58
  const { headers } = createRequestMock.mock.calls[0][0].defaultOptions;
@@ -65,8 +62,7 @@ export function checkUserHeader(createRequestMock, userHeaderName, userHeaderVal
65
62
  * This method simply ensures that the method executed without any issues by extracting
66
63
  * the argument from the mock object for the `createRequest` method and verifying that it is an object.
67
64
  *
68
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
69
- * @returns {void}
65
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
70
66
  */
71
67
  export function checkForSuccessfulExecution(createRequestMock) {
72
68
  const sdkParams = createRequestMock.mock.calls[0][0];
@@ -77,8 +73,8 @@ export function checkForSuccessfulExecution(createRequestMock) {
77
73
  * an object containing all of the SDK method-specific information (like `path` and `body`) used to build a request.
78
74
  * This method is just a convenience method for the unit tests to be able to make assertions on the items in the request.
79
75
  *
80
- * @param {Object} createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
81
- * @returns {Object}
76
+ * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
77
+ * @returns Object
82
78
  */
83
79
  export function getOptions(createRequestMock) {
84
80
  return createRequestMock.mock.calls[0][0].options;
@@ -87,8 +83,7 @@ export function getOptions(createRequestMock) {
87
83
  * This method simply ensures that the SDK methods return Promises by checking for
88
84
  * the `then` function - common way to assess whether or not an object is a Promise.
89
85
  *
90
- * @param {Promise<any>} sdkPromise - the Promise returned by an SDK method
91
- * @returns {void}
86
+ * @param sdkPromise - the Promise returned by an SDK method
92
87
  */
93
88
  export function expectToBePromise(sdkPromise) {
94
89
  expect(typeof sdkPromise.then).toBe('function');
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2019, 2021.
2
+ * (C) Copyright IBM Corp. 2019, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@ import { Stream } from 'stream';
20
20
  * or array of text chunks
21
21
  * Essentially a smaller version of concat-stream wrapped in a promise
22
22
  *
23
- * @param {Stream} stream Optional stream param for when not bound to an existing stream instance.
24
- * @return {Promise}
23
+ * @param stream - optional stream param for when not bound to an existing stream instance.
24
+ * @returns Promise
25
25
  */
26
26
  export declare function streamToPromise(stream: Stream): Promise<any>;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (C) Copyright IBM Corp. 2019, 2021.
2
+ * (C) Copyright IBM Corp. 2019, 2022.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -18,8 +18,8 @@
18
18
  * or array of text chunks
19
19
  * Essentially a smaller version of concat-stream wrapped in a promise
20
20
  *
21
- * @param {Stream} stream Optional stream param for when not bound to an existing stream instance.
22
- * @return {Promise}
21
+ * @param stream - optional stream param for when not bound to an existing stream instance.
22
+ * @returns Promise
23
23
  */
24
24
  export function streamToPromise(stream) {
25
25
  stream = stream || this;
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.20.0"
8
+ "packageVersion": "7.33.7"
9
9
  }
10
10
  ]
11
11
  }
@@ -86,7 +86,7 @@ export class BasicAuthenticator extends Authenticator {
86
86
 
87
87
  // @public
88
88
  export class BearerTokenAuthenticator extends Authenticator {
89
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
89
+ // Warning: (ae-forgotten-export) The symbol "Options_2" needs to be exported by the entry point index.d.ts
90
90
  constructor(options: Options_2);
91
91
  authenticate(requestOptions: AuthenticateOptions): Promise<void>;
92
92
  authenticationType(): string;
@@ -115,7 +115,7 @@ function checkUserHeader(createRequestMock: any, userHeaderName: string, userHea
115
115
 
116
116
  // @public
117
117
  export class CloudPakForDataAuthenticator extends TokenRequestBasedAuthenticator {
118
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
118
+ // Warning: (ae-forgotten-export) The symbol "Options_4" needs to be exported by the entry point index.d.ts
119
119
  constructor(options: Options_4);
120
120
  authenticationType(): string;
121
121
  // (undocumented)
@@ -135,7 +135,7 @@ export function constructServiceUrl(parameterizedUrl: string, defaultUrlVariable
135
135
 
136
136
  // @public
137
137
  export class ContainerAuthenticator extends IamRequestBasedAuthenticator {
138
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
138
+ // Warning: (ae-forgotten-export) The symbol "Options_8" needs to be exported by the entry point index.d.ts
139
139
  constructor(options: Options_8);
140
140
  authenticationType(): string;
141
141
  setCrTokenFilename(crTokenFilename: string): void;
@@ -147,7 +147,7 @@ export class ContainerAuthenticator extends IamRequestBasedAuthenticator {
147
147
 
148
148
  // @public
149
149
  export class ContainerTokenManager extends IamRequestBasedTokenManager {
150
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
150
+ // Warning: (ae-forgotten-export) The symbol "Options_7" needs to be exported by the entry point index.d.ts
151
151
  constructor(options: Options_7);
152
152
  protected requestToken(): Promise<any>;
153
153
  setCrTokenFilename(crTokenFilename: string): void;
@@ -163,7 +163,7 @@ export const contentType: {
163
163
 
164
164
  // @public
165
165
  export class Cp4dTokenManager extends JwtTokenManager {
166
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
166
+ // Warning: (ae-forgotten-export) The symbol "Options_3" needs to be exported by the entry point index.d.ts
167
167
  constructor(options: Options_3);
168
168
  // (undocumented)
169
169
  protected requestToken(): Promise<any>;
@@ -239,7 +239,7 @@ export function getQueryParam(urlStr: string, param: string): string;
239
239
 
240
240
  // @public
241
241
  export class IamAuthenticator extends IamRequestBasedAuthenticator {
242
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
242
+ // Warning: (ae-forgotten-export) The symbol "Options_6" needs to be exported by the entry point index.d.ts
243
243
  constructor(options: Options_6);
244
244
  authenticationType(): string;
245
245
  // (undocumented)
@@ -250,7 +250,7 @@ export class IamAuthenticator extends IamRequestBasedAuthenticator {
250
250
 
251
251
  // @public
252
252
  export class IamRequestBasedAuthenticator extends TokenRequestBasedAuthenticator {
253
- // Warning: (ae-forgotten-export) The symbol "IamRequestOptions" needs to be exported by the entry point index.d.ts
253
+ // Warning: (ae-forgotten-export) The symbol "IamRequestOptions_2" needs to be exported by the entry point index.d.ts
254
254
  constructor(options: IamRequestOptions_2);
255
255
  // (undocumented)
256
256
  protected clientId: string;
@@ -291,7 +291,7 @@ export interface IamRequestOptions extends JwtTokenManagerOptions {
291
291
 
292
292
  // @public
293
293
  export class IamTokenManager extends IamRequestBasedTokenManager {
294
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
294
+ // Warning: (ae-forgotten-export) The symbol "Options_5" needs to be exported by the entry point index.d.ts
295
295
  constructor(options: Options_5);
296
296
  // (undocumented)
297
297
  protected requiredOptions: string[];
@@ -367,7 +367,7 @@ export interface SDKLogger {
367
367
  // @public
368
368
  export function streamToPromise(stream: Stream): Promise<any>;
369
369
 
370
- // @public (undocumented)
370
+ // @public
371
371
  export function stripTrailingSlash(url: string): string;
372
372
 
373
373
  // @public
@@ -449,7 +449,7 @@ export interface UserOptions {
449
449
  version?: string;
450
450
  }
451
451
 
452
- // @public (undocumented)
452
+ // @public
453
453
  export function validateInput(options: any, requiredOptions: string[]): void;
454
454
 
455
455
  // @public
@@ -459,7 +459,7 @@ export function validateParams(params: {
459
459
 
460
460
  // @public
461
461
  export class VpcInstanceAuthenticator extends TokenRequestBasedAuthenticator {
462
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
462
+ // Warning: (ae-forgotten-export) The symbol "Options_10" needs to be exported by the entry point index.d.ts
463
463
  constructor(options: Options_10);
464
464
  authenticationType(): string;
465
465
  setIamProfileCrn(iamProfileCrn: string): void;
@@ -470,7 +470,7 @@ export class VpcInstanceAuthenticator extends TokenRequestBasedAuthenticator {
470
470
 
471
471
  // @public
472
472
  export class VpcInstanceTokenManager extends JwtTokenManager {
473
- // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
473
+ // Warning: (ae-forgotten-export) The symbol "Options_9" needs to be exported by the entry point index.d.ts
474
474
  constructor(options: Options_9);
475
475
  // (undocumented)
476
476
  protected requestToken(): Promise<any>;