@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":"SecurityProcessor.js","sourceRoot":"","sources":["../../../../src/authorization/lib/SecurityProcessor.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAA;AAEtD,OAAO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C,IAAI,KAAK,oBAAoB,CAAC,CAAA;QAC9F,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YAC1B,OAAO,SAAS,CAAA;QAClB,CAAC;QACD,MAAM,IAAI,GAAG,IAAI,CAAC,MAA0B,CAAA;QAC5C,OAAO,IAAI,CAAC,WAAW,CAAA;IACzB,CAAC;CACF","sourcesContent":["/* eslint-disable @typescript-eslint/no-extraneous-class */\nimport {\n IApiKeyAuthorization,\n IBasicAuthorization,\n IBearerAuthorization,\n ICCAuthorization,\n IOAuth2Authorization,\n IOidcAuthorization,\n IOidcTokenInfo,\n IPassThroughAuthorization,\n IRamlCustomAuthorization,\n} from '../../models/Authorization.js'\nimport { IRequestAuthorization, RequestAuthorization } from '../../models/RequestAuthorization.js'\nimport { IHttpRequest } from '../../models/HttpRequest.js'\nimport { IProperty } from '../../models/Property.js'\nimport { Headers } from '../../lib/headers/Headers.js'\nimport { HttpCertificate } from '../../models/ClientCertificate.js'\nimport { UrlProcessor } from '../../lib/parsers/UrlProcessor.js'\nimport { UrlEncoder } from '../../lib/parsers/UrlEncoder.js'\nimport { hasBuffer } from '../../Platform.js'\nimport {\n normalizeType,\n METHOD_BASIC,\n METHOD_BEARER,\n METHOD_OAUTH2,\n METHOD_OIDC,\n METHOD_CUSTOM,\n METHOD_API_KEY,\n METHOD_PASS_THROUGH,\n} from './Utils.js'\n\nexport interface IAuthApplyOptions {\n /**\n * When set it won't change the originating authorization objects.\n * By default it sets the authorization's `enabled` property to `false` after applying the\n * value to the request.\n */\n immutable?: boolean\n}\n\nexport class SecurityProcessor {\n /**\n * Applies authorization configuration to the request object.\n */\n static applyAuthorization(\n request: IHttpRequest,\n authorization?: (IRequestAuthorization | RequestAuthorization)[],\n opts: IAuthApplyOptions = {}\n ): void {\n if (!Array.isArray(authorization) || !authorization.length) {\n return\n }\n\n for (const auth of authorization) {\n if (!auth.enabled || !auth.config) {\n continue\n }\n\n switch (normalizeType(auth.type)) {\n case METHOD_BASIC:\n SecurityProcessor.applyBasicAuth(request, auth.config as IBasicAuthorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n case METHOD_OAUTH2:\n SecurityProcessor.applyOAuth2(request, auth.config as IOAuth2Authorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n case METHOD_OIDC:\n SecurityProcessor.applyOpenId(request, auth.config as IOidcAuthorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n case METHOD_BEARER:\n SecurityProcessor.applyBearer(request, auth.config as IBearerAuthorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n case METHOD_CUSTOM:\n SecurityProcessor.applyCustomAuth(request, auth.config as IRamlCustomAuthorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n case METHOD_API_KEY:\n SecurityProcessor.applyApiKeys(request, auth.config as IApiKeyAuthorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n case METHOD_PASS_THROUGH:\n SecurityProcessor.applyPassThrough(request, auth.config as IPassThroughAuthorization)\n if (!opts.immutable) {\n auth.enabled = false\n }\n break\n default:\n }\n }\n }\n\n /**\n * Injects basic auth header into the request headers.\n */\n static applyBasicAuth(request: IHttpRequest, config: IBasicAuthorization): void {\n const { username, password = '' } = config\n if (!username) {\n return\n }\n const hash = `${username}:${password}`\n const value = hasBuffer ? Buffer.from(hash).toString('base64') : btoa(hash)\n this.applyHeader(request, 'authorization', `Basic ${value}`)\n }\n\n /**\n * Injects oauth 2 auth header into the request headers.\n */\n static applyOAuth2(request: IHttpRequest, config: IOAuth2Authorization): void {\n const { accessToken, tokenType = 'Bearer', deliveryMethod = 'header', deliveryName = 'authorization' } = config\n if (!accessToken) {\n return\n }\n const value = `${tokenType} ${accessToken}`\n if (deliveryMethod === 'header') {\n this.applyHeader(request, deliveryName, value)\n } else if (deliveryMethod === 'query') {\n const { url } = request\n try {\n const parser = new UrlProcessor(url)\n parser.search.append(\n UrlEncoder.encodeQueryString(deliveryName, true),\n UrlEncoder.encodeQueryString(value, true)\n )\n request.url = parser.toString()\n } catch {\n // ...\n }\n }\n }\n\n /**\n * Injects OpenID Connect auth header into the request headers.\n */\n static applyOpenId(request: IHttpRequest, config: IOidcAuthorization): void {\n const { accessToken, tokens, tokenInUse } = config\n if (accessToken) {\n SecurityProcessor.applyOAuth2(request, config)\n } else if (Array.isArray(tokens) && typeof tokenInUse === 'number') {\n const data = tokens[tokenInUse] as IOidcTokenInfo\n if (data && data.accessToken) {\n const copy = { ...config }\n copy.accessToken = data.accessToken\n SecurityProcessor.applyOAuth2(request, copy)\n }\n }\n }\n\n /**\n * Injects bearer auth header into the request headers.\n */\n static applyBearer(request: IHttpRequest, config: IBearerAuthorization): void {\n const { token } = config\n if (!token) {\n return\n }\n const value = `Bearer ${token}`\n this.applyHeader(request, 'authorization', value)\n }\n\n /**\n * Injects the RAML custom configuration into the request\n */\n static applyCustomAuth(request: IHttpRequest, config: IRamlCustomAuthorization): void {\n const { header, query } = config\n this.applyQueryParams(request, query)\n this.applyHeaders(request, header)\n }\n\n /**\n * Injects the ApiKey configuration into the request\n */\n static applyApiKeys(request: IHttpRequest, config: IApiKeyAuthorization): void {\n const { header, query } = config\n this.applyQueryParams(request, query)\n this.applyHeaders(request, header)\n }\n\n /**\n * Injects the PassThrough configuration into the request\n */\n static applyPassThrough(request: IHttpRequest, config: IPassThroughAuthorization): void {\n const { header, query } = config\n this.applyQueryParams(request, query)\n this.applyHeaders(request, header)\n }\n\n static applyHeader(request: IHttpRequest, name: string, value: string): void {\n const { headers, headersModel } = request\n if (headersModel && !headers) {\n const disabled = headersModel.filter((i) => !i.enabled)\n const parser = Headers.fromPropertyArray(headersModel.filter((i) => !!i.enabled))\n parser.append(name, value)\n request.headersModel = [...parser.toPropertyArray(), ...disabled]\n } else {\n const parser = new Headers(headers)\n parser.append(name, value)\n request.headers = parser.toString()\n }\n }\n\n /**\n * Applies a map of query parameters to the request object.\n * @param request The request object\n * @param params A map of query parameters to apply to the request\n */\n static applyQueryParams(request: IHttpRequest, params?: Record<string, string>): void {\n if (typeof params !== 'object') {\n return\n }\n const keys = Object.keys(params)\n if (!keys.length) {\n return\n }\n\n try {\n const parser = new UrlProcessor(request.url)\n keys.forEach((name) => {\n const value = params[name]\n parser.search.set(UrlEncoder.encodeQueryString(name, true), UrlEncoder.encodeQueryString(value, true))\n })\n request.url = parser.toString()\n } catch {\n // ...\n }\n }\n\n /**\n * Applies a map of headers to the request object.\n * @param request The request object\n * @param headers A map of headers to apply to the request\n */\n static applyHeaders(request: IHttpRequest, headers?: Record<string, string>): void {\n if (typeof headers !== 'object') {\n return\n }\n const keys = Object.keys(headers)\n if (!keys.length) {\n return\n }\n\n let parser: Headers\n let disabled: IProperty[] | undefined\n const usesModel = !!request.headersModel && !request.headers\n if (usesModel) {\n const model = request.headersModel as IProperty[]\n disabled = model.filter((i) => !i.enabled)\n parser = Headers.fromPropertyArray(model.filter((i) => !!i.enabled))\n } else {\n parser = new Headers(request.headers)\n }\n keys.forEach((name) => {\n const value = headers[name]\n parser.append(name, value)\n })\n if (usesModel) {\n request.headersModel = [...parser.toPropertyArray(), ...(disabled || [])]\n } else {\n request.headers = parser.toString()\n }\n }\n\n /**\n * Reads the client certificate from the authorization configuration.\n *\n * @param authorization The HTTP request authorization configuration.\n * @returns The certificate to use with the HTTP request or undefined when not configured.\n */\n static readCertificate(authorization?: IRequestAuthorization[]): HttpCertificate | undefined {\n if (!Array.isArray(authorization) || !authorization.length) {\n return undefined\n }\n const item = authorization.find((i) => i.enabled !== false && i.type === 'client certificate')\n if (!item || !item.config) {\n return undefined\n }\n const init = item.config as ICCAuthorization\n return init.certificate\n }\n}\n"]}
@@ -1,56 +0,0 @@
1
- import { IOidcTokenInfo, ITokenInfo } from '../../models/Authorization.js';
2
- export declare class Tokens {
3
- /**
4
- * Creates a OidcTokenInfo object for the corresponding response type.
5
- *
6
- * @param responseType The response type of the token to prepare the info for.
7
- * @param params params received from the authorization endpoint.
8
- * @param time Timestamp when the tokens were created
9
- * @param requestedScopes The list of requested scopes. Optional.
10
- * @returns
11
- */
12
- static createTokenInfo(responseType: string, params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo | null;
13
- /**
14
- * Creates a "code" response type token info.
15
- * @param params
16
- * @param time Timestamp when the tokens were created
17
- * @param requestedScopes The list of requested scopes. Optional.
18
- * @returns
19
- */
20
- static createBaseToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo;
21
- /**
22
- * Creates a "code" response type token info.
23
- * @param params
24
- * @param time Timestamp when the tokens were created
25
- * @param requestedScopes The list of requested scopes. Optional.
26
- * @returns
27
- */
28
- static createCodeToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo;
29
- /**
30
- * Creates a "token" response type token info.
31
- * @param params
32
- * @param time Timestamp when the tokens were created
33
- * @param requestedScopes The list of requested scopes. Optional.
34
- * @returns
35
- */
36
- static createTokenToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo;
37
- /**
38
- * Creates a "id_token" response type token info.
39
- * @param time Timestamp when the tokens were created
40
- * @param requestedScopes The list of requested scopes. Optional.
41
- */
42
- static createIdTokenToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo;
43
- /**
44
- * Computes the final list of granted scopes.
45
- * It is a list of scopes received in the response or the list of requested scopes.
46
- * Because the user may change the list of scopes during the authorization process
47
- * the received list of scopes can be different than the one requested by the user.
48
- *
49
- * @param requestedScopes The list of requested scopes. Optional.
50
- * @param tokenScopes The `scope` parameter received with the response. It's null safe.
51
- * @returns The list of scopes for the token.
52
- */
53
- static computeTokenInfoScopes(requestedScopes?: string[], tokenScopes?: string): string[];
54
- static fromTokenInfo(info: ITokenInfo): IOidcTokenInfo;
55
- }
56
- //# sourceMappingURL=Tokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tokens.d.ts","sourceRoot":"","sources":["../../../../src/authorization/lib/Tokens.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE1E,qBAAa,MAAM;IACjB;;;;;;;;OAQG;IACH,MAAM,CAAC,eAAe,CACpB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,eAAe,EACvB,IAAI,EAAE,MAAM,EACZ,eAAe,CAAC,EAAE,MAAM,EAAE,GACzB,cAAc,GAAG,IAAI;IAaxB;;;;;;OAMG;IACH,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE,GAAG,cAAc;IAazG;;;;;;OAMG;IACH,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE,GAAG,cAAc;IAOzG;;;;;;OAMG;IACH,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE,GAAG,cAAc;IAQ1G;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE,GAAG,cAAc;IAS5G;;;;;;;;;OASG;IACH,MAAM,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE;IAWzF,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,cAAc;CAkBvD"}
@@ -1,121 +0,0 @@
1
- export class Tokens {
2
- /**
3
- * Creates a OidcTokenInfo object for the corresponding response type.
4
- *
5
- * @param responseType The response type of the token to prepare the info for.
6
- * @param params params received from the authorization endpoint.
7
- * @param time Timestamp when the tokens were created
8
- * @param requestedScopes The list of requested scopes. Optional.
9
- * @returns
10
- */
11
- static createTokenInfo(responseType, params, time, requestedScopes) {
12
- switch (responseType) {
13
- case 'code':
14
- return Tokens.createCodeToken(params, time, requestedScopes);
15
- case 'token':
16
- return Tokens.createTokenToken(params, time, requestedScopes);
17
- case 'id_token':
18
- return Tokens.createIdTokenToken(params, time, requestedScopes);
19
- default:
20
- return null;
21
- }
22
- }
23
- /**
24
- * Creates a "code" response type token info.
25
- * @param params
26
- * @param time Timestamp when the tokens were created
27
- * @param requestedScopes The list of requested scopes. Optional.
28
- * @returns
29
- */
30
- static createBaseToken(params, time, requestedScopes) {
31
- const scope = Tokens.computeTokenInfoScopes(requestedScopes, params.get('scope'));
32
- const tokenInfo = {
33
- state: params.get('state'),
34
- expiresIn: Number(params.get('expires_in')),
35
- tokenType: params.get('token_type'),
36
- scope,
37
- time,
38
- responseType: '',
39
- };
40
- return tokenInfo;
41
- }
42
- /**
43
- * Creates a "code" response type token info.
44
- * @param params
45
- * @param time Timestamp when the tokens were created
46
- * @param requestedScopes The list of requested scopes. Optional.
47
- * @returns
48
- */
49
- static createCodeToken(params, time, requestedScopes) {
50
- const token = Tokens.createBaseToken(params, time, requestedScopes);
51
- token.responseType = 'code';
52
- token.code = params.get('code');
53
- return token;
54
- }
55
- /**
56
- * Creates a "token" response type token info.
57
- * @param params
58
- * @param time Timestamp when the tokens were created
59
- * @param requestedScopes The list of requested scopes. Optional.
60
- * @returns
61
- */
62
- static createTokenToken(params, time, requestedScopes) {
63
- const token = Tokens.createBaseToken(params, time, requestedScopes);
64
- token.responseType = 'token';
65
- token.accessToken = params.get('access_token');
66
- token.refreshToken = params.get('refresh_token');
67
- return token;
68
- }
69
- /**
70
- * Creates a "id_token" response type token info.
71
- * @param time Timestamp when the tokens were created
72
- * @param requestedScopes The list of requested scopes. Optional.
73
- */
74
- static createIdTokenToken(params, time, requestedScopes) {
75
- const token = Tokens.createBaseToken(params, time, requestedScopes);
76
- token.responseType = 'id_token';
77
- token.accessToken = params.get('access_token');
78
- token.refreshToken = params.get('refresh_token');
79
- token.idToken = params.get('id_token');
80
- return token;
81
- }
82
- /**
83
- * Computes the final list of granted scopes.
84
- * It is a list of scopes received in the response or the list of requested scopes.
85
- * Because the user may change the list of scopes during the authorization process
86
- * the received list of scopes can be different than the one requested by the user.
87
- *
88
- * @param requestedScopes The list of requested scopes. Optional.
89
- * @param tokenScopes The `scope` parameter received with the response. It's null safe.
90
- * @returns The list of scopes for the token.
91
- */
92
- static computeTokenInfoScopes(requestedScopes, tokenScopes) {
93
- if (!tokenScopes && requestedScopes) {
94
- return requestedScopes;
95
- }
96
- let listScopes = [];
97
- if (typeof tokenScopes === 'string') {
98
- listScopes = tokenScopes.split(' ');
99
- }
100
- return listScopes;
101
- }
102
- static fromTokenInfo(info) {
103
- const result = {
104
- responseType: '',
105
- state: info.state,
106
- accessToken: info.accessToken,
107
- time: Date.now(),
108
- };
109
- if (info.scope) {
110
- result.scope = info.scope;
111
- }
112
- if (info.tokenType) {
113
- result.tokenType = info.tokenType;
114
- }
115
- if (info.expiresIn) {
116
- result.expiresIn = info.expiresIn;
117
- }
118
- return result;
119
- }
120
- }
121
- //# sourceMappingURL=Tokens.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tokens.js","sourceRoot":"","sources":["../../../../src/authorization/lib/Tokens.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,MAAM;IACjB;;;;;;;;OAQG;IACH,MAAM,CAAC,eAAe,CACpB,YAAoB,EACpB,MAAuB,EACvB,IAAY,EACZ,eAA0B;QAE1B,QAAQ,YAAY,EAAE,CAAC;YACrB,KAAK,MAAM;gBACT,OAAO,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,IAAI,EAAE,eAAe,CAAC,CAAA;YAC9D,KAAK,OAAO;gBACV,OAAO,MAAM,CAAC,gBAAgB,CAAC,MAAM,EAAE,IAAI,EAAE,eAAe,CAAC,CAAA;YAC/D,KAAK,UAAU;gBACb,OAAO,MAAM,CAAC,kBAAkB,CAAC,MAAM,EAAE,IAAI,EAAE,eAAe,CAAC,CAAA;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AI,CAAC,SAAS,CAAA;QACnC,CAAC;QACD,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACnB,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAA;QACnC,CAAC;QACD,OAAO,MAAM,CAAA;IACf,CAAC;CACF","sourcesContent":["/* eslint-disable @typescript-eslint/no-non-null-assertion */\n/* eslint-disable @typescript-eslint/no-extraneous-class */\nimport { IOidcTokenInfo, ITokenInfo } from '../../models/Authorization.js'\n\nexport class Tokens {\n /**\n * Creates a OidcTokenInfo object for the corresponding response type.\n *\n * @param responseType The response type of the token to prepare the info for.\n * @param params params received from the authorization endpoint.\n * @param time Timestamp when the tokens were created\n * @param requestedScopes The list of requested scopes. Optional.\n * @returns\n */\n static createTokenInfo(\n responseType: string,\n params: URLSearchParams,\n time: number,\n requestedScopes?: string[]\n ): IOidcTokenInfo | null {\n switch (responseType) {\n case 'code':\n return Tokens.createCodeToken(params, time, requestedScopes)\n case 'token':\n return Tokens.createTokenToken(params, time, requestedScopes)\n case 'id_token':\n return Tokens.createIdTokenToken(params, time, requestedScopes)\n default:\n return null\n }\n }\n\n /**\n * Creates a \"code\" response type token info.\n * @param params\n * @param time Timestamp when the tokens were created\n * @param requestedScopes The list of requested scopes. Optional.\n * @returns\n */\n static createBaseToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo {\n const scope = Tokens.computeTokenInfoScopes(requestedScopes, params.get('scope')!)\n const tokenInfo: IOidcTokenInfo = {\n state: params.get('state')!,\n expiresIn: Number(params.get('expires_in')),\n tokenType: params.get('token_type')!,\n scope,\n time,\n responseType: '',\n }\n return tokenInfo\n }\n\n /**\n * Creates a \"code\" response type token info.\n * @param params\n * @param time Timestamp when the tokens were created\n * @param requestedScopes The list of requested scopes. Optional.\n * @returns\n */\n static createCodeToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo {\n const token = Tokens.createBaseToken(params, time, requestedScopes)\n token.responseType = 'code'\n token.code = params.get('code')!\n return token\n }\n\n /**\n * Creates a \"token\" response type token info.\n * @param params\n * @param time Timestamp when the tokens were created\n * @param requestedScopes The list of requested scopes. Optional.\n * @returns\n */\n static createTokenToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo {\n const token = Tokens.createBaseToken(params, time, requestedScopes)\n token.responseType = 'token'\n token.accessToken = params.get('access_token')!\n token.refreshToken = params.get('refresh_token')!\n return token\n }\n\n /**\n * Creates a \"id_token\" response type token info.\n * @param time Timestamp when the tokens were created\n * @param requestedScopes The list of requested scopes. Optional.\n */\n static createIdTokenToken(params: URLSearchParams, time: number, requestedScopes?: string[]): IOidcTokenInfo {\n const token = Tokens.createBaseToken(params, time, requestedScopes)\n token.responseType = 'id_token'\n token.accessToken = params.get('access_token')!\n token.refreshToken = params.get('refresh_token')!\n token.idToken = params.get('id_token')!\n return token\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 requestedScopes The list of requested scopes. Optional.\n * @param tokenScopes The `scope` parameter received with the response. It's null safe.\n * @returns The list of scopes for the token.\n */\n static computeTokenInfoScopes(requestedScopes?: string[], tokenScopes?: string): string[] {\n if (!tokenScopes && requestedScopes) {\n return requestedScopes\n }\n let listScopes: string[] = []\n if (typeof tokenScopes === 'string') {\n listScopes = tokenScopes.split(' ')\n }\n return listScopes\n }\n\n static fromTokenInfo(info: ITokenInfo): IOidcTokenInfo {\n const result: IOidcTokenInfo = {\n responseType: '',\n state: info.state,\n accessToken: info.accessToken,\n time: Date.now(),\n }\n if (info.scope) {\n result.scope = info.scope\n }\n if (info.tokenType) {\n result.tokenType = info.tokenType\n }\n if (info.expiresIn) {\n result.expiresIn = info.expiresIn\n }\n return result\n }\n}\n"]}
@@ -1,45 +0,0 @@
1
- /**
2
- * Normalizes type name to a string identifier.
3
- * It casts input to a string and lowercase it.
4
- * @param type Type value
5
- * @return Normalized value.
6
- */
7
- export declare const normalizeType: (type?: string) => string;
8
- export declare const METHOD_BASIC = "basic";
9
- export declare const METHOD_BEARER = "bearer";
10
- export declare const METHOD_NTLM = "ntlm";
11
- export declare const METHOD_DIGEST = "digest";
12
- export declare const METHOD_OAUTH2 = "oauth 2";
13
- export declare const METHOD_OIDC = "open id";
14
- export declare const METHOD_CC = "client certificate";
15
- export declare const METHOD_API_KEY = "api key";
16
- export declare const METHOD_CUSTOM = "custom";
17
- export declare const METHOD_PASS_THROUGH = "pass through";
18
- export declare const CUSTOM_CREDENTIALS = "Custom credentials";
19
- /**
20
- * @param value The value to validate
21
- * @returns True if the redirect URI can be considered valid.
22
- */
23
- export declare function validateRedirectUri(value: unknown): boolean;
24
- /**
25
- * Generates client nonce for Digest authorization.
26
- *
27
- * @return Generated client nonce.
28
- */
29
- export declare function generateCnonce(): string;
30
- /**
31
- * Generates `state` parameter for the OAuth2 call.
32
- *
33
- * @return Generated state string.
34
- */
35
- export declare function generateState(): string;
36
- /**
37
- * When defined and the `url` is a relative path staring with `/` then it
38
- * adds base URI to the path and returns concatenated value.
39
- *
40
- * @param url The URL to process
41
- * @param baseUri Base URI to use.
42
- * @returns Final URL value.
43
- */
44
- export declare function readUrlValue(url?: string, baseUri?: string): string;
45
- //# sourceMappingURL=Utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../../../src/authorization/lib/Utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,MAAoC,CAAA;AAElF,eAAO,MAAM,YAAY,UAAU,CAAA;AACnC,eAAO,MAAM,aAAa,WAAW,CAAA;AACrC,eAAO,MAAM,WAAW,SAAS,CAAA;AACjC,eAAO,MAAM,aAAa,WAAW,CAAA;AACrC,eAAO,MAAM,aAAa,YAAY,CAAA;AACtC,eAAO,MAAM,WAAW,YAAY,CAAA;AACpC,eAAO,MAAM,SAAS,uBAAuB,CAAA;AAC7C,eAAO,MAAM,cAAc,YAAY,CAAA;AACvC,eAAO,MAAM,aAAa,WAAW,CAAA;AACrC,eAAO,MAAM,mBAAmB,iBAAiB,CAAA;AACjD,eAAO,MAAM,kBAAkB,uBAAuB,CAAA;AAEtD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAe3D;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAQvC;AAED;;;;GAIG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAOtC;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAgBnE"}
@@ -1,91 +0,0 @@
1
- /**
2
- * Normalizes type name to a string identifier.
3
- * It casts input to a string and lowercase it.
4
- * @param type Type value
5
- * @return Normalized value.
6
- */
7
- export const normalizeType = (type) => String(type).toLowerCase();
8
- export const METHOD_BASIC = 'basic';
9
- export const METHOD_BEARER = 'bearer';
10
- export const METHOD_NTLM = 'ntlm';
11
- export const METHOD_DIGEST = 'digest';
12
- export const METHOD_OAUTH2 = 'oauth 2';
13
- export const METHOD_OIDC = 'open id';
14
- export const METHOD_CC = 'client certificate';
15
- export const METHOD_API_KEY = 'api key';
16
- export const METHOD_CUSTOM = 'custom';
17
- export const METHOD_PASS_THROUGH = 'pass through';
18
- export const CUSTOM_CREDENTIALS = 'Custom credentials';
19
- /**
20
- * @param value The value to validate
21
- * @returns True if the redirect URI can be considered valid.
22
- */
23
- export function validateRedirectUri(value) {
24
- let result = true;
25
- if (!value || typeof value !== 'string') {
26
- result = false;
27
- }
28
- // the redirect URI can have any value, especially for installed apps which
29
- // may use custom schemes. We do very basic sanity check for any script content
30
- // validation to make sure we are not passing any script.
31
- if (result) {
32
- const u = String(value).toLowerCase();
33
- if (u.startsWith('javascript:') || u.startsWith('data:') || u.startsWith('vbscript:')) {
34
- result = false;
35
- }
36
- }
37
- return result;
38
- }
39
- /**
40
- * Generates client nonce for Digest authorization.
41
- *
42
- * @return Generated client nonce.
43
- */
44
- export function generateCnonce() {
45
- const characters = 'abcdef0123456789';
46
- let token = '';
47
- for (let i = 0; i < 16; i++) {
48
- const randNum = Math.round(Math.random() * characters.length);
49
- token += characters.substring(randNum, 1);
50
- }
51
- return token;
52
- }
53
- /**
54
- * Generates `state` parameter for the OAuth2 call.
55
- *
56
- * @return Generated state string.
57
- */
58
- export function generateState() {
59
- let text = '';
60
- const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
61
- for (let i = 0; i < 6; i++) {
62
- text += possible.charAt(Math.floor(Math.random() * possible.length));
63
- }
64
- return text;
65
- }
66
- /**
67
- * When defined and the `url` is a relative path staring with `/` then it
68
- * adds base URI to the path and returns concatenated value.
69
- *
70
- * @param url The URL to process
71
- * @param baseUri Base URI to use.
72
- * @returns Final URL value.
73
- */
74
- export function readUrlValue(url, baseUri) {
75
- if (!url) {
76
- return '';
77
- }
78
- const result = String(url);
79
- if (!baseUri) {
80
- return result;
81
- }
82
- if (result[0] === '/') {
83
- let uri = baseUri;
84
- if (uri[uri.length - 1] === '/') {
85
- uri = uri.substring(0, uri.length - 1);
86
- }
87
- return `${uri}${result}`;
88
- }
89
- return result;
90
- }
91
- //# sourceMappingURL=Utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Utils.js","sourceRoot":"","sources":["../../../../src/authorization/lib/Utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAa,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAA;AAElF,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAA;AACnC,MAAM,CAAC,MAAM,aAAa,GAAG,QAAQ,CAAA;AACrC,MAAM,CAAC,MAAM,WAAW,GAAG,MAAM,CAAA;AACjC,MAAM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string and lowercase it.\n * @param type Type value\n * @return Normalized value.\n */\nexport const normalizeType = (type?: string): string => String(type).toLowerCase()\n\nexport const METHOD_BASIC = 'basic'\nexport const METHOD_BEARER = 'bearer'\nexport const METHOD_NTLM = 'ntlm'\nexport const METHOD_DIGEST = 'digest'\nexport const METHOD_OAUTH2 = 'oauth 2'\nexport const METHOD_OIDC = 'open id'\nexport const METHOD_CC = 'client certificate'\nexport const METHOD_API_KEY = 'api key'\nexport const METHOD_CUSTOM = 'custom'\nexport const METHOD_PASS_THROUGH = 'pass through'\nexport const CUSTOM_CREDENTIALS = 'Custom credentials'\n\n/**\n * @param value The value to validate\n * @returns True if the redirect URI can be considered valid.\n */\nexport function validateRedirectUri(value: unknown): boolean {\n let result = true\n if (!value || typeof value !== 'string') {\n result = false\n }\n // the redirect URI can have any value, especially for installed apps which\n // may use custom schemes. We do very basic sanity check for any script content\n // validation to make sure we are not passing any script.\n if (result) {\n const u = String(value).toLowerCase()\n if (u.startsWith('javascript:') || u.startsWith('data:') || u.startsWith('vbscript:')) {\n result = false\n }\n }\n return result\n}\n\n/**\n * Generates client nonce for Digest authorization.\n *\n * @return Generated client nonce.\n */\nexport function generateCnonce(): string {\n const characters = 'abcdef0123456789'\n let token = ''\n for (let i = 0; i < 16; i++) {\n const randNum = Math.round(Math.random() * characters.length)\n token += characters.substring(randNum, 1)\n }\n return token\n}\n\n/**\n * Generates `state` parameter for the OAuth2 call.\n *\n * @return Generated state string.\n */\nexport function generateState(): string {\n let text = ''\n const possible = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'\n for (let i = 0; i < 6; i++) {\n text += possible.charAt(Math.floor(Math.random() * possible.length))\n }\n return text\n}\n\n/**\n * When defined and the `url` is a relative path staring with `/` then it\n * adds base URI to the path and returns concatenated value.\n *\n * @param url The URL to process\n * @param baseUri Base URI to use.\n * @returns Final URL value.\n */\nexport function readUrlValue(url?: string, baseUri?: string): string {\n if (!url) {\n return ''\n }\n const result = String(url)\n if (!baseUri) {\n return result\n }\n if (result[0] === '/') {\n let uri = baseUri\n if (uri[uri.length - 1] === '/') {\n uri = uri.substring(0, uri.length - 1)\n }\n return `${uri}${result}`\n }\n return result\n}\n"]}
@@ -1,196 +0,0 @@
1
- export interface OauthProcessingOptions {
2
- /**
3
- * The number of milliseconds of an interval to check the popup state.
4
- * Default to 250 ms.
5
- */
6
- popupPullTimeout?: number;
7
- /**
8
- * The event target on which to listen to the redirect page `message` event.
9
- * This event should contain a list of authorization parameters returned by the authorization server.
10
- *
11
- * The library contains `oauth-popup.html` page that reads the data from the URL and posts it back to the opener.
12
- * However, you can create `tokenInfoTranslation` to map returned by the popup parameters to the onces used by the library.
13
- */
14
- messageTarget?: EventTarget;
15
- /**
16
- * A number of milliseconds after which the iframe triggers a timeout if the response is not present.
17
- * Defaults to `1020`.
18
- */
19
- iframeTimeout?: number;
20
- /**
21
- * When set it uses this value to prefix the call to the
22
- * OAuth 2 token endpoint. This is to support use cases when
23
- * the requests should be proxied through a server to avoid CORS problems.
24
- */
25
- tokenProxy?: string;
26
- /**
27
- * When set it encodes the token URI value before adding it to the
28
- * `tokenProxy`. This is to be used when the proxy takes the target
29
- * URL as a query parameter.
30
- */
31
- tokenProxyEncode?: boolean;
32
- }
33
- export interface IOpenIdProviderMetadata {
34
- /**
35
- * URL using the https scheme with no query or fragment component that the OP asserts as its Issuer Identifier.
36
- * If Issuer discovery is supported (see Section 2), this value MUST be identical to the issuer value returned
37
- * by the WebFinder. This also MUST be identical to the iss Claim value in ID Tokens issued from this Issuer.
38
- */
39
- issuer: string;
40
- /**
41
- * URL of the OP's OAuth 2.0 Authorization Endpoint [OpenID.Core].
42
- */
43
- authorization_endpoint: string;
44
- /**
45
- * URL of the OP's OAuth 2.0 Token Endpoint [OpenID.Core]. This is REQUIRED unless only the Implicit Flow is used.
46
- */
47
- token_endpoint?: string;
48
- /**
49
- * URL of the OP's UserInfo Endpoint [OpenID.Core]. This URL MUST use the https scheme and MAY contain port,
50
- * path, and query parameter components.
51
- */
52
- userinfo_endpoint?: string;
53
- /**
54
- * URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate
55
- * signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs
56
- * to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use)
57
- * parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage.
58
- * Although some algorithms allow the same key to be used for both signatures and encryption, doing so is
59
- * NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations
60
- * of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.
61
- */
62
- jwks_uri: string;
63
- /**
64
- * URL of the OP's Dynamic Client Registration Endpoint.
65
- */
66
- registration_endpoint?: string;
67
- /**
68
- * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports.
69
- * The server MUST support the openid scope value. Servers MAY choose not to advertise some supported
70
- * scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed,
71
- * if supported.
72
- */
73
- scopes_supported?: string[];
74
- /**
75
- * JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers
76
- * MUST support the code, id_token, and the token id_token Response Type values.
77
- */
78
- response_types_supported: string[];
79
- /**
80
- * JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports, as specified in OAuth 2.0
81
- * Multiple Response Type Encoding Practices [OAuth.Responses]. If omitted, the default for Dynamic OpenID Providers
82
- * is ["query", "fragment"].
83
- */
84
- response_modes_supported?: string[];
85
- /**
86
- * JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers
87
- * MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted,
88
- * the default value is ["authorization_code", "implicit"].
89
- */
90
- grant_types_supported?: string[];
91
- /**
92
- * JSON array containing a list of the Authentication Context Class References that this OP supports.
93
- */
94
- acr_values_supported?: string[];
95
- /**
96
- * JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise
97
- * and public.
98
- */
99
- subject_types_supported: string[];
100
- /**
101
- * JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to
102
- * encode the Claims in a JWT [JWT]. The algorithm RS256 MUST be included. The value none MAY be supported,
103
- * but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint
104
- * (such as when using the Authorization Code Flow).
105
- */
106
- id_token_signing_alg_values_supported: string[];
107
- /**
108
- * JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].
109
- */
110
- id_token_encryption_alg_values_supported?: string[];
111
- /**
112
- * JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].
113
- */
114
- id_token_encryption_enc_values_supported?: string[];
115
- /**
116
- * JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included.
117
- */
118
- userinfo_signing_alg_values_supported?: string[];
119
- /**
120
- * JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
121
- */
122
- userinfo_encryption_alg_values_supported?: string[];
123
- /**
124
- * JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].
125
- */
126
- userinfo_encryption_enc_values_supported?: string[];
127
- /**
128
- * JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256.
129
- */
130
- request_object_signing_alg_values_supported?: string[];
131
- /**
132
- * JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference.
133
- */
134
- request_object_encryption_alg_values_supported?: string[];
135
- /**
136
- * JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference.
137
- */
138
- request_object_encryption_enc_values_supported?: string[];
139
- /**
140
- * JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749].
141
- */
142
- token_endpoint_auth_methods_supported?: string[];
143
- /**
144
- * JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used.
145
- */
146
- token_endpoint_auth_signing_alg_values_supported?: string[];
147
- /**
148
- * JSON array containing a list of the display parameter values that the OpenID Provider supports. These values are described in Section 3.1.2.1 of OpenID Connect Core 1.0 [OpenID.Core].
149
- */
150
- display_values_supported?: string[];
151
- /**
152
- * JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. Values defined by this specification are normal, aggregated, and distributed. If omitted, the implementation supports only normal Claims.
153
- */
154
- claim_types_supported?: string[];
155
- /**
156
- * JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.
157
- */
158
- claims_supported?: string[];
159
- /**
160
- * URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation.
161
- */
162
- service_documentation?: string;
163
- /**
164
- * Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values.
165
- */
166
- claims_locales_supported?: string[];
167
- /**
168
- * Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values.
169
- */
170
- ui_locales_supported?: string[];
171
- /**
172
- * Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false.
173
- */
174
- claims_parameter_supported?: boolean;
175
- /**
176
- * Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false.
177
- */
178
- request_parameter_supported?: boolean;
179
- /**
180
- * Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is true.
181
- */
182
- request_uri_parameter_supported?: boolean;
183
- /**
184
- * Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. Pre-registration is REQUIRED when the value is true. If omitted, the default value is false.
185
- */
186
- require_request_uri_registration?: boolean;
187
- /**
188
- * URL that the OpenID Provider provides to the person registering the Client to read about the OP's requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given.
189
- */
190
- op_policy_uri?: string;
191
- /**
192
- * URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given.
193
- */
194
- op_tos_uri?: string;
195
- }
196
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/authorization/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,WAAW,CAAA;IAC3B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,sBAAsB,E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E,CAAA;IACnC;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,EAAE,CAAA;IAChC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,EAAE,CAAA;IACnC;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC/B;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAA;IACpC;;OAEG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAA;IACrC;;OAEG;IACH,+BAA+B,CAAC,EAAE,OAAO,CAAA;IACzC;;OAEG;IACH,gCAAgC,CAAC,EAAE,OAAO,CAAA;IAC1C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/authorization/types.ts"],"names":[],"mappings":"","sourcesContent":["/* eslint-disable max-len */\nexport interface OauthProcessingOptions {\n /**\n * The number of milliseconds of an interval to check the popup state.\n * Default to 250 ms.\n */\n popupPullTimeout?: number\n /**\n * The event target on which to listen to the redirect page `message` event.\n * This event should contain a list of authorization parameters returned by the authorization server.\n *\n * The library contains `oauth-popup.html` page that reads the data from the URL and posts it back to the opener.\n * However, you can create `tokenInfoTranslation` to map returned by the popup parameters to the onces used by the library.\n */\n messageTarget?: EventTarget\n /**\n * A number of milliseconds after which the iframe triggers a timeout if the response is not present.\n * Defaults to `1020`.\n */\n iframeTimeout?: number\n /**\n * When set it uses this value to prefix the call to the\n * OAuth 2 token endpoint. This is to support use cases when\n * the requests should be proxied through a server to avoid CORS problems.\n */\n tokenProxy?: string\n /**\n * When set it encodes the token URI value before adding it to the\n * `tokenProxy`. This is to be used when the proxy takes the target\n * URL as a query parameter.\n */\n tokenProxyEncode?: boolean\n}\n\nexport interface IOpenIdProviderMetadata {\n /**\n * URL using the https scheme with no query or fragment component that the OP asserts as its Issuer Identifier.\n * If Issuer discovery is supported (see Section 2), this value MUST be identical to the issuer value returned\n * by the WebFinder. This also MUST be identical to the iss Claim value in ID Tokens issued from this Issuer.\n */\n issuer: string\n /**\n * URL of the OP's OAuth 2.0 Authorization Endpoint [OpenID.Core].\n */\n authorization_endpoint: string\n /**\n * URL of the OP's OAuth 2.0 Token Endpoint [OpenID.Core]. This is REQUIRED unless only the Implicit Flow is used.\n */\n token_endpoint?: string\n /**\n * URL of the OP's UserInfo Endpoint [OpenID.Core]. This URL MUST use the https scheme and MAY contain port,\n * path, and query parameter components.\n */\n userinfo_endpoint?: string\n /**\n * URL of the OP's JSON Web Key Set [JWK] document. This contains the signing key(s) the RP uses to validate\n * signatures from the OP. The JWK Set MAY also contain the Server's encryption key(s), which are used by RPs\n * to encrypt requests to the Server. When both signing and encryption keys are made available, a use (Key Use)\n * parameter value is REQUIRED for all keys in the referenced JWK Set to indicate each key's intended usage.\n * Although some algorithms allow the same key to be used for both signatures and encryption, doing so is\n * NOT RECOMMENDED, as it is less secure. The JWK x5c parameter MAY be used to provide X.509 representations\n * of keys provided. When used, the bare key values MUST still be present and MUST match those in the certificate.\n */\n jwks_uri: string\n /**\n * URL of the OP's Dynamic Client Registration Endpoint.\n */\n registration_endpoint?: string\n /**\n * JSON array containing a list of the OAuth 2.0 [RFC6749] scope values that this server supports.\n * The server MUST support the openid scope value. Servers MAY choose not to advertise some supported\n * scope values even when this parameter is used, although those defined in [OpenID.Core] SHOULD be listed,\n * if supported.\n */\n scopes_supported?: string[]\n /**\n * JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. Dynamic OpenID Providers\n * MUST support the code, id_token, and the token id_token Response Type values.\n */\n response_types_supported: string[]\n /**\n * JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports, as specified in OAuth 2.0\n * Multiple Response Type Encoding Practices [OAuth.Responses]. If omitted, the default for Dynamic OpenID Providers\n * is [\"query\", \"fragment\"].\n */\n response_modes_supported?: string[]\n /**\n * JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. Dynamic OpenID Providers\n * MUST support the authorization_code and implicit Grant Type values and MAY support other Grant Types. If omitted,\n * the default value is [\"authorization_code\", \"implicit\"].\n */\n grant_types_supported?: string[]\n /**\n * JSON array containing a list of the Authentication Context Class References that this OP supports.\n */\n acr_values_supported?: string[]\n /**\n * JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise\n * and public.\n */\n subject_types_supported: string[]\n /**\n * JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token to\n * encode the Claims in a JWT [JWT]. The algorithm RS256 MUST be included. The value none MAY be supported,\n * but MUST NOT be used unless the Response Type used returns no ID Token from the Authorization Endpoint\n * (such as when using the Authorization Code Flow).\n */\n id_token_signing_alg_values_supported: string[]\n /**\n * JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].\n */\n id_token_encryption_alg_values_supported?: string[]\n /**\n * JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token to encode the Claims in a JWT [JWT].\n */\n id_token_encryption_enc_values_supported?: string[]\n /**\n * JSON array containing a list of the JWS [JWS] signing algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT]. The value none MAY be included.\n */\n userinfo_signing_alg_values_supported?: string[]\n /**\n * JSON array containing a list of the JWE [JWE] encryption algorithms (alg values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].\n */\n userinfo_encryption_alg_values_supported?: string[]\n /**\n * JSON array containing a list of the JWE encryption algorithms (enc values) [JWA] supported by the UserInfo Endpoint to encode the Claims in a JWT [JWT].\n */\n userinfo_encryption_enc_values_supported?: string[]\n /**\n * JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects, which are described in Section 6.1 of OpenID Connect Core 1.0 [OpenID.Core]. These algorithms are used both when the Request Object is passed by value (using the request parameter) and when it is passed by reference (using the request_uri parameter). Servers SHOULD support none and RS256.\n */\n request_object_signing_alg_values_supported?: string[]\n /**\n * JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference.\n */\n request_object_encryption_alg_values_supported?: string[]\n /**\n * JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. These algorithms are used both when the Request Object is passed by value and when it is passed by reference.\n */\n request_object_encryption_enc_values_supported?: string[]\n /**\n * JSON array containing a list of Client Authentication methods supported by this Token Endpoint. The options are client_secret_post, client_secret_basic, client_secret_jwt, and private_key_jwt, as described in Section 9 of OpenID Connect Core 1.0 [OpenID.Core]. Other authentication methods MAY be defined by extensions. If omitted, the default is client_secret_basic -- the HTTP Basic Authentication Scheme specified in Section 2.3.1 of OAuth 2.0 [RFC6749].\n */\n token_endpoint_auth_methods_supported?: string[]\n /**\n * JSON array containing a list of the JWS signing algorithms (alg values) supported by the Token Endpoint for the signature on the JWT [JWT] used to authenticate the Client at the Token Endpoint for the private_key_jwt and client_secret_jwt authentication methods. Servers SHOULD support RS256. The value none MUST NOT be used.\n */\n token_endpoint_auth_signing_alg_values_supported?: string[]\n /**\n * JSON array containing a list of the display parameter values that the OpenID Provider supports. These values are described in Section 3.1.2.1 of OpenID Connect Core 1.0 [OpenID.Core].\n */\n display_values_supported?: string[]\n /**\n * JSON array containing a list of the Claim Types that the OpenID Provider supports. These Claim Types are described in Section 5.6 of OpenID Connect Core 1.0 [OpenID.Core]. Values defined by this specification are normal, aggregated, and distributed. If omitted, the implementation supports only normal Claims.\n */\n claim_types_supported?: string[]\n /**\n * JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. Note that for privacy or other reasons, this might not be an exhaustive list.\n */\n claims_supported?: string[]\n /**\n * URL of a page containing human-readable information that developers might want or need to know when using the OpenID Provider. In particular, if the OpenID Provider does not support Dynamic Client Registration, then information on how to register Clients needs to be provided in this documentation.\n */\n service_documentation?: string\n /**\n * Languages and scripts supported for values in Claims being returned, represented as a JSON array of BCP47 [RFC5646] language tag values. Not all languages and scripts are necessarily supported for all Claim values.\n */\n claims_locales_supported?: string[]\n /**\n * Languages and scripts supported for the user interface, represented as a JSON array of BCP47 [RFC5646] language tag values.\n */\n ui_locales_supported?: string[]\n /**\n * Boolean value specifying whether the OP supports use of the claims parameter, with true indicating support. If omitted, the default value is false.\n */\n claims_parameter_supported?: boolean\n /**\n * Boolean value specifying whether the OP supports use of the request parameter, with true indicating support. If omitted, the default value is false.\n */\n request_parameter_supported?: boolean\n /**\n * Boolean value specifying whether the OP supports use of the request_uri parameter, with true indicating support. If omitted, the default value is true.\n */\n request_uri_parameter_supported?: boolean\n /**\n * Boolean value specifying whether the OP requires any request_uri values used to be pre-registered using the request_uris registration parameter. Pre-registration is REQUIRED when the value is true. If omitted, the default value is false.\n */\n require_request_uri_registration?: boolean\n /**\n * URL that the OpenID Provider provides to the person registering the Client to read about the OP's requirements on how the Relying Party can use the data provided by the OP. The registration process SHOULD display this URL to the person registering the Client if it is given.\n */\n op_policy_uri?: string\n /**\n * URL that the OpenID Provider provides to the person registering the Client to read about OpenID Provider's terms of service. The registration process SHOULD display this URL to the person registering the Client if it is given.\n */\n op_tos_uri?: string\n}\n"]}