@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":"CoreEngine.js","sourceRoot":"","sources":["../../../../src/runtime/http-engine/CoreEngine.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAGrC,OAAO,EA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IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACpB,IAAI,CAAC,gBAAgB,EAAE,CAAA;IACzB,CAAC;CACF","sourcesContent":["import net from 'net'\nimport { URL } from 'url'\nimport tls from 'tls'\nimport { EventEmitter } from 'events'\nimport { Logger, type ILogObj } from 'tslog'\nimport { IRequestLog } from '../../models/RequestLog.js'\nimport { IHttpRequest, HttpRequest } from '../../models/HttpRequest.js'\nimport { IRequestBaseConfig } from '../../models/RequestConfig.js'\nimport { IRequestAuthorization } from '../../models/RequestAuthorization.js'\n\nimport { HttpCertificate } from '../../models/ClientCertificate.js'\nimport { SentRequest } from '../../models/SentRequest.js'\nimport { Response } from '../../models/Response.js'\nimport { ErrorResponse } from '../../models/ErrorResponse.js'\nimport { RequestsSize } from '../../models/RequestsSize.js'\nimport { HttpResponse } from '../../models/HttpResponse.js'\nimport { ResponseRedirect } from '../../models/ResponseRedirect.js'\nimport { RequestLog } from '../../models/RequestLog.js'\nimport { RequestTime } from '../../models/RequestTime.js'\nimport { SerializableError } from '../../models/SerializableError.js'\nimport { ResponseAuthorization } from '../../models/ResponseAuthorization.js'\nimport { Headers } from '../../lib/headers/Headers.js'\nimport { getPort } from './RequestUtils.js'\n\nimport { HttpResponseParser, ParserCallbacks, RequestState } from './parsers/index.js'\nimport { ConnectionManager } from './connections/index.js'\nimport { AuthManager, type ProxyAuthCredentials } from './auth/index.js'\nimport { MessageBuilder } from './message/index.js'\nimport { HttpEngineErrorFactory } from './errors/index.js'\nimport { isMethodWithoutBody, HEADER_PROXY_AUTHORIZATION } from './constants.js'\nimport { decompress } from './compression/index.js'\nimport { checkServerIdentity } from './certificates/index.js'\nimport { readUrl, getHostHeader, getRedirectLocation, isRedirectLoop } from './url/index.js'\nimport { processRedirectCookies } from './cookies/index.js'\nimport { computeStats } from './statistics/index.js'\nimport { processResponse } from './response/index.js'\nimport { getCodeMessage } from './HttpErrorCodes.js'\nimport { createLogger } from '../../lib/logging/index.js'\nimport * as PayloadSupport from './PayloadSupport.js'\nimport { addContentLength } from './RequestUtils.js'\nimport { PayloadSerializer } from '../../lib/transformers/PayloadSerializer.js'\nimport { ProxyAuthenticationError } from './errors/HttpEngineErrors.js'\n\nexport interface HttpEngineOptions extends IRequestBaseConfig {\n /**\n * The authorization configuration to apply to the request.\n */\n authorization?: IRequestAuthorization[]\n /**\n * Logger object.\n */\n logger?: Logger<ILogObj>\n /**\n * A certificate to use with the request.\n */\n certificates?: HttpCertificate[]\n}\n\nexport interface RequestStats {\n firstReceiveTime?: number\n lastReceivedTime?: number\n messageStart?: number\n sentTime?: number\n connectionTime?: number\n lookupTime?: number\n connectedTime?: number\n secureStartTime?: number\n secureConnectedTime?: number\n startTime?: number\n responseTime?: number\n receivingTime?: number\n}\n\nexport interface ResponseErrorInit {\n code?: number | string\n message?: string\n}\n\nexport interface BeforeRedirectDetail {\n location: string\n returnValue: boolean\n}\n\nexport interface HeadersReceivedDetail {\n value: string\n returnValue: boolean\n}\n\nexport interface IRequestAuthState {\n method: 'ntlm'\n state: number\n headers?: string\n challengeHeader?: string\n}\n\nexport const mainPromiseSymbol = Symbol('mainPromise')\n\n/**\n * API Client's HTTP engine with refactored parsing and connection handling.\n * An HTTP 1.1 engine working directly on the socket. It communicates with the remote machine and\n * collects stats about the request and response.\n */\nexport class CoreEngine extends EventEmitter {\n request: HttpRequest\n opts: HttpEngineOptions\n logger: Logger<ILogObj>\n\n /**\n * The current sent request\n */\n sentRequest: SentRequest\n\n redirects: ResponseRedirect[] = []\n /**\n * When true the request has been aborted.\n */\n aborted = false\n /**\n * Parsed value of the request URL.\n */\n uri: URL\n\n socket?: net.Socket\n /**\n * Host header can be different than registered URL because of\n * `hosts` rules.\n * If a rule changes host value of the URL the original URL host value\n * is used when generating the request and not overwritten one.\n * This way virtual hosts can be tested using hosts.\n */\n hostHeader: string | undefined\n\n protected hostTestReg = /^\\s*host\\s*:/im\n /**\n * Set when the request is redirected.\n */\n redirecting = false\n\n /**\n * The response headers.\n * The object may be empty when the response is not set.\n */\n currentHeaders = new Headers()\n\n /**\n * The response object build during the execution.\n */\n currentResponse?: Response\n\n /**\n * Keeps the raw body in a temporary buffer while processing the response.\n */\n _rawBody?: Buffer\n\n stats: RequestStats = {}\n\n auth?: IRequestAuthState\n\n protected mainResolver?: (log: IRequestLog) => void\n protected mainRejecter?: (err: SerializableError) => void;\n [mainPromiseSymbol]?: Promise<IRequestLog>\n\n protected _signal?: AbortSignal\n\n // CoreEngine specific properties\n private parser: HttpResponseParser\n private connectionManager: ConnectionManager\n private authManager: AuthManager\n private messageBuilder: MessageBuilder\n\n hasProxy: boolean\n isProxyTunnel: boolean\n isProxySsl: boolean\n\n /**\n * @return True if following redirects is allowed.\n */\n get followRedirects(): boolean {\n const { opts } = this\n if (typeof opts.followRedirects === 'boolean') {\n return opts.followRedirects\n }\n return true\n }\n\n /**\n * The request timeout.\n */\n get timeout(): number {\n const { opts } = this\n if (typeof opts.timeout === 'number') {\n return opts.timeout\n }\n return 0\n }\n\n /**\n * The abort signal to set on this request.\n * Aborts the request when the signal fires.\n */\n get signal(): AbortSignal | undefined {\n return this._signal\n }\n\n set signal(value: AbortSignal | undefined) {\n const old = this._signal\n if (old === value) {\n return\n }\n this._signal = value\n if (old) {\n old.removeEventListener('abort', this._abortHandler)\n }\n if (value) {\n value.addEventListener('abort', this._abortHandler)\n }\n }\n\n constructor(request: IHttpRequest, opts: HttpEngineOptions = {}) {\n super()\n this.request = new HttpRequest({ ...request })\n this.opts = opts\n this.logger = this.setupLogger(opts)\n this.sentRequest = new SentRequest({ ...request, startTime: Date.now() })\n this.uri = this.readUrl(request.url)\n this.hostHeader = this.getHostHeader(request.url)\n\n // CoreEngine specific initialization\n this.hasProxy = !!this.opts.proxy\n this.isProxyTunnel = this.hasProxy && this.request.url.startsWith('https:')\n this.isProxySsl = !!this.opts.proxy && this.opts.proxy.startsWith('https:')\n\n // Initialize the HTTP response parser\n this.parser = new HttpResponseParser(this.logger, this.createParserCallbacks())\n\n // Initialize the connection manager\n this.connectionManager = new ConnectionManager(this.logger, this.stats)\n\n // Initialize the auth manager\n const proxyCredentials: ProxyAuthCredentials = {\n proxyUsername: this.opts.proxyUsername,\n proxyPassword: this.opts.proxyPassword,\n proxyAuthorization: this.opts.proxyAuthorization,\n }\n\n this.authManager = new AuthManager({\n logger: this.logger,\n proxyCredentials,\n })\n\n // Initialize the message builder\n this.messageBuilder = new MessageBuilder({\n logger: this.logger,\n request: this.request as IHttpRequest,\n hasProxy: this.hasProxy,\n isProxyTunnel: this.isProxyTunnel,\n hostHeader: this.hostHeader,\n })\n\n this._abortHandler = this._abortHandler.bind(this)\n if (opts.signal) {\n this.signal = opts.signal\n }\n }\n\n /**\n * Creates a logger object to log debug output.\n */\n setupLogger(opts: HttpEngineOptions = {}): Logger<ILogObj> {\n if (opts.logger) {\n return opts.logger\n }\n return createLogger()\n }\n\n /**\n * Updates the `uri` property from current request URL\n */\n readUrl(value: string): URL {\n return readUrl(value, { hosts: this.opts.hosts })\n }\n\n /**\n * Get host header for the request\n */\n getHostHeader(url: string): string | undefined {\n return getHostHeader(url, { hosts: this.opts.hosts })\n }\n\n /**\n * Aborts current request.\n * It emits `error` event\n */\n abort(): void {\n this.logger.debug('Aborting the request...')\n this.aborted = true\n if (!this.socket) {\n return\n }\n this.socket.removeAllListeners()\n if (this.socket.destroyed) {\n this.socket = undefined\n return\n }\n this.socket.pause()\n this.socket.destroy()\n this.socket = undefined\n }\n\n /**\n * Handler for the `abort` event on the `AbortSignal`.\n */\n protected _abortHandler(): void {\n const e = new SerializableError('Request aborted', 3)\n this._errorRequest(e)\n this.abort()\n }\n\n /**\n * Create parser callbacks to handle parsed data\n */\n private createParserCallbacks(): ParserCallbacks {\n return {\n onStatusParsed: (status: number, statusText: string) => {\n this.logger.debug('onStatusParsed called', status, statusText)\n const response = Response.fromValues(status, statusText)\n response.loadingTime = 0\n this.currentResponse = response\n },\n onHeadersParsed: (headers: Headers) => {\n this.logger.debug('onHeadersParsed called')\n this.currentHeaders = headers\n if (this.currentResponse) {\n this.currentResponse.headers = headers.toString()\n }\n },\n onBodyComplete: (body: Buffer) => {\n this.logger.debug('onBodyComplete called')\n this._rawBody = body\n this._reportResponse().catch((error) => {\n this.logger.error('Error in _reportResponse:', error)\n this._errorRequest({\n message: `Response processing failed: ${error instanceof Error ? error.message : 'Unknown error'}`,\n })\n })\n },\n onError: (error: Error) => {\n this.logger.debug('onError called', error)\n this._errorRequest({\n message: error.message || 'Unknown error occurred',\n })\n },\n onAbort: () => {\n this.logger.debug('onAbort called')\n this.abort()\n },\n emit: (event: string, detail?: unknown) => {\n this.logger.debug('emit called', event, detail)\n this.emit(event, detail)\n },\n }\n }\n\n /**\n * Sends the request\n */\n async send(): Promise<IRequestLog> {\n const promise = this.wrapExecution()\n this.sendRequest()\n return promise\n }\n\n private async sendRequest(): Promise<void> {\n try {\n // Use the connection manager to establish the connection\n const socket = await this.establishConnection()\n if (!socket || this.aborted) {\n return\n }\n\n const message = await this.prepareMessage()\n await this.writeMessage(message)\n } catch (cause) {\n if (cause instanceof ProxyAuthenticationError) {\n this.currentHeaders = new Headers(cause.response.headers)\n const currentResponse = Response.fromValues(\n cause.response.statusCode || 401,\n cause.response.statusMessage,\n this.currentHeaders.toString()\n )\n currentResponse.loadingTime = 0\n this.currentResponse = currentResponse\n if (cause.head.length) {\n this._rawBody = cause.head\n currentResponse.payload = PayloadSerializer.stringifyBuffer(cause.head)\n }\n this._publishResponse()\n return\n }\n const e = cause as SerializableError\n const err = new SerializableError(e.message, { cause: e })\n if (e.code || e.code === 0) {\n err.code = e.code as string\n }\n this.abort()\n this._errorRequest({\n message: err.message,\n code: err.code,\n })\n }\n }\n\n /**\n * Establish connection using the connection manager\n */\n private async establishConnection(): Promise<net.Socket> {\n const port = getPort(this.uri.port, this.uri.protocol)\n const host = this.uri.hostname\n const protocol = this.uri.protocol\n const socket = await this.connectionManager.createConnection(host, port, protocol, this.opts)\n const { timeout } = this\n if (typeof timeout === 'number' && timeout > 0) {\n socket.setTimeout(timeout)\n }\n this.socket = socket\n this._addSocketListeners(socket)\n socket.resume()\n return socket\n }\n\n /**\n * Decompresses received body if `content-encoding` header is set.\n */\n async decompress(body?: Buffer): Promise<Buffer | undefined> {\n return decompress(body, {\n aborted: this.aborted,\n headers: this.currentHeaders,\n })\n }\n\n /**\n * Prepares headers list to be send to the remote machine.\n * If `defaultHeaders` option is set then it adds `user-agent` and `accept`\n * headers.\n */\n prepareHeaders(headers: Headers, withPayload = false): void {\n if (this.opts.defaultHeaders) {\n if (!headers.has('user-agent')) {\n if (this.opts.defaultUserAgent) {\n headers.set('user-agent', this.opts.defaultUserAgent)\n } else {\n headers.set('user-agent', 'api client')\n }\n }\n if (!headers.has('accept')) {\n if (this.opts.defaultAccept) {\n headers.set('accept', this.opts.defaultAccept)\n } else {\n headers.set('accept', '*/*')\n }\n }\n }\n if (withPayload) {\n if (!headers.has('content-type') && this.request.payloadOptions) {\n if (this.request.payloadOptions.mime) {\n headers.set('content-type', this.request.payloadOptions.mime)\n }\n }\n }\n }\n\n /**\n * Cleans the state after finished.\n */\n _cleanUp(): void {\n this.redirects = []\n this.currentHeaders = new Headers()\n this.currentResponse = undefined\n this._rawBody = undefined\n this.redirecting = false\n this.stats = {}\n this.mainRejecter = undefined\n this.mainResolver = undefined\n this._clearSocketEventListeners()\n this.parser.reset()\n }\n\n /**\n * Cleans up the state for redirect.\n */\n _cleanUpRedirect(): void {\n this.currentHeaders = new Headers()\n this.currentResponse = undefined\n this._rawBody = undefined\n this.stats = {}\n this._clearSocketEventListeners()\n this.parser.reset()\n }\n\n /**\n * Reports response when redirected.\n */\n _reportRedirect(status: number): boolean {\n const { request, currentHeaders } = this\n if (!currentHeaders) {\n return false\n }\n const rerUrl = currentHeaders.get('location')\n // https://github.com/jarrodek/socket-fetch/issues/13\n const redirectOptions = this.getRedirectOptions(status, request.method, rerUrl)\n if (!redirectOptions.redirect) {\n return false\n }\n this.redirecting = true\n setTimeout(() => this._redirectRequest(redirectOptions))\n return true\n }\n\n /**\n * Get redirect options based on status and method\n */\n private getRedirectOptions(\n status: number,\n method?: string,\n location?: string\n ): { redirect: boolean; location?: string; forceGet?: boolean } {\n if (!location) {\n return { redirect: false }\n }\n\n // 301, 302, 303, 307, 308 are redirect status codes\n if (status >= 300 && status < 400) {\n const forceGet = status === 301 || status === 302 || status === 303\n return { redirect: true, location, forceGet }\n }\n\n return { redirect: false }\n }\n\n /**\n * Creates a response and adds it to the redirects list and redirects\n * the request to the new location.\n */\n async _redirectRequest(options: { redirect: boolean; location?: string; forceGet?: boolean }): Promise<void> {\n if (this.followRedirects === false) {\n this._publishResponse()\n return\n }\n const location = options.location && this.getRedirectLocation(options.location, this.request.url)\n if (!location) {\n this._errorRequest({ code: 302 })\n return\n }\n\n // check if this is infinite loop\n if (this.isRedirectLoop(location, this.redirects)) {\n this._errorRequest({ code: 310 })\n return\n }\n\n const detail: BeforeRedirectDetail = {\n location,\n returnValue: true,\n }\n this.emit('beforeredirect', detail)\n if (!detail.returnValue) {\n this._publishResponse()\n return\n }\n try {\n const responseCookies = this.currentHeaders.get('set-cookie')\n const response = await this._createRedirectResponse(location)\n this.redirects.push(response)\n this._cleanUpRedirect()\n if (responseCookies) {\n this._processRedirectCookies(responseCookies, location)\n }\n this.redirecting = false\n\n this.request.url = location\n this.sentRequest.url = location\n if (options.forceGet) {\n this.request.method = 'GET'\n }\n this.uri = this.readUrl(location)\n this.hostHeader = this.getHostHeader(location)\n // No idea why but without setTimeout the program loses it's\n // scope after calling the function.\n setTimeout(() => this.send())\n } catch (e) {\n const error = e as Error\n this._errorRequest({\n message: (error && error.message) || 'Unknown error occurred',\n })\n }\n }\n\n /**\n * Get redirect location\n */\n private getRedirectLocation(location: string, currentUrl: string): string {\n return getRedirectLocation(location, currentUrl)\n }\n\n /**\n * Check if redirect is a loop\n */\n private isRedirectLoop(location: string, redirects: ResponseRedirect[]): boolean {\n return isRedirectLoop(location, redirects)\n }\n\n /**\n * @param location The redirect location.\n * @return Redirect response object\n */\n async _createRedirectResponse(location: string): Promise<ResponseRedirect> {\n const { currentResponse = new Response() } = this\n\n const response = HttpResponse.fromValues(\n currentResponse.status,\n currentResponse.statusText,\n currentResponse.headers\n )\n if (currentResponse.payload) {\n response.payload = currentResponse.payload\n }\n\n const body = await this.decompress(this._rawBody)\n if (body) {\n await response.writePayload(body)\n currentResponse.payload = response.payload\n }\n\n const redirect = ResponseRedirect.fromValues(\n location,\n response.toJSON(),\n this.stats.startTime,\n this.stats.responseTime\n )\n redirect.timings = this._computeStats(this.stats)\n\n return redirect\n }\n\n /**\n * Creates a response object\n */\n async _createResponse(): Promise<Response> {\n if (this.aborted) {\n throw new Error(`Request aborted.`)\n }\n const { currentResponse } = this\n if (!currentResponse) {\n throw new Error(`Tried to create a response but no response data is set.`)\n }\n const { status } = currentResponse\n if (status === undefined) {\n throw new Error(`The response status is empty.\nIt means that the successful connection wasn't made.\nCheck your request parameters.`)\n }\n const body = await this.decompress(this._rawBody)\n const response = Response.fromValues(status, currentResponse.statusText, currentResponse.headers)\n response.timings = this._computeStats(this.stats)\n response.loadingTime = response.timings.total()\n if (body) {\n await response.writePayload(body)\n currentResponse.payload = response.payload\n }\n if (status === 401) {\n this.logger.silly('Setting auth on the response...')\n response.auth = this._getAuth()\n }\n return response\n }\n\n /**\n * Finishes the response with error message.\n */\n _errorRequest(opts: ResponseErrorInit): void {\n const { currentResponse } = this\n this.aborted = true\n let message\n if (opts.code && !opts.message) {\n message = getCodeMessage(opts.code)\n } else if (opts.message) {\n message = opts.message\n }\n message = message || 'Unknown error occurred'\n const error = new SerializableError(message, opts.code)\n const log = RequestLog.fromRequest(this.sentRequest.toJSON())\n const response = ErrorResponse.fromError(error)\n log.response = response\n if (currentResponse && currentResponse.status) {\n response.status = currentResponse.status\n response.statusText = currentResponse.statusText\n response.headers = currentResponse.headers\n response.payload = currentResponse.payload\n }\n this.finalizeRequest(log)\n this._cleanUp()\n }\n\n /**\n * Generates authorization info object from response.\n */\n _getAuth(): ResponseAuthorization {\n this.logger.debug('Getting auth from response headers')\n let auth = this.currentHeaders.get('www-authenticate')\n const result = new ResponseAuthorization()\n if (auth) {\n this.logger.silly('Auth header found', auth)\n auth = auth.toLowerCase()\n if (auth.indexOf('ntlm') !== -1) {\n this.logger.silly('Detected NTLM authorization')\n result.method = 'ntlm'\n } else if (auth.indexOf('basic') !== -1) {\n result.method = 'basic'\n this.logger.silly('Detected basic authorization')\n } else if (auth.indexOf('digest') !== -1) {\n result.method = 'digest'\n this.logger.silly('Detected digest authorization')\n }\n }\n return result\n }\n\n /**\n * Creates HAR 1.2 timings object from stats.\n */\n _computeStats(stats: RequestStats): RequestTime {\n return computeStats(stats)\n }\n\n /**\n * Handles cookie exchange when redirecting the request.\n */\n _processRedirectCookies(responseCookies: string, location: string): void {\n this.request.headers = processRedirectCookies(\n responseCookies,\n location,\n this.request.url,\n this.request.toHeadersString()\n )\n }\n\n /**\n * Checks certificate identity using TLS api.\n */\n _checkServerIdentity(host: string, cert: tls.PeerCertificate): Error | undefined {\n return checkServerIdentity(host, cert)\n }\n\n /**\n * Clears event listeners of the socket object,\n */\n _clearSocketEventListeners(): void {\n if (!this.socket) {\n return\n }\n this.socket.removeAllListeners('error')\n this.socket.removeAllListeners('timeout')\n this.socket.removeAllListeners('end')\n }\n\n /**\n * Called with the `send()` function to initialize the main promise returned by the send function.\n * The send function returns a promise that is resolved when the request finish.\n */\n protected wrapExecution(): Promise<IRequestLog> {\n let promise: Promise<IRequestLog>\n if (this[mainPromiseSymbol]) {\n promise = this[mainPromiseSymbol] as Promise<IRequestLog>\n } else {\n promise = new Promise((resolve, reject) => {\n this.mainResolver = resolve\n this.mainRejecter = reject\n })\n this[mainPromiseSymbol] = promise\n }\n return promise\n }\n\n /**\n * Called by the request finalizer or error finalized to report the response.\n */\n protected finalizeRequest(log: RequestLog | SerializableError): void {\n const { mainRejecter, mainResolver } = this\n if (!mainRejecter || !mainResolver) {\n return\n }\n\n if (log instanceof SerializableError) {\n mainRejecter(log)\n } else {\n mainResolver(log.toJSON())\n }\n this.mainRejecter = undefined\n this.mainResolver = undefined\n this[mainPromiseSymbol] = undefined\n }\n\n /**\n * Prepares an HTTP message from API Client's request object.\n */\n async prepareMessage(): Promise<Buffer> {\n let payload = this.request.payload\n if (isMethodWithoutBody(this.request.method)) {\n payload = undefined\n }\n const headers = new Headers(this.request.toHeadersString())\n this.prepareHeaders(headers, !!payload)\n const auth = this.hasProxy && !this.isProxyTunnel ? this._proxyAuthHeader() : undefined\n if (auth) {\n headers.set(HEADER_PROXY_AUTHORIZATION, auth)\n }\n const buffer = PayloadSupport.payloadToBuffer(headers, payload)\n if (buffer) {\n addContentLength(this.request.method || 'GET', buffer, headers)\n }\n\n this._handleAuthorization(headers)\n this.sentRequest.headers = headers.toString()\n\n // Update message builder with current host header\n this.messageBuilder.updateHostHeader(this.hostHeader || '')\n\n const message = this.messageBuilder.buildMessage(headers, buffer)\n if (this.auth) {\n // This restores altered by authorization original headers\n // so it can be safe to use when redirecting\n if (this.auth.headers) {\n this.request.headers = this.auth.headers\n delete this.auth.headers\n }\n }\n return message\n }\n\n /**\n * Sends a data to a socket.\n */\n writeMessage(buffer: Buffer): Promise<void> {\n this.logger.debug(`Writing the message to the socket...`)\n let msg = buffer.toString()\n const limit = this.opts.sentMessageLimit\n if (limit && limit > 0 && msg.length >= limit) {\n msg = msg.substring(0, limit)\n msg += ' ...'\n }\n this.sentRequest.httpMessage = msg\n const startTime = Date.now()\n this.stats.startTime = startTime\n this.sentRequest.startTime = startTime\n\n this.stats.messageStart = Date.now()\n return new Promise((resolve) => {\n this.socket?.write(buffer, () => {\n this.logger.debug(`The message has been sent.`)\n this.stats.sentTime = Date.now()\n try {\n this.emit('loadstart')\n } catch {\n //\n }\n resolve()\n })\n })\n }\n\n /**\n * Alters authorization header depending on the `auth` object\n */\n _handleAuthorization(headers: Headers): void {\n const { authorization } = this.opts\n this.authManager.handleRequestAuthorization(headers, authorization, this.uri.host)\n\n // Sync the auth state from AuthManager to parent class for compatibility\n const authState = this.authManager.getAuthState()\n if (authState) {\n this.auth = authState\n }\n }\n\n /**\n * Generate proxy authorization header\n */\n _proxyAuthHeader(): string | undefined {\n return this.authManager.generateProxyAuthHeader()\n }\n\n /**\n * Add event listeners to existing socket.\n */\n _addSocketListeners(socket: net.Socket): net.Socket {\n let received = false\n socket.on('data', (data) => {\n this.logger.debug(`Received server data from the socket...`)\n if (!received) {\n const now = Date.now()\n this.stats.firstReceiveTime = now\n this.emit('firstbyte')\n received = true\n }\n data = Buffer.from(data)\n try {\n // Use the new parser instead of the old parsing methods\n this.parser.processData(data)\n this.logger.debug('Parser state:', this.parser.getState())\n } catch (e) {\n this.logger.error('Error in _addSocketListeners:', e)\n const err = e as Error\n this._errorRequest({\n message: err.message || 'Unknown error occurred',\n })\n return\n }\n })\n socket.once('timeout', () => {\n this.logger.debug(`Socket timeout occurred after ${this.timeout}ms.`)\n this.parser.abort()\n this._errorRequest(HttpEngineErrorFactory.connectionTimeout(this.timeout))\n socket.destroy()\n })\n socket.on('end', () => {\n const endTime = Date.now()\n this.logger.debug(`Server connection ended.`)\n socket.removeAllListeners('timeout')\n socket.removeAllListeners('error')\n socket.removeAllListeners('data')\n this.stats.lastReceivedTime = endTime\n this.sentRequest.endTime = endTime\n // console.log(`Socket ended at ${endTime} in state`, this.parser.getState())\n if (this.parser.getState() !== RequestState.Done) {\n if (!this.currentResponse) {\n const message = `Connection closed without receiving any data.`\n this.logger.error(message)\n const e = HttpEngineErrorFactory.connectionError(message, 100)\n this._errorRequest(e)\n } else {\n this.emit('loadend')\n this._publishResponse()\n }\n }\n })\n socket.once('error', (err) => {\n this.logger.error(`Socket error occurred: ${err.message}`)\n socket.removeAllListeners('timeout')\n this._errorRequest(err)\n })\n return socket\n }\n\n /**\n * Reports response after processing it.\n */\n async _reportResponse(): Promise<void> {\n this._clearSocketEventListeners()\n const { aborted, currentResponse } = this\n if (aborted || !currentResponse) {\n return\n }\n const { status } = currentResponse\n\n const endTime = Date.now()\n this.stats.lastReceivedTime = endTime\n this.sentRequest.endTime = endTime\n\n const result = processResponse({\n status,\n currentResponse,\n currentHeaders: this.currentHeaders,\n followRedirects: this.followRedirects,\n auth: this.auth,\n aborted: this.aborted,\n })\n\n switch (result.action) {\n case 'redirect':\n if (this._reportRedirect(status)) {\n this.closeClient()\n return\n }\n break\n case 'auth':\n if (result.data?.method === 'ntlm') {\n await this.handleNtlmResponse()\n return\n }\n break\n case 'publish':\n this.closeClient()\n this.emit('loadend')\n this._publishResponse()\n break\n case 'abort':\n // Already aborted, do nothing\n break\n }\n }\n\n /**\n * Generate response object and publish it to the listeners.\n */\n async _publishResponse(): Promise<void> {\n if (this.aborted) {\n return\n }\n try {\n const response = await this._createResponse()\n const result = RequestLog.fromRequestResponse(this.sentRequest.toJSON(), response.toJSON())\n if (this.redirects.length) {\n result.redirects = this.redirects\n }\n result.size = new RequestsSize()\n if (this.sentRequest.httpMessage) {\n result.size.request = Buffer.from(this.sentRequest.httpMessage).length\n }\n if (response.payload) {\n if (typeof response.payload === 'string') {\n result.size.response = response.payload.length\n } else {\n result.size.response = response.payload.data.length\n }\n }\n this.finalizeRequest(result)\n } catch (e) {\n const error = e as Error\n this.logger.error('Error in _publishResponse:', error)\n this._errorRequest({\n message: (error && error.message) || 'Unknown error occurred',\n })\n }\n this.abort()\n this._cleanUp()\n }\n\n /**\n * closes the connection, if any\n */\n closeClient(): void {\n if (this.socket && !this.socket.destroyed) {\n this.logger.debug('Closing the socket connection...')\n this.socket.destroy()\n }\n }\n\n /**\n * Handles the response with NTLM authorization\n */\n async handleNtlmResponse(): Promise<void> {\n this.logger.debug('Handling NTLM response...')\n this.logger.debug('Current headers:', this.currentHeaders?.toString())\n this.logger.debug('Auth state:', this.authManager.getAuthState())\n\n const shouldRetry = this.authManager.handleNtlmResponse(this.currentHeaders)\n this.logger.debug('Should retry NTLM:', shouldRetry)\n\n if (shouldRetry) {\n // Update the parent auth state to match AuthManager state\n this.auth = this.authManager.getAuthState()\n this._cleanUpRedirect()\n\n try {\n const message = await this.prepareMessage()\n await this.writeMessage(message)\n // Don't return here - let the socket listeners handle the response\n } catch (error) {\n this.logger.error('Failed to retry NTLM authentication:', error)\n this._errorRequest({\n message: `NTLM retry failed: ${error instanceof Error ? error.message : 'Unknown error'}`,\n })\n }\n return\n }\n\n this.logger.debug('NTLM authentication completed')\n // Clear both auth states\n this.authManager.clearAuthState()\n delete this.auth\n this.emit('loadend')\n this._publishResponse()\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CoreEngine2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CoreEngine2.d.ts","sourceRoot":"","sources":["../../../../src/runtime/http-engine/CoreEngine2.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CoreEngine2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CoreEngine2.js","sourceRoot":"","sources":["../../../../src/runtime/http-engine/CoreEngine2.ts"],"names":[],"mappings":"","sourcesContent":[""]}
@@ -1,50 +0,0 @@
1
- import { IMultipartBody, IBlobMeta, IFileMeta } from '../../lib/transformers/PayloadSerializer.js';
2
- export interface FormDataResult {
3
- /**
4
- * The contents of the form data
5
- */
6
- buffer: Buffer;
7
- /**
8
- * Content type for the form data.
9
- */
10
- type: string;
11
- }
12
- interface IPart {
13
- name: string;
14
- type: 'file' | 'string';
15
- meta?: IBlobMeta | IFileMeta;
16
- contents: Buffer;
17
- }
18
- /**
19
- * In API Client (old old version of ARC) multipart data is encoded
20
- * as serializable array of buffer views. This class transforms these data
21
- * into a valid form data contents as a Buffer and generates content type header with the proper boundary.
22
- */
23
- export declare class FormDataNode {
24
- protected _boundary?: string;
25
- protected _parts: IPart[];
26
- get boundary(): string;
27
- protected _generateBoundary(): string;
28
- /**
29
- *
30
- * @param parts The serialized FormData body
31
- * @returns
32
- */
33
- getBody(parts: IMultipartBody[]): FormDataResult;
34
- /**
35
- * @returns The value of the content type header with the generate boundary.
36
- */
37
- getContentType(): string;
38
- protected _append(part: IMultipartBody): void;
39
- protected _appendLegacy(part: IMultipartBody): void;
40
- protected _readDataUrlMime(dataUrl: string): string | undefined;
41
- protected _generate(): Buffer;
42
- protected _getHeader(part: IPart): Buffer;
43
- protected _getFooter(): Buffer;
44
- }
45
- /**
46
- * Processes the form data.
47
- */
48
- export default function (parts: IMultipartBody[]): FormDataResult;
49
- export {};
50
- //# sourceMappingURL=FormData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormData.d.ts","sourceRoot":"","sources":["../../../../src/runtime/http-engine/FormData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,SAAS,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAErH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAA;IACvB,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAC5B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAKD;;;;GAIG;AACH,qBAAa,YAAY;IACvB,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE5B,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,CAAK;IAE9B,IAAI,QAAQ,IAAI,MAAM,CAKrB;IAED,SAAS,CAAC,iBAAiB,IAAI,MAAM;IAQrC;;;;OAIG;IACH,OAAO,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,cAAc;IAShD;;OAEG;IACH,cAAc,IAAI,MAAM;IAIxB,SAAS,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;IA+B7C,SAAS,CAAC,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI;IAgCnD,SAAS,CAAC,gBAAgB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAS/D,SAAS,CAAC,SAAS,IAAI,MAAM;IAW7B,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,GAAG,MAAM;IAoBzC,SAAS,CAAC,UAAU,IAAI,MAAM;CAG/B;AAkBD;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,KAAK,EAAE,cAAc,EAAE,GAAG,cAAc,CAGhE"}
@@ -1,167 +0,0 @@
1
- import { PayloadSerializer } from '../../lib/transformers/PayloadSerializer.js';
2
- const DefaultContentType = 'application/octet-stream';
3
- const LineBreak = '\r\n';
4
- /**
5
- * In API Client (old old version of ARC) multipart data is encoded
6
- * as serializable array of buffer views. This class transforms these data
7
- * into a valid form data contents as a Buffer and generates content type header with the proper boundary.
8
- */
9
- export class FormDataNode {
10
- _boundary;
11
- _parts = [];
12
- get boundary() {
13
- if (!this._boundary) {
14
- this._boundary = this._generateBoundary();
15
- }
16
- return this._boundary;
17
- }
18
- _generateBoundary() {
19
- let boundary = '--------------------------';
20
- for (let i = 0; i < 24; i++) {
21
- boundary += Math.floor(Math.random() * 10).toString(16);
22
- }
23
- return boundary;
24
- }
25
- /**
26
- *
27
- * @param parts The serialized FormData body
28
- * @returns
29
- */
30
- getBody(parts) {
31
- parts.forEach((part) => this._append(part));
32
- const buffer = this._generate();
33
- return {
34
- buffer,
35
- type: this.getContentType(),
36
- };
37
- }
38
- /**
39
- * @returns The value of the content type header with the generate boundary.
40
- */
41
- getContentType() {
42
- return `multipart/form-data; boundary=${this.boundary}`;
43
- }
44
- _append(part) {
45
- if (part.enabled === false) {
46
- return;
47
- }
48
- if (typeof part.isFile === 'boolean') {
49
- this._appendLegacy(part);
50
- return;
51
- }
52
- const { name, value } = part;
53
- if (typeof value === 'string') {
54
- this._parts.push({
55
- name,
56
- type: 'string',
57
- contents: Buffer.from(value),
58
- });
59
- return;
60
- }
61
- let buffer;
62
- if (value.type === 'file') {
63
- buffer = PayloadSerializer.deserializeFileBuffer(value);
64
- }
65
- else {
66
- buffer = PayloadSerializer.deserializeBlobBuffer(value);
67
- }
68
- this._parts.push({
69
- name,
70
- type: 'file',
71
- contents: buffer,
72
- meta: value.meta,
73
- });
74
- }
75
- _appendLegacy(part) {
76
- if (part.isFile) {
77
- const buffer = PayloadSerializer.deserializeBlobBufferLegacy(part.value);
78
- this._parts.push({
79
- name: part.name,
80
- type: 'file',
81
- contents: buffer,
82
- meta: {
83
- mime: this._readDataUrlMime(part.value) || DefaultContentType,
84
- name: part.fileName,
85
- },
86
- });
87
- }
88
- else if (part.type) {
89
- const buffer = PayloadSerializer.deserializeBlobBufferLegacy(part.value);
90
- this._parts.push({
91
- name: part.name,
92
- type: 'file',
93
- contents: buffer,
94
- meta: {
95
- mime: part.type || DefaultContentType,
96
- },
97
- });
98
- }
99
- else {
100
- const buffer = Buffer.from(part.value);
101
- this._parts.push({
102
- name: part.name,
103
- type: 'string',
104
- contents: buffer,
105
- });
106
- }
107
- }
108
- _readDataUrlMime(dataUrl) {
109
- const arr = dataUrl.split(',');
110
- const matchedMime = arr[0].match(/:(.*?);/);
111
- if (!matchedMime) {
112
- return undefined;
113
- }
114
- return matchedMime[1];
115
- }
116
- _generate() {
117
- const result = [];
118
- for (const part of this._parts) {
119
- result.push(this._getHeader(part));
120
- result.push(part.contents);
121
- result.push(Buffer.from(LineBreak));
122
- }
123
- result.push(this._getFooter());
124
- return Buffer.concat(result);
125
- }
126
- _getHeader(part) {
127
- const disposition = ['Content-Disposition: form-data', `name="${part.name}"`];
128
- let mime;
129
- if (part.type === 'file') {
130
- const meta = part.meta;
131
- if (meta) {
132
- // "blob" is added by browsers by default.
133
- disposition.push(`filename="${meta.name || 'blob'}"`);
134
- mime = meta.mime || DefaultContentType;
135
- }
136
- }
137
- const headers = [`--${this.boundary}`, disposition.join('; ')];
138
- if (mime) {
139
- headers.push(`Content-Type: ${mime}`);
140
- }
141
- headers.push(LineBreak);
142
- return Buffer.from(headers.join(LineBreak));
143
- }
144
- _getFooter() {
145
- return Buffer.from(`--${this.boundary}--`);
146
- }
147
- }
148
- // --7MA4YWxkTrZu0gW
149
- // Content-Disposition: form-data; name="a"; filename="kubectrl-apimodeling.sh"
150
- // Content-Type: application/x-shellscript
151
- // {…file content…}
152
- // --7MA4YWxkTrZu0gW
153
- // Content-Disposition: form-data; name="t1"
154
- // v1
155
- // --7MA4YWxkTrZu0gW
156
- // Content-Disposition: form-data; name="t2"; filename="blob"
157
- // Content-Type: plain/text
158
- // {…file content…}
159
- // --7MA4YWxkTrZu0gW--
160
- /**
161
- * Processes the form data.
162
- */
163
- export default function (parts) {
164
- const factory = new FormDataNode();
165
- return factory.getBody(parts);
166
- }
167
- //# sourceMappingURL=FormData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormData.js","sourceRoot":"","sources":["../../../../src/runtime/http-engine/FormData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,iBAAiB,EAAwB,MAAM,6CAA6C,CAAA;AAoBrH,MAAM,kBAAkB,GAAG,0BAA0B,CAAA;AACrD,MAAM,SAAS,GAAG,MAAM,CAAA;AAExB;;;;GAIG;AACH,MAAM,OAAO,YAAY;IACb,SAAS,CAAS;IAElB,MAAM,GAAY,EAAE,CAAA;IAE9B,IAAI,QAAQ;QACV,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,iBAAiB,EAAE,CAAA;QAC3C,CAAC;QACD,OAAO,IAAI,CAAC,SAAS,CAAA;IACvB,CAAC;IAES,iBAAiB;QACzB,IAAI,QAAQ,GAAG,4BAA4B,CAAA;QAC3C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;YAC5B,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CA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KAAK,IAAI,CAAC,QAAQ,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;QACxE,IAAI,IAAI,EAAE,CAAC;YACT,OAAO,CAAC,IAAI,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAA;QACvC,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAA;QACvB,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAA;IAC7C,CAAC;IAES,UAAU;QAClB,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,QAAQ,IAAI,CAAC,CAAA;IAC5C,CAAC;CACF;AAED,oBAAoB;AACpB,+EAA+E;AAC/E,0CAA0C;AAE1C,mBAAmB;AACnB,oBAAoB;AACpB,4CAA4C;AAE5C,KAAK;AACL,oBAAoB;AACpB,6DAA6D;AAC7D,2BAA2B;AAE3B,mBAAmB;AACnB,sBAAsB;AAEtB;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,KAAuB;IAC9C,MAAM,OAAO,GAAG,IAAI,YAAY,EAAE,CAAA;IAClC,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;AAC/B,CAAC","sourcesContent":["import { IMultipartBody, PayloadSerializer, IBlobMeta, IFileMeta } from '../../lib/transformers/PayloadSerializer.js'\n\nexport interface FormDataResult {\n /**\n * The contents of the form data\n */\n buffer: Buffer\n /**\n * Content type for the form data.\n */\n type: string\n}\n\ninterface IPart {\n name: string\n type: 'file' | 'string'\n meta?: IBlobMeta | IFileMeta\n contents: Buffer\n}\n\nconst DefaultContentType = 'application/octet-stream'\nconst LineBreak = '\\r\\n'\n\n/**\n * In API Client (old old version of ARC) multipart data is encoded\n * as serializable array of buffer views. This class transforms these data\n * into a valid form data contents as a Buffer and generates content type header with the proper boundary.\n */\nexport class FormDataNode {\n protected _boundary?: string\n\n protected _parts: IPart[] = []\n\n get boundary(): string {\n if (!this._boundary) {\n this._boundary = this._generateBoundary()\n }\n return this._boundary\n }\n\n protected _generateBoundary(): string {\n let boundary = '--------------------------'\n for (let i = 0; i < 24; i++) {\n boundary += Math.floor(Math.random() * 10).toString(16)\n }\n return boundary\n }\n\n /**\n *\n * @param parts The serialized FormData body\n * @returns\n */\n getBody(parts: IMultipartBody[]): FormDataResult {\n parts.forEach((part) => this._append(part))\n const buffer = this._generate()\n return {\n buffer,\n type: this.getContentType(),\n }\n }\n\n /**\n * @returns The value of the content type header with the generate boundary.\n */\n getContentType(): string {\n return `multipart/form-data; boundary=${this.boundary}`\n }\n\n protected _append(part: IMultipartBody): void {\n if (part.enabled === false) {\n return\n }\n if (typeof part.isFile === 'boolean') {\n this._appendLegacy(part)\n return\n }\n const { name, value } = part\n if (typeof value === 'string') {\n this._parts.push({\n name,\n type: 'string',\n contents: Buffer.from(value),\n })\n return\n }\n let buffer: Buffer\n if (value.type === 'file') {\n buffer = PayloadSerializer.deserializeFileBuffer(value)\n } else {\n buffer = PayloadSerializer.deserializeBlobBuffer(value)\n }\n this._parts.push({\n name,\n type: 'file',\n contents: buffer,\n meta: value.meta,\n })\n }\n\n protected _appendLegacy(part: IMultipartBody): void {\n if (part.isFile) {\n const buffer = PayloadSerializer.deserializeBlobBufferLegacy(part.value as string)\n this._parts.push({\n name: part.name,\n type: 'file',\n contents: buffer,\n meta: {\n mime: this._readDataUrlMime(part.value as string) || DefaultContentType,\n name: part.fileName,\n },\n })\n } else if (part.type) {\n const buffer = PayloadSerializer.deserializeBlobBufferLegacy(part.value as string)\n this._parts.push({\n name: part.name,\n type: 'file',\n contents: buffer,\n meta: {\n mime: part.type || DefaultContentType,\n },\n })\n } else {\n const buffer = Buffer.from(part.value as string)\n this._parts.push({\n name: part.name,\n type: 'string',\n contents: buffer,\n })\n }\n }\n\n protected _readDataUrlMime(dataUrl: string): string | undefined {\n const arr = dataUrl.split(',')\n const matchedMime = arr[0].match(/:(.*?);/)\n if (!matchedMime) {\n return undefined\n }\n return matchedMime[1]\n }\n\n protected _generate(): Buffer {\n const result: Buffer[] = []\n for (const part of this._parts) {\n result.push(this._getHeader(part))\n result.push(part.contents)\n result.push(Buffer.from(LineBreak))\n }\n result.push(this._getFooter())\n return Buffer.concat(result)\n }\n\n protected _getHeader(part: IPart): Buffer {\n const disposition: string[] = ['Content-Disposition: form-data', `name=\"${part.name}\"`]\n let mime: string | undefined\n if (part.type === 'file') {\n const meta = part.meta as IFileMeta\n if (meta) {\n // \"blob\" is added by browsers by default.\n disposition.push(`filename=\"${meta.name || 'blob'}\"`)\n mime = meta.mime || DefaultContentType\n }\n }\n\n const headers: string[] = [`--${this.boundary}`, disposition.join('; ')]\n if (mime) {\n headers.push(`Content-Type: ${mime}`)\n }\n headers.push(LineBreak)\n return Buffer.from(headers.join(LineBreak))\n }\n\n protected _getFooter(): Buffer {\n return Buffer.from(`--${this.boundary}--`)\n }\n}\n\n// --7MA4YWxkTrZu0gW\n// Content-Disposition: form-data; name=\"a\"; filename=\"kubectrl-apimodeling.sh\"\n// Content-Type: application/x-shellscript\n\n// {…file content…}\n// --7MA4YWxkTrZu0gW\n// Content-Disposition: form-data; name=\"t1\"\n\n// v1\n// --7MA4YWxkTrZu0gW\n// Content-Disposition: form-data; name=\"t2\"; filename=\"blob\"\n// Content-Type: plain/text\n\n// {…file content…}\n// --7MA4YWxkTrZu0gW--\n\n/**\n * Processes the form data.\n */\nexport default function (parts: IMultipartBody[]): FormDataResult {\n const factory = new FormDataNode()\n return factory.getBody(parts)\n}\n"]}
@@ -1,4 +0,0 @@
1
- export declare const codes: Record<number, string>;
2
- export declare const netCodes: Record<string, number>;
3
- export declare function getCodeMessage(code: number | string): string;
4
- //# sourceMappingURL=HttpErrorCodes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpErrorCodes.d.ts","sourceRoot":"","sources":["../../../../src/runtime/http-engine/HttpErrorCodes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4JvC,CAAA;AAEF,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAI1C,CAAA;AAEF,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAW5D"}
@@ -1,166 +0,0 @@
1
- export const codes = Object.freeze({
2
- 1: 'An asynchronous IO operation is not yet complete.',
3
- 2: 'A generic failure occurred.',
4
- 3: 'An operation was aborted (due to user action)',
5
- 4: 'An argument to the function is incorrect.',
6
- 5: 'The handle or file descriptor is invalid',
7
- 6: 'The file or directory cannot be found',
8
- 7: 'An operation timed out',
9
- 8: 'The file is too large',
10
- 9: 'An unexpected error. This may be caused by a programming ' + 'mistake or an invalid assumption',
11
- 10: 'Permission to access a resource, other than the network, was denied',
12
- 11: 'The operation failed because of unimplemented functionality',
13
- 12: 'There were not enough resources to complete the operation',
14
- 13: 'Memory allocation failed',
15
- 14: "The file upload failed because the file's modification " + 'time was different from the expectation',
16
- 15: 'The socket is not connected',
17
- 16: 'The file already exists',
18
- 17: 'The path or file name is too long',
19
- 18: 'Not enough room left on the disk',
20
- 19: 'The file has a virus',
21
- 20: 'The client chose to block the request',
22
- 21: 'The network changed',
23
- 22: 'The request was blocked by the URL blacklist ' + 'configured by the domain administrator',
24
- 23: 'The socket is already connected',
25
- 100: 'A connection was closed (corresponding to a TCP FIN)',
26
- 101: 'A connection was reset (corresponding to a TCP RST)',
27
- 102: 'A connection attempt was refused',
28
- 103: 'A connection timed out as a result of not receiving an ACK for ' +
29
- "data sent. This can include a FIN packet that did not get ACK'd",
30
- 104: 'A connection attempt failed',
31
- 105: 'The host name could not be resolved',
32
- 106: 'The Internet connection has been lost',
33
- 107: 'An SSL protocol error occurred',
34
- 108: 'The IP address or port number is invalid (e.g., cannot connect ' + 'to the IP address 0 or the port 0)',
35
- 109: 'The IP address is unreachable. This usually means that there ' + 'is no route to the specified host or network',
36
- 110: 'The server requested a client certificate for SSL client ' + 'authentication',
37
- 111: 'A tunnel connection through the proxy could not be established',
38
- 112: 'No SSL protocol versions are enabled',
39
- 113: "The client and server don't support a common SSL protocol " + 'version or cipher suite',
40
- 114: 'The server requested a renegotiation (rehandshake)',
41
- 115: 'The proxy requested authentication (for tunnel establishment) ' + 'with an unsupported method',
42
- 116: 'During SSL renegotiation (rehandshake), the server sent a ' + 'certificate with an error',
43
- 117: 'The SSL handshake failed because of a bad or missing client' + ' certificate',
44
- 118: 'A connection attempt timed out',
45
- 119: 'There are too many pending DNS resolves, so a request in the ' + 'queue was aborted',
46
- 120: 'Failed establishing a connection to the SOCKS proxy server for ' + 'a target host',
47
- 121: 'The SOCKS proxy server failed establishing connection to the ' + 'target host because that host is unreachable',
48
- 122: 'The request to negotiate an alternate protocol failed',
49
- 123: 'The peer sent an SSL no_renegotiation alert message',
50
- 124: 'Winsock sometimes reports more data written than passed. This ' + 'is probably due to a broken LSP',
51
- 125: 'An SSL peer sent us a fatal decompression_failure alert.',
52
- 126: 'An SSL peer sent us a fatal bad_record_mac alert',
53
- 127: 'The proxy requested authentication (for tunnel establishment)',
54
- 128: "A known TLS strict server didn't offer the renegotiation " + 'extension',
55
- 129: 'The SSL server attempted to use a weak ephemeral ' + 'Diffie-Hellman key',
56
- 130: 'Could not create a connection to the proxy server.',
57
- 131: 'A mandatory proxy configuration could not be used.',
58
- 133: "We've hit the max socket limit for the socket pool " + 'while preconnecting.',
59
- 134: "The permission to use the SSL client certificate's " + 'private key was denied',
60
- 135: 'The SSL client certificate has no private key',
61
- 136: 'The certificate presented by the HTTPS Proxy was invalid',
62
- 137: 'An error occurred when trying to do a name resolution (DNS)',
63
- 138: 'Permission to access the network was denied.',
64
- 139: 'The request throttler module cancelled this request to avoid DDOS',
65
- 140: 'A request to create an SSL tunnel connection through the HTTPS ' +
66
- 'proxy received a non-200 (OK) and non-407 (Proxy Auth) response.',
67
- 141: 'We were unable to sign the CertificateVerify data of an SSL ' +
68
- "client auth handshake with the client certificate's private key",
69
- 142: 'The message was too large for the transport',
70
- 143: 'A SPDY session already exists, and should be used instead of ' + 'this connection',
71
- 145: 'Websocket protocol error.',
72
- 146: 'Connection was aborted for switching to another protocol.',
73
- 147: 'Returned when attempting to bind an address that is already in use',
74
- 148: 'An operation failed because the SSL handshake has not completed',
75
- 149: "SSL peer's public key is invalid",
76
- 150: "The certificate didn't match the built-in public key pins for " + 'the host name',
77
- 151: 'Server request for client certificate did not contain any ' + 'types we support',
78
- 152: 'Server requested one type of cert, then requested a different ' + 'type while the first was still being generated',
79
- 153: 'An SSL peer sent us a fatal decrypt_error alert. ',
80
- 154: 'There are too many pending WebSocketJob instances, so the new ' + 'job was not pushed to the queue',
81
- 155: 'There are too many active SocketStream instances, so the new ' + 'connect request was rejected',
82
- 156: 'The SSL server certificate changed in a renegotiation',
83
- 157: 'The SSL server indicated that an unnecessary TLS version ' + 'fallback was performed',
84
- 158: 'Certificate Transparency: All Signed Certificate ' + 'Timestamps failed to verify',
85
- 159: 'The SSL server sent us a fatal unrecognized_name alert',
86
- 300: 'The URL is invalid',
87
- 301: 'The scheme of the URL is disallowed',
88
- 302: 'The scheme of the URL is unknown',
89
- 310: 'Attempting to load an URL resulted in too many redirects',
90
- 311: 'Attempting to load an URL resulted in an unsafe redirect ' + '(e.g., a redirect to file: is considered unsafe)',
91
- 312: 'Attempting to load an URL with an unsafe port number.',
92
- 320: "The server's response was invalid",
93
- 321: 'Error in chunked transfer encoding',
94
- 322: 'The server did not support the request method',
95
- 323: 'The response was 407 (Proxy Authentication Required), yet ' + 'we did not send the request to a proxy',
96
- 324: 'The server closed the connection without sending any data',
97
- 325: 'The headers section of the response is too large',
98
- 326: 'The PAC requested by HTTP did not have a valid status ' + 'code (non-200)',
99
- 327: 'The evaluation of the PAC script failed',
100
- 328: 'The response was 416 (Requested range not satisfiable) ' + 'and the server cannot satisfy the range requested',
101
- 329: 'The identity used for authentication is invalid',
102
- 330: 'Content decoding of the response body failed',
103
- 331: 'An operation could not be completed because all network ' + 'IO is suspended',
104
- 332: 'FLIP data received without receiving a SYN_REPLY on the stream',
105
- 333: 'Converting the response to target encoding failed',
106
- 334: 'The server sent an FTP directory listing in a format we do ' + 'not understand',
107
- 335: 'Attempted use of an unknown SPDY stream id',
108
- 336: 'There are no supported proxies in the provided list',
109
- 337: 'There is a SPDY protocol error',
110
- 338: 'Credentials could not be established during HTTP Authentication',
111
- 339: 'An HTTP Authentication scheme was tried which is not ' + 'supported on this machine',
112
- 340: 'Detecting the encoding of the response failed',
113
- 341: '(GSSAPI) No Kerberos credentials were available ' + 'during HTTP Authentication',
114
- 342: 'An unexpected, but documented, SSPI or GSSAPI status ' + 'code was returned',
115
- 343: 'The environment was not set up correctly for authentication',
116
- 344: 'An undocumented SSPI or GSSAPI status code was returned',
117
- 345: 'The HTTP response was too big to drain',
118
- 346: 'The HTTP response contained multiple distinct ' + 'Content-Length headers',
119
- 347: 'SPDY Headers have been received, but not all of them - ' +
120
- "status or version headers are missing, so we're expecting " +
121
- 'additional frames to complete them',
122
- 348: 'No PAC URL configuration could be retrieved from DHCP.',
123
- 349: 'The HTTP response contained multiple Content-Disposition headers',
124
- 350: 'The HTTP response contained multiple Location headers',
125
- 351: 'SPDY server refused the stream. Client should retry.' + ' This should never be a user-visible error',
126
- 352: "SPDY server didn't respond to the PING message",
127
- 353: "The request couldn't be completed on an HTTP pipeline. " + 'Client should retry',
128
- 354: 'The HTTP response body transferred fewer bytes than were ' +
129
- 'advertised by the Content-Length header when the connection is closed',
130
- 355: 'The HTTP response body is transferred with Chunked-Encoding, but ' +
131
- 'the terminating zero-length chunk was never sent when the ' +
132
- 'connection is closed',
133
- 356: 'There is a QUIC protocol error',
134
- 357: 'The HTTP headers were truncated by an EOF',
135
- 358: 'The QUIC crytpo handshake failed.',
136
- 359: 'An https resource was requested over an insecure QUIC connection',
137
- 501: "The server's response was insecure (e.g. there was a cert error)",
138
- 502: 'The server responded to a <keygen> with a generated client cert ' +
139
- "that we don't have the matching private key for",
140
- 503: 'An error adding to the OS certificate database ' + '(e.g. OS X Keychain)',
141
- 800: 'DNS resolver received a malformed response',
142
- 801: 'DNS server requires TCP',
143
- 802: 'DNS server failed.',
144
- 803: 'DNS transaction timed out',
145
- 804: 'The entry was not found in cache, for cache-only lookups',
146
- 805: 'Suffix search list rules prevent resolution of the given host name',
147
- 806: 'Failed to sort addresses according to RFC3484',
148
- });
149
- export const netCodes = Object.freeze({
150
- ECONNREFUSED: 102,
151
- ECONNABORTED: 146,
152
- ECONNRESET: 101,
153
- });
154
- export function getCodeMessage(code) {
155
- let typed = Number(code);
156
- if (Number.isNaN(typed)) {
157
- if (netCodes[code]) {
158
- typed = netCodes[code];
159
- }
160
- }
161
- if (code in codes) {
162
- return codes[typed];
163
- }
164
- return 'Unknown error';
165
- }
166
- //# sourceMappingURL=HttpErrorCodes.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpErrorCodes.js","sourceRoot":"","sources":["../../../../src/runtime/http-engine/HttpErrorCodes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAA2B,MAAM,CAAC,MAAM,CAAC;IACzD,CAAC,EAAE,mDAAmD;IACtD,CAAC,EAAE,6BAA6B;IAChC,CAAC,EAAE,+CAA+C;IAClD,CAAC,EAAE,2CAA2C;IAC9C,CAAC,EAAE,0CAA0C;IAC7C,CAAC,EAAE,uCAAuC;IAC1C,CAAC,EAAE,wBAAwB;IAC3B,CAAC,EAAE,uBAAuB;IAC1B,CAAC,EAAE,4DAA4D,GAAG,kCAAkC;IACpG,EAAE,EAAE,qEAAqE;IACzE,EAAE,EAAE,6DAA6D;IACjE,EAAE,EAAE,2DAA2D;IAC/D,EAAE,EAAE,0BAA0B;IAC9B,EAAE,EAAE,yDAAyD,GAAG,yCAAyC;IACzG,EAAE,EAAE,6BAA6B;IACjC,EAAE,EAAE,yBAAyB;IAC7B,EAAE,EAAE,mCAAmC;IACvC,EAAE,EAAE,kCAAkC;IACtC,EAAE,EAAE,sBAAsB;I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AE,oBAAoB;IACzB,GAAG,EAAE,2BAA2B;IAChC,GAAG,EAAE,0DAA0D;IAC/D,GAAG,EAAE,oEAAoE;IACzE,GAAG,EAAE,+CAA+C;CACrD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA2B,MAAM,CAAC,MAAM,CAAC;IAC5D,YAAY,EAAE,GAAG;IACjB,YAAY,EAAE,GAAG;IACjB,UAAU,EAAE,GAAG;CAChB,CAAC,CAAA;AAEF,MAAM,UAAU,cAAc,CAAC,IAAqB;IAClD,IAAI,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;IACxB,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;QACxB,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YACnB,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAA;QACxB,CAAC;IACH,CAAC;IACD,IAAI,IAAI,IAAI,KAAK,EAAE,CAAC;QAClB,OAAO,KAAK,CAAC,KAAK,CAAC,CAAA;IACrB,CAAC;IACD,OAAO,eAAe,CAAA;AACxB,CAAC","sourcesContent":["export const codes: Record<number, string> = Object.freeze({\n 1: 'An asynchronous IO operation is not yet complete.',\n 2: 'A generic failure occurred.',\n 3: 'An operation was aborted (due to user action)',\n 4: 'An argument to the function is incorrect.',\n 5: 'The handle or file descriptor is invalid',\n 6: 'The file or directory cannot be found',\n 7: 'An operation timed out',\n 8: 'The file is too large',\n 9: 'An unexpected error. This may be caused by a programming ' + 'mistake or an invalid assumption',\n 10: 'Permission to access a resource, other than the network, was denied',\n 11: 'The operation failed because of unimplemented functionality',\n 12: 'There were not enough resources to complete the operation',\n 13: 'Memory allocation failed',\n 14: \"The file upload failed because the file's modification \" + 'time was different from the expectation',\n 15: 'The socket is not connected',\n 16: 'The file already exists',\n 17: 'The path or file name is too long',\n 18: 'Not enough room left on the disk',\n 19: 'The file has a virus',\n 20: 'The client chose to block the request',\n 21: 'The network changed',\n 22: 'The request was blocked by the URL blacklist ' + 'configured by the domain administrator',\n 23: 'The socket is already connected',\n 100: 'A connection was closed (corresponding to a TCP FIN)',\n 101: 'A connection was reset (corresponding to a TCP RST)',\n 102: 'A connection attempt was refused',\n 103:\n 'A connection timed out as a result of not receiving an ACK for ' +\n \"data sent. This can include a FIN packet that did not get ACK'd\",\n 104: 'A connection attempt failed',\n 105: 'The host name could not be resolved',\n 106: 'The Internet connection has been lost',\n 107: 'An SSL protocol error occurred',\n 108: 'The IP address or port number is invalid (e.g., cannot connect ' + 'to the IP address 0 or the port 0)',\n 109:\n 'The IP address is unreachable. This usually means that there ' + 'is no route to the specified host or network',\n 110: 'The server requested a client certificate for SSL client ' + 'authentication',\n 111: 'A tunnel connection through the proxy could not be established',\n 112: 'No SSL protocol versions are enabled',\n 113: \"The client and server don't support a common SSL protocol \" + 'version or cipher suite',\n 114: 'The server requested a renegotiation (rehandshake)',\n 115: 'The proxy requested authentication (for tunnel establishment) ' + 'with an unsupported method',\n 116: 'During SSL renegotiation (rehandshake), the server sent a ' + 'certificate with an error',\n 117: 'The SSL handshake failed because of a bad or missing client' + ' certificate',\n 118: 'A connection attempt timed out',\n 119: 'There are too many pending DNS resolves, so a request in the ' + 'queue was aborted',\n 120: 'Failed establishing a connection to the SOCKS proxy server for ' + 'a target host',\n 121: 'The SOCKS proxy server failed establishing connection to the ' + 'target host because that host is unreachable',\n 122: 'The request to negotiate an alternate protocol failed',\n 123: 'The peer sent an SSL no_renegotiation alert message',\n 124: 'Winsock sometimes reports more data written than passed. This ' + 'is probably due to a broken LSP',\n 125: 'An SSL peer sent us a fatal decompression_failure alert.',\n 126: 'An SSL peer sent us a fatal bad_record_mac alert',\n 127: 'The proxy requested authentication (for tunnel establishment)',\n 128: \"A known TLS strict server didn't offer the renegotiation \" + 'extension',\n 129: 'The SSL server attempted to use a weak ephemeral ' + 'Diffie-Hellman key',\n 130: 'Could not create a connection to the proxy server.',\n 131: 'A mandatory proxy configuration could not be used.',\n 133: \"We've hit the max socket limit for the socket pool \" + 'while preconnecting.',\n 134: \"The permission to use the SSL client certificate's \" + 'private key was denied',\n 135: 'The SSL client certificate has no private key',\n 136: 'The certificate presented by the HTTPS Proxy was invalid',\n 137: 'An error occurred when trying to do a name resolution (DNS)',\n 138: 'Permission to access the network was denied.',\n 139: 'The request throttler module cancelled this request to avoid DDOS',\n 140:\n 'A request to create an SSL tunnel connection through the HTTPS ' +\n 'proxy received a non-200 (OK) and non-407 (Proxy Auth) response.',\n 141:\n 'We were unable to sign the CertificateVerify data of an SSL ' +\n \"client auth handshake with the client certificate's private key\",\n 142: 'The message was too large for the transport',\n 143: 'A SPDY session already exists, and should be used instead of ' + 'this connection',\n 145: 'Websocket protocol error.',\n 146: 'Connection was aborted for switching to another protocol.',\n 147: 'Returned when attempting to bind an address that is already in use',\n 148: 'An operation failed because the SSL handshake has not completed',\n 149: \"SSL peer's public key is invalid\",\n 150: \"The certificate didn't match the built-in public key pins for \" + 'the host name',\n 151: 'Server request for client certificate did not contain any ' + 'types we support',\n 152:\n 'Server requested one type of cert, then requested a different ' + 'type while the first was still being generated',\n 153: 'An SSL peer sent us a fatal decrypt_error alert. ',\n 154: 'There are too many pending WebSocketJob instances, so the new ' + 'job was not pushed to the queue',\n 155: 'There are too many active SocketStream instances, so the new ' + 'connect request was rejected',\n 156: 'The SSL server certificate changed in a renegotiation',\n 157: 'The SSL server indicated that an unnecessary TLS version ' + 'fallback was performed',\n 158: 'Certificate Transparency: All Signed Certificate ' + 'Timestamps failed to verify',\n 159: 'The SSL server sent us a fatal unrecognized_name alert',\n 300: 'The URL is invalid',\n 301: 'The scheme of the URL is disallowed',\n 302: 'The scheme of the URL is unknown',\n 310: 'Attempting to load an URL resulted in too many redirects',\n 311: 'Attempting to load an URL resulted in an unsafe redirect ' + '(e.g., a redirect to file: is considered unsafe)',\n 312: 'Attempting to load an URL with an unsafe port number.',\n 320: \"The server's response was invalid\",\n 321: 'Error in chunked transfer encoding',\n 322: 'The server did not support the request method',\n 323: 'The response was 407 (Proxy Authentication Required), yet ' + 'we did not send the request to a proxy',\n 324: 'The server closed the connection without sending any data',\n 325: 'The headers section of the response is too large',\n 326: 'The PAC requested by HTTP did not have a valid status ' + 'code (non-200)',\n 327: 'The evaluation of the PAC script failed',\n 328: 'The response was 416 (Requested range not satisfiable) ' + 'and the server cannot satisfy the range requested',\n 329: 'The identity used for authentication is invalid',\n 330: 'Content decoding of the response body failed',\n 331: 'An operation could not be completed because all network ' + 'IO is suspended',\n 332: 'FLIP data received without receiving a SYN_REPLY on the stream',\n 333: 'Converting the response to target encoding failed',\n 334: 'The server sent an FTP directory listing in a format we do ' + 'not understand',\n 335: 'Attempted use of an unknown SPDY stream id',\n 336: 'There are no supported proxies in the provided list',\n 337: 'There is a SPDY protocol error',\n 338: 'Credentials could not be established during HTTP Authentication',\n 339: 'An HTTP Authentication scheme was tried which is not ' + 'supported on this machine',\n 340: 'Detecting the encoding of the response failed',\n 341: '(GSSAPI) No Kerberos credentials were available ' + 'during HTTP Authentication',\n 342: 'An unexpected, but documented, SSPI or GSSAPI status ' + 'code was returned',\n 343: 'The environment was not set up correctly for authentication',\n 344: 'An undocumented SSPI or GSSAPI status code was returned',\n 345: 'The HTTP response was too big to drain',\n 346: 'The HTTP response contained multiple distinct ' + 'Content-Length headers',\n 347:\n 'SPDY Headers have been received, but not all of them - ' +\n \"status or version headers are missing, so we're expecting \" +\n 'additional frames to complete them',\n 348: 'No PAC URL configuration could be retrieved from DHCP.',\n 349: 'The HTTP response contained multiple Content-Disposition headers',\n 350: 'The HTTP response contained multiple Location headers',\n 351: 'SPDY server refused the stream. Client should retry.' + ' This should never be a user-visible error',\n 352: \"SPDY server didn't respond to the PING message\",\n 353: \"The request couldn't be completed on an HTTP pipeline. \" + 'Client should retry',\n 354:\n 'The HTTP response body transferred fewer bytes than were ' +\n 'advertised by the Content-Length header when the connection is closed',\n 355:\n 'The HTTP response body is transferred with Chunked-Encoding, but ' +\n 'the terminating zero-length chunk was never sent when the ' +\n 'connection is closed',\n 356: 'There is a QUIC protocol error',\n 357: 'The HTTP headers were truncated by an EOF',\n 358: 'The QUIC crytpo handshake failed.',\n 359: 'An https resource was requested over an insecure QUIC connection',\n 501: \"The server's response was insecure (e.g. there was a cert error)\",\n 502:\n 'The server responded to a <keygen> with a generated client cert ' +\n \"that we don't have the matching private key for\",\n 503: 'An error adding to the OS certificate database ' + '(e.g. OS X Keychain)',\n 800: 'DNS resolver received a malformed response',\n 801: 'DNS server requires TCP',\n 802: 'DNS server failed.',\n 803: 'DNS transaction timed out',\n 804: 'The entry was not found in cache, for cache-only lookups',\n 805: 'Suffix search list rules prevent resolution of the given host name',\n 806: 'Failed to sort addresses according to RFC3484',\n})\n\nexport const netCodes: Record<string, number> = Object.freeze({\n ECONNREFUSED: 102,\n ECONNABORTED: 146,\n ECONNRESET: 101,\n})\n\nexport function getCodeMessage(code: number | string): string {\n let typed = Number(code)\n if (Number.isNaN(typed)) {\n if (netCodes[code]) {\n typed = netCodes[code]\n }\n }\n if (code in codes) {\n return codes[typed]\n }\n return 'Unknown error'\n}\n"]}