ibm-cloud-sdk-core 4.3.3 → 5.0.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 (249) hide show
  1. package/.secrets.baseline +4 -4
  2. package/CHANGELOG.md +33 -0
  3. package/MIGRATION-V5.md +15 -0
  4. package/README.md +1 -2
  5. package/docs/ibm-cloud-sdk-core.api.json +0 -378
  6. package/es/index.d.ts +1 -3
  7. package/es/index.js +1 -3
  8. package/etc/ibm-cloud-sdk-core.api.md +0 -30
  9. package/ibm-cloud-sdk-core.d.ts +0 -90
  10. package/index.d.ts +1 -3
  11. package/index.js +2 -16
  12. package/package.json +6 -7
  13. package/sdk-test-utilities/README.md +8 -0
  14. package/{es/lib/sdk-test-helpers.js → sdk-test-utilities/index.js} +41 -20
  15. package/sdk-test-utilities/package-lock.json +516 -0
  16. package/sdk-test-utilities/package.json +17 -0
  17. package/build/docs/ibm-cloud-sdk-core.atleastone.md +0 -71
  18. package/build/docs/ibm-cloud-sdk-core.atmostone.md +0 -71
  19. package/build/docs/ibm-cloud-sdk-core.authenticator._constructor_.md +0 -18
  20. package/build/docs/ibm-cloud-sdk-core.authenticator.authenticate.md +0 -57
  21. package/build/docs/ibm-cloud-sdk-core.authenticator.authenticationtype.md +0 -19
  22. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_basic.md +0 -13
  23. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_bearertoken.md +0 -11
  24. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_container.md +0 -11
  25. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_cp4d.md +0 -11
  26. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_iam.md +0 -11
  27. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_mcsp.md +0 -11
  28. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_noauth.md +0 -11
  29. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_unknown.md +0 -11
  30. package/build/docs/ibm-cloud-sdk-core.authenticator.authtype_vpc.md +0 -11
  31. package/build/docs/ibm-cloud-sdk-core.authenticator.md +0 -294
  32. package/build/docs/ibm-cloud-sdk-core.authenticatorinterface.authenticate.md +0 -53
  33. package/build/docs/ibm-cloud-sdk-core.authenticatorinterface.authenticationtype.md +0 -17
  34. package/build/docs/ibm-cloud-sdk-core.authenticatorinterface.md +0 -50
  35. package/build/docs/ibm-cloud-sdk-core.baseservice._constructor_.md +0 -49
  36. package/build/docs/ibm-cloud-sdk-core.baseservice.baseoptions.md +0 -11
  37. package/build/docs/ibm-cloud-sdk-core.baseservice.configureservice.md +0 -53
  38. package/build/docs/ibm-cloud-sdk-core.baseservice.convertmodel.md +0 -85
  39. package/build/docs/ibm-cloud-sdk-core.baseservice.createrequest.md +0 -55
  40. package/build/docs/ibm-cloud-sdk-core.baseservice.createrequestanddeserializeresponse.md +0 -87
  41. package/build/docs/ibm-cloud-sdk-core.baseservice.default_service_name.md +0 -11
  42. package/build/docs/ibm-cloud-sdk-core.baseservice.default_service_url.md +0 -11
  43. package/build/docs/ibm-cloud-sdk-core.baseservice.disableretries.md +0 -17
  44. package/build/docs/ibm-cloud-sdk-core.baseservice.enableretries.md +0 -53
  45. package/build/docs/ibm-cloud-sdk-core.baseservice.getauthenticator.md +0 -19
  46. package/build/docs/ibm-cloud-sdk-core.baseservice.gethttpclient.md +0 -17
  47. package/build/docs/ibm-cloud-sdk-core.baseservice.md +0 -313
  48. package/build/docs/ibm-cloud-sdk-core.baseservice.setdefaultheaders.md +0 -53
  49. package/build/docs/ibm-cloud-sdk-core.baseservice.setenablegzipcompression.md +0 -53
  50. package/build/docs/ibm-cloud-sdk-core.baseservice.setserviceurl.md +0 -53
  51. package/build/docs/ibm-cloud-sdk-core.basicauthenticator._constructor_.md +0 -54
  52. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.authenticate.md +0 -55
  53. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.authenticationtype.md +0 -19
  54. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.authheader.md +0 -13
  55. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.md +0 -165
  56. package/build/docs/ibm-cloud-sdk-core.basicauthenticator.requiredoptions.md +0 -11
  57. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator._constructor_.md +0 -54
  58. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.authenticate.md +0 -55
  59. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.authenticationtype.md +0 -19
  60. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.md +0 -160
  61. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.requiredoptions.md +0 -11
  62. package/build/docs/ibm-cloud-sdk-core.bearertokenauthenticator.setbearertoken.md +0 -53
  63. package/build/docs/ibm-cloud-sdk-core.buildrequestfileobject.md +0 -55
  64. package/build/docs/ibm-cloud-sdk-core.checkcredentials.md +0 -71
  65. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator._constructor_.md +0 -54
  66. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator.authenticationtype.md +0 -19
  67. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator.md +0 -149
  68. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator.requiredoptions.md +0 -11
  69. package/build/docs/ibm-cloud-sdk-core.cloudpakfordataauthenticator.tokenmanager.md +0 -11
  70. package/build/docs/ibm-cloud-sdk-core.computebasicauthheader.md +0 -71
  71. package/build/docs/ibm-cloud-sdk-core.constructfilepath.md +0 -49
  72. package/build/docs/ibm-cloud-sdk-core.constructserviceurl.md +0 -87
  73. package/build/docs/ibm-cloud-sdk-core.containerauthenticator._constructor_.md +0 -54
  74. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.authenticationtype.md +0 -19
  75. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.md +0 -172
  76. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setcrtokenfilename.md +0 -53
  77. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setiamprofileid.md +0 -53
  78. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.setiamprofilename.md +0 -53
  79. package/build/docs/ibm-cloud-sdk-core.containerauthenticator.tokenmanager.md +0 -11
  80. package/build/docs/ibm-cloud-sdk-core.containertokenmanager._constructor_.md +0 -54
  81. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.getcrtoken.md +0 -19
  82. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.md +0 -142
  83. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.requesttoken.md +0 -17
  84. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setcrtokenfilename.md +0 -53
  85. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setiamprofileid.md +0 -53
  86. package/build/docs/ibm-cloud-sdk-core.containertokenmanager.setiamprofilename.md +0 -53
  87. package/build/docs/ibm-cloud-sdk-core.contenttype.md +0 -14
  88. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager._constructor_.md +0 -54
  89. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager.md +0 -128
  90. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager.requesttoken.md +0 -15
  91. package/build/docs/ibm-cloud-sdk-core.cp4dtokenmanager.requiredoptions.md +0 -11
  92. package/build/docs/ibm-cloud-sdk-core.fileexistsatpath.md +0 -49
  93. package/build/docs/ibm-cloud-sdk-core.fileobject.md +0 -80
  94. package/build/docs/ibm-cloud-sdk-core.fileobject.options.md +0 -11
  95. package/build/docs/ibm-cloud-sdk-core.fileobject.value.md +0 -11
  96. package/build/docs/ibm-cloud-sdk-core.fileoptions.contenttype.md +0 -11
  97. package/build/docs/ibm-cloud-sdk-core.fileoptions.filename.md +0 -11
  98. package/build/docs/ibm-cloud-sdk-core.fileoptions.md +0 -74
  99. package/build/docs/ibm-cloud-sdk-core.filestream.md +0 -54
  100. package/build/docs/ibm-cloud-sdk-core.filestream.path.md +0 -11
  101. package/build/docs/ibm-cloud-sdk-core.filewithmetadata.contenttype.md +0 -11
  102. package/build/docs/ibm-cloud-sdk-core.filewithmetadata.data.md +0 -11
  103. package/build/docs/ibm-cloud-sdk-core.filewithmetadata.filename.md +0 -11
  104. package/build/docs/ibm-cloud-sdk-core.filewithmetadata.md +0 -87
  105. package/build/docs/ibm-cloud-sdk-core.getauthenticatorfromenvironment.md +0 -55
  106. package/build/docs/ibm-cloud-sdk-core.getcontenttype.md +0 -55
  107. package/build/docs/ibm-cloud-sdk-core.getcurrenttime.md +0 -19
  108. package/build/docs/ibm-cloud-sdk-core.getformat.md +0 -69
  109. package/build/docs/ibm-cloud-sdk-core.getmissingparams.md +0 -73
  110. package/build/docs/ibm-cloud-sdk-core.getnewlogger.md +0 -59
  111. package/build/docs/ibm-cloud-sdk-core.getqueryparam.md +0 -71
  112. package/build/docs/ibm-cloud-sdk-core.iamauthenticator._constructor_.md +0 -54
  113. package/build/docs/ibm-cloud-sdk-core.iamauthenticator.authenticationtype.md +0 -19
  114. package/build/docs/ibm-cloud-sdk-core.iamauthenticator.md +0 -149
  115. package/build/docs/ibm-cloud-sdk-core.iamauthenticator.requiredoptions.md +0 -11
  116. package/build/docs/ibm-cloud-sdk-core.iamauthenticator.tokenmanager.md +0 -11
  117. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator._constructor_.md +0 -54
  118. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.clientid.md +0 -11
  119. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.clientsecret.md +0 -11
  120. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.getrefreshtoken.md +0 -19
  121. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.md +0 -211
  122. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.scope.md +0 -11
  123. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.setclientidandsecret.md +0 -69
  124. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.setscope.md +0 -53
  125. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedauthenticator.tokenmanager.md +0 -11
  126. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager._constructor_.md +0 -54
  127. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.formdata.md +0 -11
  128. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.getrefreshtoken.md +0 -19
  129. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.istokenexpired.md +0 -19
  130. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.md +0 -221
  131. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.refreshtoken.md +0 -11
  132. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.requesttoken.md +0 -19
  133. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.savetokeninfo.md +0 -53
  134. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.setclientidandsecret.md +0 -69
  135. package/build/docs/ibm-cloud-sdk-core.iamrequestbasedtokenmanager.setscope.md +0 -53
  136. package/build/docs/ibm-cloud-sdk-core.iamrequestoptions.clientid.md +0 -11
  137. package/build/docs/ibm-cloud-sdk-core.iamrequestoptions.clientsecret.md +0 -11
  138. package/build/docs/ibm-cloud-sdk-core.iamrequestoptions.md +0 -96
  139. package/build/docs/ibm-cloud-sdk-core.iamrequestoptions.scope.md +0 -11
  140. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager._constructor_.md +0 -54
  141. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager.md +0 -92
  142. package/build/docs/ibm-cloud-sdk-core.iamtokenmanager.requiredoptions.md +0 -11
  143. package/build/docs/ibm-cloud-sdk-core.isemptyobject.md +0 -49
  144. package/build/docs/ibm-cloud-sdk-core.isfiledata.md +0 -49
  145. package/build/docs/ibm-cloud-sdk-core.isfilewithmetadata.md +0 -49
  146. package/build/docs/ibm-cloud-sdk-core.ishtml.md +0 -55
  147. package/build/docs/ibm-cloud-sdk-core.isjsonmimetype.md +0 -55
  148. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager._constructor_.md +0 -49
  149. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.md +0 -163
  150. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.requesttoken.md +0 -19
  151. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.savetokeninfo.md +0 -53
  152. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.tokeninfo.md +0 -11
  153. package/build/docs/ibm-cloud-sdk-core.jwttokenmanager.tokenname.md +0 -11
  154. package/build/docs/ibm-cloud-sdk-core.jwttokenmanageroptions.md +0 -15
  155. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator._constructor_.md +0 -54
  156. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator.authenticationtype.md +0 -19
  157. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator.md +0 -145
  158. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator.requiredoptions.md +0 -11
  159. package/build/docs/ibm-cloud-sdk-core.mcspauthenticator.tokenmanager.md +0 -11
  160. package/build/docs/ibm-cloud-sdk-core.mcsptokenmanager._constructor_.md +0 -54
  161. package/build/docs/ibm-cloud-sdk-core.mcsptokenmanager.md +0 -128
  162. package/build/docs/ibm-cloud-sdk-core.mcsptokenmanager.requesttoken.md +0 -15
  163. package/build/docs/ibm-cloud-sdk-core.mcsptokenmanager.requiredoptions.md +0 -11
  164. package/build/docs/ibm-cloud-sdk-core.md +0 -818
  165. package/build/docs/ibm-cloud-sdk-core.noauthauthenticator.authenticate.md +0 -49
  166. package/build/docs/ibm-cloud-sdk-core.noauthauthenticator.authenticationtype.md +0 -19
  167. package/build/docs/ibm-cloud-sdk-core.noauthauthenticator.md +0 -60
  168. package/build/docs/ibm-cloud-sdk-core.onlyone.md +0 -71
  169. package/build/docs/ibm-cloud-sdk-core.qs.md +0 -21
  170. package/build/docs/ibm-cloud-sdk-core.readcredentialsfile.md +0 -17
  171. package/build/docs/ibm-cloud-sdk-core.readcrtokenfile.md +0 -49
  172. package/build/docs/ibm-cloud-sdk-core.readexternalsources.md +0 -55
  173. package/build/docs/ibm-cloud-sdk-core.removesuffix.md +0 -71
  174. package/build/docs/ibm-cloud-sdk-core.sdklogger.debug.md +0 -11
  175. package/build/docs/ibm-cloud-sdk-core.sdklogger.error.md +0 -11
  176. package/build/docs/ibm-cloud-sdk-core.sdklogger.info.md +0 -11
  177. package/build/docs/ibm-cloud-sdk-core.sdklogger.md +0 -121
  178. package/build/docs/ibm-cloud-sdk-core.sdklogger.verbose.md +0 -11
  179. package/build/docs/ibm-cloud-sdk-core.sdklogger.warn.md +0 -11
  180. package/build/docs/ibm-cloud-sdk-core.streamtopromise.md +0 -55
  181. package/build/docs/ibm-cloud-sdk-core.striptrailingslash.md +0 -55
  182. package/build/docs/ibm-cloud-sdk-core.tokenmanager._constructor_.md +0 -49
  183. package/build/docs/ibm-cloud-sdk-core.tokenmanager.accesstoken.md +0 -11
  184. package/build/docs/ibm-cloud-sdk-core.tokenmanager.disablesslverification.md +0 -11
  185. package/build/docs/ibm-cloud-sdk-core.tokenmanager.expiretime.md +0 -11
  186. package/build/docs/ibm-cloud-sdk-core.tokenmanager.gettoken.md +0 -17
  187. package/build/docs/ibm-cloud-sdk-core.tokenmanager.headers.md +0 -11
  188. package/build/docs/ibm-cloud-sdk-core.tokenmanager.istokenexpired.md +0 -17
  189. package/build/docs/ibm-cloud-sdk-core.tokenmanager.md +0 -352
  190. package/build/docs/ibm-cloud-sdk-core.tokenmanager.pacedrequesttoken.md +0 -19
  191. package/build/docs/ibm-cloud-sdk-core.tokenmanager.refreshtime.md +0 -11
  192. package/build/docs/ibm-cloud-sdk-core.tokenmanager.requesttoken.md +0 -19
  193. package/build/docs/ibm-cloud-sdk-core.tokenmanager.requestwrapperinstance.md +0 -11
  194. package/build/docs/ibm-cloud-sdk-core.tokenmanager.savetokeninfo.md +0 -53
  195. package/build/docs/ibm-cloud-sdk-core.tokenmanager.setdisablesslverification.md +0 -53
  196. package/build/docs/ibm-cloud-sdk-core.tokenmanager.setheaders.md +0 -53
  197. package/build/docs/ibm-cloud-sdk-core.tokenmanager.url.md +0 -11
  198. package/build/docs/ibm-cloud-sdk-core.tokenmanager.useragent.md +0 -11
  199. package/build/docs/ibm-cloud-sdk-core.tokenmanageroptions.md +0 -18
  200. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator._constructor_.md +0 -49
  201. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.authenticate.md +0 -55
  202. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.disablesslverification.md +0 -11
  203. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.headers.md +0 -11
  204. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.md +0 -217
  205. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.setdisablesslverification.md +0 -53
  206. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.setheaders.md +0 -53
  207. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.tokenmanager.md +0 -11
  208. package/build/docs/ibm-cloud-sdk-core.tokenrequestbasedauthenticator.url.md +0 -11
  209. package/build/docs/ibm-cloud-sdk-core.tolowerkeys.md +0 -55
  210. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkforsuccessfulexecution.md +0 -53
  211. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkmediaheaders.md +0 -85
  212. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkurlandmethod.md +0 -85
  213. package/build/docs/ibm-cloud-sdk-core.unittestutils.checkuserheader.md +0 -85
  214. package/build/docs/ibm-cloud-sdk-core.unittestutils.expecttobepromise.md +0 -53
  215. package/build/docs/ibm-cloud-sdk-core.unittestutils.getoptions.md +0 -55
  216. package/build/docs/ibm-cloud-sdk-core.unittestutils.md +0 -86
  217. package/build/docs/ibm-cloud-sdk-core.useroptions.authenticator.md +0 -13
  218. package/build/docs/ibm-cloud-sdk-core.useroptions.disablesslverification.md +0 -13
  219. package/build/docs/ibm-cloud-sdk-core.useroptions.headers.md +0 -13
  220. package/build/docs/ibm-cloud-sdk-core.useroptions.jar.md +0 -13
  221. package/build/docs/ibm-cloud-sdk-core.useroptions.md +0 -171
  222. package/build/docs/ibm-cloud-sdk-core.useroptions.serviceurl.md +0 -13
  223. package/build/docs/ibm-cloud-sdk-core.useroptions.url.md +0 -13
  224. package/build/docs/ibm-cloud-sdk-core.useroptions.version.md +0 -13
  225. package/build/docs/ibm-cloud-sdk-core.validateinput.md +0 -73
  226. package/build/docs/ibm-cloud-sdk-core.validateparams.md +0 -89
  227. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator._constructor_.md +0 -54
  228. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.authenticationtype.md +0 -19
  229. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.md +0 -158
  230. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofilecrn.md +0 -53
  231. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.setiamprofileid.md +0 -53
  232. package/build/docs/ibm-cloud-sdk-core.vpcinstanceauthenticator.tokenmanager.md +0 -11
  233. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager._constructor_.md +0 -54
  234. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.istokenexpired.md +0 -19
  235. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.md +0 -126
  236. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.requesttoken.md +0 -15
  237. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofilecrn.md +0 -53
  238. package/build/docs/ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofileid.md +0 -53
  239. package/build/docs/index.md +0 -29
  240. package/es/lib/sdk-test-helpers.browser.d.ts +0 -21
  241. package/es/lib/sdk-test-helpers.browser.js +0 -23
  242. package/es/lib/sdk-test-helpers.d.ts +0 -72
  243. package/es/tsdoc-metadata.json +0 -11
  244. package/lib/sdk-test-helpers.browser.d.ts +0 -21
  245. package/lib/sdk-test-helpers.browser.js +0 -32
  246. package/lib/sdk-test-helpers.d.ts +0 -72
  247. package/lib/sdk-test-helpers.js +0 -102
  248. package/temp/ibm-cloud-sdk-core.api.json +0 -8641
  249. package/temp/ibm-cloud-sdk-core.api.md +0 -517
@@ -1,11 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceAuthenticator](./ibm-cloud-sdk-core.vpcinstanceauthenticator.md) &gt; [tokenManager](./ibm-cloud-sdk-core.vpcinstanceauthenticator.tokenmanager.md)
4
-
5
- ## VpcInstanceAuthenticator.tokenManager property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected tokenManager: VpcInstanceTokenManager;
11
- ```
@@ -1,54 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) &gt; [(constructor)](./ibm-cloud-sdk-core.vpcinstancetokenmanager._constructor_.md)
4
-
5
- ## VpcInstanceTokenManager.(constructor)
6
-
7
- Create a new VpcInstanceTokenManager instance.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- constructor(options: Options);
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- options
36
-
37
-
38
- </td><td>
39
-
40
- Options
41
-
42
-
43
- </td><td>
44
-
45
- Configuration options. This should be an object containing these fields: - url: (optional) the endpoint URL for the VPC Instance Metadata Service (default value: "http://169.254.169.254") - iamProfileCrn: (optional) the CRN of the linked IAM trusted profile to be used to obtain the IAM access token - iamProfileId: (optional) the ID of the linked IAM trusted profile to be used to obtain the IAM access token
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- ## Remarks
52
-
53
- At most one of "iamProfileCrn" or "iamProfileId" may be specified. If neither one is specified, then the default IAM profile defined for the compute resource will be used.
54
-
@@ -1,19 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) &gt; [isTokenExpired](./ibm-cloud-sdk-core.vpcinstancetokenmanager.istokenexpired.md)
4
-
5
- ## VpcInstanceTokenManager.isTokenExpired() method
6
-
7
- Returns true iff the currently-cached IAM access token is expired. We'll consider an access token as expired when we reach its IAM server-reported expiration time minus our expiration window (10 secs). We do this to avoid using an access token that might expire in the middle of a long-running transaction within an IBM Cloud service.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- protected isTokenExpired(): boolean;
13
- ```
14
- **Returns:**
15
-
16
- boolean
17
-
18
- true if the token has expired, false otherwise
19
-
@@ -1,126 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md)
4
-
5
- ## VpcInstanceTokenManager class
6
-
7
- Token Manager for VPC Instance Authentication.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare class VpcInstanceTokenManager extends JwtTokenManager
13
- ```
14
- **Extends:** [JwtTokenManager](./ibm-cloud-sdk-core.jwttokenmanager.md)
15
-
16
- ## Constructors
17
-
18
- <table><thead><tr><th>
19
-
20
- Constructor
21
-
22
-
23
- </th><th>
24
-
25
- Modifiers
26
-
27
-
28
- </th><th>
29
-
30
- Description
31
-
32
-
33
- </th></tr></thead>
34
- <tbody><tr><td>
35
-
36
- [(constructor)(options)](./ibm-cloud-sdk-core.vpcinstancetokenmanager._constructor_.md)
37
-
38
-
39
- </td><td>
40
-
41
-
42
- </td><td>
43
-
44
- Create a new VpcInstanceTokenManager instance.
45
-
46
-
47
- </td></tr>
48
- </tbody></table>
49
-
50
- ## Methods
51
-
52
- <table><thead><tr><th>
53
-
54
- Method
55
-
56
-
57
- </th><th>
58
-
59
- Modifiers
60
-
61
-
62
- </th><th>
63
-
64
- Description
65
-
66
-
67
- </th></tr></thead>
68
- <tbody><tr><td>
69
-
70
- [isTokenExpired()](./ibm-cloud-sdk-core.vpcinstancetokenmanager.istokenexpired.md)
71
-
72
-
73
- </td><td>
74
-
75
- `protected`
76
-
77
-
78
- </td><td>
79
-
80
- Returns true iff the currently-cached IAM access token is expired. We'll consider an access token as expired when we reach its IAM server-reported expiration time minus our expiration window (10 secs). We do this to avoid using an access token that might expire in the middle of a long-running transaction within an IBM Cloud service.
81
-
82
-
83
- </td></tr>
84
- <tr><td>
85
-
86
- [requestToken()](./ibm-cloud-sdk-core.vpcinstancetokenmanager.requesttoken.md)
87
-
88
-
89
- </td><td>
90
-
91
- `protected`
92
-
93
-
94
- </td><td>
95
-
96
-
97
- </td></tr>
98
- <tr><td>
99
-
100
- [setIamProfileCrn(iamProfileCrn)](./ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofilecrn.md)
101
-
102
-
103
- </td><td>
104
-
105
-
106
- </td><td>
107
-
108
- Sets the CRN of the IAM trusted profile to use when fetching the access token from the IAM token server.
109
-
110
-
111
- </td></tr>
112
- <tr><td>
113
-
114
- [setIamProfileId(iamProfileId)](./ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofileid.md)
115
-
116
-
117
- </td><td>
118
-
119
-
120
- </td><td>
121
-
122
- Sets the Id of the IAM trusted profile to use when fetching the access token from the IAM token server.
123
-
124
-
125
- </td></tr>
126
- </tbody></table>
@@ -1,15 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) &gt; [requestToken](./ibm-cloud-sdk-core.vpcinstancetokenmanager.requesttoken.md)
4
-
5
- ## VpcInstanceTokenManager.requestToken() method
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- protected requestToken(): Promise<any>;
11
- ```
12
- **Returns:**
13
-
14
- Promise&lt;any&gt;
15
-
@@ -1,53 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) &gt; [setIamProfileCrn](./ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofilecrn.md)
4
-
5
- ## VpcInstanceTokenManager.setIamProfileCrn() method
6
-
7
- Sets the CRN of the IAM trusted profile to use when fetching the access token from the IAM token server.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- setIamProfileCrn(iamProfileCrn: string): void;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- iamProfileCrn
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- the CRN of the IAM trusted profile
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
- **Returns:**
51
-
52
- void
53
-
@@ -1,53 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [VpcInstanceTokenManager](./ibm-cloud-sdk-core.vpcinstancetokenmanager.md) &gt; [setIamProfileId](./ibm-cloud-sdk-core.vpcinstancetokenmanager.setiamprofileid.md)
4
-
5
- ## VpcInstanceTokenManager.setIamProfileId() method
6
-
7
- Sets the Id of the IAM trusted profile to use when fetching the access token from the IAM token server.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- setIamProfileId(iamProfileId: string): void;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- iamProfileId
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- the ID of the IAM trusted profile
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
- **Returns:**
51
-
52
- void
53
-
@@ -1,29 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- <table><thead><tr><th>
10
-
11
- Package
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright 2021 IBM Corp. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export declare function checkUrlAndMethod(options: any, url: string, method: any): void;
17
- export declare function checkMediaHeaders(createRequestMock: any, accept: string, contentType: string): void;
18
- export declare function checkUserHeader(createRequestMock: any, userHeaderName: string, userHeaderValue: string): void;
19
- export declare function checkForSuccessfulExecution(createRequestMock: any): void;
20
- export declare function getOptions(createRequestMock: any): void;
21
- export declare function expectToBePromise(sdkPromise: any): void;
@@ -1,23 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- /**
3
- * Copyright 2021 IBM Corp. All Rights Reserved.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
- // Dummy for browser
18
- export function checkUrlAndMethod(options, url, method) { }
19
- export function checkMediaHeaders(createRequestMock, accept, contentType) { }
20
- export function checkUserHeader(createRequestMock, userHeaderName, userHeaderValue) { }
21
- export function checkForSuccessfulExecution(createRequestMock) { }
22
- export function getOptions(createRequestMock) { }
23
- export function expectToBePromise(sdkPromise) { }
@@ -1,72 +0,0 @@
1
- /**
2
- * (C) Copyright IBM Corp. 2019, 2022.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- /**
17
- * This module provides a set of helper methods used to reduce code duplication in the generated unit tests
18
- * for the SDKs that depend on this core package. Note that these methods are not used by the tests for this
19
- * package - they are meant to be exported and made available to dependent libraries.
20
- */
21
- /**
22
- * Takes the request options constructed by the SDK and checks that the `url` and `method` properties
23
- * were set to their correct values.
24
- *
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
28
- */
29
- export declare function checkUrlAndMethod(options: any, url: string, method: any): void;
30
- /**
31
- * Takes the mock object for the `createRequest` method, extracts the headers that were sent with the call,
32
- * and checks for the expected values for `Accept` and `Content-Type`. This to verify that the SDK sets
33
- * the correct values in the code.
34
- *
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
38
- */
39
- export declare function checkMediaHeaders(createRequestMock: any, accept: string, contentType: string): void;
40
- /**
41
- * Takes the mock object for the `createRequest` method, extracts the headers that were sent with the call,
42
- * and checks for the expected value for a user-defined header. This is verify that the SDK accepts header
43
- * parameters and sends them as headers in the request.
44
- *
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
48
- */
49
- export declare function checkUserHeader(createRequestMock: any, userHeaderName: string, userHeaderValue: string): void;
50
- /**
51
- * This method simply ensures that the method executed without any issues by extracting
52
- * the argument from the mock object for the `createRequest` method and verifying that it is an object.
53
- *
54
- * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
55
- */
56
- export declare function checkForSuccessfulExecution(createRequestMock: any): void;
57
- /**
58
- * This method extracts the `options` property from the object passed into `createRequest`. This property is
59
- * an object containing all of the SDK method-specific information (like `path` and `body`) used to build a request.
60
- * This method is just a convenience method for the unit tests to be able to make assertions on the items in the request.
61
- *
62
- * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
63
- * @returns Object
64
- */
65
- export declare function getOptions(createRequestMock: any): any;
66
- /**
67
- * This method simply ensures that the SDK methods return Promises by checking for
68
- * the `then` function - common way to assess whether or not an object is a Promise.
69
- *
70
- * @param sdkPromise - the Promise returned by an SDK method
71
- */
72
- export declare function expectToBePromise(sdkPromise: any): void;
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
9
- }
10
- ]
11
- }
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright 2021 IBM Corp. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export declare function checkUrlAndMethod(options: any, url: string, method: any): void;
17
- export declare function checkMediaHeaders(createRequestMock: any, accept: string, contentType: string): void;
18
- export declare function checkUserHeader(createRequestMock: any, userHeaderName: string, userHeaderValue: string): void;
19
- export declare function checkForSuccessfulExecution(createRequestMock: any): void;
20
- export declare function getOptions(createRequestMock: any): void;
21
- export declare function expectToBePromise(sdkPromise: any): void;
@@ -1,32 +0,0 @@
1
- "use strict";
2
- /* eslint-disable @typescript-eslint/no-unused-vars */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.expectToBePromise = exports.getOptions = exports.checkForSuccessfulExecution = exports.checkUserHeader = exports.checkMediaHeaders = exports.checkUrlAndMethod = void 0;
5
- /**
6
- * Copyright 2021 IBM Corp. All Rights Reserved.
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
20
- // Dummy for browser
21
- function checkUrlAndMethod(options, url, method) { }
22
- exports.checkUrlAndMethod = checkUrlAndMethod;
23
- function checkMediaHeaders(createRequestMock, accept, contentType) { }
24
- exports.checkMediaHeaders = checkMediaHeaders;
25
- function checkUserHeader(createRequestMock, userHeaderName, userHeaderValue) { }
26
- exports.checkUserHeader = checkUserHeader;
27
- function checkForSuccessfulExecution(createRequestMock) { }
28
- exports.checkForSuccessfulExecution = checkForSuccessfulExecution;
29
- function getOptions(createRequestMock) { }
30
- exports.getOptions = getOptions;
31
- function expectToBePromise(sdkPromise) { }
32
- exports.expectToBePromise = expectToBePromise;
@@ -1,72 +0,0 @@
1
- /**
2
- * (C) Copyright IBM Corp. 2019, 2022.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- /**
17
- * This module provides a set of helper methods used to reduce code duplication in the generated unit tests
18
- * for the SDKs that depend on this core package. Note that these methods are not used by the tests for this
19
- * package - they are meant to be exported and made available to dependent libraries.
20
- */
21
- /**
22
- * Takes the request options constructed by the SDK and checks that the `url` and `method` properties
23
- * were set to their correct values.
24
- *
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
28
- */
29
- export declare function checkUrlAndMethod(options: any, url: string, method: any): void;
30
- /**
31
- * Takes the mock object for the `createRequest` method, extracts the headers that were sent with the call,
32
- * and checks for the expected values for `Accept` and `Content-Type`. This to verify that the SDK sets
33
- * the correct values in the code.
34
- *
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
38
- */
39
- export declare function checkMediaHeaders(createRequestMock: any, accept: string, contentType: string): void;
40
- /**
41
- * Takes the mock object for the `createRequest` method, extracts the headers that were sent with the call,
42
- * and checks for the expected value for a user-defined header. This is verify that the SDK accepts header
43
- * parameters and sends them as headers in the request.
44
- *
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
48
- */
49
- export declare function checkUserHeader(createRequestMock: any, userHeaderName: string, userHeaderValue: string): void;
50
- /**
51
- * This method simply ensures that the method executed without any issues by extracting
52
- * the argument from the mock object for the `createRequest` method and verifying that it is an object.
53
- *
54
- * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
55
- */
56
- export declare function checkForSuccessfulExecution(createRequestMock: any): void;
57
- /**
58
- * This method extracts the `options` property from the object passed into `createRequest`. This property is
59
- * an object containing all of the SDK method-specific information (like `path` and `body`) used to build a request.
60
- * This method is just a convenience method for the unit tests to be able to make assertions on the items in the request.
61
- *
62
- * @param createRequestMock - the jest mock object for the `createRequest` method in the `RequestWrapper` class
63
- * @returns Object
64
- */
65
- export declare function getOptions(createRequestMock: any): any;
66
- /**
67
- * This method simply ensures that the SDK methods return Promises by checking for
68
- * the `then` function - common way to assess whether or not an object is a Promise.
69
- *
70
- * @param sdkPromise - the Promise returned by an SDK method
71
- */
72
- export declare function expectToBePromise(sdkPromise: any): void;