@api-client/core 0.20.9 → 0.21.0

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 (1611) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/bin/test.ts +0 -16
  3. package/build/src/browser.d.ts +0 -19
  4. package/build/src/browser.d.ts.map +1 -1
  5. package/build/src/browser.js +0 -31
  6. package/build/src/browser.js.map +1 -1
  7. package/build/src/events/EventTypes.d.ts +0 -40
  8. package/build/src/events/EventTypes.d.ts.map +1 -1
  9. package/build/src/events/EventTypes.js +0 -8
  10. package/build/src/events/EventTypes.js.map +1 -1
  11. package/build/src/events/Events.d.ts +0 -20
  12. package/build/src/events/Events.d.ts.map +1 -1
  13. package/build/src/events/Events.js +0 -8
  14. package/build/src/events/Events.js.map +1 -1
  15. package/build/src/events/index.d.ts +0 -3
  16. package/build/src/events/index.d.ts.map +1 -1
  17. package/build/src/events/index.js.map +1 -1
  18. package/build/src/index.d.ts +0 -31
  19. package/build/src/index.d.ts.map +1 -1
  20. package/build/src/index.js +0 -55
  21. package/build/src/index.js.map +1 -1
  22. package/build/src/lib/headers/Headers.d.ts +0 -9
  23. package/build/src/lib/headers/Headers.d.ts.map +1 -1
  24. package/build/src/lib/headers/Headers.js +0 -20
  25. package/build/src/lib/headers/Headers.js.map +1 -1
  26. package/build/src/mocking/ModelingMock.d.ts +26 -0
  27. package/build/src/mocking/ModelingMock.d.ts.map +1 -1
  28. package/build/src/mocking/ModelingMock.js +48 -0
  29. package/build/src/mocking/ModelingMock.js.map +1 -1
  30. package/build/src/mocking/lib/File.d.ts.map +1 -1
  31. package/build/src/mocking/lib/File.js +3 -5
  32. package/build/src/mocking/lib/File.js.map +1 -1
  33. package/build/src/mocking/lib/Trash.d.ts.map +1 -1
  34. package/build/src/mocking/lib/Trash.js +2 -8
  35. package/build/src/mocking/lib/Trash.js.map +1 -1
  36. package/build/src/models/Folder.d.ts +1 -1
  37. package/build/src/models/Folder.d.ts.map +1 -1
  38. package/build/src/models/Folder.js +3 -3
  39. package/build/src/models/Folder.js.map +1 -1
  40. package/build/src/models/index.d.ts +1 -51
  41. package/build/src/models/index.d.ts.map +1 -1
  42. package/build/src/models/index.js +1 -56
  43. package/build/src/models/index.js.map +1 -1
  44. package/build/src/models/kinds.d.ts +1 -6
  45. package/build/src/models/kinds.d.ts.map +1 -1
  46. package/build/src/models/kinds.js +1 -6
  47. package/build/src/models/kinds.js.map +1 -1
  48. package/build/src/sdk/AiSdk.d.ts +4 -4
  49. package/build/src/sdk/AiSdk.d.ts.map +1 -1
  50. package/build/src/sdk/AiSdk.js +2 -2
  51. package/build/src/sdk/AiSdk.js.map +1 -1
  52. package/build/src/sdk/DataCatalogSdk.d.ts +5 -5
  53. package/build/src/sdk/DataCatalogSdk.d.ts.map +1 -1
  54. package/build/src/sdk/DataCatalogSdk.js +1 -1
  55. package/build/src/sdk/DataCatalogSdk.js.map +1 -1
  56. package/build/src/sdk/DeploymentsSdk.d.ts +2 -2
  57. package/build/src/sdk/DeploymentsSdk.d.ts.map +1 -1
  58. package/build/src/sdk/DeploymentsSdk.js +2 -2
  59. package/build/src/sdk/DeploymentsSdk.js.map +1 -1
  60. package/build/src/sdk/FilesSdk.d.ts +8 -8
  61. package/build/src/sdk/FilesSdk.d.ts.map +1 -1
  62. package/build/src/sdk/FilesSdk.js +3 -3
  63. package/build/src/sdk/FilesSdk.js.map +1 -1
  64. package/build/src/sdk/GroupsSdk.d.ts +2 -2
  65. package/build/src/sdk/GroupsSdk.d.ts.map +1 -1
  66. package/build/src/sdk/GroupsSdk.js +1 -1
  67. package/build/src/sdk/GroupsSdk.js.map +1 -1
  68. package/build/src/sdk/HttpNode.js +1 -1
  69. package/build/src/sdk/HttpNode.js.map +1 -1
  70. package/build/src/sdk/HttpWeb.d.ts +1 -0
  71. package/build/src/sdk/HttpWeb.d.ts.map +1 -1
  72. package/build/src/sdk/HttpWeb.js +28 -3
  73. package/build/src/sdk/HttpWeb.js.map +1 -1
  74. package/build/src/sdk/OrganizationsSdk.d.ts +5 -5
  75. package/build/src/sdk/OrganizationsSdk.d.ts.map +1 -1
  76. package/build/src/sdk/OrganizationsSdk.js +1 -1
  77. package/build/src/sdk/OrganizationsSdk.js.map +1 -1
  78. package/build/src/sdk/RevisionsSdk.d.ts +2 -2
  79. package/build/src/sdk/RevisionsSdk.d.ts.map +1 -1
  80. package/build/src/sdk/RevisionsSdk.js +1 -1
  81. package/build/src/sdk/RevisionsSdk.js.map +1 -1
  82. package/build/src/sdk/RouteBuilder.d.ts +3 -3
  83. package/build/src/sdk/RouteBuilder.d.ts.map +1 -1
  84. package/build/src/sdk/RouteBuilder.js.map +1 -1
  85. package/build/src/sdk/Sdk.d.ts +1 -21
  86. package/build/src/sdk/Sdk.d.ts.map +1 -1
  87. package/build/src/sdk/Sdk.js +0 -15
  88. package/build/src/sdk/Sdk.js.map +1 -1
  89. package/build/src/sdk/SdkBase.d.ts +3 -3
  90. package/build/src/sdk/SdkBase.d.ts.map +1 -1
  91. package/build/src/sdk/SdkBase.js +1 -1
  92. package/build/src/sdk/SdkBase.js.map +1 -1
  93. package/build/src/sdk/SdkMock.d.ts +2 -5
  94. package/build/src/sdk/SdkMock.d.ts.map +1 -1
  95. package/build/src/sdk/SdkMock.js +65 -91
  96. package/build/src/sdk/SdkMock.js.map +1 -1
  97. package/build/src/sdk/SdkNetworkMock.d.ts +323 -0
  98. package/build/src/sdk/SdkNetworkMock.d.ts.map +1 -0
  99. package/build/src/sdk/SdkNetworkMock.js +1196 -0
  100. package/build/src/sdk/SdkNetworkMock.js.map +1 -0
  101. package/build/src/sdk/SharedSdk.d.ts +2 -2
  102. package/build/src/sdk/SharedSdk.d.ts.map +1 -1
  103. package/build/src/sdk/SharedSdk.js +1 -1
  104. package/build/src/sdk/SharedSdk.js.map +1 -1
  105. package/build/src/sdk/StoreSdkNode.d.ts +0 -2
  106. package/build/src/sdk/StoreSdkNode.d.ts.map +1 -1
  107. package/build/src/sdk/StoreSdkNode.js +0 -2
  108. package/build/src/sdk/StoreSdkNode.js.map +1 -1
  109. package/build/src/sdk/StoreSdkWeb.d.ts +0 -2
  110. package/build/src/sdk/StoreSdkWeb.d.ts.map +1 -1
  111. package/build/src/sdk/StoreSdkWeb.js +0 -2
  112. package/build/src/sdk/StoreSdkWeb.js.map +1 -1
  113. package/build/src/sdk/TrashSdk.d.ts +2 -2
  114. package/build/src/sdk/TrashSdk.d.ts.map +1 -1
  115. package/build/src/sdk/TrashSdk.js +1 -1
  116. package/build/src/sdk/TrashSdk.js.map +1 -1
  117. package/build/src/sdk/UsersSdk.d.ts +1 -1
  118. package/build/src/sdk/UsersSdk.d.ts.map +1 -1
  119. package/build/src/sdk/UsersSdk.js +1 -1
  120. package/build/src/sdk/UsersSdk.js.map +1 -1
  121. package/build/tsconfig.build.tsbuildinfo +1 -0
  122. package/eslint.config.js +0 -4
  123. package/knip.json +10 -0
  124. package/lupa.config.ts +43 -0
  125. package/package.json +25 -67
  126. package/src/events/EventTypes.ts +0 -8
  127. package/src/events/Events.ts +0 -8
  128. package/src/lib/headers/Headers.ts +0 -22
  129. package/src/mocking/ModelingMock.ts +54 -0
  130. package/src/mocking/lib/File.ts +3 -6
  131. package/src/mocking/lib/Trash.ts +2 -8
  132. package/src/models/Folder.ts +3 -3
  133. package/src/models/kinds.ts +1 -6
  134. package/src/sdk/AiSdk.ts +6 -6
  135. package/src/sdk/DataCatalogSdk.ts +6 -6
  136. package/src/sdk/DeploymentsSdk.ts +3 -3
  137. package/src/sdk/FilesSdk.ts +10 -10
  138. package/src/sdk/GroupsSdk.ts +3 -3
  139. package/src/sdk/HttpNode.ts +1 -1
  140. package/src/sdk/HttpWeb.ts +28 -3
  141. package/src/sdk/OrganizationsSdk.ts +6 -6
  142. package/src/sdk/RevisionsSdk.ts +3 -3
  143. package/src/sdk/RouteBuilder.ts +3 -3
  144. package/src/sdk/Sdk.ts +1 -22
  145. package/src/sdk/SdkBase.ts +3 -3
  146. package/src/sdk/SdkMock.ts +70 -105
  147. package/src/sdk/SdkNetworkMock.ts +1607 -0
  148. package/src/sdk/SharedSdk.ts +3 -3
  149. package/src/sdk/StoreSdkNode.ts +0 -3
  150. package/src/sdk/StoreSdkWeb.ts +0 -3
  151. package/src/sdk/TrashSdk.ts +3 -3
  152. package/src/sdk/UsersSdk.ts +2 -2
  153. package/tests/client/env.ts +11 -0
  154. package/tests/client/lib/dom_purify.spec.ts +12 -0
  155. package/tests/client/sdk/DataCatalog.spec.ts +565 -0
  156. package/tests/client/sdk/Deployments.spec.ts +214 -0
  157. package/tests/client/sdk/FilesSdk.spec.ts +716 -0
  158. package/tests/client/sdk/groups.spec.ts +244 -0
  159. package/tests/client/sdk/network-mock/ai-mock.spec.ts +124 -0
  160. package/tests/client/sdk/network-mock/deployments-mock.spec.ts +182 -0
  161. package/tests/client/sdk/network-mock/files-mock.spec.ts +119 -0
  162. package/tests/client/sdk/network-mock/groups-mock.spec.ts +83 -0
  163. package/tests/client/sdk/network-mock/organizations-mock.spec.ts +129 -0
  164. package/tests/client/sdk/network-mock/shared-mock.spec.ts +25 -0
  165. package/tests/client/sdk/network-mock/trash-mock.spec.ts +43 -0
  166. package/tests/client/sdk/network-mock/users-mock.spec.ts +79 -0
  167. package/tests/client/sdk/organizations.spec.ts +2468 -0
  168. package/tests/client/src/platform.spec.ts +14 -0
  169. package/tests/unit/mocking/current/File.spec.ts +5 -5
  170. package/tests/unit/mocking/current/Trash.spec.ts +5 -5
  171. package/tests/unit/modeling/RuntimeApiModel.spec.ts +24 -4
  172. package/tests/unit/models/File/createFileCapabilities.spec.ts +3 -2
  173. package/tsconfig.build.json +8 -0
  174. package/RELEASE.md +0 -163
  175. package/RELEASE_SETUP.md +0 -237
  176. package/TESTING_SETUP.md +0 -198
  177. package/Testing.md +0 -21
  178. package/amf-models/dialects/ApiProjectVocabulary.yaml +0 -233
  179. package/amf-models/dialects/Environment.yaml +0 -38
  180. package/amf-models/dialects/HttpProject.yaml +0 -55
  181. package/amf-models/dialects/License.yaml +0 -31
  182. package/amf-models/dialects/ProjectFolder.yaml +0 -43
  183. package/amf-models/dialects/ProjectItem.yaml +0 -22
  184. package/amf-models/dialects/ProjectRequest.yaml +0 -23
  185. package/amf-models/dialects/ProjectSchema.yaml +0 -36
  186. package/amf-models/dialects/Property.yaml +0 -43
  187. package/amf-models/dialects/Provider.yaml +0 -32
  188. package/amf-models/dialects/Server.yaml +0 -31
  189. package/amf-models/dialects/Thing.yaml +0 -28
  190. package/bin/context.ts +0 -22
  191. package/bin/server.ts +0 -83
  192. package/build/src/authorization/AuthorizationError.d.ts +0 -24
  193. package/build/src/authorization/AuthorizationError.d.ts.map +0 -1
  194. package/build/src/authorization/AuthorizationError.js +0 -32
  195. package/build/src/authorization/AuthorizationError.js.map +0 -1
  196. package/build/src/authorization/CustomParameters.d.ts +0 -25
  197. package/build/src/authorization/CustomParameters.d.ts.map +0 -1
  198. package/build/src/authorization/CustomParameters.js +0 -61
  199. package/build/src/authorization/CustomParameters.js.map +0 -1
  200. package/build/src/authorization/OAuth2Authorization.d.ts +0 -333
  201. package/build/src/authorization/OAuth2Authorization.d.ts.map +0 -1
  202. package/build/src/authorization/OAuth2Authorization.js +0 -963
  203. package/build/src/authorization/OAuth2Authorization.js.map +0 -1
  204. package/build/src/authorization/OidcAuthorization.d.ts +0 -36
  205. package/build/src/authorization/OidcAuthorization.d.ts.map +0 -1
  206. package/build/src/authorization/OidcAuthorization.js +0 -146
  207. package/build/src/authorization/OidcAuthorization.js.map +0 -1
  208. package/build/src/authorization/Utils.d.ts +0 -52
  209. package/build/src/authorization/Utils.d.ts.map +0 -1
  210. package/build/src/authorization/Utils.js +0 -130
  211. package/build/src/authorization/Utils.js.map +0 -1
  212. package/build/src/authorization/index.d.ts +0 -10
  213. package/build/src/authorization/index.d.ts.map +0 -1
  214. package/build/src/authorization/index.js +0 -10
  215. package/build/src/authorization/index.js.map +0 -1
  216. package/build/src/authorization/lib/IframeAuthorization.d.ts +0 -54
  217. package/build/src/authorization/lib/IframeAuthorization.d.ts.map +0 -1
  218. package/build/src/authorization/lib/IframeAuthorization.js +0 -115
  219. package/build/src/authorization/lib/IframeAuthorization.js.map +0 -1
  220. package/build/src/authorization/lib/KnownGrants.d.ts +0 -7
  221. package/build/src/authorization/lib/KnownGrants.d.ts.map +0 -1
  222. package/build/src/authorization/lib/KnownGrants.js +0 -7
  223. package/build/src/authorization/lib/KnownGrants.js.map +0 -1
  224. package/build/src/authorization/lib/PopupAuthorization.d.ts +0 -42
  225. package/build/src/authorization/lib/PopupAuthorization.d.ts.map +0 -1
  226. package/build/src/authorization/lib/PopupAuthorization.js +0 -73
  227. package/build/src/authorization/lib/PopupAuthorization.js.map +0 -1
  228. package/build/src/authorization/lib/SecurityProcessor.d.ts +0 -67
  229. package/build/src/authorization/lib/SecurityProcessor.d.ts.map +0 -1
  230. package/build/src/authorization/lib/SecurityProcessor.js +0 -245
  231. package/build/src/authorization/lib/SecurityProcessor.js.map +0 -1
  232. package/build/src/authorization/lib/Tokens.d.ts +0 -56
  233. package/build/src/authorization/lib/Tokens.d.ts.map +0 -1
  234. package/build/src/authorization/lib/Tokens.js +0 -121
  235. package/build/src/authorization/lib/Tokens.js.map +0 -1
  236. package/build/src/authorization/lib/Utils.d.ts +0 -45
  237. package/build/src/authorization/lib/Utils.d.ts.map +0 -1
  238. package/build/src/authorization/lib/Utils.js +0 -91
  239. package/build/src/authorization/lib/Utils.js.map +0 -1
  240. package/build/src/authorization/types.d.ts +0 -196
  241. package/build/src/authorization/types.d.ts.map +0 -1
  242. package/build/src/authorization/types.js +0 -2
  243. package/build/src/authorization/types.js.map +0 -1
  244. package/build/src/cookies/CookieJar.d.ts +0 -24
  245. package/build/src/cookies/CookieJar.d.ts.map +0 -1
  246. package/build/src/cookies/CookieJar.js +0 -3
  247. package/build/src/cookies/CookieJar.js.map +0 -1
  248. package/build/src/cookies/CookieParser.d.ts +0 -81
  249. package/build/src/cookies/CookieParser.d.ts.map +0 -1
  250. package/build/src/cookies/CookieParser.js +0 -333
  251. package/build/src/cookies/CookieParser.js.map +0 -1
  252. package/build/src/cookies/InMemoryCookieJar.d.ts +0 -13
  253. package/build/src/cookies/InMemoryCookieJar.d.ts.map +0 -1
  254. package/build/src/cookies/InMemoryCookieJar.js +0 -68
  255. package/build/src/cookies/InMemoryCookieJar.js.map +0 -1
  256. package/build/src/cookies/Punycode.d.ts +0 -13
  257. package/build/src/cookies/Punycode.d.ts.map +0 -1
  258. package/build/src/cookies/Punycode.js +0 -127
  259. package/build/src/cookies/Punycode.js.map +0 -1
  260. package/build/src/data/DataExtractor.d.ts +0 -66
  261. package/build/src/data/DataExtractor.d.ts.map +0 -1
  262. package/build/src/data/DataExtractor.js +0 -178
  263. package/build/src/data/DataExtractor.js.map +0 -1
  264. package/build/src/data/DataReader.d.ts +0 -11
  265. package/build/src/data/DataReader.d.ts.map +0 -1
  266. package/build/src/data/DataReader.js +0 -4
  267. package/build/src/data/DataReader.js.map +0 -1
  268. package/build/src/data/JmespathReader.d.ts +0 -13
  269. package/build/src/data/JmespathReader.d.ts.map +0 -1
  270. package/build/src/data/JmespathReader.js +0 -27
  271. package/build/src/data/JmespathReader.js.map +0 -1
  272. package/build/src/data/Json2Xml.d.ts +0 -86
  273. package/build/src/data/Json2Xml.d.ts.map +0 -1
  274. package/build/src/data/Json2Xml.js +0 -187
  275. package/build/src/data/Json2Xml.js.map +0 -1
  276. package/build/src/data/JsonReader.d.ts +0 -9
  277. package/build/src/data/JsonReader.d.ts.map +0 -1
  278. package/build/src/data/JsonReader.js +0 -40
  279. package/build/src/data/JsonReader.js.map +0 -1
  280. package/build/src/data/PayloadPointer.d.ts +0 -22
  281. package/build/src/data/PayloadPointer.d.ts.map +0 -1
  282. package/build/src/data/PayloadPointer.js +0 -48
  283. package/build/src/data/PayloadPointer.js.map +0 -1
  284. package/build/src/data/RequestDataExtractor.d.ts +0 -49
  285. package/build/src/data/RequestDataExtractor.d.ts.map +0 -1
  286. package/build/src/data/RequestDataExtractor.js +0 -111
  287. package/build/src/data/RequestDataExtractor.js.map +0 -1
  288. package/build/src/data/UrlEncodedReader.d.ts +0 -13
  289. package/build/src/data/UrlEncodedReader.d.ts.map +0 -1
  290. package/build/src/data/UrlEncodedReader.js +0 -21
  291. package/build/src/data/UrlEncodedReader.js.map +0 -1
  292. package/build/src/data/XmlReader.d.ts +0 -15
  293. package/build/src/data/XmlReader.d.ts.map +0 -1
  294. package/build/src/data/XmlReader.js +0 -122
  295. package/build/src/data/XmlReader.js.map +0 -1
  296. package/build/src/data/index.d.ts +0 -10
  297. package/build/src/data/index.d.ts.map +0 -1
  298. package/build/src/data/index.js +0 -10
  299. package/build/src/data/index.js.map +0 -1
  300. package/build/src/events/authorization/AuthorizationEventTypes.d.ts +0 -23
  301. package/build/src/events/authorization/AuthorizationEventTypes.d.ts.map +0 -1
  302. package/build/src/events/authorization/AuthorizationEventTypes.js +0 -23
  303. package/build/src/events/authorization/AuthorizationEventTypes.js.map +0 -1
  304. package/build/src/events/authorization/AuthorizationEvents.d.ts +0 -35
  305. package/build/src/events/authorization/AuthorizationEvents.d.ts.map +0 -1
  306. package/build/src/events/authorization/AuthorizationEvents.js +0 -55
  307. package/build/src/events/authorization/AuthorizationEvents.js.map +0 -1
  308. package/build/src/events/cookies/CookieEventTypes.d.ts +0 -14
  309. package/build/src/events/cookies/CookieEventTypes.d.ts.map +0 -1
  310. package/build/src/events/cookies/CookieEventTypes.js +0 -14
  311. package/build/src/events/cookies/CookieEventTypes.js.map +0 -1
  312. package/build/src/events/cookies/CookieEvents.d.ts +0 -92
  313. package/build/src/events/cookies/CookieEvents.d.ts.map +0 -1
  314. package/build/src/events/cookies/CookieEvents.js +0 -128
  315. package/build/src/events/cookies/CookieEvents.js.map +0 -1
  316. package/build/src/events/environment/EnvironmentEventTypes.d.ts +0 -4
  317. package/build/src/events/environment/EnvironmentEventTypes.d.ts.map +0 -1
  318. package/build/src/events/environment/EnvironmentEventTypes.js +0 -4
  319. package/build/src/events/environment/EnvironmentEventTypes.js.map +0 -1
  320. package/build/src/events/environment/EnvironmentEvents.d.ts +0 -16
  321. package/build/src/events/environment/EnvironmentEvents.d.ts.map +0 -1
  322. package/build/src/events/environment/EnvironmentEvents.js +0 -20
  323. package/build/src/events/environment/EnvironmentEvents.js.map +0 -1
  324. package/build/src/events/transport/TransportEventTypes.d.ts +0 -30
  325. package/build/src/events/transport/TransportEventTypes.d.ts.map +0 -1
  326. package/build/src/events/transport/TransportEventTypes.js +0 -31
  327. package/build/src/events/transport/TransportEventTypes.js.map +0 -1
  328. package/build/src/events/transport/TransportEvents.d.ts +0 -63
  329. package/build/src/events/transport/TransportEvents.d.ts.map +0 -1
  330. package/build/src/events/transport/TransportEvents.js +0 -77
  331. package/build/src/events/transport/TransportEvents.js.map +0 -1
  332. package/build/src/legacy.d.ts +0 -40
  333. package/build/src/legacy.d.ts.map +0 -1
  334. package/build/src/legacy.js +0 -40
  335. package/build/src/legacy.js.map +0 -1
  336. package/build/src/lib/Buffer.d.ts +0 -21
  337. package/build/src/lib/Buffer.d.ts.map +0 -1
  338. package/build/src/lib/Buffer.js +0 -57
  339. package/build/src/lib/Buffer.js.map +0 -1
  340. package/build/src/lib/definitions/HttpDefinitions.d.ts +0 -35
  341. package/build/src/lib/definitions/HttpDefinitions.d.ts.map +0 -1
  342. package/build/src/lib/definitions/HttpDefinitions.js +0 -59
  343. package/build/src/lib/definitions/HttpDefinitions.js.map +0 -1
  344. package/build/src/lib/fs/Fs.d.ts +0 -53
  345. package/build/src/lib/fs/Fs.d.ts.map +0 -1
  346. package/build/src/lib/fs/Fs.js +0 -245
  347. package/build/src/lib/fs/Fs.js.map +0 -1
  348. package/build/src/lib/headers/HeadersData.d.ts +0 -36
  349. package/build/src/lib/headers/HeadersData.d.ts.map +0 -1
  350. package/build/src/lib/headers/HeadersData.js +0 -657
  351. package/build/src/lib/headers/HeadersData.js.map +0 -1
  352. package/build/src/lib/parsers/UriTemplate.d.ts +0 -110
  353. package/build/src/lib/parsers/UriTemplate.d.ts.map +0 -1
  354. package/build/src/lib/parsers/UriTemplate.js +0 -437
  355. package/build/src/lib/parsers/UriTemplate.js.map +0 -1
  356. package/build/src/lib/parsers/UrlEncoder.d.ts +0 -57
  357. package/build/src/lib/parsers/UrlEncoder.d.ts.map +0 -1
  358. package/build/src/lib/parsers/UrlEncoder.js +0 -125
  359. package/build/src/lib/parsers/UrlEncoder.js.map +0 -1
  360. package/build/src/lib/parsers/UrlParser.d.ts +0 -105
  361. package/build/src/lib/parsers/UrlParser.d.ts.map +0 -1
  362. package/build/src/lib/parsers/UrlParser.js +0 -190
  363. package/build/src/lib/parsers/UrlParser.js.map +0 -1
  364. package/build/src/lib/parsers/UrlProcessor.d.ts +0 -285
  365. package/build/src/lib/parsers/UrlProcessor.d.ts.map +0 -1
  366. package/build/src/lib/parsers/UrlProcessor.js +0 -763
  367. package/build/src/lib/parsers/UrlProcessor.js.map +0 -1
  368. package/build/src/lib/parsers/UrlValueParser.d.ts +0 -93
  369. package/build/src/lib/parsers/UrlValueParser.d.ts.map +0 -1
  370. package/build/src/lib/parsers/UrlValueParser.js +0 -172
  371. package/build/src/lib/parsers/UrlValueParser.js.map +0 -1
  372. package/build/src/lib/timers/Timers.d.ts +0 -15
  373. package/build/src/lib/timers/Timers.d.ts.map +0 -1
  374. package/build/src/lib/timers/Timers.js +0 -28
  375. package/build/src/lib/timers/Timers.js.map +0 -1
  376. package/build/src/lib/transformers/PayloadSerializer.d.ts +0 -221
  377. package/build/src/lib/transformers/PayloadSerializer.d.ts.map +0 -1
  378. package/build/src/lib/transformers/PayloadSerializer.js +0 -423
  379. package/build/src/lib/transformers/PayloadSerializer.js.map +0 -1
  380. package/build/src/mocking/LegacyInterfaces.d.ts +0 -47
  381. package/build/src/mocking/LegacyInterfaces.d.ts.map +0 -1
  382. package/build/src/mocking/LegacyInterfaces.js +0 -2
  383. package/build/src/mocking/LegacyInterfaces.js.map +0 -1
  384. package/build/src/mocking/LegacyMock.d.ts +0 -25
  385. package/build/src/mocking/LegacyMock.d.ts.map +0 -1
  386. package/build/src/mocking/LegacyMock.js +0 -34
  387. package/build/src/mocking/LegacyMock.js.map +0 -1
  388. package/build/src/mocking/ProjectMock.d.ts +0 -27
  389. package/build/src/mocking/ProjectMock.d.ts.map +0 -1
  390. package/build/src/mocking/ProjectMock.js +0 -31
  391. package/build/src/mocking/ProjectMock.js.map +0 -1
  392. package/build/src/mocking/legacy/Authorization.d.ts +0 -21
  393. package/build/src/mocking/legacy/Authorization.d.ts.map +0 -1
  394. package/build/src/mocking/legacy/Authorization.js +0 -35
  395. package/build/src/mocking/legacy/Authorization.js.map +0 -1
  396. package/build/src/mocking/legacy/Certificates.d.ts +0 -57
  397. package/build/src/mocking/legacy/Certificates.d.ts.map +0 -1
  398. package/build/src/mocking/legacy/Certificates.js +0 -128
  399. package/build/src/mocking/legacy/Certificates.js.map +0 -1
  400. package/build/src/mocking/legacy/Cookies.d.ts +0 -22
  401. package/build/src/mocking/legacy/Cookies.d.ts.map +0 -1
  402. package/build/src/mocking/legacy/Cookies.js +0 -48
  403. package/build/src/mocking/legacy/Cookies.js.map +0 -1
  404. package/build/src/mocking/legacy/HostRules.d.ts +0 -23
  405. package/build/src/mocking/legacy/HostRules.d.ts.map +0 -1
  406. package/build/src/mocking/legacy/HostRules.js +0 -40
  407. package/build/src/mocking/legacy/HostRules.js.map +0 -1
  408. package/build/src/mocking/legacy/Http.d.ts +0 -85
  409. package/build/src/mocking/legacy/Http.d.ts.map +0 -1
  410. package/build/src/mocking/legacy/Http.js +0 -199
  411. package/build/src/mocking/legacy/Http.js.map +0 -1
  412. package/build/src/mocking/legacy/HttpResponse.d.ts +0 -24
  413. package/build/src/mocking/legacy/HttpResponse.d.ts.map +0 -1
  414. package/build/src/mocking/legacy/HttpResponse.js +0 -98
  415. package/build/src/mocking/legacy/HttpResponse.js.map +0 -1
  416. package/build/src/mocking/legacy/RestApi.d.ts +0 -16
  417. package/build/src/mocking/legacy/RestApi.d.ts.map +0 -1
  418. package/build/src/mocking/legacy/RestApi.js +0 -63
  419. package/build/src/mocking/legacy/RestApi.js.map +0 -1
  420. package/build/src/mocking/legacy/Urls.d.ts +0 -22
  421. package/build/src/mocking/legacy/Urls.d.ts.map +0 -1
  422. package/build/src/mocking/legacy/Urls.js +0 -41
  423. package/build/src/mocking/legacy/Urls.js.map +0 -1
  424. package/build/src/mocking/legacy/Variables.d.ts +0 -19
  425. package/build/src/mocking/legacy/Variables.d.ts.map +0 -1
  426. package/build/src/mocking/legacy/Variables.js +0 -51
  427. package/build/src/mocking/legacy/Variables.js.map +0 -1
  428. package/build/src/mocking/lib/Certificates.d.ts +0 -28
  429. package/build/src/mocking/lib/Certificates.d.ts.map +0 -1
  430. package/build/src/mocking/lib/Certificates.js +0 -55
  431. package/build/src/mocking/lib/Certificates.js.map +0 -1
  432. package/build/src/mocking/lib/History.d.ts +0 -75
  433. package/build/src/mocking/lib/History.d.ts.map +0 -1
  434. package/build/src/mocking/lib/History.js +0 -128
  435. package/build/src/mocking/lib/History.js.map +0 -1
  436. package/build/src/mocking/lib/HostRules.d.ts +0 -23
  437. package/build/src/mocking/lib/HostRules.d.ts.map +0 -1
  438. package/build/src/mocking/lib/HostRules.js +0 -40
  439. package/build/src/mocking/lib/HostRules.js.map +0 -1
  440. package/build/src/mocking/lib/Request.d.ts +0 -44
  441. package/build/src/mocking/lib/Request.d.ts.map +0 -1
  442. package/build/src/mocking/lib/Request.js +0 -70
  443. package/build/src/mocking/lib/Request.js.map +0 -1
  444. package/build/src/mocking/lib/Response.d.ts +0 -38
  445. package/build/src/mocking/lib/Response.d.ts.map +0 -1
  446. package/build/src/mocking/lib/Response.js +0 -99
  447. package/build/src/mocking/lib/Response.js.map +0 -1
  448. package/build/src/mocking/lib/Url.d.ts +0 -22
  449. package/build/src/mocking/lib/Url.d.ts.map +0 -1
  450. package/build/src/mocking/lib/Url.js +0 -40
  451. package/build/src/mocking/lib/Url.js.map +0 -1
  452. package/build/src/models/Authorization.d.ts +0 -452
  453. package/build/src/models/Authorization.d.ts.map +0 -1
  454. package/build/src/models/Authorization.js +0 -2
  455. package/build/src/models/Authorization.js.map +0 -1
  456. package/build/src/models/AuthorizationData.d.ts +0 -30
  457. package/build/src/models/AuthorizationData.d.ts.map +0 -1
  458. package/build/src/models/AuthorizationData.js +0 -59
  459. package/build/src/models/AuthorizationData.js.map +0 -1
  460. package/build/src/models/CertificateFile.d.ts +0 -19
  461. package/build/src/models/CertificateFile.d.ts.map +0 -1
  462. package/build/src/models/CertificateFile.js +0 -70
  463. package/build/src/models/CertificateFile.js.map +0 -1
  464. package/build/src/models/ClientCertificate.d.ts +0 -188
  465. package/build/src/models/ClientCertificate.d.ts.map +0 -1
  466. package/build/src/models/ClientCertificate.js +0 -193
  467. package/build/src/models/ClientCertificate.js.map +0 -1
  468. package/build/src/models/Environment.d.ts +0 -134
  469. package/build/src/models/Environment.d.ts.map +0 -1
  470. package/build/src/models/Environment.js +0 -256
  471. package/build/src/models/Environment.js.map +0 -1
  472. package/build/src/models/ErrorResponse.d.ts +0 -37
  473. package/build/src/models/ErrorResponse.d.ts.map +0 -1
  474. package/build/src/models/ErrorResponse.js +0 -103
  475. package/build/src/models/ErrorResponse.js.map +0 -1
  476. package/build/src/models/HeadersArray.d.ts +0 -22
  477. package/build/src/models/HeadersArray.d.ts.map +0 -1
  478. package/build/src/models/HeadersArray.js +0 -58
  479. package/build/src/models/HeadersArray.js.map +0 -1
  480. package/build/src/models/HostRule.d.ts +0 -87
  481. package/build/src/models/HostRule.d.ts.map +0 -1
  482. package/build/src/models/HostRule.js +0 -142
  483. package/build/src/models/HostRule.js.map +0 -1
  484. package/build/src/models/HttpCookie.d.ts +0 -175
  485. package/build/src/models/HttpCookie.d.ts.map +0 -1
  486. package/build/src/models/HttpCookie.js +0 -343
  487. package/build/src/models/HttpCookie.js.map +0 -1
  488. package/build/src/models/HttpHistory.d.ts +0 -143
  489. package/build/src/models/HttpHistory.d.ts.map +0 -1
  490. package/build/src/models/HttpHistory.js +0 -179
  491. package/build/src/models/HttpHistory.js.map +0 -1
  492. package/build/src/models/HttpProject.d.ts +0 -540
  493. package/build/src/models/HttpProject.d.ts.map +0 -1
  494. package/build/src/models/HttpProject.js +0 -1237
  495. package/build/src/models/HttpProject.js.map +0 -1
  496. package/build/src/models/HttpRequest.d.ts +0 -88
  497. package/build/src/models/HttpRequest.d.ts.map +0 -1
  498. package/build/src/models/HttpRequest.js +0 -127
  499. package/build/src/models/HttpRequest.js.map +0 -1
  500. package/build/src/models/HttpResponse.d.ts +0 -54
  501. package/build/src/models/HttpResponse.d.ts.map +0 -1
  502. package/build/src/models/HttpResponse.js +0 -114
  503. package/build/src/models/HttpResponse.js.map +0 -1
  504. package/build/src/models/License.d.ts +0 -53
  505. package/build/src/models/License.d.ts.map +0 -1
  506. package/build/src/models/License.js +0 -91
  507. package/build/src/models/License.js.map +0 -1
  508. package/build/src/models/Project.d.ts +0 -27
  509. package/build/src/models/Project.d.ts.map +0 -1
  510. package/build/src/models/Project.js +0 -81
  511. package/build/src/models/Project.js.map +0 -1
  512. package/build/src/models/ProjectDefinitionProperty.d.ts +0 -35
  513. package/build/src/models/ProjectDefinitionProperty.d.ts.map +0 -1
  514. package/build/src/models/ProjectDefinitionProperty.js +0 -2
  515. package/build/src/models/ProjectDefinitionProperty.js.map +0 -1
  516. package/build/src/models/ProjectExecution.d.ts +0 -116
  517. package/build/src/models/ProjectExecution.d.ts.map +0 -1
  518. package/build/src/models/ProjectExecution.js +0 -147
  519. package/build/src/models/ProjectExecution.js.map +0 -1
  520. package/build/src/models/ProjectFolder.d.ts +0 -219
  521. package/build/src/models/ProjectFolder.d.ts.map +0 -1
  522. package/build/src/models/ProjectFolder.js +0 -341
  523. package/build/src/models/ProjectFolder.js.map +0 -1
  524. package/build/src/models/ProjectItem.d.ts +0 -68
  525. package/build/src/models/ProjectItem.d.ts.map +0 -1
  526. package/build/src/models/ProjectItem.js +0 -139
  527. package/build/src/models/ProjectItem.js.map +0 -1
  528. package/build/src/models/ProjectParent.d.ts +0 -27
  529. package/build/src/models/ProjectParent.d.ts.map +0 -1
  530. package/build/src/models/ProjectParent.js +0 -19
  531. package/build/src/models/ProjectParent.js.map +0 -1
  532. package/build/src/models/ProjectRequest.d.ts +0 -203
  533. package/build/src/models/ProjectRequest.d.ts.map +0 -1
  534. package/build/src/models/ProjectRequest.js +0 -440
  535. package/build/src/models/ProjectRequest.js.map +0 -1
  536. package/build/src/models/ProjectSchema.d.ts +0 -106
  537. package/build/src/models/ProjectSchema.d.ts.map +0 -1
  538. package/build/src/models/ProjectSchema.js +0 -156
  539. package/build/src/models/ProjectSchema.js.map +0 -1
  540. package/build/src/models/Property.d.ts +0 -140
  541. package/build/src/models/Property.d.ts.map +0 -1
  542. package/build/src/models/Property.js +0 -427
  543. package/build/src/models/Property.js.map +0 -1
  544. package/build/src/models/Provider.d.ts +0 -54
  545. package/build/src/models/Provider.d.ts.map +0 -1
  546. package/build/src/models/Provider.js +0 -75
  547. package/build/src/models/Provider.js.map +0 -1
  548. package/build/src/models/Request.d.ts +0 -175
  549. package/build/src/models/Request.d.ts.map +0 -1
  550. package/build/src/models/Request.js +0 -398
  551. package/build/src/models/Request.js.map +0 -1
  552. package/build/src/models/RequestAuthorization.d.ts +0 -58
  553. package/build/src/models/RequestAuthorization.d.ts.map +0 -1
  554. package/build/src/models/RequestAuthorization.js +0 -88
  555. package/build/src/models/RequestAuthorization.js.map +0 -1
  556. package/build/src/models/RequestConfig.d.ts +0 -174
  557. package/build/src/models/RequestConfig.d.ts.map +0 -1
  558. package/build/src/models/RequestConfig.js +0 -274
  559. package/build/src/models/RequestConfig.js.map +0 -1
  560. package/build/src/models/RequestLog.d.ts +0 -88
  561. package/build/src/models/RequestLog.d.ts.map +0 -1
  562. package/build/src/models/RequestLog.js +0 -158
  563. package/build/src/models/RequestLog.js.map +0 -1
  564. package/build/src/models/RequestTime.d.ts +0 -35
  565. package/build/src/models/RequestTime.d.ts.map +0 -1
  566. package/build/src/models/RequestTime.js +0 -89
  567. package/build/src/models/RequestTime.js.map +0 -1
  568. package/build/src/models/RequestUiMeta.d.ts +0 -166
  569. package/build/src/models/RequestUiMeta.d.ts.map +0 -1
  570. package/build/src/models/RequestUiMeta.js +0 -110
  571. package/build/src/models/RequestUiMeta.js.map +0 -1
  572. package/build/src/models/RequestsSize.d.ts +0 -33
  573. package/build/src/models/RequestsSize.d.ts.map +0 -1
  574. package/build/src/models/RequestsSize.js +0 -50
  575. package/build/src/models/RequestsSize.js.map +0 -1
  576. package/build/src/models/Response.d.ts +0 -61
  577. package/build/src/models/Response.d.ts.map +0 -1
  578. package/build/src/models/Response.js +0 -140
  579. package/build/src/models/Response.js.map +0 -1
  580. package/build/src/models/ResponseAuthorization.d.ts +0 -55
  581. package/build/src/models/ResponseAuthorization.d.ts.map +0 -1
  582. package/build/src/models/ResponseAuthorization.js +0 -82
  583. package/build/src/models/ResponseAuthorization.js.map +0 -1
  584. package/build/src/models/ResponseRedirect.d.ts +0 -72
  585. package/build/src/models/ResponseRedirect.d.ts.map +0 -1
  586. package/build/src/models/ResponseRedirect.js +0 -125
  587. package/build/src/models/ResponseRedirect.js.map +0 -1
  588. package/build/src/models/SentRequest.d.ts +0 -61
  589. package/build/src/models/SentRequest.d.ts.map +0 -1
  590. package/build/src/models/SentRequest.js +0 -91
  591. package/build/src/models/SentRequest.js.map +0 -1
  592. package/build/src/models/SerializablePayload.d.ts +0 -60
  593. package/build/src/models/SerializablePayload.d.ts.map +0 -1
  594. package/build/src/models/SerializablePayload.js +0 -79
  595. package/build/src/models/SerializablePayload.js.map +0 -1
  596. package/build/src/models/Server.d.ts +0 -89
  597. package/build/src/models/Server.d.ts.map +0 -1
  598. package/build/src/models/Server.js +0 -151
  599. package/build/src/models/Server.js.map +0 -1
  600. package/build/src/models/Url.d.ts +0 -50
  601. package/build/src/models/Url.d.ts.map +0 -1
  602. package/build/src/models/Url.js +0 -69
  603. package/build/src/models/Url.js.map +0 -1
  604. package/build/src/models/http-flows/AssertionError.d.ts +0 -37
  605. package/build/src/models/http-flows/AssertionError.d.ts.map +0 -1
  606. package/build/src/models/http-flows/AssertionError.js +0 -35
  607. package/build/src/models/http-flows/AssertionError.js.map +0 -1
  608. package/build/src/models/http-flows/HttpAssertion.d.ts +0 -86
  609. package/build/src/models/http-flows/HttpAssertion.d.ts.map +0 -1
  610. package/build/src/models/http-flows/HttpAssertion.js +0 -53
  611. package/build/src/models/http-flows/HttpAssertion.js.map +0 -1
  612. package/build/src/models/http-flows/HttpFlows.d.ts +0 -78
  613. package/build/src/models/http-flows/HttpFlows.d.ts.map +0 -1
  614. package/build/src/models/http-flows/HttpFlows.js +0 -35
  615. package/build/src/models/http-flows/HttpFlows.js.map +0 -1
  616. package/build/src/models/http-flows/HttpStep.d.ts +0 -30
  617. package/build/src/models/http-flows/HttpStep.d.ts.map +0 -1
  618. package/build/src/models/http-flows/HttpStep.js +0 -30
  619. package/build/src/models/http-flows/HttpStep.js.map +0 -1
  620. package/build/src/models/http-flows/LegacyTranslator.d.ts +0 -18
  621. package/build/src/models/http-flows/LegacyTranslator.d.ts.map +0 -1
  622. package/build/src/models/http-flows/LegacyTranslator.js +0 -278
  623. package/build/src/models/http-flows/LegacyTranslator.js.map +0 -1
  624. package/build/src/models/http-flows/steps/assertion/EqualAssertion.d.ts +0 -75
  625. package/build/src/models/http-flows/steps/assertion/EqualAssertion.d.ts.map +0 -1
  626. package/build/src/models/http-flows/steps/assertion/EqualAssertion.js +0 -79
  627. package/build/src/models/http-flows/steps/assertion/EqualAssertion.js.map +0 -1
  628. package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.d.ts +0 -35
  629. package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.d.ts.map +0 -1
  630. package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.js +0 -59
  631. package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.js.map +0 -1
  632. package/build/src/models/http-flows/steps/assertion/IncludesAssertion.d.ts +0 -27
  633. package/build/src/models/http-flows/steps/assertion/IncludesAssertion.d.ts.map +0 -1
  634. package/build/src/models/http-flows/steps/assertion/IncludesAssertion.js +0 -45
  635. package/build/src/models/http-flows/steps/assertion/IncludesAssertion.js.map +0 -1
  636. package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.d.ts +0 -19
  637. package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.d.ts.map +0 -1
  638. package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.js +0 -29
  639. package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.js.map +0 -1
  640. package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.d.ts +0 -19
  641. package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.d.ts.map +0 -1
  642. package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.js +0 -29
  643. package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.js.map +0 -1
  644. package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.d.ts +0 -27
  645. package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.d.ts.map +0 -1
  646. package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.js +0 -45
  647. package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.js.map +0 -1
  648. package/build/src/models/http-flows/steps/assertion/LessThanAssertion.d.ts +0 -35
  649. package/build/src/models/http-flows/steps/assertion/LessThanAssertion.d.ts.map +0 -1
  650. package/build/src/models/http-flows/steps/assertion/LessThanAssertion.js +0 -59
  651. package/build/src/models/http-flows/steps/assertion/LessThanAssertion.js.map +0 -1
  652. package/build/src/models/http-flows/steps/assertion/MatchesAssertion.d.ts +0 -27
  653. package/build/src/models/http-flows/steps/assertion/MatchesAssertion.d.ts.map +0 -1
  654. package/build/src/models/http-flows/steps/assertion/MatchesAssertion.js +0 -45
  655. package/build/src/models/http-flows/steps/assertion/MatchesAssertion.js.map +0 -1
  656. package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.d.ts +0 -39
  657. package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.d.ts.map +0 -1
  658. package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.js +0 -60
  659. package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.js.map +0 -1
  660. package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.d.ts +0 -75
  661. package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.d.ts.map +0 -1
  662. package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.js +0 -79
  663. package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.js.map +0 -1
  664. package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.d.ts +0 -27
  665. package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.d.ts.map +0 -1
  666. package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.js +0 -45
  667. package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.js.map +0 -1
  668. package/build/src/models/http-flows/steps/assertion/NotOkAssertion.d.ts +0 -19
  669. package/build/src/models/http-flows/steps/assertion/NotOkAssertion.d.ts.map +0 -1
  670. package/build/src/models/http-flows/steps/assertion/NotOkAssertion.js +0 -29
  671. package/build/src/models/http-flows/steps/assertion/NotOkAssertion.js.map +0 -1
  672. package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.d.ts +0 -28
  673. package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.d.ts.map +0 -1
  674. package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.js +0 -45
  675. package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.js.map +0 -1
  676. package/build/src/models/http-flows/steps/assertion/OkAssertion.d.ts +0 -19
  677. package/build/src/models/http-flows/steps/assertion/OkAssertion.d.ts.map +0 -1
  678. package/build/src/models/http-flows/steps/assertion/OkAssertion.js +0 -29
  679. package/build/src/models/http-flows/steps/assertion/OkAssertion.js.map +0 -1
  680. package/build/src/models/http-flows/steps/assertion/ToBeAssertion.d.ts +0 -34
  681. package/build/src/models/http-flows/steps/assertion/ToBeAssertion.d.ts.map +0 -1
  682. package/build/src/models/http-flows/steps/assertion/ToBeAssertion.js +0 -53
  683. package/build/src/models/http-flows/steps/assertion/ToBeAssertion.js.map +0 -1
  684. package/build/src/models/http-flows/steps/assertion/index.d.ts +0 -16
  685. package/build/src/models/http-flows/steps/assertion/index.d.ts.map +0 -1
  686. package/build/src/models/http-flows/steps/assertion/index.js +0 -16
  687. package/build/src/models/http-flows/steps/assertion/index.js.map +0 -1
  688. package/build/src/models/http-flows/steps/data/DeleteCookieStep.d.ts +0 -49
  689. package/build/src/models/http-flows/steps/data/DeleteCookieStep.d.ts.map +0 -1
  690. package/build/src/models/http-flows/steps/data/DeleteCookieStep.js +0 -73
  691. package/build/src/models/http-flows/steps/data/DeleteCookieStep.js.map +0 -1
  692. package/build/src/models/http-flows/steps/data/DeleteVariableStep.d.ts +0 -37
  693. package/build/src/models/http-flows/steps/data/DeleteVariableStep.d.ts.map +0 -1
  694. package/build/src/models/http-flows/steps/data/DeleteVariableStep.js +0 -45
  695. package/build/src/models/http-flows/steps/data/DeleteVariableStep.js.map +0 -1
  696. package/build/src/models/http-flows/steps/data/ReadDataSourceStep.d.ts +0 -54
  697. package/build/src/models/http-flows/steps/data/ReadDataSourceStep.d.ts.map +0 -1
  698. package/build/src/models/http-flows/steps/data/ReadDataSourceStep.js +0 -60
  699. package/build/src/models/http-flows/steps/data/ReadDataSourceStep.js.map +0 -1
  700. package/build/src/models/http-flows/steps/data/ReadDataStep.d.ts +0 -68
  701. package/build/src/models/http-flows/steps/data/ReadDataStep.d.ts.map +0 -1
  702. package/build/src/models/http-flows/steps/data/ReadDataStep.js +0 -78
  703. package/build/src/models/http-flows/steps/data/ReadDataStep.js.map +0 -1
  704. package/build/src/models/http-flows/steps/data/ReadValueStep.d.ts +0 -46
  705. package/build/src/models/http-flows/steps/data/ReadValueStep.d.ts.map +0 -1
  706. package/build/src/models/http-flows/steps/data/ReadValueStep.js +0 -53
  707. package/build/src/models/http-flows/steps/data/ReadValueStep.js.map +0 -1
  708. package/build/src/models/http-flows/steps/data/SetCookieStep.d.ts +0 -102
  709. package/build/src/models/http-flows/steps/data/SetCookieStep.d.ts.map +0 -1
  710. package/build/src/models/http-flows/steps/data/SetCookieStep.js +0 -139
  711. package/build/src/models/http-flows/steps/data/SetCookieStep.js.map +0 -1
  712. package/build/src/models/http-flows/steps/data/SetDataStep.d.ts +0 -78
  713. package/build/src/models/http-flows/steps/data/SetDataStep.d.ts.map +0 -1
  714. package/build/src/models/http-flows/steps/data/SetDataStep.js +0 -70
  715. package/build/src/models/http-flows/steps/data/SetDataStep.js.map +0 -1
  716. package/build/src/models/http-flows/steps/data/SetVariableStep.d.ts +0 -41
  717. package/build/src/models/http-flows/steps/data/SetVariableStep.d.ts.map +0 -1
  718. package/build/src/models/http-flows/steps/data/SetVariableStep.js +0 -45
  719. package/build/src/models/http-flows/steps/data/SetVariableStep.js.map +0 -1
  720. package/build/src/models/http-flows/steps/data/index.d.ts +0 -9
  721. package/build/src/models/http-flows/steps/data/index.d.ts.map +0 -1
  722. package/build/src/models/http-flows/steps/data/index.js +0 -9
  723. package/build/src/models/http-flows/steps/data/index.js.map +0 -1
  724. package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.d.ts +0 -19
  725. package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.d.ts.map +0 -1
  726. package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.js +0 -29
  727. package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.js.map +0 -1
  728. package/build/src/models/http-flows/steps/transformation/AsNumberStep.d.ts +0 -19
  729. package/build/src/models/http-flows/steps/transformation/AsNumberStep.d.ts.map +0 -1
  730. package/build/src/models/http-flows/steps/transformation/AsNumberStep.js +0 -29
  731. package/build/src/models/http-flows/steps/transformation/AsNumberStep.js.map +0 -1
  732. package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.d.ts +0 -19
  733. package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.d.ts.map +0 -1
  734. package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.js +0 -29
  735. package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.js.map +0 -1
  736. package/build/src/models/http-flows/steps/transformation/RoundStep.d.ts +0 -44
  737. package/build/src/models/http-flows/steps/transformation/RoundStep.d.ts.map +0 -1
  738. package/build/src/models/http-flows/steps/transformation/RoundStep.js +0 -53
  739. package/build/src/models/http-flows/steps/transformation/RoundStep.js.map +0 -1
  740. package/build/src/models/http-flows/steps/transformation/SubstringStep.d.ts +0 -41
  741. package/build/src/models/http-flows/steps/transformation/SubstringStep.d.ts.map +0 -1
  742. package/build/src/models/http-flows/steps/transformation/SubstringStep.js +0 -67
  743. package/build/src/models/http-flows/steps/transformation/SubstringStep.js.map +0 -1
  744. package/build/src/models/http-flows/steps/transformation/TrimStep.d.ts +0 -21
  745. package/build/src/models/http-flows/steps/transformation/TrimStep.d.ts.map +0 -1
  746. package/build/src/models/http-flows/steps/transformation/TrimStep.js +0 -30
  747. package/build/src/models/http-flows/steps/transformation/TrimStep.js.map +0 -1
  748. package/build/src/models/http-flows/steps/transformation/index.d.ts +0 -7
  749. package/build/src/models/http-flows/steps/transformation/index.d.ts.map +0 -1
  750. package/build/src/models/http-flows/steps/transformation/index.js +0 -7
  751. package/build/src/models/http-flows/steps/transformation/index.js.map +0 -1
  752. package/build/src/models/legacy/DataExport.d.ts +0 -243
  753. package/build/src/models/legacy/DataExport.d.ts.map +0 -1
  754. package/build/src/models/legacy/DataExport.js +0 -2
  755. package/build/src/models/legacy/DataExport.js.map +0 -1
  756. package/build/src/models/legacy/Normalizer.d.ts +0 -12
  757. package/build/src/models/legacy/Normalizer.d.ts.map +0 -1
  758. package/build/src/models/legacy/Normalizer.js +0 -98
  759. package/build/src/models/legacy/Normalizer.js.map +0 -1
  760. package/build/src/models/legacy/actions/Actions.d.ts +0 -259
  761. package/build/src/models/legacy/actions/Actions.d.ts.map +0 -1
  762. package/build/src/models/legacy/actions/Actions.js +0 -2
  763. package/build/src/models/legacy/actions/Actions.js.map +0 -1
  764. package/build/src/models/legacy/authorization/Authorization.d.ts +0 -542
  765. package/build/src/models/legacy/authorization/Authorization.d.ts.map +0 -1
  766. package/build/src/models/legacy/authorization/Authorization.js +0 -2
  767. package/build/src/models/legacy/authorization/Authorization.js.map +0 -1
  768. package/build/src/models/legacy/models/ApiTypes.d.ts +0 -193
  769. package/build/src/models/legacy/models/ApiTypes.d.ts.map +0 -1
  770. package/build/src/models/legacy/models/ApiTypes.js +0 -2
  771. package/build/src/models/legacy/models/ApiTypes.js.map +0 -1
  772. package/build/src/models/legacy/models/ArcLegacyProject.d.ts +0 -38
  773. package/build/src/models/legacy/models/ArcLegacyProject.d.ts.map +0 -1
  774. package/build/src/models/legacy/models/ArcLegacyProject.js +0 -2
  775. package/build/src/models/legacy/models/ArcLegacyProject.js.map +0 -1
  776. package/build/src/models/legacy/models/AuthData.d.ts +0 -15
  777. package/build/src/models/legacy/models/AuthData.d.ts.map +0 -1
  778. package/build/src/models/legacy/models/AuthData.js +0 -2
  779. package/build/src/models/legacy/models/AuthData.js.map +0 -1
  780. package/build/src/models/legacy/models/ClientCertificate.d.ts +0 -90
  781. package/build/src/models/legacy/models/ClientCertificate.d.ts.map +0 -1
  782. package/build/src/models/legacy/models/ClientCertificate.js +0 -2
  783. package/build/src/models/legacy/models/ClientCertificate.js.map +0 -1
  784. package/build/src/models/legacy/models/Cookies.d.ts +0 -53
  785. package/build/src/models/legacy/models/Cookies.d.ts.map +0 -1
  786. package/build/src/models/legacy/models/Cookies.js +0 -2
  787. package/build/src/models/legacy/models/Cookies.js.map +0 -1
  788. package/build/src/models/legacy/models/HostRule.d.ts +0 -34
  789. package/build/src/models/legacy/models/HostRule.d.ts.map +0 -1
  790. package/build/src/models/legacy/models/HostRule.js +0 -2
  791. package/build/src/models/legacy/models/HostRule.js.map +0 -1
  792. package/build/src/models/legacy/models/RestApi.d.ts +0 -48
  793. package/build/src/models/legacy/models/RestApi.d.ts.map +0 -1
  794. package/build/src/models/legacy/models/RestApi.js +0 -2
  795. package/build/src/models/legacy/models/RestApi.js.map +0 -1
  796. package/build/src/models/legacy/models/UrlHistory.d.ts +0 -33
  797. package/build/src/models/legacy/models/UrlHistory.d.ts.map +0 -1
  798. package/build/src/models/legacy/models/UrlHistory.js +0 -2
  799. package/build/src/models/legacy/models/UrlHistory.js.map +0 -1
  800. package/build/src/models/legacy/models/Variable.d.ts +0 -37
  801. package/build/src/models/legacy/models/Variable.d.ts.map +0 -1
  802. package/build/src/models/legacy/models/Variable.js +0 -2
  803. package/build/src/models/legacy/models/Variable.js.map +0 -1
  804. package/build/src/models/legacy/models/base.d.ts +0 -91
  805. package/build/src/models/legacy/models/base.d.ts.map +0 -1
  806. package/build/src/models/legacy/models/base.js +0 -2
  807. package/build/src/models/legacy/models/base.js.map +0 -1
  808. package/build/src/models/legacy/request/ArcRequest.d.ts +0 -387
  809. package/build/src/models/legacy/request/ArcRequest.d.ts.map +0 -1
  810. package/build/src/models/legacy/request/ArcRequest.js +0 -2
  811. package/build/src/models/legacy/request/ArcRequest.js.map +0 -1
  812. package/build/src/models/legacy/request/ArcResponse.d.ts +0 -166
  813. package/build/src/models/legacy/request/ArcResponse.d.ts.map +0 -1
  814. package/build/src/models/legacy/request/ArcResponse.js +0 -2
  815. package/build/src/models/legacy/request/ArcResponse.js.map +0 -1
  816. package/build/src/models/legacy/request/HistoryData.d.ts +0 -45
  817. package/build/src/models/legacy/request/HistoryData.d.ts.map +0 -1
  818. package/build/src/models/legacy/request/HistoryData.js +0 -2
  819. package/build/src/models/legacy/request/HistoryData.js.map +0 -1
  820. package/build/src/models/legacy/request/Legacy.d.ts +0 -43
  821. package/build/src/models/legacy/request/Legacy.d.ts.map +0 -1
  822. package/build/src/models/legacy/request/Legacy.js +0 -2
  823. package/build/src/models/legacy/request/Legacy.js.map +0 -1
  824. package/build/src/models/legacy/request/RequestBody.d.ts +0 -83
  825. package/build/src/models/legacy/request/RequestBody.d.ts.map +0 -1
  826. package/build/src/models/legacy/request/RequestBody.js +0 -2
  827. package/build/src/models/legacy/request/RequestBody.js.map +0 -1
  828. package/build/src/models/transformers/ArcDexieTransformer.d.ts +0 -109
  829. package/build/src/models/transformers/ArcDexieTransformer.d.ts.map +0 -1
  830. package/build/src/models/transformers/ArcDexieTransformer.js +0 -249
  831. package/build/src/models/transformers/ArcDexieTransformer.js.map +0 -1
  832. package/build/src/models/transformers/ArcLegacyNormalizer.d.ts +0 -43
  833. package/build/src/models/transformers/ArcLegacyNormalizer.d.ts.map +0 -1
  834. package/build/src/models/transformers/ArcLegacyNormalizer.js +0 -79
  835. package/build/src/models/transformers/ArcLegacyNormalizer.js.map +0 -1
  836. package/build/src/models/transformers/ArcLegacyTransformer.d.ts +0 -86
  837. package/build/src/models/transformers/ArcLegacyTransformer.d.ts.map +0 -1
  838. package/build/src/models/transformers/ArcLegacyTransformer.js +0 -151
  839. package/build/src/models/transformers/ArcLegacyTransformer.js.map +0 -1
  840. package/build/src/models/transformers/ArcPouchTransformer.d.ts +0 -46
  841. package/build/src/models/transformers/ArcPouchTransformer.d.ts.map +0 -1
  842. package/build/src/models/transformers/ArcPouchTransformer.js +0 -170
  843. package/build/src/models/transformers/ArcPouchTransformer.js.map +0 -1
  844. package/build/src/models/transformers/BaseTransformer.d.ts +0 -49
  845. package/build/src/models/transformers/BaseTransformer.d.ts.map +0 -1
  846. package/build/src/models/transformers/BaseTransformer.js +0 -104
  847. package/build/src/models/transformers/BaseTransformer.js.map +0 -1
  848. package/build/src/models/transformers/ImportUtils.d.ts +0 -45
  849. package/build/src/models/transformers/ImportUtils.d.ts.map +0 -1
  850. package/build/src/models/transformers/ImportUtils.js +0 -131
  851. package/build/src/models/transformers/ImportUtils.js.map +0 -1
  852. package/build/src/models/transformers/LegacyDataExportToApiProject.d.ts +0 -16
  853. package/build/src/models/transformers/LegacyDataExportToApiProject.d.ts.map +0 -1
  854. package/build/src/models/transformers/LegacyDataExportToApiProject.js +0 -70
  855. package/build/src/models/transformers/LegacyDataExportToApiProject.js.map +0 -1
  856. package/build/src/models/transformers/LegacyExportProcessor.d.ts +0 -48
  857. package/build/src/models/transformers/LegacyExportProcessor.d.ts.map +0 -1
  858. package/build/src/models/transformers/LegacyExportProcessor.js +0 -214
  859. package/build/src/models/transformers/LegacyExportProcessor.js.map +0 -1
  860. package/build/src/models/transformers/PostmanBackupTransformer.d.ts +0 -97
  861. package/build/src/models/transformers/PostmanBackupTransformer.d.ts.map +0 -1
  862. package/build/src/models/transformers/PostmanBackupTransformer.js +0 -185
  863. package/build/src/models/transformers/PostmanBackupTransformer.js.map +0 -1
  864. package/build/src/models/transformers/PostmanDataTransformer.d.ts +0 -10
  865. package/build/src/models/transformers/PostmanDataTransformer.d.ts.map +0 -1
  866. package/build/src/models/transformers/PostmanDataTransformer.js +0 -50
  867. package/build/src/models/transformers/PostmanDataTransformer.js.map +0 -1
  868. package/build/src/models/transformers/PostmanTransformer.d.ts +0 -50
  869. package/build/src/models/transformers/PostmanTransformer.d.ts.map +0 -1
  870. package/build/src/models/transformers/PostmanTransformer.js +0 -90
  871. package/build/src/models/transformers/PostmanTransformer.js.map +0 -1
  872. package/build/src/models/transformers/PostmanV21Transformer.d.ts +0 -129
  873. package/build/src/models/transformers/PostmanV21Transformer.d.ts.map +0 -1
  874. package/build/src/models/transformers/PostmanV21Transformer.js +0 -196
  875. package/build/src/models/transformers/PostmanV21Transformer.js.map +0 -1
  876. package/build/src/models/transformers/PostmanV2Transformer.d.ts +0 -129
  877. package/build/src/models/transformers/PostmanV2Transformer.d.ts.map +0 -1
  878. package/build/src/models/transformers/PostmanV2Transformer.js +0 -196
  879. package/build/src/models/transformers/PostmanV2Transformer.js.map +0 -1
  880. package/build/src/models/transformers/har.d.ts +0 -858
  881. package/build/src/models/transformers/har.d.ts.map +0 -1
  882. package/build/src/models/transformers/har.js +0 -2
  883. package/build/src/models/transformers/har.js.map +0 -1
  884. package/build/src/proxy/HttpProjectProxy.d.ts +0 -42
  885. package/build/src/proxy/HttpProjectProxy.d.ts.map +0 -1
  886. package/build/src/proxy/HttpProjectProxy.js +0 -132
  887. package/build/src/proxy/HttpProjectProxy.js.map +0 -1
  888. package/build/src/proxy/Proxy.d.ts +0 -27
  889. package/build/src/proxy/Proxy.d.ts.map +0 -1
  890. package/build/src/proxy/Proxy.js +0 -7
  891. package/build/src/proxy/Proxy.js.map +0 -1
  892. package/build/src/proxy/ProxyService.d.ts +0 -24
  893. package/build/src/proxy/ProxyService.d.ts.map +0 -1
  894. package/build/src/proxy/ProxyService.js +0 -29
  895. package/build/src/proxy/ProxyService.js.map +0 -1
  896. package/build/src/proxy/RequestProxy.d.ts +0 -52
  897. package/build/src/proxy/RequestProxy.d.ts.map +0 -1
  898. package/build/src/proxy/RequestProxy.js +0 -56
  899. package/build/src/proxy/RequestProxy.js.map +0 -1
  900. package/build/src/runtime/http-engine/CoreEngine.d.ts +0 -299
  901. package/build/src/runtime/http-engine/CoreEngine.d.ts.map +0 -1
  902. package/build/src/runtime/http-engine/CoreEngine.js +0 -928
  903. package/build/src/runtime/http-engine/CoreEngine.js.map +0 -1
  904. package/build/src/runtime/http-engine/CoreEngine2.d.ts +0 -2
  905. package/build/src/runtime/http-engine/CoreEngine2.d.ts.map +0 -1
  906. package/build/src/runtime/http-engine/CoreEngine2.js +0 -2
  907. package/build/src/runtime/http-engine/CoreEngine2.js.map +0 -1
  908. package/build/src/runtime/http-engine/FormData.d.ts +0 -50
  909. package/build/src/runtime/http-engine/FormData.d.ts.map +0 -1
  910. package/build/src/runtime/http-engine/FormData.js +0 -167
  911. package/build/src/runtime/http-engine/FormData.js.map +0 -1
  912. package/build/src/runtime/http-engine/HttpErrorCodes.d.ts +0 -4
  913. package/build/src/runtime/http-engine/HttpErrorCodes.d.ts.map +0 -1
  914. package/build/src/runtime/http-engine/HttpErrorCodes.js +0 -166
  915. package/build/src/runtime/http-engine/HttpErrorCodes.js.map +0 -1
  916. package/build/src/runtime/http-engine/PayloadSupport.d.ts +0 -19
  917. package/build/src/runtime/http-engine/PayloadSupport.d.ts.map +0 -1
  918. package/build/src/runtime/http-engine/PayloadSupport.js +0 -80
  919. package/build/src/runtime/http-engine/PayloadSupport.js.map +0 -1
  920. package/build/src/runtime/http-engine/RequestUtils.d.ts +0 -66
  921. package/build/src/runtime/http-engine/RequestUtils.d.ts.map +0 -1
  922. package/build/src/runtime/http-engine/RequestUtils.js +0 -143
  923. package/build/src/runtime/http-engine/RequestUtils.js.map +0 -1
  924. package/build/src/runtime/http-engine/auth/AuthManager.d.ts +0 -73
  925. package/build/src/runtime/http-engine/auth/AuthManager.d.ts.map +0 -1
  926. package/build/src/runtime/http-engine/auth/AuthManager.js +0 -186
  927. package/build/src/runtime/http-engine/auth/AuthManager.js.map +0 -1
  928. package/build/src/runtime/http-engine/auth/index.d.ts +0 -2
  929. package/build/src/runtime/http-engine/auth/index.d.ts.map +0 -1
  930. package/build/src/runtime/http-engine/auth/index.js +0 -2
  931. package/build/src/runtime/http-engine/auth/index.js.map +0 -1
  932. package/build/src/runtime/http-engine/certificates/CertificateManager.d.ts +0 -11
  933. package/build/src/runtime/http-engine/certificates/CertificateManager.d.ts.map +0 -1
  934. package/build/src/runtime/http-engine/certificates/CertificateManager.js +0 -76
  935. package/build/src/runtime/http-engine/certificates/CertificateManager.js.map +0 -1
  936. package/build/src/runtime/http-engine/certificates/index.d.ts +0 -2
  937. package/build/src/runtime/http-engine/certificates/index.d.ts.map +0 -1
  938. package/build/src/runtime/http-engine/certificates/index.js +0 -2
  939. package/build/src/runtime/http-engine/certificates/index.js.map +0 -1
  940. package/build/src/runtime/http-engine/compression/CompressionManager.d.ts +0 -25
  941. package/build/src/runtime/http-engine/compression/CompressionManager.d.ts.map +0 -1
  942. package/build/src/runtime/http-engine/compression/CompressionManager.js +0 -89
  943. package/build/src/runtime/http-engine/compression/CompressionManager.js.map +0 -1
  944. package/build/src/runtime/http-engine/compression/index.d.ts +0 -2
  945. package/build/src/runtime/http-engine/compression/index.d.ts.map +0 -1
  946. package/build/src/runtime/http-engine/compression/index.js +0 -2
  947. package/build/src/runtime/http-engine/compression/index.js.map +0 -1
  948. package/build/src/runtime/http-engine/connections/ConnectionManager.d.ts +0 -57
  949. package/build/src/runtime/http-engine/connections/ConnectionManager.d.ts.map +0 -1
  950. package/build/src/runtime/http-engine/connections/ConnectionManager.js +0 -78
  951. package/build/src/runtime/http-engine/connections/ConnectionManager.js.map +0 -1
  952. package/build/src/runtime/http-engine/connections/DigestAuthHandler.d.ts +0 -70
  953. package/build/src/runtime/http-engine/connections/DigestAuthHandler.d.ts.map +0 -1
  954. package/build/src/runtime/http-engine/connections/DigestAuthHandler.js +0 -184
  955. package/build/src/runtime/http-engine/connections/DigestAuthHandler.js.map +0 -1
  956. package/build/src/runtime/http-engine/connections/DirectConnection.d.ts +0 -22
  957. package/build/src/runtime/http-engine/connections/DirectConnection.d.ts.map +0 -1
  958. package/build/src/runtime/http-engine/connections/DirectConnection.js +0 -111
  959. package/build/src/runtime/http-engine/connections/DirectConnection.js.map +0 -1
  960. package/build/src/runtime/http-engine/connections/ProxyAuthHandler.d.ts +0 -60
  961. package/build/src/runtime/http-engine/connections/ProxyAuthHandler.d.ts.map +0 -1
  962. package/build/src/runtime/http-engine/connections/ProxyAuthHandler.js +0 -138
  963. package/build/src/runtime/http-engine/connections/ProxyAuthHandler.js.map +0 -1
  964. package/build/src/runtime/http-engine/connections/ProxyConnection.d.ts +0 -14
  965. package/build/src/runtime/http-engine/connections/ProxyConnection.d.ts.map +0 -1
  966. package/build/src/runtime/http-engine/connections/ProxyConnection.js +0 -47
  967. package/build/src/runtime/http-engine/connections/ProxyConnection.js.map +0 -1
  968. package/build/src/runtime/http-engine/connections/TunnelConnection.d.ts +0 -13
  969. package/build/src/runtime/http-engine/connections/TunnelConnection.d.ts.map +0 -1
  970. package/build/src/runtime/http-engine/connections/TunnelConnection.js +0 -175
  971. package/build/src/runtime/http-engine/connections/TunnelConnection.js.map +0 -1
  972. package/build/src/runtime/http-engine/connections/index.d.ts +0 -7
  973. package/build/src/runtime/http-engine/connections/index.d.ts.map +0 -1
  974. package/build/src/runtime/http-engine/connections/index.js +0 -7
  975. package/build/src/runtime/http-engine/connections/index.js.map +0 -1
  976. package/build/src/runtime/http-engine/constants.d.ts +0 -69
  977. package/build/src/runtime/http-engine/constants.d.ts.map +0 -1
  978. package/build/src/runtime/http-engine/constants.js +0 -90
  979. package/build/src/runtime/http-engine/constants.js.map +0 -1
  980. package/build/src/runtime/http-engine/cookies/CookieProcessor.d.ts +0 -5
  981. package/build/src/runtime/http-engine/cookies/CookieProcessor.d.ts.map +0 -1
  982. package/build/src/runtime/http-engine/cookies/CookieProcessor.js +0 -20
  983. package/build/src/runtime/http-engine/cookies/CookieProcessor.js.map +0 -1
  984. package/build/src/runtime/http-engine/cookies/index.d.ts +0 -2
  985. package/build/src/runtime/http-engine/cookies/index.d.ts.map +0 -1
  986. package/build/src/runtime/http-engine/cookies/index.js +0 -2
  987. package/build/src/runtime/http-engine/cookies/index.js.map +0 -1
  988. package/build/src/runtime/http-engine/errors/HttpEngineErrors.d.ts +0 -156
  989. package/build/src/runtime/http-engine/errors/HttpEngineErrors.d.ts.map +0 -1
  990. package/build/src/runtime/http-engine/errors/HttpEngineErrors.js +0 -227
  991. package/build/src/runtime/http-engine/errors/HttpEngineErrors.js.map +0 -1
  992. package/build/src/runtime/http-engine/errors/index.d.ts +0 -2
  993. package/build/src/runtime/http-engine/errors/index.d.ts.map +0 -1
  994. package/build/src/runtime/http-engine/errors/index.js +0 -2
  995. package/build/src/runtime/http-engine/errors/index.js.map +0 -1
  996. package/build/src/runtime/http-engine/message/MessageBuilder.d.ts +0 -66
  997. package/build/src/runtime/http-engine/message/MessageBuilder.d.ts.map +0 -1
  998. package/build/src/runtime/http-engine/message/MessageBuilder.js +0 -161
  999. package/build/src/runtime/http-engine/message/MessageBuilder.js.map +0 -1
  1000. package/build/src/runtime/http-engine/message/MessageProcessor.d.ts +0 -27
  1001. package/build/src/runtime/http-engine/message/MessageProcessor.d.ts.map +0 -1
  1002. package/build/src/runtime/http-engine/message/MessageProcessor.js +0 -51
  1003. package/build/src/runtime/http-engine/message/MessageProcessor.js.map +0 -1
  1004. package/build/src/runtime/http-engine/message/index.d.ts +0 -3
  1005. package/build/src/runtime/http-engine/message/index.d.ts.map +0 -1
  1006. package/build/src/runtime/http-engine/message/index.js +0 -3
  1007. package/build/src/runtime/http-engine/message/index.js.map +0 -1
  1008. package/build/src/runtime/http-engine/ntlm/Des.d.ts +0 -5
  1009. package/build/src/runtime/http-engine/ntlm/Des.d.ts.map +0 -1
  1010. package/build/src/runtime/http-engine/ntlm/Des.js +0 -361
  1011. package/build/src/runtime/http-engine/ntlm/Des.js.map +0 -1
  1012. package/build/src/runtime/http-engine/ntlm/MD4.d.ts +0 -14
  1013. package/build/src/runtime/http-engine/ntlm/MD4.d.ts.map +0 -1
  1014. package/build/src/runtime/http-engine/ntlm/MD4.js +0 -122
  1015. package/build/src/runtime/http-engine/ntlm/MD4.js.map +0 -1
  1016. package/build/src/runtime/http-engine/ntlm/NtlmAuth.d.ts +0 -21
  1017. package/build/src/runtime/http-engine/ntlm/NtlmAuth.d.ts.map +0 -1
  1018. package/build/src/runtime/http-engine/ntlm/NtlmAuth.js +0 -163
  1019. package/build/src/runtime/http-engine/ntlm/NtlmAuth.js.map +0 -1
  1020. package/build/src/runtime/http-engine/ntlm/NtlmMessage.d.ts +0 -11
  1021. package/build/src/runtime/http-engine/ntlm/NtlmMessage.d.ts.map +0 -1
  1022. package/build/src/runtime/http-engine/ntlm/NtlmMessage.js +0 -58
  1023. package/build/src/runtime/http-engine/ntlm/NtlmMessage.js.map +0 -1
  1024. package/build/src/runtime/http-engine/parsers/BodyParser.d.ts +0 -39
  1025. package/build/src/runtime/http-engine/parsers/BodyParser.d.ts.map +0 -1
  1026. package/build/src/runtime/http-engine/parsers/BodyParser.js +0 -145
  1027. package/build/src/runtime/http-engine/parsers/BodyParser.js.map +0 -1
  1028. package/build/src/runtime/http-engine/parsers/HeadersParser.d.ts +0 -29
  1029. package/build/src/runtime/http-engine/parsers/HeadersParser.d.ts.map +0 -1
  1030. package/build/src/runtime/http-engine/parsers/HeadersParser.js +0 -88
  1031. package/build/src/runtime/http-engine/parsers/HeadersParser.js.map +0 -1
  1032. package/build/src/runtime/http-engine/parsers/HttpResponseParser.d.ts +0 -91
  1033. package/build/src/runtime/http-engine/parsers/HttpResponseParser.d.ts.map +0 -1
  1034. package/build/src/runtime/http-engine/parsers/HttpResponseParser.js +0 -236
  1035. package/build/src/runtime/http-engine/parsers/HttpResponseParser.js.map +0 -1
  1036. package/build/src/runtime/http-engine/parsers/StatusParser.d.ts +0 -20
  1037. package/build/src/runtime/http-engine/parsers/StatusParser.d.ts.map +0 -1
  1038. package/build/src/runtime/http-engine/parsers/StatusParser.js +0 -51
  1039. package/build/src/runtime/http-engine/parsers/StatusParser.js.map +0 -1
  1040. package/build/src/runtime/http-engine/parsers/index.d.ts +0 -5
  1041. package/build/src/runtime/http-engine/parsers/index.d.ts.map +0 -1
  1042. package/build/src/runtime/http-engine/parsers/index.js +0 -5
  1043. package/build/src/runtime/http-engine/parsers/index.js.map +0 -1
  1044. package/build/src/runtime/http-engine/response/ResponseProcessor.d.ts +0 -22
  1045. package/build/src/runtime/http-engine/response/ResponseProcessor.d.ts.map +0 -1
  1046. package/build/src/runtime/http-engine/response/ResponseProcessor.js +0 -25
  1047. package/build/src/runtime/http-engine/response/ResponseProcessor.js.map +0 -1
  1048. package/build/src/runtime/http-engine/response/index.d.ts +0 -2
  1049. package/build/src/runtime/http-engine/response/index.d.ts.map +0 -1
  1050. package/build/src/runtime/http-engine/response/index.js +0 -2
  1051. package/build/src/runtime/http-engine/response/index.js.map +0 -1
  1052. package/build/src/runtime/http-engine/statistics/StatisticsProcessor.d.ts +0 -7
  1053. package/build/src/runtime/http-engine/statistics/StatisticsProcessor.d.ts.map +0 -1
  1054. package/build/src/runtime/http-engine/statistics/StatisticsProcessor.js +0 -40
  1055. package/build/src/runtime/http-engine/statistics/StatisticsProcessor.js.map +0 -1
  1056. package/build/src/runtime/http-engine/statistics/index.d.ts +0 -2
  1057. package/build/src/runtime/http-engine/statistics/index.d.ts.map +0 -1
  1058. package/build/src/runtime/http-engine/statistics/index.js +0 -2
  1059. package/build/src/runtime/http-engine/statistics/index.js.map +0 -1
  1060. package/build/src/runtime/http-engine/url/UrlProcessor.d.ts +0 -24
  1061. package/build/src/runtime/http-engine/url/UrlProcessor.d.ts.map +0 -1
  1062. package/build/src/runtime/http-engine/url/UrlProcessor.js +0 -50
  1063. package/build/src/runtime/http-engine/url/UrlProcessor.js.map +0 -1
  1064. package/build/src/runtime/http-engine/url/index.d.ts +0 -2
  1065. package/build/src/runtime/http-engine/url/index.d.ts.map +0 -1
  1066. package/build/src/runtime/http-engine/url/index.js +0 -2
  1067. package/build/src/runtime/http-engine/url/index.js.map +0 -1
  1068. package/build/src/runtime/http-runner/ConditionCheck.d.ts +0 -75
  1069. package/build/src/runtime/http-runner/ConditionCheck.d.ts.map +0 -1
  1070. package/build/src/runtime/http-runner/ConditionCheck.js +0 -185
  1071. package/build/src/runtime/http-runner/ConditionCheck.js.map +0 -1
  1072. package/build/src/runtime/http-runner/HttpAssertionRunner.d.ts +0 -26
  1073. package/build/src/runtime/http-runner/HttpAssertionRunner.d.ts.map +0 -1
  1074. package/build/src/runtime/http-runner/HttpAssertionRunner.js +0 -180
  1075. package/build/src/runtime/http-runner/HttpAssertionRunner.js.map +0 -1
  1076. package/build/src/runtime/http-runner/HttpFlowRunner.d.ts +0 -21
  1077. package/build/src/runtime/http-runner/HttpFlowRunner.d.ts.map +0 -1
  1078. package/build/src/runtime/http-runner/HttpFlowRunner.js +0 -74
  1079. package/build/src/runtime/http-runner/HttpFlowRunner.js.map +0 -1
  1080. package/build/src/runtime/http-runner/HttpFlows.d.ts +0 -120
  1081. package/build/src/runtime/http-runner/HttpFlows.d.ts.map +0 -1
  1082. package/build/src/runtime/http-runner/HttpFlows.js +0 -568
  1083. package/build/src/runtime/http-runner/HttpFlows.js.map +0 -1
  1084. package/build/src/runtime/http-runner/HttpRequestRunner.d.ts +0 -148
  1085. package/build/src/runtime/http-runner/HttpRequestRunner.d.ts.map +0 -1
  1086. package/build/src/runtime/http-runner/HttpRequestRunner.js +0 -380
  1087. package/build/src/runtime/http-runner/HttpRequestRunner.js.map +0 -1
  1088. package/build/src/runtime/http-runner/HttpRuntimeEnvironment.d.ts +0 -26
  1089. package/build/src/runtime/http-runner/HttpRuntimeEnvironment.d.ts.map +0 -1
  1090. package/build/src/runtime/http-runner/HttpRuntimeEnvironment.js +0 -2
  1091. package/build/src/runtime/http-runner/HttpRuntimeEnvironment.js.map +0 -1
  1092. package/build/src/runtime/http-runner/RequestCookiesProcessor.d.ts +0 -26
  1093. package/build/src/runtime/http-runner/RequestCookiesProcessor.d.ts.map +0 -1
  1094. package/build/src/runtime/http-runner/RequestCookiesProcessor.js +0 -66
  1095. package/build/src/runtime/http-runner/RequestCookiesProcessor.js.map +0 -1
  1096. package/build/src/runtime/node/BaseRunner.d.ts +0 -21
  1097. package/build/src/runtime/node/BaseRunner.d.ts.map +0 -1
  1098. package/build/src/runtime/node/BaseRunner.js +0 -27
  1099. package/build/src/runtime/node/BaseRunner.js.map +0 -1
  1100. package/build/src/runtime/node/InteropInterfaces.d.ts +0 -136
  1101. package/build/src/runtime/node/InteropInterfaces.d.ts.map +0 -1
  1102. package/build/src/runtime/node/InteropInterfaces.js +0 -2
  1103. package/build/src/runtime/node/InteropInterfaces.js.map +0 -1
  1104. package/build/src/runtime/node/ProjectParallelRunner.d.ts +0 -96
  1105. package/build/src/runtime/node/ProjectParallelRunner.d.ts.map +0 -1
  1106. package/build/src/runtime/node/ProjectParallelRunner.js +0 -253
  1107. package/build/src/runtime/node/ProjectParallelRunner.js.map +0 -1
  1108. package/build/src/runtime/node/ProjectRequestRunner.d.ts +0 -109
  1109. package/build/src/runtime/node/ProjectRequestRunner.d.ts.map +0 -1
  1110. package/build/src/runtime/node/ProjectRequestRunner.js +0 -300
  1111. package/build/src/runtime/node/ProjectRequestRunner.js.map +0 -1
  1112. package/build/src/runtime/node/ProjectRunner.d.ts +0 -192
  1113. package/build/src/runtime/node/ProjectRunner.d.ts.map +0 -1
  1114. package/build/src/runtime/node/ProjectRunner.js +0 -304
  1115. package/build/src/runtime/node/ProjectRunner.js.map +0 -1
  1116. package/build/src/runtime/node/ProjectRunnerWorker.d.ts +0 -2
  1117. package/build/src/runtime/node/ProjectRunnerWorker.d.ts.map +0 -1
  1118. package/build/src/runtime/node/ProjectRunnerWorker.js +0 -77
  1119. package/build/src/runtime/node/ProjectRunnerWorker.js.map +0 -1
  1120. package/build/src/runtime/node/ProjectSerialRunner.d.ts +0 -12
  1121. package/build/src/runtime/node/ProjectSerialRunner.d.ts.map +0 -1
  1122. package/build/src/runtime/node/ProjectSerialRunner.js +0 -37
  1123. package/build/src/runtime/node/ProjectSerialRunner.js.map +0 -1
  1124. package/build/src/runtime/node/enums.d.ts +0 -9
  1125. package/build/src/runtime/node/enums.d.ts.map +0 -1
  1126. package/build/src/runtime/node/enums.js +0 -10
  1127. package/build/src/runtime/node/enums.js.map +0 -1
  1128. package/build/src/runtime/reporters/ProjectRunCliReporter.d.ts +0 -8
  1129. package/build/src/runtime/reporters/ProjectRunCliReporter.d.ts.map +0 -1
  1130. package/build/src/runtime/reporters/ProjectRunCliReporter.js +0 -75
  1131. package/build/src/runtime/reporters/ProjectRunCliReporter.js.map +0 -1
  1132. package/build/src/runtime/reporters/Reporter.d.ts +0 -36
  1133. package/build/src/runtime/reporters/Reporter.d.ts.map +0 -1
  1134. package/build/src/runtime/reporters/Reporter.js +0 -98
  1135. package/build/src/runtime/reporters/Reporter.js.map +0 -1
  1136. package/build/src/runtime/variables/Cache.d.ts +0 -24
  1137. package/build/src/runtime/variables/Cache.d.ts.map +0 -1
  1138. package/build/src/runtime/variables/Cache.js +0 -51
  1139. package/build/src/runtime/variables/Cache.js.map +0 -1
  1140. package/build/src/runtime/variables/EvalFunctions.d.ts +0 -59
  1141. package/build/src/runtime/variables/EvalFunctions.d.ts.map +0 -1
  1142. package/build/src/runtime/variables/EvalFunctions.js +0 -126
  1143. package/build/src/runtime/variables/EvalFunctions.js.map +0 -1
  1144. package/build/src/runtime/variables/ProjectVariables.d.ts +0 -6
  1145. package/build/src/runtime/variables/ProjectVariables.d.ts.map +0 -1
  1146. package/build/src/runtime/variables/ProjectVariables.js +0 -7
  1147. package/build/src/runtime/variables/ProjectVariables.js.map +0 -1
  1148. package/build/src/runtime/variables/VariablesProcessor.d.ts +0 -169
  1149. package/build/src/runtime/variables/VariablesProcessor.d.ts.map +0 -1
  1150. package/build/src/runtime/variables/VariablesProcessor.js +0 -518
  1151. package/build/src/runtime/variables/VariablesProcessor.js.map +0 -1
  1152. package/build/src/runtime/variables/VariablesTokenizer.d.ts +0 -27
  1153. package/build/src/runtime/variables/VariablesTokenizer.d.ts.map +0 -1
  1154. package/build/src/runtime/variables/VariablesTokenizer.js +0 -53
  1155. package/build/src/runtime/variables/VariablesTokenizer.js.map +0 -1
  1156. package/build/src/sdk/HistorySdk.d.ts +0 -60
  1157. package/build/src/sdk/HistorySdk.d.ts.map +0 -1
  1158. package/build/src/sdk/HistorySdk.js +0 -243
  1159. package/build/src/sdk/HistorySdk.js.map +0 -1
  1160. package/build/src/sdk/ProjectExecutionsSdk.d.ts +0 -56
  1161. package/build/src/sdk/ProjectExecutionsSdk.d.ts.map +0 -1
  1162. package/build/src/sdk/ProjectExecutionsSdk.js +0 -114
  1163. package/build/src/sdk/ProjectExecutionsSdk.js.map +0 -1
  1164. package/build/src/sdk/WsClient.d.ts +0 -25
  1165. package/build/src/sdk/WsClient.d.ts.map +0 -1
  1166. package/build/src/sdk/WsClient.js +0 -4
  1167. package/build/src/sdk/WsClient.js.map +0 -1
  1168. package/build/src/sdk/WsClientNode.d.ts +0 -25
  1169. package/build/src/sdk/WsClientNode.d.ts.map +0 -1
  1170. package/build/src/sdk/WsClientNode.js +0 -66
  1171. package/build/src/sdk/WsClientNode.js.map +0 -1
  1172. package/build/src/sdk/WsClientWeb.d.ts +0 -24
  1173. package/build/src/sdk/WsClientWeb.d.ts.map +0 -1
  1174. package/build/src/sdk/WsClientWeb.js +0 -73
  1175. package/build/src/sdk/WsClientWeb.js.map +0 -1
  1176. package/build/src/testing/TestCliHelper.d.ts +0 -30
  1177. package/build/src/testing/TestCliHelper.d.ts.map +0 -1
  1178. package/build/src/testing/TestCliHelper.js +0 -83
  1179. package/build/src/testing/TestCliHelper.js.map +0 -1
  1180. package/build/src/testing/getPort.d.ts +0 -52
  1181. package/build/src/testing/getPort.d.ts.map +0 -1
  1182. package/build/src/testing/getPort.js +0 -169
  1183. package/build/src/testing/getPort.js.map +0 -1
  1184. package/build/tsconfig.tsbuildinfo +0 -1
  1185. package/noop.ts +0 -3
  1186. package/oauth-popup.html +0 -33
  1187. package/skills-lock.json +0 -10
  1188. package/src/authorization/AuthorizationError.ts +0 -32
  1189. package/src/authorization/CustomParameters.ts +0 -66
  1190. package/src/authorization/OAuth2Authorization.ts +0 -1013
  1191. package/src/authorization/OidcAuthorization.ts +0 -158
  1192. package/src/authorization/Utils.ts +0 -136
  1193. package/src/authorization/lib/IframeAuthorization.ts +0 -127
  1194. package/src/authorization/lib/KnownGrants.ts +0 -6
  1195. package/src/authorization/lib/PopupAuthorization.ts +0 -80
  1196. package/src/authorization/lib/SecurityProcessor.ts +0 -294
  1197. package/src/authorization/lib/Tokens.ts +0 -135
  1198. package/src/authorization/lib/Utils.ts +0 -95
  1199. package/src/authorization/types.ts +0 -197
  1200. package/src/cookies/CookieJar.ts +0 -26
  1201. package/src/cookies/CookieParser.ts +0 -353
  1202. package/src/cookies/InMemoryCookieJar.ts +0 -70
  1203. package/src/cookies/Punycode.ts +0 -134
  1204. package/src/data/DataExtractor.ts +0 -200
  1205. package/src/data/DataReader.ts +0 -11
  1206. package/src/data/JmespathReader.ts +0 -26
  1207. package/src/data/Json2Xml.ts +0 -192
  1208. package/src/data/JsonReader.ts +0 -41
  1209. package/src/data/PayloadPointer.ts +0 -50
  1210. package/src/data/RequestDataExtractor.ts +0 -124
  1211. package/src/data/UrlEncodedReader.ts +0 -21
  1212. package/src/data/XmlReader.ts +0 -128
  1213. package/src/events/authorization/AuthorizationEventTypes.ts +0 -22
  1214. package/src/events/authorization/AuthorizationEvents.ts +0 -74
  1215. package/src/events/cookies/CookieEventTypes.ts +0 -13
  1216. package/src/events/cookies/CookieEvents.ts +0 -168
  1217. package/src/events/environment/EnvironmentEventTypes.ts +0 -3
  1218. package/src/events/environment/EnvironmentEvents.ts +0 -25
  1219. package/src/events/transport/TransportEventTypes.ts +0 -32
  1220. package/src/events/transport/TransportEvents.ts +0 -105
  1221. package/src/lib/Buffer.ts +0 -62
  1222. package/src/lib/definitions/HttpDefinitions.ts +0 -68
  1223. package/src/lib/fs/Fs.ts +0 -258
  1224. package/src/lib/headers/HeadersData.ts +0 -692
  1225. package/src/lib/parsers/UriTemplate.ts +0 -533
  1226. package/src/lib/parsers/UrlEncoder.ts +0 -129
  1227. package/src/lib/parsers/UrlParser.ts +0 -202
  1228. package/src/lib/parsers/UrlProcessor.ts +0 -882
  1229. package/src/lib/parsers/UrlValueParser.ts +0 -213
  1230. package/src/lib/timers/Timers.ts +0 -27
  1231. package/src/lib/transformers/PayloadSerializer.ts +0 -538
  1232. package/src/mocking/LegacyInterfaces.ts +0 -51
  1233. package/src/mocking/LegacyMock.ts +0 -37
  1234. package/src/mocking/ProjectMock.ts +0 -38
  1235. package/src/mocking/README.md +0 -40
  1236. package/src/mocking/legacy/Authorization.ts +0 -40
  1237. package/src/mocking/legacy/Certificates.ts +0 -148
  1238. package/src/mocking/legacy/Cookies.ts +0 -53
  1239. package/src/mocking/legacy/HostRules.ts +0 -45
  1240. package/src/mocking/legacy/Http.ts +0 -248
  1241. package/src/mocking/legacy/HttpResponse.ts +0 -107
  1242. package/src/mocking/legacy/RestApi.ts +0 -70
  1243. package/src/mocking/legacy/Urls.ts +0 -46
  1244. package/src/mocking/legacy/Variables.ts +0 -54
  1245. package/src/mocking/lib/Certificates.ts +0 -64
  1246. package/src/mocking/lib/History.ts +0 -187
  1247. package/src/mocking/lib/HostRules.ts +0 -45
  1248. package/src/mocking/lib/Request.ts +0 -100
  1249. package/src/mocking/lib/Response.ts +0 -121
  1250. package/src/mocking/lib/Url.ts +0 -45
  1251. package/src/models/Authorization.ts +0 -502
  1252. package/src/models/AuthorizationData.ts +0 -67
  1253. package/src/models/CertificateFile.ts +0 -79
  1254. package/src/models/ClientCertificate.ts +0 -328
  1255. package/src/models/Environment.ts +0 -309
  1256. package/src/models/ErrorResponse.ts +0 -115
  1257. package/src/models/HeadersArray.ts +0 -63
  1258. package/src/models/HostRule.ts +0 -178
  1259. package/src/models/HttpCookie.ts +0 -459
  1260. package/src/models/HttpHistory.ts +0 -256
  1261. package/src/models/HttpProject.ts +0 -1533
  1262. package/src/models/HttpRequest.ts +0 -166
  1263. package/src/models/HttpResponse.ts +0 -136
  1264. package/src/models/License.ts +0 -113
  1265. package/src/models/Project.ts +0 -93
  1266. package/src/models/ProjectDefinitionProperty.ts +0 -40
  1267. package/src/models/ProjectExecution.ts +0 -225
  1268. package/src/models/ProjectFolder.ts +0 -440
  1269. package/src/models/ProjectItem.ts +0 -158
  1270. package/src/models/ProjectParent.ts +0 -34
  1271. package/src/models/ProjectRequest.ts +0 -522
  1272. package/src/models/ProjectSchema.ts +0 -202
  1273. package/src/models/Property.ts +0 -517
  1274. package/src/models/Provider.ts +0 -99
  1275. package/src/models/Request.ts +0 -475
  1276. package/src/models/RequestAuthorization.ts +0 -122
  1277. package/src/models/RequestConfig.ts +0 -368
  1278. package/src/models/RequestLog.ts +0 -193
  1279. package/src/models/RequestTime.ts +0 -105
  1280. package/src/models/RequestUiMeta.ts +0 -248
  1281. package/src/models/RequestsSize.ts +0 -63
  1282. package/src/models/Response.ts +0 -163
  1283. package/src/models/ResponseAuthorization.ts +0 -104
  1284. package/src/models/ResponseRedirect.ts +0 -156
  1285. package/src/models/SentRequest.ts +0 -122
  1286. package/src/models/SerializablePayload.ts +0 -122
  1287. package/src/models/Server.ts +0 -183
  1288. package/src/models/Url.ts +0 -87
  1289. package/src/models/http-flows/AssertionError.ts +0 -57
  1290. package/src/models/http-flows/HttpAssertion.ts +0 -90
  1291. package/src/models/http-flows/HttpFlows.ts +0 -82
  1292. package/src/models/http-flows/HttpStep.ts +0 -50
  1293. package/src/models/http-flows/LegacyTranslator.ts +0 -303
  1294. package/src/models/http-flows/steps/assertion/EqualAssertion.ts +0 -124
  1295. package/src/models/http-flows/steps/assertion/GreaterThanAssertion.ts +0 -81
  1296. package/src/models/http-flows/steps/assertion/IncludesAssertion.ts +0 -62
  1297. package/src/models/http-flows/steps/assertion/IsEmptyAssertion.ts +0 -41
  1298. package/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.ts +0 -41
  1299. package/src/models/http-flows/steps/assertion/LengthOfAssertion.ts +0 -62
  1300. package/src/models/http-flows/steps/assertion/LessThanAssertion.ts +0 -81
  1301. package/src/models/http-flows/steps/assertion/MatchesAssertion.ts +0 -62
  1302. package/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.ts +0 -87
  1303. package/src/models/http-flows/steps/assertion/NotEqualAssertion.ts +0 -124
  1304. package/src/models/http-flows/steps/assertion/NotIncludesAssertion.ts +0 -62
  1305. package/src/models/http-flows/steps/assertion/NotOkAssertion.ts +0 -41
  1306. package/src/models/http-flows/steps/assertion/NotToBeAssertion.ts +0 -63
  1307. package/src/models/http-flows/steps/assertion/OkAssertion.ts +0 -41
  1308. package/src/models/http-flows/steps/assertion/ToBeAssertion.ts +0 -70
  1309. package/src/models/http-flows/steps/data/DeleteCookieStep.ts +0 -108
  1310. package/src/models/http-flows/steps/data/DeleteVariableStep.ts +0 -78
  1311. package/src/models/http-flows/steps/data/ReadDataSourceStep.ts +0 -104
  1312. package/src/models/http-flows/steps/data/ReadDataStep.ts +0 -133
  1313. package/src/models/http-flows/steps/data/ReadValueStep.ts +0 -89
  1314. package/src/models/http-flows/steps/data/SetCookieStep.ts +0 -208
  1315. package/src/models/http-flows/steps/data/SetDataStep.ts +0 -125
  1316. package/src/models/http-flows/steps/data/SetVariableStep.ts +0 -82
  1317. package/src/models/http-flows/steps/transformation/AsLowerCaseStep.ts +0 -41
  1318. package/src/models/http-flows/steps/transformation/AsNumberStep.ts +0 -41
  1319. package/src/models/http-flows/steps/transformation/AsUpperCaseStep.ts +0 -41
  1320. package/src/models/http-flows/steps/transformation/RoundStep.ts +0 -87
  1321. package/src/models/http-flows/steps/transformation/SubstringStep.ts +0 -96
  1322. package/src/models/http-flows/steps/transformation/TrimStep.ts +0 -43
  1323. package/src/models/legacy/DataExport.ts +0 -254
  1324. package/src/models/legacy/Normalizer.ts +0 -107
  1325. package/src/models/legacy/actions/Actions.ts +0 -277
  1326. package/src/models/legacy/authorization/Authorization.ts +0 -581
  1327. package/src/models/legacy/models/ApiTypes.ts +0 -202
  1328. package/src/models/legacy/models/ArcLegacyProject.ts +0 -38
  1329. package/src/models/legacy/models/AuthData.ts +0 -15
  1330. package/src/models/legacy/models/ClientCertificate.ts +0 -93
  1331. package/src/models/legacy/models/Cookies.ts +0 -52
  1332. package/src/models/legacy/models/HostRule.ts +0 -35
  1333. package/src/models/legacy/models/RestApi.ts +0 -49
  1334. package/src/models/legacy/models/UrlHistory.ts +0 -33
  1335. package/src/models/legacy/models/Variable.ts +0 -40
  1336. package/src/models/legacy/models/base.ts +0 -95
  1337. package/src/models/legacy/request/ArcRequest.ts +0 -405
  1338. package/src/models/legacy/request/ArcResponse.ts +0 -177
  1339. package/src/models/legacy/request/HistoryData.ts +0 -47
  1340. package/src/models/legacy/request/RequestBody.ts +0 -87
  1341. package/src/models/transformers/ArcDexieTransformer.ts +0 -323
  1342. package/src/models/transformers/ArcLegacyNormalizer.ts +0 -84
  1343. package/src/models/transformers/ArcLegacyTransformer.ts +0 -196
  1344. package/src/models/transformers/ArcPouchTransformer.ts +0 -184
  1345. package/src/models/transformers/BaseTransformer.ts +0 -113
  1346. package/src/models/transformers/ImportUtils.ts +0 -135
  1347. package/src/models/transformers/LegacyDataExportToApiProject.ts +0 -76
  1348. package/src/models/transformers/LegacyExportProcessor.ts +0 -248
  1349. package/src/models/transformers/PostmanBackupTransformer.ts +0 -303
  1350. package/src/models/transformers/PostmanDataTransformer.ts +0 -54
  1351. package/src/models/transformers/PostmanTransformer.ts +0 -113
  1352. package/src/models/transformers/PostmanV21Transformer.ts +0 -317
  1353. package/src/models/transformers/PostmanV2Transformer.ts +0 -317
  1354. package/src/models/transformers/har.ts +0 -865
  1355. package/src/proxy/HttpProjectProxy.ts +0 -169
  1356. package/src/proxy/Proxy.ts +0 -30
  1357. package/src/proxy/ProxyService.ts +0 -37
  1358. package/src/proxy/RequestProxy.ts +0 -101
  1359. package/src/proxy/readme.md +0 -8
  1360. package/src/runtime/http-engine/CoreEngine.ts +0 -1084
  1361. package/src/runtime/http-engine/CoreEngine2.ts +0 -0
  1362. package/src/runtime/http-engine/FormData.ts +0 -200
  1363. package/src/runtime/http-engine/HttpErrorCodes.ts +0 -176
  1364. package/src/runtime/http-engine/PayloadSupport.ts +0 -93
  1365. package/src/runtime/http-engine/RequestUtils.ts +0 -162
  1366. package/src/runtime/http-engine/auth/AuthManager.ts +0 -242
  1367. package/src/runtime/http-engine/certificates/CertificateManager.ts +0 -74
  1368. package/src/runtime/http-engine/compression/CompressionManager.ts +0 -99
  1369. package/src/runtime/http-engine/connections/ConnectionManager.ts +0 -123
  1370. package/src/runtime/http-engine/connections/DigestAuthHandler.ts +0 -238
  1371. package/src/runtime/http-engine/connections/DirectConnection.ts +0 -138
  1372. package/src/runtime/http-engine/connections/ProxyAuthHandler.ts +0 -179
  1373. package/src/runtime/http-engine/connections/ProxyConnection.ts +0 -55
  1374. package/src/runtime/http-engine/connections/TunnelConnection.ts +0 -192
  1375. package/src/runtime/http-engine/constants.ts +0 -103
  1376. package/src/runtime/http-engine/cookies/CookieProcessor.ts +0 -25
  1377. package/src/runtime/http-engine/errors/HttpEngineErrors.ts +0 -319
  1378. package/src/runtime/http-engine/message/MessageBuilder.ts +0 -201
  1379. package/src/runtime/http-engine/message/MessageProcessor.ts +0 -73
  1380. package/src/runtime/http-engine/ntlm/Des.ts +0 -372
  1381. package/src/runtime/http-engine/ntlm/MD4.ts +0 -137
  1382. package/src/runtime/http-engine/ntlm/NtlmAuth.ts +0 -187
  1383. package/src/runtime/http-engine/ntlm/NtlmMessage.ts +0 -64
  1384. package/src/runtime/http-engine/parsers/BodyParser.ts +0 -171
  1385. package/src/runtime/http-engine/parsers/HeadersParser.ts +0 -103
  1386. package/src/runtime/http-engine/parsers/HttpResponseParser.ts +0 -280
  1387. package/src/runtime/http-engine/parsers/StatusParser.ts +0 -69
  1388. package/src/runtime/http-engine/response/ResponseProcessor.ts +0 -46
  1389. package/src/runtime/http-engine/statistics/StatisticsProcessor.ts +0 -52
  1390. package/src/runtime/http-engine/url/UrlProcessor.ts +0 -55
  1391. package/src/runtime/http-runner/ConditionCheck.ts +0 -193
  1392. package/src/runtime/http-runner/HttpAssertionRunner.ts +0 -204
  1393. package/src/runtime/http-runner/HttpFlowRunner.ts +0 -105
  1394. package/src/runtime/http-runner/HttpFlows.ts +0 -649
  1395. package/src/runtime/http-runner/HttpRequestRunner.ts +0 -427
  1396. package/src/runtime/http-runner/HttpRuntimeEnvironment.ts +0 -27
  1397. package/src/runtime/http-runner/RequestCookiesProcessor.ts +0 -80
  1398. package/src/runtime/node/BaseRunner.ts +0 -29
  1399. package/src/runtime/node/InteropInterfaces.ts +0 -143
  1400. package/src/runtime/node/ProjectParallelRunner.ts +0 -321
  1401. package/src/runtime/node/ProjectRequestRunner.ts +0 -364
  1402. package/src/runtime/node/ProjectRunner.ts +0 -395
  1403. package/src/runtime/node/ProjectRunnerWorker.ts +0 -83
  1404. package/src/runtime/node/ProjectSerialRunner.ts +0 -37
  1405. package/src/runtime/node/enums.ts +0 -8
  1406. package/src/runtime/reporters/ProjectRunCliReporter.ts +0 -81
  1407. package/src/runtime/reporters/Reporter.ts +0 -113
  1408. package/src/runtime/variables/Cache.ts +0 -53
  1409. package/src/runtime/variables/EvalFunctions.ts +0 -135
  1410. package/src/runtime/variables/ProjectVariables.ts +0 -5
  1411. package/src/runtime/variables/VariablesProcessor.ts +0 -555
  1412. package/src/runtime/variables/VariablesTokenizer.ts +0 -55
  1413. package/src/sdk/HistorySdk.ts +0 -272
  1414. package/src/sdk/ProjectExecutionsSdk.ts +0 -135
  1415. package/src/sdk/WsClient.ts +0 -28
  1416. package/src/sdk/WsClientNode.ts +0 -68
  1417. package/src/sdk/WsClientWeb.ts +0 -75
  1418. package/src/testing/TestCliHelper.ts +0 -93
  1419. package/src/testing/getPort.ts +0 -215
  1420. package/tests/resources/http/drive-list.ts +0 -575
  1421. package/tests/resources/http/html.html +0 -317
  1422. package/tests/resources/http/jpeg.jpg +0 -0
  1423. package/tests/resources/http/json.json +0 -187
  1424. package/tests/resources/http/png.png +0 -0
  1425. package/tests/resources/http/svg.svg +0 -3
  1426. package/tests/resources/http/webp.webp +0 -0
  1427. package/tests/resources/http/xml.xml +0 -211
  1428. package/tests/resources/ssl/cert-auth-server/alice-password.p12 +0 -0
  1429. package/tests/resources/ssl/cert-auth-server/alice-password.txt +0 -1
  1430. package/tests/resources/ssl/cert-auth-server/alice.p12 +0 -0
  1431. package/tests/resources/ssl/cert-auth-server/alice_cert.pem +0 -28
  1432. package/tests/resources/ssl/cert-auth-server/alice_csr.pem +0 -26
  1433. package/tests/resources/ssl/cert-auth-server/alice_key.pem +0 -52
  1434. package/tests/resources/ssl/cert-auth-server/bob-password.txt +0 -1
  1435. package/tests/resources/ssl/cert-auth-server/bob.p12 +0 -0
  1436. package/tests/resources/ssl/cert-auth-server/bob_cert.pem +0 -27
  1437. package/tests/resources/ssl/cert-auth-server/bob_csr.pem +0 -26
  1438. package/tests/resources/ssl/cert-auth-server/bob_key.pem +0 -52
  1439. package/tests/resources/ssl/cert-auth-server/create.sh +0 -17
  1440. package/tests/resources/ssl/cert-auth-server/server_cert.pem +0 -31
  1441. package/tests/resources/ssl/cert-auth-server/server_key.pem +0 -52
  1442. package/tests/resources/ssl/certs/ca.cert.pem +0 -23
  1443. package/tests/resources/ssl/certs/ca.privkey.pem +0 -27
  1444. package/tests/resources/ssl/certs/ca.srl +0 -1
  1445. package/tests/resources/ssl/certs/cert.pem +0 -20
  1446. package/tests/resources/ssl/certs/csr.pem +0 -17
  1447. package/tests/resources/ssl/certs/fullchain.pem +0 -43
  1448. package/tests/resources/ssl/certs/privkey.pem +0 -27
  1449. package/tests/resources/ssl/certs/root-ca.crt +0 -0
  1450. package/tests/servers/ExpressServer.ts +0 -124
  1451. package/tests/servers/ProxyServer.ts +0 -374
  1452. package/tests/servers/cert-helper.ts +0 -2
  1453. package/tests/servers/express-routes/ApiEndpoint.ts +0 -24
  1454. package/tests/servers/express-routes/BaseApi.ts +0 -106
  1455. package/tests/servers/express-routes/BasicAuthRoute.ts +0 -36
  1456. package/tests/servers/express-routes/BearerAuthRoute.ts +0 -35
  1457. package/tests/servers/express-routes/CertificatesApi.ts +0 -46
  1458. package/tests/servers/express-routes/CompressApi.ts +0 -71
  1459. package/tests/servers/express-routes/CookieApi.ts +0 -20
  1460. package/tests/servers/express-routes/DelayRoute.ts +0 -28
  1461. package/tests/servers/express-routes/GetApi.ts +0 -58
  1462. package/tests/servers/express-routes/HeadersApi.ts +0 -17
  1463. package/tests/servers/express-routes/ImagesApi.ts +0 -44
  1464. package/tests/servers/express-routes/NTLMRoute.ts +0 -29
  1465. package/tests/servers/express-routes/PostApi.ts +0 -31
  1466. package/tests/servers/express-routes/QueryParamsApi.ts +0 -17
  1467. package/tests/servers/express-routes/RedirectsApi.ts +0 -139
  1468. package/tests/servers/express-routes/ResponsesApi.ts +0 -68
  1469. package/tests/servers/express-routes/StatusCodeApi.ts +0 -38
  1470. package/tests/servers/express-routes/StreamApi.ts +0 -60
  1471. package/tests/servers/express-routes/TestsApi.ts +0 -47
  1472. package/tests/servers/oauth2mock/ServerMock.js +0 -454
  1473. package/tests/servers/ssl.ts +0 -93
  1474. package/tests/unit/authorization/SecurityProcessor.spec.ts +0 -538
  1475. package/tests/unit/cookies/CookieParser.spec.ts +0 -354
  1476. package/tests/unit/cookies/InMemoryCookieJar.spec.ts +0 -112
  1477. package/tests/unit/data/JmesparthReader.spec.ts +0 -36
  1478. package/tests/unit/data/Json2Xml.spec.ts +0 -178
  1479. package/tests/unit/data/JsonReader.spec.ts +0 -82
  1480. package/tests/unit/data/PayloadPointer.spec.ts +0 -56
  1481. package/tests/unit/data/RequestDataExtractor.spec.ts +0 -469
  1482. package/tests/unit/data/UrlEncodedReader.spec.ts +0 -12
  1483. package/tests/unit/data/XmlReader.spec.ts +0 -84
  1484. package/tests/unit/events/authorization.spec.ts +0 -150
  1485. package/tests/unit/events/cookie.spec.ts +0 -274
  1486. package/tests/unit/events/transport.spec.ts +0 -139
  1487. package/tests/unit/legacy-transformers/ARC-legacy-import.spec.ts +0 -150
  1488. package/tests/unit/legacy-transformers/ArcDexieTransformer.spec.ts +0 -194
  1489. package/tests/unit/legacy-transformers/ArcLegacyTransformer.spec.ts +0 -112
  1490. package/tests/unit/legacy-transformers/ArcPouchTransformer.spec.ts +0 -245
  1491. package/tests/unit/legacy-transformers/DataTestHelper.ts +0 -50
  1492. package/tests/unit/legacy-transformers/LegacyExportProcessor.spec.ts +0 -450
  1493. package/tests/unit/legacy-transformers/data/arc-pouchdb.json +0 -396
  1494. package/tests/unit/legacy-transformers/data/dexie-data-export.json +0 -890
  1495. package/tests/unit/legacy-transformers/data/dexie-history-export.json +0 -877
  1496. package/tests/unit/legacy-transformers/data/dexie-saved-export.json +0 -385
  1497. package/tests/unit/legacy-transformers/data/legacy-data-import.json +0 -51
  1498. package/tests/unit/legacy-transformers/data/legacy-request-import.json +0 -20
  1499. package/tests/unit/legacy-transformers/data/pouch-data-export.json +0 -242
  1500. package/tests/unit/lib/UriTemplate.spec.ts +0 -418
  1501. package/tests/unit/lib/UrlEncoder.spec.ts +0 -36
  1502. package/tests/unit/lib/UrlParser.spec.ts +0 -359
  1503. package/tests/unit/lib/UrlProcessor.spec.ts +0 -894
  1504. package/tests/unit/lib/buffer.spec.ts +0 -33
  1505. package/tests/unit/lib/payload_serializer.spec.ts +0 -171
  1506. package/tests/unit/mocking/current/Certificates.spec.ts +0 -96
  1507. package/tests/unit/mocking/current/HostRules.spec.ts +0 -59
  1508. package/tests/unit/mocking/current/Urls.spec.ts +0 -58
  1509. package/tests/unit/mocking/legacy/ArcMock.spec.ts +0 -16
  1510. package/tests/unit/mocking/legacy/Authorization.spec.ts +0 -57
  1511. package/tests/unit/mocking/legacy/Certificates.spec.ts +0 -185
  1512. package/tests/unit/mocking/legacy/Cookies.spec.ts +0 -67
  1513. package/tests/unit/mocking/legacy/HostRules.spec.ts +0 -59
  1514. package/tests/unit/mocking/legacy/Http.spec.ts +0 -533
  1515. package/tests/unit/mocking/legacy/RestApi.spec.ts +0 -132
  1516. package/tests/unit/mocking/legacy/Urls.spec.ts +0 -57
  1517. package/tests/unit/mocking/legacy/Variables.spec.ts +0 -73
  1518. package/tests/unit/models/Certificate/from_name.spec.ts +0 -21
  1519. package/tests/unit/models/Project/consume.spec.ts +0 -16
  1520. package/tests/unit/models/Project/create.spec.ts +0 -132
  1521. package/tests/unit/models/certificate.spec.ts +0 -257
  1522. package/tests/unit/models/environment.spec.ts +0 -574
  1523. package/tests/unit/models/error_response.spec.ts +0 -183
  1524. package/tests/unit/models/headers_array.spec.ts +0 -86
  1525. package/tests/unit/models/host_rule.spec.ts +0 -196
  1526. package/tests/unit/models/http-actions/assertion/equal_assertion.spec.ts +0 -103
  1527. package/tests/unit/models/http-actions/assertion/greater_than_assertion.spec.ts +0 -91
  1528. package/tests/unit/models/http-actions/assertion/includes_assertion.spec.ts +0 -71
  1529. package/tests/unit/models/http-actions/assertion/less_than_assertion.spec.ts +0 -91
  1530. package/tests/unit/models/http-actions/assertion/matches_assertion.spec.ts +0 -71
  1531. package/tests/unit/models/http-actions/assertion/matches_schema_assertion.spec.ts +0 -117
  1532. package/tests/unit/models/http-actions/assertion/not_equal_assertion.spec.ts +0 -103
  1533. package/tests/unit/models/http-actions/assertion/not_includes_assertion.spec.ts +0 -71
  1534. package/tests/unit/models/http-actions/assertion/not_ok_assertion.spec.ts +0 -47
  1535. package/tests/unit/models/http-actions/assertion/not_to_be_assertion.spec.ts +0 -72
  1536. package/tests/unit/models/http-actions/assertion/ok_assertion.spec.ts +0 -44
  1537. package/tests/unit/models/http-actions/assertion/to_be_assertion.spec.ts +0 -71
  1538. package/tests/unit/models/http-actions/transformation/as_lower_case_step.spec.ts +0 -47
  1539. package/tests/unit/models/http-actions/transformation/as_number_step.spec.ts +0 -47
  1540. package/tests/unit/models/http-actions/transformation/as_upper_case_step.spec.ts +0 -47
  1541. package/tests/unit/models/http-actions/transformation/round_step.spec.ts +0 -69
  1542. package/tests/unit/models/http-actions/transformation/substring_step.spec.ts +0 -85
  1543. package/tests/unit/models/http-actions/transformation/trim_step.spec.ts +0 -44
  1544. package/tests/unit/models/http_cookie.spec.ts +0 -516
  1545. package/tests/unit/models/http_history.spec.ts +0 -443
  1546. package/tests/unit/models/http_project.spec.ts +0 -2424
  1547. package/tests/unit/models/http_request.spec.ts +0 -365
  1548. package/tests/unit/models/http_response.spec.ts +0 -289
  1549. package/tests/unit/models/license.spec.ts +0 -108
  1550. package/tests/unit/models/project_folder.spec.ts +0 -926
  1551. package/tests/unit/models/project_item.spec.ts +0 -137
  1552. package/tests/unit/models/project_request.spec.ts +0 -1047
  1553. package/tests/unit/models/project_schema.spec.ts +0 -236
  1554. package/tests/unit/models/property.spec.ts +0 -625
  1555. package/tests/unit/models/provider.spec.ts +0 -102
  1556. package/tests/unit/models/request.spec.ts +0 -1206
  1557. package/tests/unit/models/request_log.spec.ts +0 -308
  1558. package/tests/unit/models/request_time.spec.ts +0 -138
  1559. package/tests/unit/models/response.spec.ts +0 -384
  1560. package/tests/unit/models/response_redirect.spec.ts +0 -303
  1561. package/tests/unit/models/sent_request.spec.ts +0 -206
  1562. package/tests/unit/models/server.spec.ts +0 -195
  1563. package/tests/unit/postman-transformers/PostmanTransformer.spec.ts +0 -418
  1564. package/tests/unit/postman-transformers/data/Backup.postman_dump.json +0 -750
  1565. package/tests/unit/postman-transformers/data/HTTPBin.postman_collection-2.0.json +0 -508
  1566. package/tests/unit/postman-transformers/data/HTTPBin.postman_collection-2.1.json +0 -542
  1567. package/tests/unit/runtime/http-engine/HttpResponseParser.spec.ts +0 -337
  1568. package/tests/unit/runtime/http-engine/abort.spec.ts +0 -83
  1569. package/tests/unit/runtime/http-engine/auth.spec.ts +0 -52
  1570. package/tests/unit/runtime/http-engine/certificates/CertificateManager.spec.ts +0 -482
  1571. package/tests/unit/runtime/http-engine/certificates.spec.ts +0 -180
  1572. package/tests/unit/runtime/http-engine/cleanup.spec.ts +0 -44
  1573. package/tests/unit/runtime/http-engine/compression/CompressionManager.spec.ts +0 -498
  1574. package/tests/unit/runtime/http-engine/compression.spec.ts +0 -114
  1575. package/tests/unit/runtime/http-engine/connections/ConnectionManager.spec.ts +0 -379
  1576. package/tests/unit/runtime/http-engine/connections/DigestAuthHandler.spec.ts +0 -164
  1577. package/tests/unit/runtime/http-engine/core_engine.spec.ts +0 -560
  1578. package/tests/unit/runtime/http-engine/engine_statuses.spec.ts +0 -58
  1579. package/tests/unit/runtime/http-engine/events.spec.ts +0 -50
  1580. package/tests/unit/runtime/http-engine/form_data.spec.ts +0 -112
  1581. package/tests/unit/runtime/http-engine/headers.spec.ts +0 -149
  1582. package/tests/unit/runtime/http-engine/hosts.spec.ts +0 -29
  1583. package/tests/unit/runtime/http-engine/http-get.spec.ts +0 -36
  1584. package/tests/unit/runtime/http-engine/http-post.spec.ts +0 -72
  1585. package/tests/unit/runtime/http-engine/logger.spec.ts +0 -24
  1586. package/tests/unit/runtime/http-engine/message.spec.ts +0 -184
  1587. package/tests/unit/runtime/http-engine/params.spec.ts +0 -388
  1588. package/tests/unit/runtime/http-engine/payload_support.spec.ts +0 -127
  1589. package/tests/unit/runtime/http-engine/proxy.spec.ts +0 -522
  1590. package/tests/unit/runtime/http-engine/redirects.spec.ts +0 -217
  1591. package/tests/unit/runtime/http-engine/request_utils.spec.ts +0 -176
  1592. package/tests/unit/runtime/http-engine/responses.spec.ts +0 -272
  1593. package/tests/unit/runtime/http-engine/timeout.spec.ts +0 -33
  1594. package/tests/unit/runtime/http-engine/timings.spec.ts +0 -50
  1595. package/tests/unit/runtime/proxy/HttpProjectProxy.spec.ts +0 -241
  1596. package/tests/unit/runtime/proxy/RequestProxy.spec.ts +0 -130
  1597. package/tests/unit/runtime/reporters/project_run_cli_reporter.spec.ts +0 -62
  1598. package/tests/unit/runtime/runners/http_assertion_runner.spec.ts +0 -1303
  1599. package/tests/unit/runtime/runners/http_flow_runner.spec.ts +0 -1174
  1600. package/tests/unit/runtime/runners/parallel_runner.spec.ts +0 -365
  1601. package/tests/unit/runtime/runners/project_runner.spec.ts +0 -839
  1602. package/tests/unit/runtime/runners/request_runner.spec.ts +0 -933
  1603. package/tests/unit/runtime/runners/serial_runner.spec.ts +0 -629
  1604. package/tests/unit/runtime/variables/cache.spec.ts +0 -95
  1605. package/tests/unit/runtime/variables/eval_functions.spec.ts +0 -66
  1606. package/tests/unit/runtime/variables/variables_processor.spec.ts +0 -563
  1607. package/tests/unit/src/Platform.spec.ts +0 -24
  1608. package/tsconfig.browser.json +0 -33
  1609. package/tsconfig.node.json +0 -34
  1610. /package/{API_MODELING_EXPLAINER.md → architecture/API_MODELING_EXPLAINER.md} +0 -0
  1611. /package/{DATA_MODELING_EXPLAINER.md → architecture/DATA_MODELING_EXPLAINER.md} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuth2Authorization.js","sourceRoot":"","sources":["../../../src/authorization/OAuth2Authorization.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,KAAK,E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M,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAA;YAC5C,IAAI,CAAC,eAAe,CAAC,CAAC,SAAS,CAAC,CAAA;QAClC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,oBAAoB,CAAC,CAAC,KAAc,CAAC,CAAA;QAC5C,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,UAAU;QACR,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QACzB,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAA;QACpC,MAAM,CAAC,GAAG,CAAC,YAAY,EAAE,WAAW,CAAC,SAAS,CAAC,CAAA;QAC/C,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC,CAAA;QACjD,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;YAC7D,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAA;QAChD,CAAC;QACD,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAA;IAC1B,CAAC;CACF","sourcesContent":["/* eslint-disable max-len */\nimport { sanityCheck, randomString, camel, generateCodeChallenge } from './Utils.js'\nimport { applyCustomSettingsQuery, applyCustomSettingsBody, applyCustomSettingsHeaders } from './CustomParameters.js'\nimport { AuthorizationError, CodeError } from './AuthorizationError.js'\nimport { IframeAuthorization } from './lib/IframeAuthorization.js'\nimport { PopupAuthorization } from './lib/PopupAuthorization.js'\nimport * as KnownGrants from './lib/KnownGrants.js'\nimport { IOAuth2Authorization, ITokenInfo } from '../models/Authorization.js'\nimport { OauthProcessingOptions } from './types.js'\n\nexport const resolveFunction = Symbol('resolveFunction')\nexport const rejectFunction = Symbol('rejectFunction')\nexport const settingsValue = Symbol('settingsValue')\nexport const optionsValue = Symbol('optionsValue')\nexport const prepareSettings = Symbol('prepareSettings')\nexport const prepareOptions = Symbol('prepareOptions')\nexport const authorize = Symbol('authorize')\nexport const stateValue = Symbol('stateValue')\nexport const authorizeImplicitCode = Symbol('authorizeImplicitCode')\nexport const authorizeClientCredentials = Symbol('authorizeClientCredentials')\nexport const authorizePassword = Symbol('authorizePassword')\nexport const authorizeCustomGrant = Symbol('authorizeCustomGrant')\nexport const authorizeDeviceCode = Symbol('authorizeDeviceCode')\nexport const authorizeJwt = Symbol('authorizeJwt')\nexport const popupValue = Symbol('popupValue')\nexport const popupUnloadHandler = Symbol('popupUnloadHandler')\nexport const tokenResponse = Symbol('tokenResponse')\nexport const messageHandler = Symbol('messageHandler')\nexport const iframeValue = Symbol('iframeValue')\nexport const processPopupRawData = Symbol('processPopupRawData')\nexport const handleTokenInfo = Symbol('handleTokenInfo')\nexport const computeTokenInfoScopes = Symbol('computeTokenInfoScopes')\nexport const computeExpires = Symbol('computeExpires')\nexport const codeValue = Symbol('codeValue')\nexport const frameTimeoutHandler = Symbol('frameTimeoutHandler')\nexport const reportOAuthError = Symbol('reportOAuthError')\nexport const authorizePopup = Symbol('authorizePopup')\nexport const authorizeTokenNonInteractive = Symbol('authorizeTokenNonInteractive')\nexport const createErrorParams = Symbol('createErrorParams')\nexport const handleTokenCodeError = Symbol('handleTokenCodeError')\nexport const codeVerifierValue = Symbol('codeVerifierValue')\nexport const tokenInfoFromParams = Symbol('tokenInfoFromParams')\n\nexport const grantResponseMapping: Record<string, string> = {\n implicit: 'token',\n authorization_code: 'code',\n}\n\n/**\n * A library that performs OAuth 2 authorization.\n *\n * It is build for API components ecosystem and the configuration is defined in `@advanced-rest-client/events`\n * so all components use the same configuration.\n */\nexport class OAuth2Authorization {\n [settingsValue]: IOAuth2Authorization\n\n /**\n * @returns The authorization settings used to initialize this class.\n */\n get settings(): IOAuth2Authorization {\n return this[settingsValue]\n }\n\n [optionsValue]: OauthProcessingOptions\n\n /**\n * @returns The processing options used to initialize this object.\n */\n get options(): OauthProcessingOptions {\n return this[optionsValue]\n }\n\n [stateValue]?: string\n\n /**\n * @returns The request state parameter. If the state is not passed with the configuration one is generated.\n */\n get state(): string {\n if (!this[stateValue]) {\n this[stateValue] = this.settings.state || randomString()\n }\n return this[stateValue] as string\n }\n\n /**\n * @type The main resolve function\n */\n [resolveFunction]?: (value: ITokenInfo | PromiseLike<ITokenInfo>) => void;\n\n /**\n * @type The main reject function\n */\n [rejectFunction]?: (reason?: Error) => void;\n\n [codeVerifierValue]?: string;\n\n [popupValue]?: PopupAuthorization;\n\n [iframeValue]?: IframeAuthorization;\n\n [tokenResponse]?: ITokenInfo;\n\n [codeValue]?: string\n\n /**\n * @param settings The authorization configuration.\n * @param options Additional processing options to configure the behavior of this library.\n */\n constructor(settings: IOAuth2Authorization, options: OauthProcessingOptions = {}) {\n if (!settings) {\n throw new TypeError('Expected one argument.')\n }\n this[settingsValue] = this[prepareSettings](settings)\n this[optionsValue] = this[prepareOptions](options)\n\n this[messageHandler] = this[messageHandler].bind(this)\n this[frameTimeoutHandler] = this[frameTimeoutHandler].bind(this)\n this[popupUnloadHandler] = this[popupUnloadHandler].bind(this)\n }\n\n /**\n * @param settings\n * @returns Processed settings\n */\n [prepareSettings](settings: IOAuth2Authorization): IOAuth2Authorization {\n const copy = { ...settings }\n Object.freeze(copy)\n return copy\n }\n\n /**\n * @param options\n * @returns Processed options\n */\n [prepareOptions](options: OauthProcessingOptions): OauthProcessingOptions {\n const copy = {\n popupPullTimeout: 50,\n messageTarget: window,\n ...options,\n }\n Object.freeze(copy)\n return copy\n }\n\n /**\n * A function that should be called before the authorization.\n * It checks configuration integrity, and performs some sanity checks\n * like proper values of the request URIs.\n */\n checkConfig(): void {\n // @todo(pawel): perform settings integrity tests.\n sanityCheck(this.settings)\n }\n\n /**\n * Performs the authorization.\n * @returns Promise resolved to the token info.\n */\n authorize(): Promise<ITokenInfo | unknown> {\n return new Promise((resolve, reject) => {\n this[resolveFunction] = resolve\n this[rejectFunction] = reject\n this[authorize]()\n })\n }\n\n /**\n * Reports authorization error back to the application.\n *\n * This operation clears the promise object.\n *\n * @param message The message to report\n * @param code Error code\n */\n [reportOAuthError](message: string, code: string): void {\n this.clearObservers()\n if (!this[rejectFunction]) {\n return\n }\n const interactive = typeof this.settings.interactive === 'boolean' ? this.settings.interactive : true\n const e = new AuthorizationError(message, code, this.state, interactive)\n this[rejectFunction](e)\n this[rejectFunction] = undefined\n this[resolveFunction] = undefined\n }\n\n /**\n * Starts the authorization process.\n */\n // eslint-disable-next-line @typescript-eslint/adjacent-overload-signatures\n [authorize](): void {\n const { settings } = this\n switch (settings.grantType) {\n case KnownGrants.implicit:\n case KnownGrants.code:\n this[authorizeImplicitCode]()\n break\n case KnownGrants.clientCredentials:\n this[authorizeClientCredentials]()\n break\n case KnownGrants.password:\n this[authorizePassword]()\n break\n case KnownGrants.deviceCode:\n this[authorizeDeviceCode]()\n break\n case KnownGrants.jwtBearer:\n this[authorizeJwt]()\n break\n default:\n this[authorizeCustomGrant]()\n }\n }\n\n /**\n * Starts the authorization flow for the `implicit` and `authorization_code` flows.\n * If the `interactive` flag is configured it then it chooses between showing the UI (popup)\n * or non-interactive iframe.\n */\n async [authorizeImplicitCode](): Promise<void> {\n const { settings } = this\n const url = await this.constructPopupUrl()\n try {\n if (!url) {\n throw new Error(`Unable to construct the authorization URL.`)\n }\n if (settings.interactive === false) {\n this[authorizeTokenNonInteractive](url)\n } else {\n this[authorizePopup](url)\n }\n this.options.messageTarget?.addEventListener('message', this[messageHandler] as EventListener)\n } catch (e) {\n const fn = this[rejectFunction]\n if (fn) {\n fn(e as Error)\n }\n this[rejectFunction] = undefined\n this[resolveFunction] = undefined\n }\n }\n\n /**\n * Constructs the popup/iframe URL for the `implicit` or `authorization_code` grant types.\n * @return Full URL for the endpoint.\n */\n async constructPopupUrl(): Promise<string | null> {\n const url = await this.buildPopupUrlParams()\n if (!url) {\n return null\n }\n return url.toString()\n }\n\n /**\n * @returns The parameters to build popup URL.\n */\n async buildPopupUrlParams(): Promise<URL | null> {\n const { settings } = this\n const type = settings.responseType || grantResponseMapping[settings.grantType as string]\n if (!type) {\n return null\n }\n const url = new URL(settings.authorizationUri as string)\n url.searchParams.set('response_type', type)\n url.searchParams.set('client_id', settings.clientId as string)\n // Client secret cannot be ever exposed to the client (browser)!\n // if (settings.clientSecret) {\n // url.searchParams.set('client_secret', settings.clientSecret);\n // }\n url.searchParams.set('state', this.state)\n if (settings.redirectUri) {\n url.searchParams.set('redirect_uri', settings.redirectUri)\n }\n const { scopes } = settings\n if (Array.isArray(scopes) && scopes.length) {\n url.searchParams.set('scope', scopes.join(' '))\n }\n if (settings.includeGrantedScopes) {\n // this is Google specific\n url.searchParams.set('include_granted_scopes', 'true')\n }\n if (settings.loginHint) {\n // this is Google specific\n url.searchParams.set('login_hint', settings.loginHint)\n }\n if (settings.interactive === false) {\n // this is Google specific\n url.searchParams.set('prompt', 'none')\n }\n if (settings.pkce && String(type).includes('code')) {\n this[codeVerifierValue] = randomString()\n const challenge = await generateCodeChallenge(this[codeVerifierValue] as string)\n url.searchParams.set('code_challenge', challenge)\n url.searchParams.set('code_challenge_method', 'S256')\n }\n // custom query parameters from the `api-authorization-method` component\n if (settings.customData) {\n const cs = settings.customData.auth\n if (cs) {\n applyCustomSettingsQuery(url, cs)\n }\n }\n return url\n }\n\n /**\n * Opens a popup to request authorization from the user.\n * @param url The URL to open.\n */\n [authorizePopup](url: string): void {\n const popup = new PopupAuthorization(this.options.popupPullTimeout)\n try {\n popup.load(url)\n } catch (e) {\n const cause = e as Error\n throw new AuthorizationError(cause.message, 'popup_blocked', this.state, this.settings.interactive || false)\n }\n popup.addEventListener('close', this[popupUnloadHandler])\n this[popupValue] = popup\n }\n\n /**\n * Tries to authorize the user in a non interactive way (iframe rather than a popup).\n *\n * This method always result in a success response. When there's an error or\n * user is not logged in then the response won't contain auth token info.\n *\n * @param url Complete authorization url\n */\n [authorizeTokenNonInteractive](url: string): void {\n const iframe = new IframeAuthorization(this.options.iframeTimeout)\n iframe.addEventListener('timeout', this[frameTimeoutHandler])\n iframe.load(url)\n this[iframeValue] = iframe\n }\n\n /**\n * Event handler for the the iframe timeout event.\n * If there's the reject function then it is called with the error details.\n */\n [frameTimeoutHandler](): void {\n if (!this[rejectFunction]) {\n return\n }\n const e = new AuthorizationError('Non-interactive authorization failed.', 'iframe_load_error', this.state, false)\n this[rejectFunction](e)\n this[rejectFunction] = undefined\n this[resolveFunction] = undefined\n }\n\n /**\n * Clears all registered observers:\n * - popup/iframe message listeners\n * - popup info pull interval\n */\n clearObservers(): void {\n this.options.messageTarget?.removeEventListener('message', this[messageHandler] as EventListener)\n if (this[popupValue]) {\n this[popupValue].cleanUp()\n this[popupValue] = undefined\n }\n if (this[iframeValue]) {\n this[iframeValue].cancel()\n this[iframeValue].cleanUp()\n this[iframeValue] = undefined\n }\n }\n\n /**\n * This is called when the popup info pull interval detects that the window was closed.\n * It checks whether the token info has been set by the redirect page and if not then it reports an error.\n */\n [popupUnloadHandler](): void {\n if (this[tokenResponse] || (this.settings.grantType === 'authorization_code' && this[codeValue])) {\n // everything seems to be ok.\n return\n }\n if (!this[rejectFunction]) {\n // someone already called it.\n return\n }\n this[reportOAuthError]('No response has been recorded.', 'no_response')\n }\n\n /**\n * A handler for the `message` event registered when performing authorization that involves the popup\n * of the iframe.\n */\n [messageHandler](e: MessageEvent): void {\n const popup = this[popupValue]\n const iframe = this[iframeValue]\n if (!popup && !iframe) {\n return\n }\n this[processPopupRawData](e.data)\n }\n\n /**\n * @param raw The data from the `MessageEvent`. Might not be the data returned by the auth popup/iframe.\n */\n [processPopupRawData](raw: string): void {\n if (!raw) {\n return\n }\n let params: URLSearchParams\n try {\n params = new URLSearchParams(raw)\n } catch {\n this[reportOAuthError]('Invalid response from the redirect page', 'invalid_redirect')\n return\n }\n if (this.validateTokenResponse(params)) {\n this.processTokenResponse(params)\n } else {\n // eslint-disable-next-line no-console\n console.warn('Unprocessable authorization response', raw)\n }\n }\n\n /**\n * @param {URLSearchParams} params The instance of search params with the response from the auth dialog.\n * @returns {boolean} true when the params qualify as an authorization popup redirect response.\n */\n validateTokenResponse(params: URLSearchParams): boolean {\n const oauthParams = ['state', 'error', 'access_token', 'code']\n return oauthParams.some((name) => params.has(name))\n }\n\n /**\n * Processes the response returned by the popup or the iframe.\n */\n async processTokenResponse(oauthParams: URLSearchParams): Promise<void> {\n this.clearObservers()\n const state = oauthParams.get('state')\n if (!state) {\n this[reportOAuthError]('Server did not return the state parameter.', 'no_state')\n return\n }\n if (state !== this.state) {\n // The authorization class (this) is created per token request so this can only have one state.\n // When the app requests for more tokens at the same time is should create multiple instances of this.\n this[reportOAuthError]('The state value returned by the authorization server is invalid.', 'invalid_state')\n return\n }\n if (oauthParams.has('error')) {\n const args = this.createTokenResponseError(oauthParams)\n this[reportOAuthError](...args)\n return\n }\n const { grantType, responseType } = this.settings\n if (grantType === 'implicit' || responseType === 'id_token') {\n this[handleTokenInfo](this[tokenInfoFromParams](oauthParams))\n return\n }\n if (grantType === 'authorization_code') {\n const code = oauthParams.get('code')\n if (!code) {\n this[reportOAuthError]('The authorization server did not returned the authorization code.', 'no_code')\n return\n }\n this[codeValue] = code\n let tokenInfo\n try {\n tokenInfo = await this.exchangeCode(code)\n } catch (e) {\n this[handleTokenCodeError](e as Error)\n return\n }\n this[handleTokenInfo](tokenInfo)\n return\n }\n\n this[reportOAuthError]('The authorization process has an invalid state. This should never happen.', 'unknown_state')\n }\n\n /**\n * Processes the response returned by the popup or the iframe.\n * @returns Parameters for the [reportOAuthError]() function\n */\n createTokenResponseError(oauthParams: URLSearchParams): [string, string] {\n const code = oauthParams.get('error') as string\n const message = oauthParams.get('error_description') as string\n return this[createErrorParams](code, message)\n }\n\n /**\n * Creates arguments for the error function from error response\n * @param code Returned from the authorization server error code\n * @param description Returned from the authorization server error description\n * @returns Parameters for the [reportOAuthError]() function\n */\n [createErrorParams](code: string, description?: string): [string, string] {\n let message\n if (description) {\n message = description\n } else {\n switch (code) {\n case 'interaction_required':\n message = 'The request requires user interaction.'\n break\n case 'invalid_request':\n message = 'The request is missing a required parameter.'\n break\n case 'invalid_client':\n message = 'Client authentication failed.'\n break\n case 'invalid_grant':\n message =\n 'The provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.'\n break\n case 'unauthorized_client':\n message = 'The authenticated client is not authorized to use this authorization grant type.'\n break\n case 'unsupported_grant_type':\n message = 'The authorization grant type is not supported by the authorization server.'\n break\n case 'invalid_scope':\n message =\n 'The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.'\n break\n default:\n message = 'Unknown error'\n }\n }\n return [message, code]\n }\n\n /**\n * Creates a token info object from query parameters\n */\n [tokenInfoFromParams](oauthParams: URLSearchParams): ITokenInfo {\n const accessToken = oauthParams.get('access_token') as string\n const idToken = oauthParams.get('id_token') as string\n const refreshToken = oauthParams.get('refresh_token') as string\n const tokenType = oauthParams.get('token_type') as string\n const expiresIn = Number(oauthParams.get('expires_in') as string)\n const scope = this[computeTokenInfoScopes](oauthParams.get('scope') as string)\n const tokenInfo: ITokenInfo = {\n accessToken,\n // FIXME: This should be set in the OIDC class.\n // @ts-expect-error This is to be fixed eventually, but for now it works!\n idToken,\n refreshToken,\n tokenType,\n expiresIn,\n state: oauthParams.get('state') as string,\n scope,\n expiresAt: 0,\n expiresAssumed: false,\n }\n return this[computeExpires](tokenInfo)\n }\n\n /**\n * Processes token info object when it's ready.\n *\n * @param info Token info returned from the server.\n */\n [handleTokenInfo](info: ITokenInfo): void {\n this[tokenResponse] = info\n if (this[resolveFunction]) {\n this[resolveFunction](info)\n }\n this[rejectFunction] = undefined\n this[resolveFunction] = undefined\n }\n\n /**\n * Computes token expiration time.\n * It sets `expires_at` property on the token info object which is the time\n * in the future when when the token expires.\n *\n * @param tokenInfo Token info object\n * @returns A copy with updated properties.\n */\n [computeExpires](tokenInfo: ITokenInfo): ITokenInfo {\n const copy = { ...tokenInfo }\n let { expiresIn } = copy\n if (!expiresIn || Number.isNaN(expiresIn)) {\n expiresIn = 3600\n copy.expiresAssumed = true\n }\n copy.expiresIn = expiresIn\n const expiresAt = Date.now() + expiresIn * 1000\n copy.expiresAt = expiresAt\n return copy\n }\n\n /**\n * Computes the final list of granted scopes.\n * It is a list of scopes received in the response or the list of requested scopes.\n * Because the user may change the list of scopes during the authorization process\n * the received list of scopes can be different than the one requested by the user.\n *\n * @param scope The `scope` parameter received with the response. It's null safe.\n * @returns The list of scopes for the token.\n */\n [computeTokenInfoScopes](scope: string): string[] {\n const requestedScopes = this.settings.scopes\n if (!scope && requestedScopes) {\n return requestedScopes\n }\n let listScopes: string[] = []\n if (scope) {\n listScopes = scope.split(' ')\n }\n return listScopes\n }\n\n /**\n * Exchanges the authorization code for authorization token.\n *\n * @param code Returned code from the authorization endpoint.\n * @returns The response from the server.\n */\n async getCodeInfo(code: string): Promise<Record<string, unknown>> {\n const body = this.getCodeRequestBody(code)\n const url = this.settings.accessTokenUri as string\n return this.requestTokenInfo(url, body)\n }\n\n /**\n * Requests for token from the authorization server for `code`, `password`, `client_credentials` and custom grant types.\n *\n * @param url Base URI of the endpoint. Custom properties will be applied to the final URL.\n * @param body Generated body for given type. Custom properties will be applied to the final body.\n * @param optHeaders Optional headers to add to the request. Applied after custom data.\n * @returns Promise resolved to the response string.\n */\n async requestTokenInfo(\n url: string,\n body: string,\n optHeaders?: Record<string, string>\n ): Promise<Record<string, unknown>> {\n const urlInstance = new URL(url)\n const { settings, options } = this\n let headers: Record<string, string> = {\n 'content-type': 'application/x-www-form-urlencoded',\n }\n if (settings.customData) {\n if (settings.customData.token) {\n applyCustomSettingsQuery(urlInstance, settings.customData.token)\n }\n body = applyCustomSettingsBody(body, settings.customData)\n headers = applyCustomSettingsHeaders(headers, settings.customData)\n }\n if (optHeaders) {\n headers = { ...headers, ...optHeaders }\n }\n const init: RequestInit = {\n headers,\n body,\n method: 'POST',\n cache: 'no-cache',\n }\n let authTokenUrl = urlInstance.toString()\n if (options.tokenProxy) {\n const suffix = options.tokenProxyEncode ? encodeURIComponent(authTokenUrl) : authTokenUrl\n authTokenUrl = `${options.tokenProxy}${suffix}`\n }\n const response = await fetch(authTokenUrl, init)\n const { status } = response\n if (status === 404) {\n throw new Error('Authorization URI is invalid. Received status 404.')\n }\n if (status >= 500) {\n throw new Error(`Authorization server error. Response code is: ${status}`)\n }\n let responseBody\n try {\n responseBody = await response.text()\n } catch {\n responseBody = 'No response has been recorded'\n }\n if (!responseBody) {\n throw new Error('Code response body is empty.')\n }\n if (status >= 400 && status < 500) {\n throw new Error(`Client error: ${responseBody}`)\n }\n\n const mime = response.headers.get('content-type') || ''\n return this.processCodeResponse(responseBody, mime)\n }\n\n /**\n * Processes body of the code exchange to a map of key value pairs.\n */\n processCodeResponse(body: string, mime = ''): Record<string, unknown> {\n let tokenInfo: Record<string, unknown> = {}\n if (mime.includes('json')) {\n const info = JSON.parse(body)\n Object.keys(info).forEach((key) => {\n let name: string | undefined = key\n if (name.includes('_') || name.includes('-')) {\n name = camel(name)\n }\n if (name) {\n tokenInfo[name] = info[key]\n }\n })\n } else {\n tokenInfo = {}\n const params = new URLSearchParams(body)\n params.forEach((value, key) => {\n let name: string | undefined = key\n if (key.includes('_') || key.includes('-')) {\n name = camel(key)\n }\n if (name) {\n tokenInfo[name] = value\n }\n })\n }\n return tokenInfo\n }\n\n /**\n * @returns The token info when the request was a success.\n */\n mapCodeResponse(info: Record<string, unknown>): ITokenInfo {\n if (info.error) {\n throw new CodeError(info.errorDescription as string, info.error as string)\n }\n const expiresIn = Number(info.expiresIn)\n const scope = this[computeTokenInfoScopes](info.scope as string)\n const result: ITokenInfo = {\n ...(info as unknown as ITokenInfo),\n expiresIn,\n scope,\n expiresAt: 0,\n expiresAssumed: false,\n }\n return this[computeExpires](result)\n }\n\n /**\n * Exchanges the authorization code for authorization token.\n *\n * @param code Returned code from the authorization endpoint.\n * @returns The token info when the request was a success.\n */\n async exchangeCode(code: string): Promise<ITokenInfo> {\n const info = await this.getCodeInfo(code)\n return this.mapCodeResponse(info)\n }\n\n /**\n * Returns a body value for the code exchange request.\n * @param code Authorization code value returned by the authorization server.\n * @return Request body.\n */\n getCodeRequestBody(code: string): string {\n const { settings } = this\n const params = new URLSearchParams()\n params.set('grant_type', 'authorization_code')\n params.set('client_id', settings.clientId as string)\n if (settings.redirectUri) {\n params.set('redirect_uri', settings.redirectUri)\n }\n params.set('code', code)\n if (settings.clientSecret) {\n params.set('client_secret', settings.clientSecret)\n } else {\n params.set('client_secret', '')\n }\n if (settings.pkce) {\n params.set('code_verifier', this[codeVerifierValue] as string)\n }\n return params.toString()\n }\n\n /**\n * A handler for the error that happened during code exchange.\n */\n [handleTokenCodeError](e: Error): void {\n if (e instanceof CodeError) {\n const params = this[createErrorParams](e.code, e.message) as [string, string]\n this[reportOAuthError](...params)\n } else {\n this[reportOAuthError](`Couldn't connect to the server. ${e.message}`, 'request_error')\n }\n }\n\n /**\n * Requests a token for `client_credentials` request type.\n *\n * This method resolves the main promise set by the `authorize()` function.\n *\n * @return Promise resolved to a token info object.\n */\n async [authorizeClientCredentials](): Promise<void> {\n const { settings } = this\n const { accessTokenUri, deliveryMethod = 'body', deliveryName = 'authorization' } = settings\n const body = this.getClientCredentialsBody()\n let headers: Record<string, string> | undefined = undefined\n const headerTransport = deliveryMethod === 'header'\n if (headerTransport) {\n headers = {\n [deliveryName]: this.getClientCredentialsHeader(settings),\n }\n }\n try {\n const info = await this.requestTokenInfo(accessTokenUri as string, body, headers)\n const tokenInfo = this.mapCodeResponse(info)\n this[handleTokenInfo](tokenInfo)\n } catch (cause) {\n this[handleTokenCodeError](cause as Error)\n }\n }\n\n /**\n * Generates a payload message for client credentials.\n *\n * @return Message body as defined in OAuth2 spec.\n */\n getClientCredentialsBody(): string {\n const { settings } = this\n const headerTransport = settings.deliveryMethod === 'header'\n const params = new URLSearchParams()\n params.set('grant_type', 'client_credentials')\n if (!headerTransport && settings.clientId) {\n params.set('client_id', settings.clientId)\n }\n if (!headerTransport && settings.clientSecret) {\n params.set('client_secret', settings.clientSecret)\n }\n if (Array.isArray(settings.scopes) && settings.scopes.length) {\n params.set('scope', settings.scopes.join(' '))\n }\n return params.toString()\n }\n\n /**\n * Builds the authorization header for Client Credentials grant type.\n * According to the spec the authorization header for this grant type\n * is the Base64 of `clientId` + `:` + `clientSecret`.\n *\n * @param settings The OAuth 2 settings to use\n */\n getClientCredentialsHeader(settings: IOAuth2Authorization): string {\n const { clientId = '', clientSecret = '' } = settings\n const hash = btoa(`${clientId}:${clientSecret}`)\n return `Basic ${hash}`\n }\n\n /**\n * Requests a token for `client_credentials` request type.\n *\n * This method resolves the main promise set by the `authorize()` function.\n *\n * @return Promise resolved to a token info object.\n */\n async [authorizePassword](): Promise<void> {\n const { settings } = this\n const url = settings.accessTokenUri as string\n const body = this.getPasswordBody()\n try {\n const info = await this.requestTokenInfo(url, body)\n const tokenInfo = this.mapCodeResponse(info)\n this[handleTokenInfo](tokenInfo)\n } catch (cause) {\n this[handleTokenCodeError](cause as Error)\n }\n }\n\n /**\n * Generates a payload message for password authorization.\n *\n * @return Message body as defined in OAuth2 spec.\n */\n getPasswordBody(): string {\n const { settings } = this\n const params = new URLSearchParams()\n params.set('grant_type', 'password')\n params.set('username', settings.username || '')\n params.set('password', settings.password || '')\n if (settings.clientId) {\n params.set('client_id', settings.clientId)\n }\n if (settings.clientSecret) {\n params.set('client_secret', settings.clientSecret)\n }\n if (Array.isArray(settings.scopes) && settings.scopes.length) {\n params.set('scope', settings.scopes.join(' '))\n }\n return params.toString()\n }\n\n /**\n * Performs authorization on custom grant type.\n * This extension is described in OAuth 2.0 spec.\n *\n * This method resolves the main promise set by the `authorize()` function.\n *\n * @return Promise resolved when the request finish.\n */\n async [authorizeCustomGrant](): Promise<void> {\n const { settings } = this\n const url = settings.accessTokenUri as string\n const body = this.getCustomGrantBody()\n try {\n const info = await this.requestTokenInfo(url, body)\n const tokenInfo = this.mapCodeResponse(info)\n this[handleTokenInfo](tokenInfo)\n } catch (cause) {\n this[handleTokenCodeError](cause as Error)\n }\n }\n\n /**\n * Generates a payload message for the custom grant.\n *\n * @returns Message body as defined in OAuth2 spec.\n */\n getCustomGrantBody(): string {\n const { settings } = this\n const params = new URLSearchParams()\n params.set('grant_type', settings.grantType as string)\n if (settings.clientId) {\n params.set('client_id', settings.clientId)\n }\n if (settings.clientSecret) {\n params.set('client_secret', settings.clientSecret)\n }\n if (Array.isArray(settings.scopes) && settings.scopes.length) {\n params.set('scope', settings.scopes.join(' '))\n }\n if (settings.redirectUri) {\n params.set('redirect_uri', settings.redirectUri)\n }\n if (settings.username) {\n params.set('username', settings.username)\n }\n if (settings.password) {\n params.set('password', settings.password)\n }\n return params.toString()\n }\n\n /**\n * Requests a token for the `urn:ietf:params:oauth:grant-type:device_code` response type.\n *\n * @returns Promise resolved to a token info object.\n */\n async [authorizeDeviceCode](): Promise<void> {\n const { settings } = this\n const url = settings.accessTokenUri as string\n const body = this.getDeviceCodeBody()\n try {\n const info = await this.requestTokenInfo(url, body)\n const tokenInfo = this.mapCodeResponse(info)\n this[handleTokenInfo](tokenInfo)\n } catch (cause) {\n this[handleTokenCodeError](cause as Error)\n }\n }\n\n /**\n * Generates a payload message for the `urn:ietf:params:oauth:grant-type:device_code` authorization.\n *\n * @returns Message body as defined in OAuth2 spec.\n */\n getDeviceCodeBody(): string {\n const { settings } = this\n const params = new URLSearchParams()\n params.set('grant_type', KnownGrants.deviceCode)\n params.set('device_code', settings.deviceCode || '')\n if (settings.clientId) {\n params.set('client_id', settings.clientId)\n }\n if (settings.clientSecret) {\n params.set('client_secret', settings.clientSecret)\n }\n return params.toString()\n }\n\n /**\n * Requests a token for the `urn:ietf:params:oauth:grant-type:jwt-bearer` response type.\n *\n * @return Promise resolved to a token info object.\n */\n async [authorizeJwt](): Promise<void> {\n const { settings } = this\n const url = settings.accessTokenUri as string\n const body = this.getJwtBody()\n try {\n const info = await this.requestTokenInfo(url, body)\n const tokenInfo = this.mapCodeResponse(info)\n this[handleTokenInfo](tokenInfo)\n } catch (cause) {\n this[handleTokenCodeError](cause as Error)\n }\n }\n\n /**\n * Generates a payload message for the `urn:ietf:params:oauth:grant-type:jwt-bearer` authorization.\n *\n * @return {string} Message body as defined in OAuth2 spec.\n */\n getJwtBody(): string {\n const { settings } = this\n const params = new URLSearchParams()\n params.set('grant_type', KnownGrants.jwtBearer)\n params.set('assertion', settings.assertion || '')\n if (Array.isArray(settings.scopes) && settings.scopes.length) {\n params.set('scope', settings.scopes.join(' '))\n }\n return params.toString()\n }\n}\n"]}
@@ -1,36 +0,0 @@
1
- import { IOidcTokenInfo, IOidcTokenError, ITokenInfo } from '../models/Authorization.js';
2
- import { OAuth2Authorization, handleTokenInfo } from './OAuth2Authorization.js';
3
- export declare class OidcAuthorization extends OAuth2Authorization {
4
- authorize(): Promise<(IOidcTokenInfo | IOidcTokenError)[]>;
5
- /**
6
- * @returns The parameters to build popup URL.
7
- */
8
- buildPopupUrlParams(): Promise<URL | null>;
9
- /**
10
- * @param params The instance of search params with the response from the auth dialog.
11
- * @returns true when the params qualify as an authorization popup redirect response.
12
- */
13
- validateTokenResponse(params: URLSearchParams): boolean;
14
- /**
15
- * Processes the response returned by the popup or the iframe.
16
- */
17
- processTokenResponse(params: URLSearchParams): Promise<void>;
18
- /**
19
- * Creates a token info object for each requested response type. These are created from the params received from the
20
- * redirect URI. This means that it might not be complete (for code response type).
21
- * @param params
22
- * @param time Timestamp when the tokens were created
23
- */
24
- prepareTokens(params: URLSearchParams, time: number): IOidcTokenInfo[] | null;
25
- /**
26
- * Finishes the authorization.
27
- */
28
- finish(tokens: (IOidcTokenInfo | IOidcTokenError)[]): void;
29
- /**
30
- * Processes token info object when it's ready.
31
- *
32
- * @param info Token info returned from the server.
33
- */
34
- [handleTokenInfo](info: ITokenInfo): void;
35
- }
36
- //# sourceMappingURL=OidcAuthorization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OidcAuthorization.d.ts","sourceRoot":"","sources":["../../../src/authorization/OidcAuthorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAExF,OAAO,EACL,mBAAmB,EAKnB,eAAe,EAChB,MAAM,0BAA0B,CAAA;AAGjC,qBAAa,iBAAkB,SAAQ,mBAAmB;IAC/C,SAAS,IAAI,OAAO,CAAC,CAAC,cAAc,GAAG,eAAe,CAAC,EAAE,CAAC;IAInE;;OAEG;IACY,mBAAmB,IAAI,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC;IAazD;;;OAGG;IACM,qBAAqB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IAOhE;;OAEG;IACY,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAyD3E;;;;;OAKG;IACH,aAAa,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,IAAI;IAuB7E;;OAEG;IACH,MAAM,CAAC,MAAM,EAAE,CAAC,cAAc,GAAG,eAAe,CAAC,EAAE,GAAG,IAAI;IAU1D;;;;OAIG;IACM,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,UAAU,GAAG,IAAI;CAMnD"}
@@ -1,146 +0,0 @@
1
- import { Tokens } from './lib/Tokens.js';
2
- import { OAuth2Authorization, grantResponseMapping, reportOAuthError, resolveFunction, rejectFunction, handleTokenInfo, } from './OAuth2Authorization.js';
3
- import { nonceGenerator } from './Utils.js';
4
- export class OidcAuthorization extends OAuth2Authorization {
5
- authorize() {
6
- return super.authorize();
7
- }
8
- /**
9
- * @returns The parameters to build popup URL.
10
- */
11
- async buildPopupUrlParams() {
12
- const url = await super.buildPopupUrlParams();
13
- if (url === null) {
14
- return url;
15
- }
16
- const type = this.settings.responseType || grantResponseMapping[this.settings.grantType];
17
- // ID token nonce
18
- if (type.includes('id_token')) {
19
- url.searchParams.set('nonce', nonceGenerator());
20
- }
21
- return url;
22
- }
23
- /**
24
- * @param params The instance of search params with the response from the auth dialog.
25
- * @returns true when the params qualify as an authorization popup redirect response.
26
- */
27
- validateTokenResponse(params) {
28
- if (params.has('id_token')) {
29
- return true;
30
- }
31
- return super.validateTokenResponse(params);
32
- }
33
- /**
34
- * Processes the response returned by the popup or the iframe.
35
- */
36
- async processTokenResponse(params) {
37
- this.clearObservers();
38
- const state = params.get('state');
39
- if (!state) {
40
- this[reportOAuthError]('Server did not return the state parameter.', 'no_state');
41
- return;
42
- }
43
- if (state !== this.state) {
44
- // The authorization class (this) is created per token request so this can only have one state.
45
- // When the app requests for more tokens at the same time is should create multiple instances of this.
46
- this[reportOAuthError]('The state value returned by the authorization server is invalid.', 'invalid_state');
47
- return;
48
- }
49
- if (params.has('error')) {
50
- const info = this.createTokenResponseError(params);
51
- this[reportOAuthError](...info);
52
- return;
53
- }
54
- // this is the time when the tokens are received. +- a few ms.
55
- const time = Date.now();
56
- const tokens = this.prepareTokens(params, time);
57
- if (!Array.isArray(tokens) || !tokens.length) {
58
- this[reportOAuthError]('The authorization response has unknown response type configuration.', 'unknown_state');
59
- return;
60
- }
61
- const codeIndex = tokens.findIndex((i) => i.responseType === 'code');
62
- if (codeIndex >= 0) {
63
- const codeToken = tokens[codeIndex];
64
- try {
65
- const info = await this.getCodeInfo(codeToken.code);
66
- if (info.error) {
67
- tokens[codeIndex] = {
68
- responseType: codeToken.responseType,
69
- state: codeToken.state,
70
- error: info.error,
71
- errorDescription: info.errorDescription,
72
- };
73
- }
74
- else {
75
- codeToken.accessToken = info.accessToken;
76
- codeToken.refreshToken = info.refreshToken;
77
- codeToken.idToken = info.idToken;
78
- codeToken.tokenType = info.tokenType;
79
- codeToken.expiresIn = info.expiresIn;
80
- codeToken.scope = Tokens.computeTokenInfoScopes(this.settings.scopes, info.scope);
81
- }
82
- }
83
- catch (e) {
84
- tokens[codeIndex] = {
85
- responseType: codeToken.responseType,
86
- state: codeToken.state,
87
- error: 'unknown_state',
88
- errorDescription: e.message,
89
- };
90
- }
91
- }
92
- this.finish(tokens);
93
- }
94
- /**
95
- * Creates a token info object for each requested response type. These are created from the params received from the
96
- * redirect URI. This means that it might not be complete (for code response type).
97
- * @param params
98
- * @param time Timestamp when the tokens were created
99
- */
100
- prepareTokens(params, time) {
101
- const { grantType, responseType = '', scopes } = this.settings;
102
- let type = responseType;
103
- if (!type) {
104
- type = grantResponseMapping[grantType];
105
- }
106
- if (!type) {
107
- return null;
108
- }
109
- const types = type
110
- .split(' ')
111
- .map((i) => i.trim())
112
- .filter((i) => !!i);
113
- const result = [];
114
- types.forEach((item) => {
115
- const info = Tokens.createTokenInfo(item, params, time, scopes);
116
- if (info) {
117
- result.push(info);
118
- }
119
- });
120
- return result;
121
- }
122
- /**
123
- * Finishes the authorization.
124
- */
125
- finish(tokens) {
126
- if (this[resolveFunction]) {
127
- // TODO: this is a hack. These both classes should extend a single parent but not one another.
128
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
129
- this[resolveFunction](tokens);
130
- }
131
- this[rejectFunction] = undefined;
132
- this[resolveFunction] = undefined;
133
- }
134
- /**
135
- * Processes token info object when it's ready.
136
- *
137
- * @param info Token info returned from the server.
138
- */
139
- [handleTokenInfo](info) {
140
- const { responseType } = this.settings;
141
- const token = Tokens.fromTokenInfo(info);
142
- token.responseType = responseType || '';
143
- this.finish([token]);
144
- }
145
- }
146
- //# sourceMappingURL=OidcAuthorization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OidcAuthorization.js","sourceRoot":"","sources":["../../../src/authorization/OidcAuthorization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AACxC,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,eAAe,GAChB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE3C,MAAM,OAAO,iB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AAC,CAAA;QACrB,MAAM,MAAM,GAAqB,EAAE,CAAA;QACnC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACrB,MAAM,IAAI,GAAG,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,CAAA;YAC/D,IAAI,IAAI,EAAE,CAAC;gBACT,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;YACnB,CAAC;QACH,CAAC,CAAC,CAAA;QACF,OAAO,MAAM,CAAA;IACf,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,MAA4C;QACjD,IAAI,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;YAC1B,8FAA8F;YAC9F,oEAAoE;YACpE,IAAI,CAAC,eAAe,CAAE,CAAC,MAA+B,CAAC,CAAA;QACzD,CAAC;QACD,IAAI,CAAC,cAAc,CAAC,GAAG,SAAS,CAAA;QAChC,IAAI,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IACnC,CAAC;IAED;;;;OAIG;IACM,CAAC,eAAe,CAAC,CAAC,IAAgB;QACzC,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAA;QACtC,MAAM,KAAK,GAAG,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA;QACxC,KAAK,CAAC,YAAY,GAAG,YAAY,IAAI,EAAE,CAAA;QACvC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,CAAA;IACtB,CAAC;CACF","sourcesContent":["import { IOidcTokenInfo, IOidcTokenError, ITokenInfo } from '../models/Authorization.js'\nimport { Tokens } from './lib/Tokens.js'\nimport {\n OAuth2Authorization,\n grantResponseMapping,\n reportOAuthError,\n resolveFunction,\n rejectFunction,\n handleTokenInfo,\n} from './OAuth2Authorization.js'\nimport { nonceGenerator } from './Utils.js'\n\nexport class OidcAuthorization extends OAuth2Authorization {\n override authorize(): Promise<(IOidcTokenInfo | IOidcTokenError)[]> {\n return super.authorize() as unknown as Promise<(IOidcTokenInfo | IOidcTokenError)[]>\n }\n\n /**\n * @returns The parameters to build popup URL.\n */\n override async buildPopupUrlParams(): Promise<URL | null> {\n const url = await super.buildPopupUrlParams()\n if (url === null) {\n return url\n }\n const type = this.settings.responseType || grantResponseMapping[this.settings.grantType as string]\n // ID token nonce\n if (type.includes('id_token')) {\n url.searchParams.set('nonce', nonceGenerator())\n }\n return url\n }\n\n /**\n * @param params The instance of search params with the response from the auth dialog.\n * @returns true when the params qualify as an authorization popup redirect response.\n */\n override validateTokenResponse(params: URLSearchParams): boolean {\n if (params.has('id_token')) {\n return true\n }\n return super.validateTokenResponse(params)\n }\n\n /**\n * Processes the response returned by the popup or the iframe.\n */\n override async processTokenResponse(params: URLSearchParams): Promise<void> {\n this.clearObservers()\n const state = params.get('state')\n if (!state) {\n this[reportOAuthError]('Server did not return the state parameter.', 'no_state')\n return\n }\n if (state !== this.state) {\n // The authorization class (this) is created per token request so this can only have one state.\n // When the app requests for more tokens at the same time is should create multiple instances of this.\n this[reportOAuthError]('The state value returned by the authorization server is invalid.', 'invalid_state')\n return\n }\n if (params.has('error')) {\n const info = this.createTokenResponseError(params)\n this[reportOAuthError](...info)\n return\n }\n // this is the time when the tokens are received. +- a few ms.\n const time = Date.now()\n const tokens: (IOidcTokenInfo | IOidcTokenError)[] | null = this.prepareTokens(params, time)\n if (!Array.isArray(tokens) || !tokens.length) {\n this[reportOAuthError]('The authorization response has unknown response type configuration.', 'unknown_state')\n return\n }\n const codeIndex = tokens.findIndex((i) => i.responseType === 'code')\n if (codeIndex >= 0) {\n const codeToken = tokens[codeIndex] as IOidcTokenInfo\n try {\n const info = await this.getCodeInfo(codeToken.code as string)\n if (info.error) {\n tokens[codeIndex] = {\n responseType: codeToken.responseType,\n state: codeToken.state,\n error: info.error,\n errorDescription: info.errorDescription,\n } as IOidcTokenError\n } else {\n codeToken.accessToken = info.accessToken as string | undefined\n codeToken.refreshToken = info.refreshToken as string | undefined\n codeToken.idToken = info.idToken as string | undefined\n codeToken.tokenType = info.tokenType as string | undefined\n codeToken.expiresIn = info.expiresIn as number | undefined\n codeToken.scope = Tokens.computeTokenInfoScopes(this.settings.scopes, info.scope as string | undefined)\n }\n } catch (e) {\n tokens[codeIndex] = {\n responseType: codeToken.responseType,\n state: codeToken.state,\n error: 'unknown_state',\n errorDescription: (e as Error).message,\n } as IOidcTokenError\n }\n }\n this.finish(tokens)\n }\n\n /**\n * Creates a token info object for each requested response type. These are created from the params received from the\n * redirect URI. This means that it might not be complete (for code response type).\n * @param params\n * @param time Timestamp when the tokens were created\n */\n prepareTokens(params: URLSearchParams, time: number): IOidcTokenInfo[] | null {\n const { grantType, responseType = '', scopes } = this.settings\n let type = responseType\n if (!type) {\n type = grantResponseMapping[grantType as string]\n }\n if (!type) {\n return null\n }\n const types = type\n .split(' ')\n .map((i) => i.trim())\n .filter((i) => !!i)\n const result: IOidcTokenInfo[] = []\n types.forEach((item) => {\n const info = Tokens.createTokenInfo(item, params, time, scopes)\n if (info) {\n result.push(info)\n }\n })\n return result\n }\n\n /**\n * Finishes the authorization.\n */\n finish(tokens: (IOidcTokenInfo | IOidcTokenError)[]): void {\n if (this[resolveFunction]) {\n // TODO: this is a hack. These both classes should extend a single parent but not one another.\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n this[resolveFunction]!(tokens as unknown as ITokenInfo)\n }\n this[rejectFunction] = undefined\n this[resolveFunction] = undefined\n }\n\n /**\n * Processes token info object when it's ready.\n *\n * @param info Token info returned from the server.\n */\n override [handleTokenInfo](info: ITokenInfo): void {\n const { responseType } = this.settings\n const token = Tokens.fromTokenInfo(info)\n token.responseType = responseType || ''\n this.finish([token])\n }\n}\n"]}
@@ -1,52 +0,0 @@
1
- import { IOAuth2Authorization } from '../models/Authorization.js';
2
- /**
3
- * Checks if the URL has valid scheme for OAuth flow.
4
- *
5
- * Do not use this to validate redirect URIs as they can use any protocol.
6
- *
7
- * @param url The url value to test
8
- * @throws {TypeError} When passed value is not set, empty, or not a string
9
- * @throws {Error} When passed value is not a valid URL for OAuth 2 flow
10
- */
11
- export declare function checkUrl(url: string): void;
12
- /**
13
- * Checks if basic configuration of the OAuth 2 request is valid an can proceed
14
- * with authentication.
15
- * @param settings authorization settings
16
- * @throws {Error} When settings are not valid
17
- */
18
- export declare function sanityCheck(settings: IOAuth2Authorization): void;
19
- /**
20
- * Generates a random string of characters.
21
- *
22
- * @returns A random string.
23
- */
24
- export declare function randomString(): string;
25
- /**
26
- * Replaces `-` or `_` with camel case.
27
- * @param {string} name The string to process
28
- * @return {String|undefined} Camel cased string or `undefined` if not transformed.
29
- */
30
- export declare function camel(name: string): string | undefined;
31
- /**
32
- * Computes the SHA256 hash ogf the given input.
33
- * @param value The value to encode.
34
- */
35
- export declare function sha256(value: string): Promise<ArrayBuffer>;
36
- /**
37
- * Encoded the array buffer to a base64 string value.
38
- */
39
- export declare function base64Buffer(buffer: ArrayBuffer): string;
40
- /**
41
- * Generates code challenge for the PKCE extension to the OAuth2 specification.
42
- * @param verifier The generated code verifier.
43
- * @returns The code challenge string
44
- */
45
- export declare function generateCodeChallenge(verifier: string): Promise<string>;
46
- /**
47
- * Generates cryptographically significant random string.
48
- * @param size The size of the generated nonce.
49
- * @returns A nonce (number used once).
50
- */
51
- export declare function nonceGenerator(size?: number): string;
52
- //# sourceMappingURL=Utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../../src/authorization/Utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAEjE;;;;;;;;GAQG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAU1C;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,oBAAoB,GAAG,IAAI,CAqBhE;AAED;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,MAAM,CAIrC;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CActD;AAED;;;GAGG;AACH,wBAAsB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAIhE;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CASxD;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAG7E;AAED;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,IAAI,SAAK,GAAG,MAAM,CAYhD"}
@@ -1,130 +0,0 @@
1
- /**
2
- * Checks if the URL has valid scheme for OAuth flow.
3
- *
4
- * Do not use this to validate redirect URIs as they can use any protocol.
5
- *
6
- * @param url The url value to test
7
- * @throws {TypeError} When passed value is not set, empty, or not a string
8
- * @throws {Error} When passed value is not a valid URL for OAuth 2 flow
9
- */
10
- export function checkUrl(url) {
11
- if (!url) {
12
- throw new TypeError('the value is missing');
13
- }
14
- if (typeof url !== 'string') {
15
- throw new TypeError('the value is not a string');
16
- }
17
- if (!url.startsWith('http://') && !url.startsWith('https://')) {
18
- throw new Error('the value has invalid scheme');
19
- }
20
- }
21
- /**
22
- * Checks if basic configuration of the OAuth 2 request is valid an can proceed
23
- * with authentication.
24
- * @param settings authorization settings
25
- * @throws {Error} When settings are not valid
26
- */
27
- export function sanityCheck(settings) {
28
- if (['implicit', 'authorization_code'].includes(settings.grantType)) {
29
- try {
30
- checkUrl(settings.authorizationUri);
31
- }
32
- catch (e) {
33
- throw new Error(`authorizationUri: ${e.message}`, { cause: e });
34
- }
35
- if (settings.accessTokenUri) {
36
- try {
37
- checkUrl(settings.accessTokenUri);
38
- }
39
- catch (e) {
40
- throw new Error(`accessTokenUri: ${e.message}`, { cause: e });
41
- }
42
- }
43
- }
44
- else if (settings.accessTokenUri) {
45
- try {
46
- checkUrl(settings.accessTokenUri);
47
- }
48
- catch (e) {
49
- throw new Error(`accessTokenUri: ${e.message}`, { cause: e });
50
- }
51
- }
52
- }
53
- /**
54
- * Generates a random string of characters.
55
- *
56
- * @returns A random string.
57
- */
58
- export function randomString() {
59
- const array = new Uint32Array(28);
60
- window.crypto.getRandomValues(array);
61
- return Array.from(array, (dec) => `0${dec.toString(16)}`.substr(-2)).join('');
62
- }
63
- /**
64
- * Replaces `-` or `_` with camel case.
65
- * @param {string} name The string to process
66
- * @return {String|undefined} Camel cased string or `undefined` if not transformed.
67
- */
68
- export function camel(name) {
69
- let i = 0;
70
- let l;
71
- let changed = false;
72
- while ((l = name[i])) {
73
- if ((l === '_' || l === '-') && i + 1 < name.length) {
74
- name = name.substring(0, i) + name[i + 1].toUpperCase() + name.substring(i + 2);
75
- changed = true;
76
- }
77
- i++;
78
- }
79
- return changed ? name : undefined;
80
- }
81
- /**
82
- * Computes the SHA256 hash ogf the given input.
83
- * @param value The value to encode.
84
- */
85
- export async function sha256(value) {
86
- const encoder = new TextEncoder();
87
- const data = encoder.encode(value);
88
- return window.crypto.subtle.digest('SHA-256', data);
89
- }
90
- /**
91
- * Encoded the array buffer to a base64 string value.
92
- */
93
- export function base64Buffer(buffer) {
94
- const view = new Uint8Array(buffer);
95
- const len = view.byteLength;
96
- let binary = '';
97
- for (let i = 0; i < len; i++) {
98
- binary += String.fromCharCode(view[i]);
99
- }
100
- // const str = String.fromCharCode.apply(null, view as number[]);
101
- return btoa(binary).replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
102
- }
103
- /**
104
- * Generates code challenge for the PKCE extension to the OAuth2 specification.
105
- * @param verifier The generated code verifier.
106
- * @returns The code challenge string
107
- */
108
- export async function generateCodeChallenge(verifier) {
109
- const hashed = await sha256(verifier);
110
- return base64Buffer(hashed);
111
- }
112
- /**
113
- * Generates cryptographically significant random string.
114
- * @param size The size of the generated nonce.
115
- * @returns A nonce (number used once).
116
- */
117
- export function nonceGenerator(size = 20) {
118
- const validChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
119
- let array = new Uint8Array(size);
120
- window.crypto.getRandomValues(array);
121
- array = array.map((x) => validChars.charCodeAt(x % validChars.length));
122
- const len = array.byteLength;
123
- let binary = '';
124
- for (let i = 0; i < len; i++) {
125
- binary += String.fromCharCode(array[i]);
126
- }
127
- return binary;
128
- // return String.fromCharCode.apply(null, array as any);
129
- }
130
- //# sourceMappingURL=Utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../src/authorization/Utils.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,MAAM,UAAU,QAAQ,CAAC,GAAW;IAClC,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,MAAM,IAAI,SAAS,CAAC,sBAAsB,CAAC,CAAA;IAC7C,CAAC;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC5B,MAAM,IAAI,SAAS,CAAC,2BAA2B,CAAC,CAAA;IAClD,CAAC;IACD,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC9D,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAA;IACjD,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,QAA8B;IACxD,IAAI,CAAC,UAAU,EAAE,oBAAoB,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAmB,CAAC,EAAE,CAAC;QAC9E,IAAI,CAAC;YACH,QAAQ,CAAC,QAAQ,CAAC,gBAA0B,CAAC,CAAA;QAC/C,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,MAAM,IAAI,KAAK,CAAC,qBAAsB,CAAW,CAAC,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAA;QAC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,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;AAChF,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,QAAgB;IAC1D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAA;IACrC,OAAO,YAAY,CAAC,MAAM,CAAC,CAAA;AAC7B,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,cAAc,CAAC,IAAI,GAAG,EAAE;IACtC,MAAM,UAAU,GAAG,gEAAgE,CAAA;IACnF,IAAI,KAAK,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,CAAA;IAChC,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,KAAK,CAAC,CAAA;IACpC,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,GAAG,UAAU,CAAC,MAAM,CAAC,CAAC,CAAA;IACtE,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAA;IAC5B,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QAC7B,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;IACzC,CAAC;IACD,OAAO,MAAM,CAAA;IACb,wDAAwD;AAC1D,CAAC","sourcesContent":["import { IOAuth2Authorization } from '../models/Authorization.js'\n\n/**\n * Checks if the URL has valid scheme for OAuth flow.\n *\n * Do not use this to validate redirect URIs as they can use any protocol.\n *\n * @param url The url value to test\n * @throws {TypeError} When passed value is not set, empty, or not a string\n * @throws {Error} When passed value is not a valid URL for OAuth 2 flow\n */\nexport function checkUrl(url: string): void {\n if (!url) {\n throw new TypeError('the value is missing')\n }\n if (typeof url !== 'string') {\n throw new TypeError('the value is not a string')\n }\n if (!url.startsWith('http://') && !url.startsWith('https://')) {\n throw new Error('the value has invalid scheme')\n }\n}\n\n/**\n * Checks if basic configuration of the OAuth 2 request is valid an can proceed\n * with authentication.\n * @param settings authorization settings\n * @throws {Error} When settings are not valid\n */\nexport function sanityCheck(settings: IOAuth2Authorization): void {\n if (['implicit', 'authorization_code'].includes(settings.grantType as string)) {\n try {\n checkUrl(settings.authorizationUri as string)\n } catch (e) {\n throw new Error(`authorizationUri: ${(e as Error).message}`, { cause: e })\n }\n if (settings.accessTokenUri) {\n try {\n checkUrl(settings.accessTokenUri)\n } catch (e) {\n throw new Error(`accessTokenUri: ${(e as Error).message}`, { cause: e })\n }\n }\n } else if (settings.accessTokenUri) {\n try {\n checkUrl(settings.accessTokenUri)\n } catch (e) {\n throw new Error(`accessTokenUri: ${(e as Error).message}`, { cause: e })\n }\n }\n}\n\n/**\n * Generates a random string of characters.\n *\n * @returns A random string.\n */\nexport function randomString(): string {\n const array = new Uint32Array(28)\n window.crypto.getRandomValues(array)\n return Array.from(array, (dec) => `0${dec.toString(16)}`.substr(-2)).join('')\n}\n\n/**\n * Replaces `-` or `_` with camel case.\n * @param {string} name The string to process\n * @return {String|undefined} Camel cased string or `undefined` if not transformed.\n */\nexport function camel(name: string): string | undefined {\n let i = 0\n let l\n let changed = false\n\n while ((l = name[i])) {\n if ((l === '_' || l === '-') && i + 1 < name.length) {\n name = name.substring(0, i) + name[i + 1].toUpperCase() + name.substring(i + 2)\n changed = true\n }\n\n i++\n }\n return changed ? name : undefined\n}\n\n/**\n * Computes the SHA256 hash ogf the given input.\n * @param value The value to encode.\n */\nexport async function sha256(value: string): Promise<ArrayBuffer> {\n const encoder = new TextEncoder()\n const data = encoder.encode(value)\n return window.crypto.subtle.digest('SHA-256', data)\n}\n\n/**\n * Encoded the array buffer to a base64 string value.\n */\nexport function base64Buffer(buffer: ArrayBuffer): string {\n const view = new Uint8Array(buffer)\n const len = view.byteLength\n let binary = ''\n for (let i = 0; i < len; i++) {\n binary += String.fromCharCode(view[i])\n }\n // const str = String.fromCharCode.apply(null, view as number[]);\n return btoa(binary).replace(/\\+/g, '-').replace(/\\//g, '_').replace(/=+$/, '')\n}\n\n/**\n * Generates code challenge for the PKCE extension to the OAuth2 specification.\n * @param verifier The generated code verifier.\n * @returns The code challenge string\n */\nexport async function generateCodeChallenge(verifier: string): Promise<string> {\n const hashed = await sha256(verifier)\n return base64Buffer(hashed)\n}\n\n/**\n * Generates cryptographically significant random string.\n * @param size The size of the generated nonce.\n * @returns A nonce (number used once).\n */\nexport function nonceGenerator(size = 20): string {\n const validChars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'\n let array = new Uint8Array(size)\n window.crypto.getRandomValues(array)\n array = array.map((x) => validChars.charCodeAt(x % validChars.length))\n const len = array.byteLength\n let binary = ''\n for (let i = 0; i < len; i++) {\n binary += String.fromCharCode(array[i])\n }\n return binary\n // return String.fromCharCode.apply(null, array as any);\n}\n"]}
@@ -1,10 +0,0 @@
1
- export { OAuth2Authorization } from './OAuth2Authorization.js';
2
- export { OidcAuthorization } from './OidcAuthorization.js';
3
- export { AuthorizationError, CodeError } from './AuthorizationError.js';
4
- export * as AuthUtils from './Utils.js';
5
- export * from './types.js';
6
- export { Tokens as OidcTokens } from './lib/Tokens.js';
7
- export * as KnownGrants from './lib/KnownGrants.js';
8
- export * as AuthorizationUtils from './lib/Utils.js';
9
- export { SecurityProcessor, type IAuthApplyOptions } from './lib/SecurityProcessor.js';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/authorization/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACvE,OAAO,KAAK,SAAS,MAAM,YAAY,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,kBAAkB,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAA"}
@@ -1,10 +0,0 @@
1
- export { OAuth2Authorization } from './OAuth2Authorization.js';
2
- export { OidcAuthorization } from './OidcAuthorization.js';
3
- export { AuthorizationError, CodeError } from './AuthorizationError.js';
4
- export * as AuthUtils from './Utils.js';
5
- export * from './types.js';
6
- export { Tokens as OidcTokens } from './lib/Tokens.js';
7
- export * as KnownGrants from './lib/KnownGrants.js';
8
- export * as AuthorizationUtils from './lib/Utils.js';
9
- export { SecurityProcessor } from './lib/SecurityProcessor.js';
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/authorization/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACvE,OAAO,KAAK,SAAS,MAAM,YAAY,CAAA;AACvC,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACtD,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAA;AACnD,OAAO,KAAK,kBAAkB,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAA0B,MAAM,4BAA4B,CAAA","sourcesContent":["export { OAuth2Authorization } from './OAuth2Authorization.js'\nexport { OidcAuthorization } from './OidcAuthorization.js'\nexport { AuthorizationError, CodeError } from './AuthorizationError.js'\nexport * as AuthUtils from './Utils.js'\nexport * from './types.js'\nexport { Tokens as OidcTokens } from './lib/Tokens.js'\nexport * as KnownGrants from './lib/KnownGrants.js'\nexport * as AuthorizationUtils from './lib/Utils.js'\nexport { SecurityProcessor, type IAuthApplyOptions } from './lib/SecurityProcessor.js'\n"]}