@api-client/core 0.20.10 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/bin/test.ts +0 -16
- package/build/src/browser.d.ts +0 -19
- package/build/src/browser.d.ts.map +1 -1
- package/build/src/browser.js +0 -31
- package/build/src/browser.js.map +1 -1
- package/build/src/events/EventTypes.d.ts +0 -40
- package/build/src/events/EventTypes.d.ts.map +1 -1
- package/build/src/events/EventTypes.js +0 -8
- package/build/src/events/EventTypes.js.map +1 -1
- package/build/src/events/Events.d.ts +0 -20
- package/build/src/events/Events.d.ts.map +1 -1
- package/build/src/events/Events.js +0 -8
- package/build/src/events/Events.js.map +1 -1
- package/build/src/events/index.d.ts +0 -3
- package/build/src/events/index.d.ts.map +1 -1
- package/build/src/events/index.js.map +1 -1
- package/build/src/index.d.ts +0 -31
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +0 -55
- package/build/src/index.js.map +1 -1
- package/build/src/lib/headers/Headers.d.ts +0 -9
- package/build/src/lib/headers/Headers.d.ts.map +1 -1
- package/build/src/lib/headers/Headers.js +0 -20
- package/build/src/lib/headers/Headers.js.map +1 -1
- package/build/src/mocking/lib/File.d.ts.map +1 -1
- package/build/src/mocking/lib/File.js +3 -5
- package/build/src/mocking/lib/File.js.map +1 -1
- package/build/src/mocking/lib/Trash.d.ts.map +1 -1
- package/build/src/mocking/lib/Trash.js +2 -8
- package/build/src/mocking/lib/Trash.js.map +1 -1
- package/build/src/models/Folder.d.ts +1 -1
- package/build/src/models/Folder.d.ts.map +1 -1
- package/build/src/models/Folder.js +3 -3
- package/build/src/models/Folder.js.map +1 -1
- package/build/src/models/index.d.ts +1 -51
- package/build/src/models/index.d.ts.map +1 -1
- package/build/src/models/index.js +1 -56
- package/build/src/models/index.js.map +1 -1
- package/build/src/models/kinds.d.ts +1 -6
- package/build/src/models/kinds.d.ts.map +1 -1
- package/build/src/models/kinds.js +1 -6
- package/build/src/models/kinds.js.map +1 -1
- package/build/src/sdk/FilesSdk.d.ts +8 -8
- package/build/src/sdk/FilesSdk.d.ts.map +1 -1
- package/build/src/sdk/FilesSdk.js +3 -3
- package/build/src/sdk/FilesSdk.js.map +1 -1
- package/build/src/sdk/HttpWeb.d.ts +1 -0
- package/build/src/sdk/HttpWeb.d.ts.map +1 -1
- package/build/src/sdk/HttpWeb.js +27 -2
- package/build/src/sdk/HttpWeb.js.map +1 -1
- package/build/src/sdk/RouteBuilder.d.ts +2 -2
- package/build/src/sdk/RouteBuilder.d.ts.map +1 -1
- package/build/src/sdk/RouteBuilder.js.map +1 -1
- package/build/src/sdk/Sdk.d.ts +0 -20
- package/build/src/sdk/Sdk.d.ts.map +1 -1
- package/build/src/sdk/Sdk.js +0 -15
- package/build/src/sdk/Sdk.js.map +1 -1
- package/build/src/sdk/SdkMock.js +1 -1
- package/build/src/sdk/SdkMock.js.map +1 -1
- package/build/src/sdk/SdkNetworkMock.d.ts +323 -0
- package/build/src/sdk/SdkNetworkMock.d.ts.map +1 -0
- package/build/src/sdk/SdkNetworkMock.js +1196 -0
- package/build/src/sdk/SdkNetworkMock.js.map +1 -0
- package/build/src/sdk/StoreSdkNode.d.ts +0 -2
- package/build/src/sdk/StoreSdkNode.d.ts.map +1 -1
- package/build/src/sdk/StoreSdkNode.js +0 -2
- package/build/src/sdk/StoreSdkNode.js.map +1 -1
- package/build/src/sdk/StoreSdkWeb.d.ts +0 -2
- package/build/src/sdk/StoreSdkWeb.d.ts.map +1 -1
- package/build/src/sdk/StoreSdkWeb.js +0 -2
- package/build/src/sdk/StoreSdkWeb.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -0
- package/eslint.config.js +0 -4
- package/knip.json +10 -0
- package/lupa.config.ts +43 -0
- package/package.json +25 -67
- package/src/events/EventTypes.ts +0 -8
- package/src/events/Events.ts +0 -8
- package/src/lib/headers/Headers.ts +0 -22
- package/src/mocking/lib/File.ts +3 -6
- package/src/mocking/lib/Trash.ts +2 -8
- package/src/models/Folder.ts +3 -3
- package/src/models/kinds.ts +1 -6
- package/src/sdk/FilesSdk.ts +10 -10
- package/src/sdk/HttpWeb.ts +27 -2
- package/src/sdk/RouteBuilder.ts +2 -2
- package/src/sdk/Sdk.ts +0 -21
- package/src/sdk/SdkMock.ts +1 -1
- package/src/sdk/SdkNetworkMock.ts +1607 -0
- package/src/sdk/StoreSdkNode.ts +0 -3
- package/src/sdk/StoreSdkWeb.ts +0 -3
- package/tests/client/env.ts +11 -0
- package/tests/client/lib/dom_purify.spec.ts +12 -0
- package/tests/client/sdk/DataCatalog.spec.ts +565 -0
- package/tests/client/sdk/Deployments.spec.ts +214 -0
- package/tests/client/sdk/FilesSdk.spec.ts +716 -0
- package/tests/client/sdk/groups.spec.ts +244 -0
- package/tests/client/sdk/network-mock/ai-mock.spec.ts +124 -0
- package/tests/client/sdk/network-mock/deployments-mock.spec.ts +182 -0
- package/tests/client/sdk/network-mock/files-mock.spec.ts +119 -0
- package/tests/client/sdk/network-mock/groups-mock.spec.ts +83 -0
- package/tests/client/sdk/network-mock/organizations-mock.spec.ts +129 -0
- package/tests/client/sdk/network-mock/shared-mock.spec.ts +25 -0
- package/tests/client/sdk/network-mock/trash-mock.spec.ts +43 -0
- package/tests/client/sdk/network-mock/users-mock.spec.ts +79 -0
- package/tests/client/sdk/organizations.spec.ts +2468 -0
- package/tests/client/src/platform.spec.ts +14 -0
- package/tests/unit/mocking/current/File.spec.ts +5 -5
- package/tests/unit/mocking/current/Trash.spec.ts +5 -5
- package/tests/unit/modeling/RuntimeApiModel.spec.ts +24 -4
- package/tests/unit/models/File/createFileCapabilities.spec.ts +3 -2
- package/tsconfig.build.json +8 -0
- package/RELEASE.md +0 -163
- package/RELEASE_SETUP.md +0 -237
- package/TESTING_SETUP.md +0 -198
- package/Testing.md +0 -21
- package/amf-models/dialects/ApiProjectVocabulary.yaml +0 -233
- package/amf-models/dialects/Environment.yaml +0 -38
- package/amf-models/dialects/HttpProject.yaml +0 -55
- package/amf-models/dialects/License.yaml +0 -31
- package/amf-models/dialects/ProjectFolder.yaml +0 -43
- package/amf-models/dialects/ProjectItem.yaml +0 -22
- package/amf-models/dialects/ProjectRequest.yaml +0 -23
- package/amf-models/dialects/ProjectSchema.yaml +0 -36
- package/amf-models/dialects/Property.yaml +0 -43
- package/amf-models/dialects/Provider.yaml +0 -32
- package/amf-models/dialects/Server.yaml +0 -31
- package/amf-models/dialects/Thing.yaml +0 -28
- package/bin/context.ts +0 -22
- package/bin/server.ts +0 -83
- package/build/src/authorization/AuthorizationError.d.ts +0 -24
- package/build/src/authorization/AuthorizationError.d.ts.map +0 -1
- package/build/src/authorization/AuthorizationError.js +0 -32
- package/build/src/authorization/AuthorizationError.js.map +0 -1
- package/build/src/authorization/CustomParameters.d.ts +0 -25
- package/build/src/authorization/CustomParameters.d.ts.map +0 -1
- package/build/src/authorization/CustomParameters.js +0 -61
- package/build/src/authorization/CustomParameters.js.map +0 -1
- package/build/src/authorization/OAuth2Authorization.d.ts +0 -333
- package/build/src/authorization/OAuth2Authorization.d.ts.map +0 -1
- package/build/src/authorization/OAuth2Authorization.js +0 -963
- package/build/src/authorization/OAuth2Authorization.js.map +0 -1
- package/build/src/authorization/OidcAuthorization.d.ts +0 -36
- package/build/src/authorization/OidcAuthorization.d.ts.map +0 -1
- package/build/src/authorization/OidcAuthorization.js +0 -146
- package/build/src/authorization/OidcAuthorization.js.map +0 -1
- package/build/src/authorization/Utils.d.ts +0 -52
- package/build/src/authorization/Utils.d.ts.map +0 -1
- package/build/src/authorization/Utils.js +0 -130
- package/build/src/authorization/Utils.js.map +0 -1
- package/build/src/authorization/index.d.ts +0 -10
- package/build/src/authorization/index.d.ts.map +0 -1
- package/build/src/authorization/index.js +0 -10
- package/build/src/authorization/index.js.map +0 -1
- package/build/src/authorization/lib/IframeAuthorization.d.ts +0 -54
- package/build/src/authorization/lib/IframeAuthorization.d.ts.map +0 -1
- package/build/src/authorization/lib/IframeAuthorization.js +0 -115
- package/build/src/authorization/lib/IframeAuthorization.js.map +0 -1
- package/build/src/authorization/lib/KnownGrants.d.ts +0 -7
- package/build/src/authorization/lib/KnownGrants.d.ts.map +0 -1
- package/build/src/authorization/lib/KnownGrants.js +0 -7
- package/build/src/authorization/lib/KnownGrants.js.map +0 -1
- package/build/src/authorization/lib/PopupAuthorization.d.ts +0 -42
- package/build/src/authorization/lib/PopupAuthorization.d.ts.map +0 -1
- package/build/src/authorization/lib/PopupAuthorization.js +0 -73
- package/build/src/authorization/lib/PopupAuthorization.js.map +0 -1
- package/build/src/authorization/lib/SecurityProcessor.d.ts +0 -67
- package/build/src/authorization/lib/SecurityProcessor.d.ts.map +0 -1
- package/build/src/authorization/lib/SecurityProcessor.js +0 -245
- package/build/src/authorization/lib/SecurityProcessor.js.map +0 -1
- package/build/src/authorization/lib/Tokens.d.ts +0 -56
- package/build/src/authorization/lib/Tokens.d.ts.map +0 -1
- package/build/src/authorization/lib/Tokens.js +0 -121
- package/build/src/authorization/lib/Tokens.js.map +0 -1
- package/build/src/authorization/lib/Utils.d.ts +0 -45
- package/build/src/authorization/lib/Utils.d.ts.map +0 -1
- package/build/src/authorization/lib/Utils.js +0 -91
- package/build/src/authorization/lib/Utils.js.map +0 -1
- package/build/src/authorization/types.d.ts +0 -196
- package/build/src/authorization/types.d.ts.map +0 -1
- package/build/src/authorization/types.js +0 -2
- package/build/src/authorization/types.js.map +0 -1
- package/build/src/cookies/CookieJar.d.ts +0 -24
- package/build/src/cookies/CookieJar.d.ts.map +0 -1
- package/build/src/cookies/CookieJar.js +0 -3
- package/build/src/cookies/CookieJar.js.map +0 -1
- package/build/src/cookies/CookieParser.d.ts +0 -81
- package/build/src/cookies/CookieParser.d.ts.map +0 -1
- package/build/src/cookies/CookieParser.js +0 -333
- package/build/src/cookies/CookieParser.js.map +0 -1
- package/build/src/cookies/InMemoryCookieJar.d.ts +0 -13
- package/build/src/cookies/InMemoryCookieJar.d.ts.map +0 -1
- package/build/src/cookies/InMemoryCookieJar.js +0 -68
- package/build/src/cookies/InMemoryCookieJar.js.map +0 -1
- package/build/src/cookies/Punycode.d.ts +0 -13
- package/build/src/cookies/Punycode.d.ts.map +0 -1
- package/build/src/cookies/Punycode.js +0 -127
- package/build/src/cookies/Punycode.js.map +0 -1
- package/build/src/data/DataExtractor.d.ts +0 -66
- package/build/src/data/DataExtractor.d.ts.map +0 -1
- package/build/src/data/DataExtractor.js +0 -178
- package/build/src/data/DataExtractor.js.map +0 -1
- package/build/src/data/DataReader.d.ts +0 -11
- package/build/src/data/DataReader.d.ts.map +0 -1
- package/build/src/data/DataReader.js +0 -4
- package/build/src/data/DataReader.js.map +0 -1
- package/build/src/data/JmespathReader.d.ts +0 -13
- package/build/src/data/JmespathReader.d.ts.map +0 -1
- package/build/src/data/JmespathReader.js +0 -27
- package/build/src/data/JmespathReader.js.map +0 -1
- package/build/src/data/Json2Xml.d.ts +0 -86
- package/build/src/data/Json2Xml.d.ts.map +0 -1
- package/build/src/data/Json2Xml.js +0 -187
- package/build/src/data/Json2Xml.js.map +0 -1
- package/build/src/data/JsonReader.d.ts +0 -9
- package/build/src/data/JsonReader.d.ts.map +0 -1
- package/build/src/data/JsonReader.js +0 -40
- package/build/src/data/JsonReader.js.map +0 -1
- package/build/src/data/PayloadPointer.d.ts +0 -22
- package/build/src/data/PayloadPointer.d.ts.map +0 -1
- package/build/src/data/PayloadPointer.js +0 -48
- package/build/src/data/PayloadPointer.js.map +0 -1
- package/build/src/data/RequestDataExtractor.d.ts +0 -49
- package/build/src/data/RequestDataExtractor.d.ts.map +0 -1
- package/build/src/data/RequestDataExtractor.js +0 -111
- package/build/src/data/RequestDataExtractor.js.map +0 -1
- package/build/src/data/UrlEncodedReader.d.ts +0 -13
- package/build/src/data/UrlEncodedReader.d.ts.map +0 -1
- package/build/src/data/UrlEncodedReader.js +0 -21
- package/build/src/data/UrlEncodedReader.js.map +0 -1
- package/build/src/data/XmlReader.d.ts +0 -15
- package/build/src/data/XmlReader.d.ts.map +0 -1
- package/build/src/data/XmlReader.js +0 -122
- package/build/src/data/XmlReader.js.map +0 -1
- package/build/src/data/index.d.ts +0 -10
- package/build/src/data/index.d.ts.map +0 -1
- package/build/src/data/index.js +0 -10
- package/build/src/data/index.js.map +0 -1
- package/build/src/events/authorization/AuthorizationEventTypes.d.ts +0 -23
- package/build/src/events/authorization/AuthorizationEventTypes.d.ts.map +0 -1
- package/build/src/events/authorization/AuthorizationEventTypes.js +0 -23
- package/build/src/events/authorization/AuthorizationEventTypes.js.map +0 -1
- package/build/src/events/authorization/AuthorizationEvents.d.ts +0 -35
- package/build/src/events/authorization/AuthorizationEvents.d.ts.map +0 -1
- package/build/src/events/authorization/AuthorizationEvents.js +0 -55
- package/build/src/events/authorization/AuthorizationEvents.js.map +0 -1
- package/build/src/events/cookies/CookieEventTypes.d.ts +0 -14
- package/build/src/events/cookies/CookieEventTypes.d.ts.map +0 -1
- package/build/src/events/cookies/CookieEventTypes.js +0 -14
- package/build/src/events/cookies/CookieEventTypes.js.map +0 -1
- package/build/src/events/cookies/CookieEvents.d.ts +0 -92
- package/build/src/events/cookies/CookieEvents.d.ts.map +0 -1
- package/build/src/events/cookies/CookieEvents.js +0 -128
- package/build/src/events/cookies/CookieEvents.js.map +0 -1
- package/build/src/events/environment/EnvironmentEventTypes.d.ts +0 -4
- package/build/src/events/environment/EnvironmentEventTypes.d.ts.map +0 -1
- package/build/src/events/environment/EnvironmentEventTypes.js +0 -4
- package/build/src/events/environment/EnvironmentEventTypes.js.map +0 -1
- package/build/src/events/environment/EnvironmentEvents.d.ts +0 -16
- package/build/src/events/environment/EnvironmentEvents.d.ts.map +0 -1
- package/build/src/events/environment/EnvironmentEvents.js +0 -20
- package/build/src/events/environment/EnvironmentEvents.js.map +0 -1
- package/build/src/events/transport/TransportEventTypes.d.ts +0 -30
- package/build/src/events/transport/TransportEventTypes.d.ts.map +0 -1
- package/build/src/events/transport/TransportEventTypes.js +0 -31
- package/build/src/events/transport/TransportEventTypes.js.map +0 -1
- package/build/src/events/transport/TransportEvents.d.ts +0 -63
- package/build/src/events/transport/TransportEvents.d.ts.map +0 -1
- package/build/src/events/transport/TransportEvents.js +0 -77
- package/build/src/events/transport/TransportEvents.js.map +0 -1
- package/build/src/legacy.d.ts +0 -40
- package/build/src/legacy.d.ts.map +0 -1
- package/build/src/legacy.js +0 -40
- package/build/src/legacy.js.map +0 -1
- package/build/src/lib/Buffer.d.ts +0 -21
- package/build/src/lib/Buffer.d.ts.map +0 -1
- package/build/src/lib/Buffer.js +0 -57
- package/build/src/lib/Buffer.js.map +0 -1
- package/build/src/lib/definitions/HttpDefinitions.d.ts +0 -35
- package/build/src/lib/definitions/HttpDefinitions.d.ts.map +0 -1
- package/build/src/lib/definitions/HttpDefinitions.js +0 -59
- package/build/src/lib/definitions/HttpDefinitions.js.map +0 -1
- package/build/src/lib/fs/Fs.d.ts +0 -53
- package/build/src/lib/fs/Fs.d.ts.map +0 -1
- package/build/src/lib/fs/Fs.js +0 -245
- package/build/src/lib/fs/Fs.js.map +0 -1
- package/build/src/lib/headers/HeadersData.d.ts +0 -36
- package/build/src/lib/headers/HeadersData.d.ts.map +0 -1
- package/build/src/lib/headers/HeadersData.js +0 -657
- package/build/src/lib/headers/HeadersData.js.map +0 -1
- package/build/src/lib/parsers/UriTemplate.d.ts +0 -110
- package/build/src/lib/parsers/UriTemplate.d.ts.map +0 -1
- package/build/src/lib/parsers/UriTemplate.js +0 -437
- package/build/src/lib/parsers/UriTemplate.js.map +0 -1
- package/build/src/lib/parsers/UrlEncoder.d.ts +0 -57
- package/build/src/lib/parsers/UrlEncoder.d.ts.map +0 -1
- package/build/src/lib/parsers/UrlEncoder.js +0 -125
- package/build/src/lib/parsers/UrlEncoder.js.map +0 -1
- package/build/src/lib/parsers/UrlParser.d.ts +0 -105
- package/build/src/lib/parsers/UrlParser.d.ts.map +0 -1
- package/build/src/lib/parsers/UrlParser.js +0 -190
- package/build/src/lib/parsers/UrlParser.js.map +0 -1
- package/build/src/lib/parsers/UrlProcessor.d.ts +0 -285
- package/build/src/lib/parsers/UrlProcessor.d.ts.map +0 -1
- package/build/src/lib/parsers/UrlProcessor.js +0 -763
- package/build/src/lib/parsers/UrlProcessor.js.map +0 -1
- package/build/src/lib/parsers/UrlValueParser.d.ts +0 -93
- package/build/src/lib/parsers/UrlValueParser.d.ts.map +0 -1
- package/build/src/lib/parsers/UrlValueParser.js +0 -172
- package/build/src/lib/parsers/UrlValueParser.js.map +0 -1
- package/build/src/lib/timers/Timers.d.ts +0 -15
- package/build/src/lib/timers/Timers.d.ts.map +0 -1
- package/build/src/lib/timers/Timers.js +0 -28
- package/build/src/lib/timers/Timers.js.map +0 -1
- package/build/src/lib/transformers/PayloadSerializer.d.ts +0 -221
- package/build/src/lib/transformers/PayloadSerializer.d.ts.map +0 -1
- package/build/src/lib/transformers/PayloadSerializer.js +0 -423
- package/build/src/lib/transformers/PayloadSerializer.js.map +0 -1
- package/build/src/mocking/LegacyInterfaces.d.ts +0 -47
- package/build/src/mocking/LegacyInterfaces.d.ts.map +0 -1
- package/build/src/mocking/LegacyInterfaces.js +0 -2
- package/build/src/mocking/LegacyInterfaces.js.map +0 -1
- package/build/src/mocking/LegacyMock.d.ts +0 -25
- package/build/src/mocking/LegacyMock.d.ts.map +0 -1
- package/build/src/mocking/LegacyMock.js +0 -34
- package/build/src/mocking/LegacyMock.js.map +0 -1
- package/build/src/mocking/ProjectMock.d.ts +0 -27
- package/build/src/mocking/ProjectMock.d.ts.map +0 -1
- package/build/src/mocking/ProjectMock.js +0 -31
- package/build/src/mocking/ProjectMock.js.map +0 -1
- package/build/src/mocking/legacy/Authorization.d.ts +0 -21
- package/build/src/mocking/legacy/Authorization.d.ts.map +0 -1
- package/build/src/mocking/legacy/Authorization.js +0 -35
- package/build/src/mocking/legacy/Authorization.js.map +0 -1
- package/build/src/mocking/legacy/Certificates.d.ts +0 -57
- package/build/src/mocking/legacy/Certificates.d.ts.map +0 -1
- package/build/src/mocking/legacy/Certificates.js +0 -128
- package/build/src/mocking/legacy/Certificates.js.map +0 -1
- package/build/src/mocking/legacy/Cookies.d.ts +0 -22
- package/build/src/mocking/legacy/Cookies.d.ts.map +0 -1
- package/build/src/mocking/legacy/Cookies.js +0 -48
- package/build/src/mocking/legacy/Cookies.js.map +0 -1
- package/build/src/mocking/legacy/HostRules.d.ts +0 -23
- package/build/src/mocking/legacy/HostRules.d.ts.map +0 -1
- package/build/src/mocking/legacy/HostRules.js +0 -40
- package/build/src/mocking/legacy/HostRules.js.map +0 -1
- package/build/src/mocking/legacy/Http.d.ts +0 -85
- package/build/src/mocking/legacy/Http.d.ts.map +0 -1
- package/build/src/mocking/legacy/Http.js +0 -199
- package/build/src/mocking/legacy/Http.js.map +0 -1
- package/build/src/mocking/legacy/HttpResponse.d.ts +0 -24
- package/build/src/mocking/legacy/HttpResponse.d.ts.map +0 -1
- package/build/src/mocking/legacy/HttpResponse.js +0 -98
- package/build/src/mocking/legacy/HttpResponse.js.map +0 -1
- package/build/src/mocking/legacy/RestApi.d.ts +0 -16
- package/build/src/mocking/legacy/RestApi.d.ts.map +0 -1
- package/build/src/mocking/legacy/RestApi.js +0 -63
- package/build/src/mocking/legacy/RestApi.js.map +0 -1
- package/build/src/mocking/legacy/Urls.d.ts +0 -22
- package/build/src/mocking/legacy/Urls.d.ts.map +0 -1
- package/build/src/mocking/legacy/Urls.js +0 -41
- package/build/src/mocking/legacy/Urls.js.map +0 -1
- package/build/src/mocking/legacy/Variables.d.ts +0 -19
- package/build/src/mocking/legacy/Variables.d.ts.map +0 -1
- package/build/src/mocking/legacy/Variables.js +0 -51
- package/build/src/mocking/legacy/Variables.js.map +0 -1
- package/build/src/mocking/lib/Certificates.d.ts +0 -28
- package/build/src/mocking/lib/Certificates.d.ts.map +0 -1
- package/build/src/mocking/lib/Certificates.js +0 -55
- package/build/src/mocking/lib/Certificates.js.map +0 -1
- package/build/src/mocking/lib/History.d.ts +0 -75
- package/build/src/mocking/lib/History.d.ts.map +0 -1
- package/build/src/mocking/lib/History.js +0 -128
- package/build/src/mocking/lib/History.js.map +0 -1
- package/build/src/mocking/lib/HostRules.d.ts +0 -23
- package/build/src/mocking/lib/HostRules.d.ts.map +0 -1
- package/build/src/mocking/lib/HostRules.js +0 -40
- package/build/src/mocking/lib/HostRules.js.map +0 -1
- package/build/src/mocking/lib/Request.d.ts +0 -44
- package/build/src/mocking/lib/Request.d.ts.map +0 -1
- package/build/src/mocking/lib/Request.js +0 -70
- package/build/src/mocking/lib/Request.js.map +0 -1
- package/build/src/mocking/lib/Response.d.ts +0 -38
- package/build/src/mocking/lib/Response.d.ts.map +0 -1
- package/build/src/mocking/lib/Response.js +0 -99
- package/build/src/mocking/lib/Response.js.map +0 -1
- package/build/src/mocking/lib/Url.d.ts +0 -22
- package/build/src/mocking/lib/Url.d.ts.map +0 -1
- package/build/src/mocking/lib/Url.js +0 -40
- package/build/src/mocking/lib/Url.js.map +0 -1
- package/build/src/models/Authorization.d.ts +0 -452
- package/build/src/models/Authorization.d.ts.map +0 -1
- package/build/src/models/Authorization.js +0 -2
- package/build/src/models/Authorization.js.map +0 -1
- package/build/src/models/AuthorizationData.d.ts +0 -30
- package/build/src/models/AuthorizationData.d.ts.map +0 -1
- package/build/src/models/AuthorizationData.js +0 -59
- package/build/src/models/AuthorizationData.js.map +0 -1
- package/build/src/models/CertificateFile.d.ts +0 -19
- package/build/src/models/CertificateFile.d.ts.map +0 -1
- package/build/src/models/CertificateFile.js +0 -70
- package/build/src/models/CertificateFile.js.map +0 -1
- package/build/src/models/ClientCertificate.d.ts +0 -188
- package/build/src/models/ClientCertificate.d.ts.map +0 -1
- package/build/src/models/ClientCertificate.js +0 -193
- package/build/src/models/ClientCertificate.js.map +0 -1
- package/build/src/models/Environment.d.ts +0 -134
- package/build/src/models/Environment.d.ts.map +0 -1
- package/build/src/models/Environment.js +0 -256
- package/build/src/models/Environment.js.map +0 -1
- package/build/src/models/ErrorResponse.d.ts +0 -37
- package/build/src/models/ErrorResponse.d.ts.map +0 -1
- package/build/src/models/ErrorResponse.js +0 -103
- package/build/src/models/ErrorResponse.js.map +0 -1
- package/build/src/models/HeadersArray.d.ts +0 -22
- package/build/src/models/HeadersArray.d.ts.map +0 -1
- package/build/src/models/HeadersArray.js +0 -58
- package/build/src/models/HeadersArray.js.map +0 -1
- package/build/src/models/HostRule.d.ts +0 -87
- package/build/src/models/HostRule.d.ts.map +0 -1
- package/build/src/models/HostRule.js +0 -142
- package/build/src/models/HostRule.js.map +0 -1
- package/build/src/models/HttpCookie.d.ts +0 -175
- package/build/src/models/HttpCookie.d.ts.map +0 -1
- package/build/src/models/HttpCookie.js +0 -343
- package/build/src/models/HttpCookie.js.map +0 -1
- package/build/src/models/HttpHistory.d.ts +0 -143
- package/build/src/models/HttpHistory.d.ts.map +0 -1
- package/build/src/models/HttpHistory.js +0 -179
- package/build/src/models/HttpHistory.js.map +0 -1
- package/build/src/models/HttpProject.d.ts +0 -540
- package/build/src/models/HttpProject.d.ts.map +0 -1
- package/build/src/models/HttpProject.js +0 -1237
- package/build/src/models/HttpProject.js.map +0 -1
- package/build/src/models/HttpRequest.d.ts +0 -88
- package/build/src/models/HttpRequest.d.ts.map +0 -1
- package/build/src/models/HttpRequest.js +0 -127
- package/build/src/models/HttpRequest.js.map +0 -1
- package/build/src/models/HttpResponse.d.ts +0 -54
- package/build/src/models/HttpResponse.d.ts.map +0 -1
- package/build/src/models/HttpResponse.js +0 -114
- package/build/src/models/HttpResponse.js.map +0 -1
- package/build/src/models/License.d.ts +0 -53
- package/build/src/models/License.d.ts.map +0 -1
- package/build/src/models/License.js +0 -91
- package/build/src/models/License.js.map +0 -1
- package/build/src/models/Project.d.ts +0 -27
- package/build/src/models/Project.d.ts.map +0 -1
- package/build/src/models/Project.js +0 -81
- package/build/src/models/Project.js.map +0 -1
- package/build/src/models/ProjectDefinitionProperty.d.ts +0 -35
- package/build/src/models/ProjectDefinitionProperty.d.ts.map +0 -1
- package/build/src/models/ProjectDefinitionProperty.js +0 -2
- package/build/src/models/ProjectDefinitionProperty.js.map +0 -1
- package/build/src/models/ProjectExecution.d.ts +0 -116
- package/build/src/models/ProjectExecution.d.ts.map +0 -1
- package/build/src/models/ProjectExecution.js +0 -147
- package/build/src/models/ProjectExecution.js.map +0 -1
- package/build/src/models/ProjectFolder.d.ts +0 -219
- package/build/src/models/ProjectFolder.d.ts.map +0 -1
- package/build/src/models/ProjectFolder.js +0 -341
- package/build/src/models/ProjectFolder.js.map +0 -1
- package/build/src/models/ProjectItem.d.ts +0 -68
- package/build/src/models/ProjectItem.d.ts.map +0 -1
- package/build/src/models/ProjectItem.js +0 -139
- package/build/src/models/ProjectItem.js.map +0 -1
- package/build/src/models/ProjectParent.d.ts +0 -27
- package/build/src/models/ProjectParent.d.ts.map +0 -1
- package/build/src/models/ProjectParent.js +0 -19
- package/build/src/models/ProjectParent.js.map +0 -1
- package/build/src/models/ProjectRequest.d.ts +0 -203
- package/build/src/models/ProjectRequest.d.ts.map +0 -1
- package/build/src/models/ProjectRequest.js +0 -440
- package/build/src/models/ProjectRequest.js.map +0 -1
- package/build/src/models/ProjectSchema.d.ts +0 -106
- package/build/src/models/ProjectSchema.d.ts.map +0 -1
- package/build/src/models/ProjectSchema.js +0 -156
- package/build/src/models/ProjectSchema.js.map +0 -1
- package/build/src/models/Property.d.ts +0 -140
- package/build/src/models/Property.d.ts.map +0 -1
- package/build/src/models/Property.js +0 -427
- package/build/src/models/Property.js.map +0 -1
- package/build/src/models/Provider.d.ts +0 -54
- package/build/src/models/Provider.d.ts.map +0 -1
- package/build/src/models/Provider.js +0 -75
- package/build/src/models/Provider.js.map +0 -1
- package/build/src/models/Request.d.ts +0 -175
- package/build/src/models/Request.d.ts.map +0 -1
- package/build/src/models/Request.js +0 -398
- package/build/src/models/Request.js.map +0 -1
- package/build/src/models/RequestAuthorization.d.ts +0 -58
- package/build/src/models/RequestAuthorization.d.ts.map +0 -1
- package/build/src/models/RequestAuthorization.js +0 -88
- package/build/src/models/RequestAuthorization.js.map +0 -1
- package/build/src/models/RequestConfig.d.ts +0 -174
- package/build/src/models/RequestConfig.d.ts.map +0 -1
- package/build/src/models/RequestConfig.js +0 -274
- package/build/src/models/RequestConfig.js.map +0 -1
- package/build/src/models/RequestLog.d.ts +0 -88
- package/build/src/models/RequestLog.d.ts.map +0 -1
- package/build/src/models/RequestLog.js +0 -158
- package/build/src/models/RequestLog.js.map +0 -1
- package/build/src/models/RequestTime.d.ts +0 -35
- package/build/src/models/RequestTime.d.ts.map +0 -1
- package/build/src/models/RequestTime.js +0 -89
- package/build/src/models/RequestTime.js.map +0 -1
- package/build/src/models/RequestUiMeta.d.ts +0 -166
- package/build/src/models/RequestUiMeta.d.ts.map +0 -1
- package/build/src/models/RequestUiMeta.js +0 -110
- package/build/src/models/RequestUiMeta.js.map +0 -1
- package/build/src/models/RequestsSize.d.ts +0 -33
- package/build/src/models/RequestsSize.d.ts.map +0 -1
- package/build/src/models/RequestsSize.js +0 -50
- package/build/src/models/RequestsSize.js.map +0 -1
- package/build/src/models/Response.d.ts +0 -61
- package/build/src/models/Response.d.ts.map +0 -1
- package/build/src/models/Response.js +0 -140
- package/build/src/models/Response.js.map +0 -1
- package/build/src/models/ResponseAuthorization.d.ts +0 -55
- package/build/src/models/ResponseAuthorization.d.ts.map +0 -1
- package/build/src/models/ResponseAuthorization.js +0 -82
- package/build/src/models/ResponseAuthorization.js.map +0 -1
- package/build/src/models/ResponseRedirect.d.ts +0 -72
- package/build/src/models/ResponseRedirect.d.ts.map +0 -1
- package/build/src/models/ResponseRedirect.js +0 -125
- package/build/src/models/ResponseRedirect.js.map +0 -1
- package/build/src/models/SentRequest.d.ts +0 -61
- package/build/src/models/SentRequest.d.ts.map +0 -1
- package/build/src/models/SentRequest.js +0 -91
- package/build/src/models/SentRequest.js.map +0 -1
- package/build/src/models/SerializablePayload.d.ts +0 -60
- package/build/src/models/SerializablePayload.d.ts.map +0 -1
- package/build/src/models/SerializablePayload.js +0 -79
- package/build/src/models/SerializablePayload.js.map +0 -1
- package/build/src/models/Server.d.ts +0 -89
- package/build/src/models/Server.d.ts.map +0 -1
- package/build/src/models/Server.js +0 -151
- package/build/src/models/Server.js.map +0 -1
- package/build/src/models/Url.d.ts +0 -50
- package/build/src/models/Url.d.ts.map +0 -1
- package/build/src/models/Url.js +0 -69
- package/build/src/models/Url.js.map +0 -1
- package/build/src/models/http-flows/AssertionError.d.ts +0 -37
- package/build/src/models/http-flows/AssertionError.d.ts.map +0 -1
- package/build/src/models/http-flows/AssertionError.js +0 -35
- package/build/src/models/http-flows/AssertionError.js.map +0 -1
- package/build/src/models/http-flows/HttpAssertion.d.ts +0 -86
- package/build/src/models/http-flows/HttpAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/HttpAssertion.js +0 -53
- package/build/src/models/http-flows/HttpAssertion.js.map +0 -1
- package/build/src/models/http-flows/HttpFlows.d.ts +0 -78
- package/build/src/models/http-flows/HttpFlows.d.ts.map +0 -1
- package/build/src/models/http-flows/HttpFlows.js +0 -35
- package/build/src/models/http-flows/HttpFlows.js.map +0 -1
- package/build/src/models/http-flows/HttpStep.d.ts +0 -30
- package/build/src/models/http-flows/HttpStep.d.ts.map +0 -1
- package/build/src/models/http-flows/HttpStep.js +0 -30
- package/build/src/models/http-flows/HttpStep.js.map +0 -1
- package/build/src/models/http-flows/LegacyTranslator.d.ts +0 -18
- package/build/src/models/http-flows/LegacyTranslator.d.ts.map +0 -1
- package/build/src/models/http-flows/LegacyTranslator.js +0 -278
- package/build/src/models/http-flows/LegacyTranslator.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/EqualAssertion.d.ts +0 -75
- package/build/src/models/http-flows/steps/assertion/EqualAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/EqualAssertion.js +0 -79
- package/build/src/models/http-flows/steps/assertion/EqualAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.d.ts +0 -35
- package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.js +0 -59
- package/build/src/models/http-flows/steps/assertion/GreaterThanAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/IncludesAssertion.d.ts +0 -27
- package/build/src/models/http-flows/steps/assertion/IncludesAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/IncludesAssertion.js +0 -45
- package/build/src/models/http-flows/steps/assertion/IncludesAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.d.ts +0 -19
- package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.js +0 -29
- package/build/src/models/http-flows/steps/assertion/IsEmptyAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.d.ts +0 -19
- package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.js +0 -29
- package/build/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.d.ts +0 -27
- package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.js +0 -45
- package/build/src/models/http-flows/steps/assertion/LengthOfAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/LessThanAssertion.d.ts +0 -35
- package/build/src/models/http-flows/steps/assertion/LessThanAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/LessThanAssertion.js +0 -59
- package/build/src/models/http-flows/steps/assertion/LessThanAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/MatchesAssertion.d.ts +0 -27
- package/build/src/models/http-flows/steps/assertion/MatchesAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/MatchesAssertion.js +0 -45
- package/build/src/models/http-flows/steps/assertion/MatchesAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.d.ts +0 -39
- package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.js +0 -60
- package/build/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.d.ts +0 -75
- package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.js +0 -79
- package/build/src/models/http-flows/steps/assertion/NotEqualAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.d.ts +0 -27
- package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.js +0 -45
- package/build/src/models/http-flows/steps/assertion/NotIncludesAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotOkAssertion.d.ts +0 -19
- package/build/src/models/http-flows/steps/assertion/NotOkAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotOkAssertion.js +0 -29
- package/build/src/models/http-flows/steps/assertion/NotOkAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.d.ts +0 -28
- package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.js +0 -45
- package/build/src/models/http-flows/steps/assertion/NotToBeAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/OkAssertion.d.ts +0 -19
- package/build/src/models/http-flows/steps/assertion/OkAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/OkAssertion.js +0 -29
- package/build/src/models/http-flows/steps/assertion/OkAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/ToBeAssertion.d.ts +0 -34
- package/build/src/models/http-flows/steps/assertion/ToBeAssertion.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/ToBeAssertion.js +0 -53
- package/build/src/models/http-flows/steps/assertion/ToBeAssertion.js.map +0 -1
- package/build/src/models/http-flows/steps/assertion/index.d.ts +0 -16
- package/build/src/models/http-flows/steps/assertion/index.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/assertion/index.js +0 -16
- package/build/src/models/http-flows/steps/assertion/index.js.map +0 -1
- package/build/src/models/http-flows/steps/data/DeleteCookieStep.d.ts +0 -49
- package/build/src/models/http-flows/steps/data/DeleteCookieStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/DeleteCookieStep.js +0 -73
- package/build/src/models/http-flows/steps/data/DeleteCookieStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/DeleteVariableStep.d.ts +0 -37
- package/build/src/models/http-flows/steps/data/DeleteVariableStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/DeleteVariableStep.js +0 -45
- package/build/src/models/http-flows/steps/data/DeleteVariableStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/ReadDataSourceStep.d.ts +0 -54
- package/build/src/models/http-flows/steps/data/ReadDataSourceStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/ReadDataSourceStep.js +0 -60
- package/build/src/models/http-flows/steps/data/ReadDataSourceStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/ReadDataStep.d.ts +0 -68
- package/build/src/models/http-flows/steps/data/ReadDataStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/ReadDataStep.js +0 -78
- package/build/src/models/http-flows/steps/data/ReadDataStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/ReadValueStep.d.ts +0 -46
- package/build/src/models/http-flows/steps/data/ReadValueStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/ReadValueStep.js +0 -53
- package/build/src/models/http-flows/steps/data/ReadValueStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/SetCookieStep.d.ts +0 -102
- package/build/src/models/http-flows/steps/data/SetCookieStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/SetCookieStep.js +0 -139
- package/build/src/models/http-flows/steps/data/SetCookieStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/SetDataStep.d.ts +0 -78
- package/build/src/models/http-flows/steps/data/SetDataStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/SetDataStep.js +0 -70
- package/build/src/models/http-flows/steps/data/SetDataStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/SetVariableStep.d.ts +0 -41
- package/build/src/models/http-flows/steps/data/SetVariableStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/SetVariableStep.js +0 -45
- package/build/src/models/http-flows/steps/data/SetVariableStep.js.map +0 -1
- package/build/src/models/http-flows/steps/data/index.d.ts +0 -9
- package/build/src/models/http-flows/steps/data/index.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/data/index.js +0 -9
- package/build/src/models/http-flows/steps/data/index.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.d.ts +0 -19
- package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.js +0 -29
- package/build/src/models/http-flows/steps/transformation/AsLowerCaseStep.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/AsNumberStep.d.ts +0 -19
- package/build/src/models/http-flows/steps/transformation/AsNumberStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/AsNumberStep.js +0 -29
- package/build/src/models/http-flows/steps/transformation/AsNumberStep.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.d.ts +0 -19
- package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.js +0 -29
- package/build/src/models/http-flows/steps/transformation/AsUpperCaseStep.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/RoundStep.d.ts +0 -44
- package/build/src/models/http-flows/steps/transformation/RoundStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/RoundStep.js +0 -53
- package/build/src/models/http-flows/steps/transformation/RoundStep.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/SubstringStep.d.ts +0 -41
- package/build/src/models/http-flows/steps/transformation/SubstringStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/SubstringStep.js +0 -67
- package/build/src/models/http-flows/steps/transformation/SubstringStep.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/TrimStep.d.ts +0 -21
- package/build/src/models/http-flows/steps/transformation/TrimStep.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/TrimStep.js +0 -30
- package/build/src/models/http-flows/steps/transformation/TrimStep.js.map +0 -1
- package/build/src/models/http-flows/steps/transformation/index.d.ts +0 -7
- package/build/src/models/http-flows/steps/transformation/index.d.ts.map +0 -1
- package/build/src/models/http-flows/steps/transformation/index.js +0 -7
- package/build/src/models/http-flows/steps/transformation/index.js.map +0 -1
- package/build/src/models/legacy/DataExport.d.ts +0 -243
- package/build/src/models/legacy/DataExport.d.ts.map +0 -1
- package/build/src/models/legacy/DataExport.js +0 -2
- package/build/src/models/legacy/DataExport.js.map +0 -1
- package/build/src/models/legacy/Normalizer.d.ts +0 -12
- package/build/src/models/legacy/Normalizer.d.ts.map +0 -1
- package/build/src/models/legacy/Normalizer.js +0 -98
- package/build/src/models/legacy/Normalizer.js.map +0 -1
- package/build/src/models/legacy/actions/Actions.d.ts +0 -259
- package/build/src/models/legacy/actions/Actions.d.ts.map +0 -1
- package/build/src/models/legacy/actions/Actions.js +0 -2
- package/build/src/models/legacy/actions/Actions.js.map +0 -1
- package/build/src/models/legacy/authorization/Authorization.d.ts +0 -542
- package/build/src/models/legacy/authorization/Authorization.d.ts.map +0 -1
- package/build/src/models/legacy/authorization/Authorization.js +0 -2
- package/build/src/models/legacy/authorization/Authorization.js.map +0 -1
- package/build/src/models/legacy/models/ApiTypes.d.ts +0 -193
- package/build/src/models/legacy/models/ApiTypes.d.ts.map +0 -1
- package/build/src/models/legacy/models/ApiTypes.js +0 -2
- package/build/src/models/legacy/models/ApiTypes.js.map +0 -1
- package/build/src/models/legacy/models/ArcLegacyProject.d.ts +0 -38
- package/build/src/models/legacy/models/ArcLegacyProject.d.ts.map +0 -1
- package/build/src/models/legacy/models/ArcLegacyProject.js +0 -2
- package/build/src/models/legacy/models/ArcLegacyProject.js.map +0 -1
- package/build/src/models/legacy/models/AuthData.d.ts +0 -15
- package/build/src/models/legacy/models/AuthData.d.ts.map +0 -1
- package/build/src/models/legacy/models/AuthData.js +0 -2
- package/build/src/models/legacy/models/AuthData.js.map +0 -1
- package/build/src/models/legacy/models/ClientCertificate.d.ts +0 -90
- package/build/src/models/legacy/models/ClientCertificate.d.ts.map +0 -1
- package/build/src/models/legacy/models/ClientCertificate.js +0 -2
- package/build/src/models/legacy/models/ClientCertificate.js.map +0 -1
- package/build/src/models/legacy/models/Cookies.d.ts +0 -53
- package/build/src/models/legacy/models/Cookies.d.ts.map +0 -1
- package/build/src/models/legacy/models/Cookies.js +0 -2
- package/build/src/models/legacy/models/Cookies.js.map +0 -1
- package/build/src/models/legacy/models/HostRule.d.ts +0 -34
- package/build/src/models/legacy/models/HostRule.d.ts.map +0 -1
- package/build/src/models/legacy/models/HostRule.js +0 -2
- package/build/src/models/legacy/models/HostRule.js.map +0 -1
- package/build/src/models/legacy/models/RestApi.d.ts +0 -48
- package/build/src/models/legacy/models/RestApi.d.ts.map +0 -1
- package/build/src/models/legacy/models/RestApi.js +0 -2
- package/build/src/models/legacy/models/RestApi.js.map +0 -1
- package/build/src/models/legacy/models/UrlHistory.d.ts +0 -33
- package/build/src/models/legacy/models/UrlHistory.d.ts.map +0 -1
- package/build/src/models/legacy/models/UrlHistory.js +0 -2
- package/build/src/models/legacy/models/UrlHistory.js.map +0 -1
- package/build/src/models/legacy/models/Variable.d.ts +0 -37
- package/build/src/models/legacy/models/Variable.d.ts.map +0 -1
- package/build/src/models/legacy/models/Variable.js +0 -2
- package/build/src/models/legacy/models/Variable.js.map +0 -1
- package/build/src/models/legacy/models/base.d.ts +0 -91
- package/build/src/models/legacy/models/base.d.ts.map +0 -1
- package/build/src/models/legacy/models/base.js +0 -2
- package/build/src/models/legacy/models/base.js.map +0 -1
- package/build/src/models/legacy/request/ArcRequest.d.ts +0 -387
- package/build/src/models/legacy/request/ArcRequest.d.ts.map +0 -1
- package/build/src/models/legacy/request/ArcRequest.js +0 -2
- package/build/src/models/legacy/request/ArcRequest.js.map +0 -1
- package/build/src/models/legacy/request/ArcResponse.d.ts +0 -166
- package/build/src/models/legacy/request/ArcResponse.d.ts.map +0 -1
- package/build/src/models/legacy/request/ArcResponse.js +0 -2
- package/build/src/models/legacy/request/ArcResponse.js.map +0 -1
- package/build/src/models/legacy/request/HistoryData.d.ts +0 -45
- package/build/src/models/legacy/request/HistoryData.d.ts.map +0 -1
- package/build/src/models/legacy/request/HistoryData.js +0 -2
- package/build/src/models/legacy/request/HistoryData.js.map +0 -1
- package/build/src/models/legacy/request/Legacy.d.ts +0 -43
- package/build/src/models/legacy/request/Legacy.d.ts.map +0 -1
- package/build/src/models/legacy/request/Legacy.js +0 -2
- package/build/src/models/legacy/request/Legacy.js.map +0 -1
- package/build/src/models/legacy/request/RequestBody.d.ts +0 -83
- package/build/src/models/legacy/request/RequestBody.d.ts.map +0 -1
- package/build/src/models/legacy/request/RequestBody.js +0 -2
- package/build/src/models/legacy/request/RequestBody.js.map +0 -1
- package/build/src/models/transformers/ArcDexieTransformer.d.ts +0 -109
- package/build/src/models/transformers/ArcDexieTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/ArcDexieTransformer.js +0 -249
- package/build/src/models/transformers/ArcDexieTransformer.js.map +0 -1
- package/build/src/models/transformers/ArcLegacyNormalizer.d.ts +0 -43
- package/build/src/models/transformers/ArcLegacyNormalizer.d.ts.map +0 -1
- package/build/src/models/transformers/ArcLegacyNormalizer.js +0 -79
- package/build/src/models/transformers/ArcLegacyNormalizer.js.map +0 -1
- package/build/src/models/transformers/ArcLegacyTransformer.d.ts +0 -86
- package/build/src/models/transformers/ArcLegacyTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/ArcLegacyTransformer.js +0 -151
- package/build/src/models/transformers/ArcLegacyTransformer.js.map +0 -1
- package/build/src/models/transformers/ArcPouchTransformer.d.ts +0 -46
- package/build/src/models/transformers/ArcPouchTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/ArcPouchTransformer.js +0 -170
- package/build/src/models/transformers/ArcPouchTransformer.js.map +0 -1
- package/build/src/models/transformers/BaseTransformer.d.ts +0 -49
- package/build/src/models/transformers/BaseTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/BaseTransformer.js +0 -104
- package/build/src/models/transformers/BaseTransformer.js.map +0 -1
- package/build/src/models/transformers/ImportUtils.d.ts +0 -45
- package/build/src/models/transformers/ImportUtils.d.ts.map +0 -1
- package/build/src/models/transformers/ImportUtils.js +0 -131
- package/build/src/models/transformers/ImportUtils.js.map +0 -1
- package/build/src/models/transformers/LegacyDataExportToApiProject.d.ts +0 -16
- package/build/src/models/transformers/LegacyDataExportToApiProject.d.ts.map +0 -1
- package/build/src/models/transformers/LegacyDataExportToApiProject.js +0 -70
- package/build/src/models/transformers/LegacyDataExportToApiProject.js.map +0 -1
- package/build/src/models/transformers/LegacyExportProcessor.d.ts +0 -48
- package/build/src/models/transformers/LegacyExportProcessor.d.ts.map +0 -1
- package/build/src/models/transformers/LegacyExportProcessor.js +0 -214
- package/build/src/models/transformers/LegacyExportProcessor.js.map +0 -1
- package/build/src/models/transformers/PostmanBackupTransformer.d.ts +0 -97
- package/build/src/models/transformers/PostmanBackupTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/PostmanBackupTransformer.js +0 -185
- package/build/src/models/transformers/PostmanBackupTransformer.js.map +0 -1
- package/build/src/models/transformers/PostmanDataTransformer.d.ts +0 -10
- package/build/src/models/transformers/PostmanDataTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/PostmanDataTransformer.js +0 -50
- package/build/src/models/transformers/PostmanDataTransformer.js.map +0 -1
- package/build/src/models/transformers/PostmanTransformer.d.ts +0 -50
- package/build/src/models/transformers/PostmanTransformer.d.ts.map +0 -1
- package/build/src/models/transformers/PostmanTransformer.js +0 -90
- package/build/src/models/transformers/PostmanTransformer.js.map +0 -1
- package/build/src/models/transformers/PostmanV21Transformer.d.ts +0 -129
- package/build/src/models/transformers/PostmanV21Transformer.d.ts.map +0 -1
- package/build/src/models/transformers/PostmanV21Transformer.js +0 -196
- package/build/src/models/transformers/PostmanV21Transformer.js.map +0 -1
- package/build/src/models/transformers/PostmanV2Transformer.d.ts +0 -129
- package/build/src/models/transformers/PostmanV2Transformer.d.ts.map +0 -1
- package/build/src/models/transformers/PostmanV2Transformer.js +0 -196
- package/build/src/models/transformers/PostmanV2Transformer.js.map +0 -1
- package/build/src/models/transformers/har.d.ts +0 -858
- package/build/src/models/transformers/har.d.ts.map +0 -1
- package/build/src/models/transformers/har.js +0 -2
- package/build/src/models/transformers/har.js.map +0 -1
- package/build/src/proxy/HttpProjectProxy.d.ts +0 -42
- package/build/src/proxy/HttpProjectProxy.d.ts.map +0 -1
- package/build/src/proxy/HttpProjectProxy.js +0 -132
- package/build/src/proxy/HttpProjectProxy.js.map +0 -1
- package/build/src/proxy/Proxy.d.ts +0 -27
- package/build/src/proxy/Proxy.d.ts.map +0 -1
- package/build/src/proxy/Proxy.js +0 -7
- package/build/src/proxy/Proxy.js.map +0 -1
- package/build/src/proxy/ProxyService.d.ts +0 -24
- package/build/src/proxy/ProxyService.d.ts.map +0 -1
- package/build/src/proxy/ProxyService.js +0 -29
- package/build/src/proxy/ProxyService.js.map +0 -1
- package/build/src/proxy/RequestProxy.d.ts +0 -52
- package/build/src/proxy/RequestProxy.d.ts.map +0 -1
- package/build/src/proxy/RequestProxy.js +0 -56
- package/build/src/proxy/RequestProxy.js.map +0 -1
- package/build/src/runtime/http-engine/CoreEngine.d.ts +0 -299
- package/build/src/runtime/http-engine/CoreEngine.d.ts.map +0 -1
- package/build/src/runtime/http-engine/CoreEngine.js +0 -928
- package/build/src/runtime/http-engine/CoreEngine.js.map +0 -1
- package/build/src/runtime/http-engine/CoreEngine2.d.ts +0 -2
- package/build/src/runtime/http-engine/CoreEngine2.d.ts.map +0 -1
- package/build/src/runtime/http-engine/CoreEngine2.js +0 -2
- package/build/src/runtime/http-engine/CoreEngine2.js.map +0 -1
- package/build/src/runtime/http-engine/FormData.d.ts +0 -50
- package/build/src/runtime/http-engine/FormData.d.ts.map +0 -1
- package/build/src/runtime/http-engine/FormData.js +0 -167
- package/build/src/runtime/http-engine/FormData.js.map +0 -1
- package/build/src/runtime/http-engine/HttpErrorCodes.d.ts +0 -4
- package/build/src/runtime/http-engine/HttpErrorCodes.d.ts.map +0 -1
- package/build/src/runtime/http-engine/HttpErrorCodes.js +0 -166
- package/build/src/runtime/http-engine/HttpErrorCodes.js.map +0 -1
- package/build/src/runtime/http-engine/PayloadSupport.d.ts +0 -19
- package/build/src/runtime/http-engine/PayloadSupport.d.ts.map +0 -1
- package/build/src/runtime/http-engine/PayloadSupport.js +0 -80
- package/build/src/runtime/http-engine/PayloadSupport.js.map +0 -1
- package/build/src/runtime/http-engine/RequestUtils.d.ts +0 -66
- package/build/src/runtime/http-engine/RequestUtils.d.ts.map +0 -1
- package/build/src/runtime/http-engine/RequestUtils.js +0 -143
- package/build/src/runtime/http-engine/RequestUtils.js.map +0 -1
- package/build/src/runtime/http-engine/auth/AuthManager.d.ts +0 -73
- package/build/src/runtime/http-engine/auth/AuthManager.d.ts.map +0 -1
- package/build/src/runtime/http-engine/auth/AuthManager.js +0 -186
- package/build/src/runtime/http-engine/auth/AuthManager.js.map +0 -1
- package/build/src/runtime/http-engine/auth/index.d.ts +0 -2
- package/build/src/runtime/http-engine/auth/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/auth/index.js +0 -2
- package/build/src/runtime/http-engine/auth/index.js.map +0 -1
- package/build/src/runtime/http-engine/certificates/CertificateManager.d.ts +0 -11
- package/build/src/runtime/http-engine/certificates/CertificateManager.d.ts.map +0 -1
- package/build/src/runtime/http-engine/certificates/CertificateManager.js +0 -76
- package/build/src/runtime/http-engine/certificates/CertificateManager.js.map +0 -1
- package/build/src/runtime/http-engine/certificates/index.d.ts +0 -2
- package/build/src/runtime/http-engine/certificates/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/certificates/index.js +0 -2
- package/build/src/runtime/http-engine/certificates/index.js.map +0 -1
- package/build/src/runtime/http-engine/compression/CompressionManager.d.ts +0 -25
- package/build/src/runtime/http-engine/compression/CompressionManager.d.ts.map +0 -1
- package/build/src/runtime/http-engine/compression/CompressionManager.js +0 -89
- package/build/src/runtime/http-engine/compression/CompressionManager.js.map +0 -1
- package/build/src/runtime/http-engine/compression/index.d.ts +0 -2
- package/build/src/runtime/http-engine/compression/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/compression/index.js +0 -2
- package/build/src/runtime/http-engine/compression/index.js.map +0 -1
- package/build/src/runtime/http-engine/connections/ConnectionManager.d.ts +0 -57
- package/build/src/runtime/http-engine/connections/ConnectionManager.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/ConnectionManager.js +0 -78
- package/build/src/runtime/http-engine/connections/ConnectionManager.js.map +0 -1
- package/build/src/runtime/http-engine/connections/DigestAuthHandler.d.ts +0 -70
- package/build/src/runtime/http-engine/connections/DigestAuthHandler.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/DigestAuthHandler.js +0 -184
- package/build/src/runtime/http-engine/connections/DigestAuthHandler.js.map +0 -1
- package/build/src/runtime/http-engine/connections/DirectConnection.d.ts +0 -22
- package/build/src/runtime/http-engine/connections/DirectConnection.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/DirectConnection.js +0 -111
- package/build/src/runtime/http-engine/connections/DirectConnection.js.map +0 -1
- package/build/src/runtime/http-engine/connections/ProxyAuthHandler.d.ts +0 -60
- package/build/src/runtime/http-engine/connections/ProxyAuthHandler.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/ProxyAuthHandler.js +0 -138
- package/build/src/runtime/http-engine/connections/ProxyAuthHandler.js.map +0 -1
- package/build/src/runtime/http-engine/connections/ProxyConnection.d.ts +0 -14
- package/build/src/runtime/http-engine/connections/ProxyConnection.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/ProxyConnection.js +0 -47
- package/build/src/runtime/http-engine/connections/ProxyConnection.js.map +0 -1
- package/build/src/runtime/http-engine/connections/TunnelConnection.d.ts +0 -13
- package/build/src/runtime/http-engine/connections/TunnelConnection.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/TunnelConnection.js +0 -175
- package/build/src/runtime/http-engine/connections/TunnelConnection.js.map +0 -1
- package/build/src/runtime/http-engine/connections/index.d.ts +0 -7
- package/build/src/runtime/http-engine/connections/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/connections/index.js +0 -7
- package/build/src/runtime/http-engine/connections/index.js.map +0 -1
- package/build/src/runtime/http-engine/constants.d.ts +0 -69
- package/build/src/runtime/http-engine/constants.d.ts.map +0 -1
- package/build/src/runtime/http-engine/constants.js +0 -90
- package/build/src/runtime/http-engine/constants.js.map +0 -1
- package/build/src/runtime/http-engine/cookies/CookieProcessor.d.ts +0 -5
- package/build/src/runtime/http-engine/cookies/CookieProcessor.d.ts.map +0 -1
- package/build/src/runtime/http-engine/cookies/CookieProcessor.js +0 -20
- package/build/src/runtime/http-engine/cookies/CookieProcessor.js.map +0 -1
- package/build/src/runtime/http-engine/cookies/index.d.ts +0 -2
- package/build/src/runtime/http-engine/cookies/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/cookies/index.js +0 -2
- package/build/src/runtime/http-engine/cookies/index.js.map +0 -1
- package/build/src/runtime/http-engine/errors/HttpEngineErrors.d.ts +0 -156
- package/build/src/runtime/http-engine/errors/HttpEngineErrors.d.ts.map +0 -1
- package/build/src/runtime/http-engine/errors/HttpEngineErrors.js +0 -227
- package/build/src/runtime/http-engine/errors/HttpEngineErrors.js.map +0 -1
- package/build/src/runtime/http-engine/errors/index.d.ts +0 -2
- package/build/src/runtime/http-engine/errors/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/errors/index.js +0 -2
- package/build/src/runtime/http-engine/errors/index.js.map +0 -1
- package/build/src/runtime/http-engine/message/MessageBuilder.d.ts +0 -66
- package/build/src/runtime/http-engine/message/MessageBuilder.d.ts.map +0 -1
- package/build/src/runtime/http-engine/message/MessageBuilder.js +0 -161
- package/build/src/runtime/http-engine/message/MessageBuilder.js.map +0 -1
- package/build/src/runtime/http-engine/message/MessageProcessor.d.ts +0 -27
- package/build/src/runtime/http-engine/message/MessageProcessor.d.ts.map +0 -1
- package/build/src/runtime/http-engine/message/MessageProcessor.js +0 -51
- package/build/src/runtime/http-engine/message/MessageProcessor.js.map +0 -1
- package/build/src/runtime/http-engine/message/index.d.ts +0 -3
- package/build/src/runtime/http-engine/message/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/message/index.js +0 -3
- package/build/src/runtime/http-engine/message/index.js.map +0 -1
- package/build/src/runtime/http-engine/ntlm/Des.d.ts +0 -5
- package/build/src/runtime/http-engine/ntlm/Des.d.ts.map +0 -1
- package/build/src/runtime/http-engine/ntlm/Des.js +0 -361
- package/build/src/runtime/http-engine/ntlm/Des.js.map +0 -1
- package/build/src/runtime/http-engine/ntlm/MD4.d.ts +0 -14
- package/build/src/runtime/http-engine/ntlm/MD4.d.ts.map +0 -1
- package/build/src/runtime/http-engine/ntlm/MD4.js +0 -122
- package/build/src/runtime/http-engine/ntlm/MD4.js.map +0 -1
- package/build/src/runtime/http-engine/ntlm/NtlmAuth.d.ts +0 -21
- package/build/src/runtime/http-engine/ntlm/NtlmAuth.d.ts.map +0 -1
- package/build/src/runtime/http-engine/ntlm/NtlmAuth.js +0 -163
- package/build/src/runtime/http-engine/ntlm/NtlmAuth.js.map +0 -1
- package/build/src/runtime/http-engine/ntlm/NtlmMessage.d.ts +0 -11
- package/build/src/runtime/http-engine/ntlm/NtlmMessage.d.ts.map +0 -1
- package/build/src/runtime/http-engine/ntlm/NtlmMessage.js +0 -58
- package/build/src/runtime/http-engine/ntlm/NtlmMessage.js.map +0 -1
- package/build/src/runtime/http-engine/parsers/BodyParser.d.ts +0 -39
- package/build/src/runtime/http-engine/parsers/BodyParser.d.ts.map +0 -1
- package/build/src/runtime/http-engine/parsers/BodyParser.js +0 -145
- package/build/src/runtime/http-engine/parsers/BodyParser.js.map +0 -1
- package/build/src/runtime/http-engine/parsers/HeadersParser.d.ts +0 -29
- package/build/src/runtime/http-engine/parsers/HeadersParser.d.ts.map +0 -1
- package/build/src/runtime/http-engine/parsers/HeadersParser.js +0 -88
- package/build/src/runtime/http-engine/parsers/HeadersParser.js.map +0 -1
- package/build/src/runtime/http-engine/parsers/HttpResponseParser.d.ts +0 -91
- package/build/src/runtime/http-engine/parsers/HttpResponseParser.d.ts.map +0 -1
- package/build/src/runtime/http-engine/parsers/HttpResponseParser.js +0 -236
- package/build/src/runtime/http-engine/parsers/HttpResponseParser.js.map +0 -1
- package/build/src/runtime/http-engine/parsers/StatusParser.d.ts +0 -20
- package/build/src/runtime/http-engine/parsers/StatusParser.d.ts.map +0 -1
- package/build/src/runtime/http-engine/parsers/StatusParser.js +0 -51
- package/build/src/runtime/http-engine/parsers/StatusParser.js.map +0 -1
- package/build/src/runtime/http-engine/parsers/index.d.ts +0 -5
- package/build/src/runtime/http-engine/parsers/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/parsers/index.js +0 -5
- package/build/src/runtime/http-engine/parsers/index.js.map +0 -1
- package/build/src/runtime/http-engine/response/ResponseProcessor.d.ts +0 -22
- package/build/src/runtime/http-engine/response/ResponseProcessor.d.ts.map +0 -1
- package/build/src/runtime/http-engine/response/ResponseProcessor.js +0 -25
- package/build/src/runtime/http-engine/response/ResponseProcessor.js.map +0 -1
- package/build/src/runtime/http-engine/response/index.d.ts +0 -2
- package/build/src/runtime/http-engine/response/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/response/index.js +0 -2
- package/build/src/runtime/http-engine/response/index.js.map +0 -1
- package/build/src/runtime/http-engine/statistics/StatisticsProcessor.d.ts +0 -7
- package/build/src/runtime/http-engine/statistics/StatisticsProcessor.d.ts.map +0 -1
- package/build/src/runtime/http-engine/statistics/StatisticsProcessor.js +0 -40
- package/build/src/runtime/http-engine/statistics/StatisticsProcessor.js.map +0 -1
- package/build/src/runtime/http-engine/statistics/index.d.ts +0 -2
- package/build/src/runtime/http-engine/statistics/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/statistics/index.js +0 -2
- package/build/src/runtime/http-engine/statistics/index.js.map +0 -1
- package/build/src/runtime/http-engine/url/UrlProcessor.d.ts +0 -24
- package/build/src/runtime/http-engine/url/UrlProcessor.d.ts.map +0 -1
- package/build/src/runtime/http-engine/url/UrlProcessor.js +0 -50
- package/build/src/runtime/http-engine/url/UrlProcessor.js.map +0 -1
- package/build/src/runtime/http-engine/url/index.d.ts +0 -2
- package/build/src/runtime/http-engine/url/index.d.ts.map +0 -1
- package/build/src/runtime/http-engine/url/index.js +0 -2
- package/build/src/runtime/http-engine/url/index.js.map +0 -1
- package/build/src/runtime/http-runner/ConditionCheck.d.ts +0 -75
- package/build/src/runtime/http-runner/ConditionCheck.d.ts.map +0 -1
- package/build/src/runtime/http-runner/ConditionCheck.js +0 -185
- package/build/src/runtime/http-runner/ConditionCheck.js.map +0 -1
- package/build/src/runtime/http-runner/HttpAssertionRunner.d.ts +0 -26
- package/build/src/runtime/http-runner/HttpAssertionRunner.d.ts.map +0 -1
- package/build/src/runtime/http-runner/HttpAssertionRunner.js +0 -180
- package/build/src/runtime/http-runner/HttpAssertionRunner.js.map +0 -1
- package/build/src/runtime/http-runner/HttpFlowRunner.d.ts +0 -21
- package/build/src/runtime/http-runner/HttpFlowRunner.d.ts.map +0 -1
- package/build/src/runtime/http-runner/HttpFlowRunner.js +0 -74
- package/build/src/runtime/http-runner/HttpFlowRunner.js.map +0 -1
- package/build/src/runtime/http-runner/HttpFlows.d.ts +0 -120
- package/build/src/runtime/http-runner/HttpFlows.d.ts.map +0 -1
- package/build/src/runtime/http-runner/HttpFlows.js +0 -568
- package/build/src/runtime/http-runner/HttpFlows.js.map +0 -1
- package/build/src/runtime/http-runner/HttpRequestRunner.d.ts +0 -148
- package/build/src/runtime/http-runner/HttpRequestRunner.d.ts.map +0 -1
- package/build/src/runtime/http-runner/HttpRequestRunner.js +0 -380
- package/build/src/runtime/http-runner/HttpRequestRunner.js.map +0 -1
- package/build/src/runtime/http-runner/HttpRuntimeEnvironment.d.ts +0 -26
- package/build/src/runtime/http-runner/HttpRuntimeEnvironment.d.ts.map +0 -1
- package/build/src/runtime/http-runner/HttpRuntimeEnvironment.js +0 -2
- package/build/src/runtime/http-runner/HttpRuntimeEnvironment.js.map +0 -1
- package/build/src/runtime/http-runner/RequestCookiesProcessor.d.ts +0 -26
- package/build/src/runtime/http-runner/RequestCookiesProcessor.d.ts.map +0 -1
- package/build/src/runtime/http-runner/RequestCookiesProcessor.js +0 -66
- package/build/src/runtime/http-runner/RequestCookiesProcessor.js.map +0 -1
- package/build/src/runtime/node/BaseRunner.d.ts +0 -21
- package/build/src/runtime/node/BaseRunner.d.ts.map +0 -1
- package/build/src/runtime/node/BaseRunner.js +0 -27
- package/build/src/runtime/node/BaseRunner.js.map +0 -1
- package/build/src/runtime/node/InteropInterfaces.d.ts +0 -136
- package/build/src/runtime/node/InteropInterfaces.d.ts.map +0 -1
- package/build/src/runtime/node/InteropInterfaces.js +0 -2
- package/build/src/runtime/node/InteropInterfaces.js.map +0 -1
- package/build/src/runtime/node/ProjectParallelRunner.d.ts +0 -96
- package/build/src/runtime/node/ProjectParallelRunner.d.ts.map +0 -1
- package/build/src/runtime/node/ProjectParallelRunner.js +0 -253
- package/build/src/runtime/node/ProjectParallelRunner.js.map +0 -1
- package/build/src/runtime/node/ProjectRequestRunner.d.ts +0 -109
- package/build/src/runtime/node/ProjectRequestRunner.d.ts.map +0 -1
- package/build/src/runtime/node/ProjectRequestRunner.js +0 -300
- package/build/src/runtime/node/ProjectRequestRunner.js.map +0 -1
- package/build/src/runtime/node/ProjectRunner.d.ts +0 -192
- package/build/src/runtime/node/ProjectRunner.d.ts.map +0 -1
- package/build/src/runtime/node/ProjectRunner.js +0 -304
- package/build/src/runtime/node/ProjectRunner.js.map +0 -1
- package/build/src/runtime/node/ProjectRunnerWorker.d.ts +0 -2
- package/build/src/runtime/node/ProjectRunnerWorker.d.ts.map +0 -1
- package/build/src/runtime/node/ProjectRunnerWorker.js +0 -77
- package/build/src/runtime/node/ProjectRunnerWorker.js.map +0 -1
- package/build/src/runtime/node/ProjectSerialRunner.d.ts +0 -12
- package/build/src/runtime/node/ProjectSerialRunner.d.ts.map +0 -1
- package/build/src/runtime/node/ProjectSerialRunner.js +0 -37
- package/build/src/runtime/node/ProjectSerialRunner.js.map +0 -1
- package/build/src/runtime/node/enums.d.ts +0 -9
- package/build/src/runtime/node/enums.d.ts.map +0 -1
- package/build/src/runtime/node/enums.js +0 -10
- package/build/src/runtime/node/enums.js.map +0 -1
- package/build/src/runtime/reporters/ProjectRunCliReporter.d.ts +0 -8
- package/build/src/runtime/reporters/ProjectRunCliReporter.d.ts.map +0 -1
- package/build/src/runtime/reporters/ProjectRunCliReporter.js +0 -75
- package/build/src/runtime/reporters/ProjectRunCliReporter.js.map +0 -1
- package/build/src/runtime/reporters/Reporter.d.ts +0 -36
- package/build/src/runtime/reporters/Reporter.d.ts.map +0 -1
- package/build/src/runtime/reporters/Reporter.js +0 -98
- package/build/src/runtime/reporters/Reporter.js.map +0 -1
- package/build/src/runtime/variables/Cache.d.ts +0 -24
- package/build/src/runtime/variables/Cache.d.ts.map +0 -1
- package/build/src/runtime/variables/Cache.js +0 -51
- package/build/src/runtime/variables/Cache.js.map +0 -1
- package/build/src/runtime/variables/EvalFunctions.d.ts +0 -59
- package/build/src/runtime/variables/EvalFunctions.d.ts.map +0 -1
- package/build/src/runtime/variables/EvalFunctions.js +0 -126
- package/build/src/runtime/variables/EvalFunctions.js.map +0 -1
- package/build/src/runtime/variables/ProjectVariables.d.ts +0 -6
- package/build/src/runtime/variables/ProjectVariables.d.ts.map +0 -1
- package/build/src/runtime/variables/ProjectVariables.js +0 -7
- package/build/src/runtime/variables/ProjectVariables.js.map +0 -1
- package/build/src/runtime/variables/VariablesProcessor.d.ts +0 -169
- package/build/src/runtime/variables/VariablesProcessor.d.ts.map +0 -1
- package/build/src/runtime/variables/VariablesProcessor.js +0 -518
- package/build/src/runtime/variables/VariablesProcessor.js.map +0 -1
- package/build/src/runtime/variables/VariablesTokenizer.d.ts +0 -27
- package/build/src/runtime/variables/VariablesTokenizer.d.ts.map +0 -1
- package/build/src/runtime/variables/VariablesTokenizer.js +0 -53
- package/build/src/runtime/variables/VariablesTokenizer.js.map +0 -1
- package/build/src/sdk/HistorySdk.d.ts +0 -60
- package/build/src/sdk/HistorySdk.d.ts.map +0 -1
- package/build/src/sdk/HistorySdk.js +0 -243
- package/build/src/sdk/HistorySdk.js.map +0 -1
- package/build/src/sdk/ProjectExecutionsSdk.d.ts +0 -56
- package/build/src/sdk/ProjectExecutionsSdk.d.ts.map +0 -1
- package/build/src/sdk/ProjectExecutionsSdk.js +0 -114
- package/build/src/sdk/ProjectExecutionsSdk.js.map +0 -1
- package/build/src/sdk/WsClient.d.ts +0 -25
- package/build/src/sdk/WsClient.d.ts.map +0 -1
- package/build/src/sdk/WsClient.js +0 -4
- package/build/src/sdk/WsClient.js.map +0 -1
- package/build/src/sdk/WsClientNode.d.ts +0 -25
- package/build/src/sdk/WsClientNode.d.ts.map +0 -1
- package/build/src/sdk/WsClientNode.js +0 -66
- package/build/src/sdk/WsClientNode.js.map +0 -1
- package/build/src/sdk/WsClientWeb.d.ts +0 -24
- package/build/src/sdk/WsClientWeb.d.ts.map +0 -1
- package/build/src/sdk/WsClientWeb.js +0 -73
- package/build/src/sdk/WsClientWeb.js.map +0 -1
- package/build/src/testing/TestCliHelper.d.ts +0 -30
- package/build/src/testing/TestCliHelper.d.ts.map +0 -1
- package/build/src/testing/TestCliHelper.js +0 -83
- package/build/src/testing/TestCliHelper.js.map +0 -1
- package/build/src/testing/getPort.d.ts +0 -52
- package/build/src/testing/getPort.d.ts.map +0 -1
- package/build/src/testing/getPort.js +0 -169
- package/build/src/testing/getPort.js.map +0 -1
- package/build/tsconfig.tsbuildinfo +0 -1
- package/noop.ts +0 -3
- package/oauth-popup.html +0 -33
- package/skills-lock.json +0 -10
- package/src/authorization/AuthorizationError.ts +0 -32
- package/src/authorization/CustomParameters.ts +0 -66
- package/src/authorization/OAuth2Authorization.ts +0 -1013
- package/src/authorization/OidcAuthorization.ts +0 -158
- package/src/authorization/Utils.ts +0 -136
- package/src/authorization/lib/IframeAuthorization.ts +0 -127
- package/src/authorization/lib/KnownGrants.ts +0 -6
- package/src/authorization/lib/PopupAuthorization.ts +0 -80
- package/src/authorization/lib/SecurityProcessor.ts +0 -294
- package/src/authorization/lib/Tokens.ts +0 -135
- package/src/authorization/lib/Utils.ts +0 -95
- package/src/authorization/types.ts +0 -197
- package/src/cookies/CookieJar.ts +0 -26
- package/src/cookies/CookieParser.ts +0 -353
- package/src/cookies/InMemoryCookieJar.ts +0 -70
- package/src/cookies/Punycode.ts +0 -134
- package/src/data/DataExtractor.ts +0 -200
- package/src/data/DataReader.ts +0 -11
- package/src/data/JmespathReader.ts +0 -26
- package/src/data/Json2Xml.ts +0 -192
- package/src/data/JsonReader.ts +0 -41
- package/src/data/PayloadPointer.ts +0 -50
- package/src/data/RequestDataExtractor.ts +0 -124
- package/src/data/UrlEncodedReader.ts +0 -21
- package/src/data/XmlReader.ts +0 -128
- package/src/events/authorization/AuthorizationEventTypes.ts +0 -22
- package/src/events/authorization/AuthorizationEvents.ts +0 -74
- package/src/events/cookies/CookieEventTypes.ts +0 -13
- package/src/events/cookies/CookieEvents.ts +0 -168
- package/src/events/environment/EnvironmentEventTypes.ts +0 -3
- package/src/events/environment/EnvironmentEvents.ts +0 -25
- package/src/events/transport/TransportEventTypes.ts +0 -32
- package/src/events/transport/TransportEvents.ts +0 -105
- package/src/lib/Buffer.ts +0 -62
- package/src/lib/definitions/HttpDefinitions.ts +0 -68
- package/src/lib/fs/Fs.ts +0 -258
- package/src/lib/headers/HeadersData.ts +0 -692
- package/src/lib/parsers/UriTemplate.ts +0 -533
- package/src/lib/parsers/UrlEncoder.ts +0 -129
- package/src/lib/parsers/UrlParser.ts +0 -202
- package/src/lib/parsers/UrlProcessor.ts +0 -882
- package/src/lib/parsers/UrlValueParser.ts +0 -213
- package/src/lib/timers/Timers.ts +0 -27
- package/src/lib/transformers/PayloadSerializer.ts +0 -538
- package/src/mocking/LegacyInterfaces.ts +0 -51
- package/src/mocking/LegacyMock.ts +0 -37
- package/src/mocking/ProjectMock.ts +0 -38
- package/src/mocking/README.md +0 -40
- package/src/mocking/legacy/Authorization.ts +0 -40
- package/src/mocking/legacy/Certificates.ts +0 -148
- package/src/mocking/legacy/Cookies.ts +0 -53
- package/src/mocking/legacy/HostRules.ts +0 -45
- package/src/mocking/legacy/Http.ts +0 -248
- package/src/mocking/legacy/HttpResponse.ts +0 -107
- package/src/mocking/legacy/RestApi.ts +0 -70
- package/src/mocking/legacy/Urls.ts +0 -46
- package/src/mocking/legacy/Variables.ts +0 -54
- package/src/mocking/lib/Certificates.ts +0 -64
- package/src/mocking/lib/History.ts +0 -187
- package/src/mocking/lib/HostRules.ts +0 -45
- package/src/mocking/lib/Request.ts +0 -100
- package/src/mocking/lib/Response.ts +0 -121
- package/src/mocking/lib/Url.ts +0 -45
- package/src/models/Authorization.ts +0 -502
- package/src/models/AuthorizationData.ts +0 -67
- package/src/models/CertificateFile.ts +0 -79
- package/src/models/ClientCertificate.ts +0 -328
- package/src/models/Environment.ts +0 -309
- package/src/models/ErrorResponse.ts +0 -115
- package/src/models/HeadersArray.ts +0 -63
- package/src/models/HostRule.ts +0 -178
- package/src/models/HttpCookie.ts +0 -459
- package/src/models/HttpHistory.ts +0 -256
- package/src/models/HttpProject.ts +0 -1533
- package/src/models/HttpRequest.ts +0 -166
- package/src/models/HttpResponse.ts +0 -136
- package/src/models/License.ts +0 -113
- package/src/models/Project.ts +0 -93
- package/src/models/ProjectDefinitionProperty.ts +0 -40
- package/src/models/ProjectExecution.ts +0 -225
- package/src/models/ProjectFolder.ts +0 -440
- package/src/models/ProjectItem.ts +0 -158
- package/src/models/ProjectParent.ts +0 -34
- package/src/models/ProjectRequest.ts +0 -522
- package/src/models/ProjectSchema.ts +0 -202
- package/src/models/Property.ts +0 -517
- package/src/models/Provider.ts +0 -99
- package/src/models/Request.ts +0 -475
- package/src/models/RequestAuthorization.ts +0 -122
- package/src/models/RequestConfig.ts +0 -368
- package/src/models/RequestLog.ts +0 -193
- package/src/models/RequestTime.ts +0 -105
- package/src/models/RequestUiMeta.ts +0 -248
- package/src/models/RequestsSize.ts +0 -63
- package/src/models/Response.ts +0 -163
- package/src/models/ResponseAuthorization.ts +0 -104
- package/src/models/ResponseRedirect.ts +0 -156
- package/src/models/SentRequest.ts +0 -122
- package/src/models/SerializablePayload.ts +0 -122
- package/src/models/Server.ts +0 -183
- package/src/models/Url.ts +0 -87
- package/src/models/http-flows/AssertionError.ts +0 -57
- package/src/models/http-flows/HttpAssertion.ts +0 -90
- package/src/models/http-flows/HttpFlows.ts +0 -82
- package/src/models/http-flows/HttpStep.ts +0 -50
- package/src/models/http-flows/LegacyTranslator.ts +0 -303
- package/src/models/http-flows/steps/assertion/EqualAssertion.ts +0 -124
- package/src/models/http-flows/steps/assertion/GreaterThanAssertion.ts +0 -81
- package/src/models/http-flows/steps/assertion/IncludesAssertion.ts +0 -62
- package/src/models/http-flows/steps/assertion/IsEmptyAssertion.ts +0 -41
- package/src/models/http-flows/steps/assertion/IsNotEmptyAssertion.ts +0 -41
- package/src/models/http-flows/steps/assertion/LengthOfAssertion.ts +0 -62
- package/src/models/http-flows/steps/assertion/LessThanAssertion.ts +0 -81
- package/src/models/http-flows/steps/assertion/MatchesAssertion.ts +0 -62
- package/src/models/http-flows/steps/assertion/MatchesSchemaAssertion.ts +0 -87
- package/src/models/http-flows/steps/assertion/NotEqualAssertion.ts +0 -124
- package/src/models/http-flows/steps/assertion/NotIncludesAssertion.ts +0 -62
- package/src/models/http-flows/steps/assertion/NotOkAssertion.ts +0 -41
- package/src/models/http-flows/steps/assertion/NotToBeAssertion.ts +0 -63
- package/src/models/http-flows/steps/assertion/OkAssertion.ts +0 -41
- package/src/models/http-flows/steps/assertion/ToBeAssertion.ts +0 -70
- package/src/models/http-flows/steps/data/DeleteCookieStep.ts +0 -108
- package/src/models/http-flows/steps/data/DeleteVariableStep.ts +0 -78
- package/src/models/http-flows/steps/data/ReadDataSourceStep.ts +0 -104
- package/src/models/http-flows/steps/data/ReadDataStep.ts +0 -133
- package/src/models/http-flows/steps/data/ReadValueStep.ts +0 -89
- package/src/models/http-flows/steps/data/SetCookieStep.ts +0 -208
- package/src/models/http-flows/steps/data/SetDataStep.ts +0 -125
- package/src/models/http-flows/steps/data/SetVariableStep.ts +0 -82
- package/src/models/http-flows/steps/transformation/AsLowerCaseStep.ts +0 -41
- package/src/models/http-flows/steps/transformation/AsNumberStep.ts +0 -41
- package/src/models/http-flows/steps/transformation/AsUpperCaseStep.ts +0 -41
- package/src/models/http-flows/steps/transformation/RoundStep.ts +0 -87
- package/src/models/http-flows/steps/transformation/SubstringStep.ts +0 -96
- package/src/models/http-flows/steps/transformation/TrimStep.ts +0 -43
- package/src/models/legacy/DataExport.ts +0 -254
- package/src/models/legacy/Normalizer.ts +0 -107
- package/src/models/legacy/actions/Actions.ts +0 -277
- package/src/models/legacy/authorization/Authorization.ts +0 -581
- package/src/models/legacy/models/ApiTypes.ts +0 -202
- package/src/models/legacy/models/ArcLegacyProject.ts +0 -38
- package/src/models/legacy/models/AuthData.ts +0 -15
- package/src/models/legacy/models/ClientCertificate.ts +0 -93
- package/src/models/legacy/models/Cookies.ts +0 -52
- package/src/models/legacy/models/HostRule.ts +0 -35
- package/src/models/legacy/models/RestApi.ts +0 -49
- package/src/models/legacy/models/UrlHistory.ts +0 -33
- package/src/models/legacy/models/Variable.ts +0 -40
- package/src/models/legacy/models/base.ts +0 -95
- package/src/models/legacy/request/ArcRequest.ts +0 -405
- package/src/models/legacy/request/ArcResponse.ts +0 -177
- package/src/models/legacy/request/HistoryData.ts +0 -47
- package/src/models/legacy/request/RequestBody.ts +0 -87
- package/src/models/transformers/ArcDexieTransformer.ts +0 -323
- package/src/models/transformers/ArcLegacyNormalizer.ts +0 -84
- package/src/models/transformers/ArcLegacyTransformer.ts +0 -196
- package/src/models/transformers/ArcPouchTransformer.ts +0 -184
- package/src/models/transformers/BaseTransformer.ts +0 -113
- package/src/models/transformers/ImportUtils.ts +0 -135
- package/src/models/transformers/LegacyDataExportToApiProject.ts +0 -76
- package/src/models/transformers/LegacyExportProcessor.ts +0 -248
- package/src/models/transformers/PostmanBackupTransformer.ts +0 -303
- package/src/models/transformers/PostmanDataTransformer.ts +0 -54
- package/src/models/transformers/PostmanTransformer.ts +0 -113
- package/src/models/transformers/PostmanV21Transformer.ts +0 -317
- package/src/models/transformers/PostmanV2Transformer.ts +0 -317
- package/src/models/transformers/har.ts +0 -865
- package/src/proxy/HttpProjectProxy.ts +0 -169
- package/src/proxy/Proxy.ts +0 -30
- package/src/proxy/ProxyService.ts +0 -37
- package/src/proxy/RequestProxy.ts +0 -101
- package/src/proxy/readme.md +0 -8
- package/src/runtime/http-engine/CoreEngine.ts +0 -1084
- package/src/runtime/http-engine/CoreEngine2.ts +0 -0
- package/src/runtime/http-engine/FormData.ts +0 -200
- package/src/runtime/http-engine/HttpErrorCodes.ts +0 -176
- package/src/runtime/http-engine/PayloadSupport.ts +0 -93
- package/src/runtime/http-engine/RequestUtils.ts +0 -162
- package/src/runtime/http-engine/auth/AuthManager.ts +0 -242
- package/src/runtime/http-engine/certificates/CertificateManager.ts +0 -74
- package/src/runtime/http-engine/compression/CompressionManager.ts +0 -99
- package/src/runtime/http-engine/connections/ConnectionManager.ts +0 -123
- package/src/runtime/http-engine/connections/DigestAuthHandler.ts +0 -238
- package/src/runtime/http-engine/connections/DirectConnection.ts +0 -138
- package/src/runtime/http-engine/connections/ProxyAuthHandler.ts +0 -179
- package/src/runtime/http-engine/connections/ProxyConnection.ts +0 -55
- package/src/runtime/http-engine/connections/TunnelConnection.ts +0 -192
- package/src/runtime/http-engine/constants.ts +0 -103
- package/src/runtime/http-engine/cookies/CookieProcessor.ts +0 -25
- package/src/runtime/http-engine/errors/HttpEngineErrors.ts +0 -319
- package/src/runtime/http-engine/message/MessageBuilder.ts +0 -201
- package/src/runtime/http-engine/message/MessageProcessor.ts +0 -73
- package/src/runtime/http-engine/ntlm/Des.ts +0 -372
- package/src/runtime/http-engine/ntlm/MD4.ts +0 -137
- package/src/runtime/http-engine/ntlm/NtlmAuth.ts +0 -187
- package/src/runtime/http-engine/ntlm/NtlmMessage.ts +0 -64
- package/src/runtime/http-engine/parsers/BodyParser.ts +0 -171
- package/src/runtime/http-engine/parsers/HeadersParser.ts +0 -103
- package/src/runtime/http-engine/parsers/HttpResponseParser.ts +0 -280
- package/src/runtime/http-engine/parsers/StatusParser.ts +0 -69
- package/src/runtime/http-engine/response/ResponseProcessor.ts +0 -46
- package/src/runtime/http-engine/statistics/StatisticsProcessor.ts +0 -52
- package/src/runtime/http-engine/url/UrlProcessor.ts +0 -55
- package/src/runtime/http-runner/ConditionCheck.ts +0 -193
- package/src/runtime/http-runner/HttpAssertionRunner.ts +0 -204
- package/src/runtime/http-runner/HttpFlowRunner.ts +0 -105
- package/src/runtime/http-runner/HttpFlows.ts +0 -649
- package/src/runtime/http-runner/HttpRequestRunner.ts +0 -427
- package/src/runtime/http-runner/HttpRuntimeEnvironment.ts +0 -27
- package/src/runtime/http-runner/RequestCookiesProcessor.ts +0 -80
- package/src/runtime/node/BaseRunner.ts +0 -29
- package/src/runtime/node/InteropInterfaces.ts +0 -143
- package/src/runtime/node/ProjectParallelRunner.ts +0 -321
- package/src/runtime/node/ProjectRequestRunner.ts +0 -364
- package/src/runtime/node/ProjectRunner.ts +0 -395
- package/src/runtime/node/ProjectRunnerWorker.ts +0 -83
- package/src/runtime/node/ProjectSerialRunner.ts +0 -37
- package/src/runtime/node/enums.ts +0 -8
- package/src/runtime/reporters/ProjectRunCliReporter.ts +0 -81
- package/src/runtime/reporters/Reporter.ts +0 -113
- package/src/runtime/variables/Cache.ts +0 -53
- package/src/runtime/variables/EvalFunctions.ts +0 -135
- package/src/runtime/variables/ProjectVariables.ts +0 -5
- package/src/runtime/variables/VariablesProcessor.ts +0 -555
- package/src/runtime/variables/VariablesTokenizer.ts +0 -55
- package/src/sdk/HistorySdk.ts +0 -272
- package/src/sdk/ProjectExecutionsSdk.ts +0 -135
- package/src/sdk/WsClient.ts +0 -28
- package/src/sdk/WsClientNode.ts +0 -68
- package/src/sdk/WsClientWeb.ts +0 -75
- package/src/testing/TestCliHelper.ts +0 -93
- package/src/testing/getPort.ts +0 -215
- package/tests/resources/http/drive-list.ts +0 -575
- package/tests/resources/http/html.html +0 -317
- package/tests/resources/http/jpeg.jpg +0 -0
- package/tests/resources/http/json.json +0 -187
- package/tests/resources/http/png.png +0 -0
- package/tests/resources/http/svg.svg +0 -3
- package/tests/resources/http/webp.webp +0 -0
- package/tests/resources/http/xml.xml +0 -211
- package/tests/resources/ssl/cert-auth-server/alice-password.p12 +0 -0
- package/tests/resources/ssl/cert-auth-server/alice-password.txt +0 -1
- package/tests/resources/ssl/cert-auth-server/alice.p12 +0 -0
- package/tests/resources/ssl/cert-auth-server/alice_cert.pem +0 -28
- package/tests/resources/ssl/cert-auth-server/alice_csr.pem +0 -26
- package/tests/resources/ssl/cert-auth-server/alice_key.pem +0 -52
- package/tests/resources/ssl/cert-auth-server/bob-password.txt +0 -1
- package/tests/resources/ssl/cert-auth-server/bob.p12 +0 -0
- package/tests/resources/ssl/cert-auth-server/bob_cert.pem +0 -27
- package/tests/resources/ssl/cert-auth-server/bob_csr.pem +0 -26
- package/tests/resources/ssl/cert-auth-server/bob_key.pem +0 -52
- package/tests/resources/ssl/cert-auth-server/create.sh +0 -17
- package/tests/resources/ssl/cert-auth-server/server_cert.pem +0 -31
- package/tests/resources/ssl/cert-auth-server/server_key.pem +0 -52
- package/tests/resources/ssl/certs/ca.cert.pem +0 -23
- package/tests/resources/ssl/certs/ca.privkey.pem +0 -27
- package/tests/resources/ssl/certs/ca.srl +0 -1
- package/tests/resources/ssl/certs/cert.pem +0 -20
- package/tests/resources/ssl/certs/csr.pem +0 -17
- package/tests/resources/ssl/certs/fullchain.pem +0 -43
- package/tests/resources/ssl/certs/privkey.pem +0 -27
- package/tests/resources/ssl/certs/root-ca.crt +0 -0
- package/tests/servers/ExpressServer.ts +0 -124
- package/tests/servers/ProxyServer.ts +0 -374
- package/tests/servers/cert-helper.ts +0 -2
- package/tests/servers/express-routes/ApiEndpoint.ts +0 -24
- package/tests/servers/express-routes/BaseApi.ts +0 -106
- package/tests/servers/express-routes/BasicAuthRoute.ts +0 -36
- package/tests/servers/express-routes/BearerAuthRoute.ts +0 -35
- package/tests/servers/express-routes/CertificatesApi.ts +0 -46
- package/tests/servers/express-routes/CompressApi.ts +0 -71
- package/tests/servers/express-routes/CookieApi.ts +0 -20
- package/tests/servers/express-routes/DelayRoute.ts +0 -28
- package/tests/servers/express-routes/GetApi.ts +0 -58
- package/tests/servers/express-routes/HeadersApi.ts +0 -17
- package/tests/servers/express-routes/ImagesApi.ts +0 -44
- package/tests/servers/express-routes/NTLMRoute.ts +0 -29
- package/tests/servers/express-routes/PostApi.ts +0 -31
- package/tests/servers/express-routes/QueryParamsApi.ts +0 -17
- package/tests/servers/express-routes/RedirectsApi.ts +0 -139
- package/tests/servers/express-routes/ResponsesApi.ts +0 -68
- package/tests/servers/express-routes/StatusCodeApi.ts +0 -38
- package/tests/servers/express-routes/StreamApi.ts +0 -60
- package/tests/servers/express-routes/TestsApi.ts +0 -47
- package/tests/servers/oauth2mock/ServerMock.js +0 -454
- package/tests/servers/ssl.ts +0 -93
- package/tests/unit/authorization/SecurityProcessor.spec.ts +0 -538
- package/tests/unit/cookies/CookieParser.spec.ts +0 -354
- package/tests/unit/cookies/InMemoryCookieJar.spec.ts +0 -112
- package/tests/unit/data/JmesparthReader.spec.ts +0 -36
- package/tests/unit/data/Json2Xml.spec.ts +0 -178
- package/tests/unit/data/JsonReader.spec.ts +0 -82
- package/tests/unit/data/PayloadPointer.spec.ts +0 -56
- package/tests/unit/data/RequestDataExtractor.spec.ts +0 -469
- package/tests/unit/data/UrlEncodedReader.spec.ts +0 -12
- package/tests/unit/data/XmlReader.spec.ts +0 -84
- package/tests/unit/events/authorization.spec.ts +0 -150
- package/tests/unit/events/cookie.spec.ts +0 -274
- package/tests/unit/events/transport.spec.ts +0 -139
- package/tests/unit/legacy-transformers/ARC-legacy-import.spec.ts +0 -150
- package/tests/unit/legacy-transformers/ArcDexieTransformer.spec.ts +0 -194
- package/tests/unit/legacy-transformers/ArcLegacyTransformer.spec.ts +0 -112
- package/tests/unit/legacy-transformers/ArcPouchTransformer.spec.ts +0 -245
- package/tests/unit/legacy-transformers/DataTestHelper.ts +0 -50
- package/tests/unit/legacy-transformers/LegacyExportProcessor.spec.ts +0 -450
- package/tests/unit/legacy-transformers/data/arc-pouchdb.json +0 -396
- package/tests/unit/legacy-transformers/data/dexie-data-export.json +0 -890
- package/tests/unit/legacy-transformers/data/dexie-history-export.json +0 -877
- package/tests/unit/legacy-transformers/data/dexie-saved-export.json +0 -385
- package/tests/unit/legacy-transformers/data/legacy-data-import.json +0 -51
- package/tests/unit/legacy-transformers/data/legacy-request-import.json +0 -20
- package/tests/unit/legacy-transformers/data/pouch-data-export.json +0 -242
- package/tests/unit/lib/UriTemplate.spec.ts +0 -418
- package/tests/unit/lib/UrlEncoder.spec.ts +0 -36
- package/tests/unit/lib/UrlParser.spec.ts +0 -359
- package/tests/unit/lib/UrlProcessor.spec.ts +0 -894
- package/tests/unit/lib/buffer.spec.ts +0 -33
- package/tests/unit/lib/payload_serializer.spec.ts +0 -171
- package/tests/unit/mocking/current/Certificates.spec.ts +0 -96
- package/tests/unit/mocking/current/HostRules.spec.ts +0 -59
- package/tests/unit/mocking/current/Urls.spec.ts +0 -58
- package/tests/unit/mocking/legacy/ArcMock.spec.ts +0 -16
- package/tests/unit/mocking/legacy/Authorization.spec.ts +0 -57
- package/tests/unit/mocking/legacy/Certificates.spec.ts +0 -185
- package/tests/unit/mocking/legacy/Cookies.spec.ts +0 -67
- package/tests/unit/mocking/legacy/HostRules.spec.ts +0 -59
- package/tests/unit/mocking/legacy/Http.spec.ts +0 -533
- package/tests/unit/mocking/legacy/RestApi.spec.ts +0 -132
- package/tests/unit/mocking/legacy/Urls.spec.ts +0 -57
- package/tests/unit/mocking/legacy/Variables.spec.ts +0 -73
- package/tests/unit/models/Certificate/from_name.spec.ts +0 -21
- package/tests/unit/models/Project/consume.spec.ts +0 -16
- package/tests/unit/models/Project/create.spec.ts +0 -132
- package/tests/unit/models/certificate.spec.ts +0 -257
- package/tests/unit/models/environment.spec.ts +0 -574
- package/tests/unit/models/error_response.spec.ts +0 -183
- package/tests/unit/models/headers_array.spec.ts +0 -86
- package/tests/unit/models/host_rule.spec.ts +0 -196
- package/tests/unit/models/http-actions/assertion/equal_assertion.spec.ts +0 -103
- package/tests/unit/models/http-actions/assertion/greater_than_assertion.spec.ts +0 -91
- package/tests/unit/models/http-actions/assertion/includes_assertion.spec.ts +0 -71
- package/tests/unit/models/http-actions/assertion/less_than_assertion.spec.ts +0 -91
- package/tests/unit/models/http-actions/assertion/matches_assertion.spec.ts +0 -71
- package/tests/unit/models/http-actions/assertion/matches_schema_assertion.spec.ts +0 -117
- package/tests/unit/models/http-actions/assertion/not_equal_assertion.spec.ts +0 -103
- package/tests/unit/models/http-actions/assertion/not_includes_assertion.spec.ts +0 -71
- package/tests/unit/models/http-actions/assertion/not_ok_assertion.spec.ts +0 -47
- package/tests/unit/models/http-actions/assertion/not_to_be_assertion.spec.ts +0 -72
- package/tests/unit/models/http-actions/assertion/ok_assertion.spec.ts +0 -44
- package/tests/unit/models/http-actions/assertion/to_be_assertion.spec.ts +0 -71
- package/tests/unit/models/http-actions/transformation/as_lower_case_step.spec.ts +0 -47
- package/tests/unit/models/http-actions/transformation/as_number_step.spec.ts +0 -47
- package/tests/unit/models/http-actions/transformation/as_upper_case_step.spec.ts +0 -47
- package/tests/unit/models/http-actions/transformation/round_step.spec.ts +0 -69
- package/tests/unit/models/http-actions/transformation/substring_step.spec.ts +0 -85
- package/tests/unit/models/http-actions/transformation/trim_step.spec.ts +0 -44
- package/tests/unit/models/http_cookie.spec.ts +0 -516
- package/tests/unit/models/http_history.spec.ts +0 -443
- package/tests/unit/models/http_project.spec.ts +0 -2424
- package/tests/unit/models/http_request.spec.ts +0 -365
- package/tests/unit/models/http_response.spec.ts +0 -289
- package/tests/unit/models/license.spec.ts +0 -108
- package/tests/unit/models/project_folder.spec.ts +0 -926
- package/tests/unit/models/project_item.spec.ts +0 -137
- package/tests/unit/models/project_request.spec.ts +0 -1047
- package/tests/unit/models/project_schema.spec.ts +0 -236
- package/tests/unit/models/property.spec.ts +0 -625
- package/tests/unit/models/provider.spec.ts +0 -102
- package/tests/unit/models/request.spec.ts +0 -1206
- package/tests/unit/models/request_log.spec.ts +0 -308
- package/tests/unit/models/request_time.spec.ts +0 -138
- package/tests/unit/models/response.spec.ts +0 -384
- package/tests/unit/models/response_redirect.spec.ts +0 -303
- package/tests/unit/models/sent_request.spec.ts +0 -206
- package/tests/unit/models/server.spec.ts +0 -195
- package/tests/unit/postman-transformers/PostmanTransformer.spec.ts +0 -418
- package/tests/unit/postman-transformers/data/Backup.postman_dump.json +0 -750
- package/tests/unit/postman-transformers/data/HTTPBin.postman_collection-2.0.json +0 -508
- package/tests/unit/postman-transformers/data/HTTPBin.postman_collection-2.1.json +0 -542
- package/tests/unit/runtime/http-engine/HttpResponseParser.spec.ts +0 -337
- package/tests/unit/runtime/http-engine/abort.spec.ts +0 -83
- package/tests/unit/runtime/http-engine/auth.spec.ts +0 -52
- package/tests/unit/runtime/http-engine/certificates/CertificateManager.spec.ts +0 -482
- package/tests/unit/runtime/http-engine/certificates.spec.ts +0 -180
- package/tests/unit/runtime/http-engine/cleanup.spec.ts +0 -44
- package/tests/unit/runtime/http-engine/compression/CompressionManager.spec.ts +0 -498
- package/tests/unit/runtime/http-engine/compression.spec.ts +0 -114
- package/tests/unit/runtime/http-engine/connections/ConnectionManager.spec.ts +0 -379
- package/tests/unit/runtime/http-engine/connections/DigestAuthHandler.spec.ts +0 -164
- package/tests/unit/runtime/http-engine/core_engine.spec.ts +0 -560
- package/tests/unit/runtime/http-engine/engine_statuses.spec.ts +0 -58
- package/tests/unit/runtime/http-engine/events.spec.ts +0 -50
- package/tests/unit/runtime/http-engine/form_data.spec.ts +0 -112
- package/tests/unit/runtime/http-engine/headers.spec.ts +0 -149
- package/tests/unit/runtime/http-engine/hosts.spec.ts +0 -29
- package/tests/unit/runtime/http-engine/http-get.spec.ts +0 -36
- package/tests/unit/runtime/http-engine/http-post.spec.ts +0 -72
- package/tests/unit/runtime/http-engine/logger.spec.ts +0 -24
- package/tests/unit/runtime/http-engine/message.spec.ts +0 -184
- package/tests/unit/runtime/http-engine/params.spec.ts +0 -388
- package/tests/unit/runtime/http-engine/payload_support.spec.ts +0 -127
- package/tests/unit/runtime/http-engine/proxy.spec.ts +0 -522
- package/tests/unit/runtime/http-engine/redirects.spec.ts +0 -217
- package/tests/unit/runtime/http-engine/request_utils.spec.ts +0 -176
- package/tests/unit/runtime/http-engine/responses.spec.ts +0 -272
- package/tests/unit/runtime/http-engine/timeout.spec.ts +0 -33
- package/tests/unit/runtime/http-engine/timings.spec.ts +0 -50
- package/tests/unit/runtime/proxy/HttpProjectProxy.spec.ts +0 -241
- package/tests/unit/runtime/proxy/RequestProxy.spec.ts +0 -130
- package/tests/unit/runtime/reporters/project_run_cli_reporter.spec.ts +0 -62
- package/tests/unit/runtime/runners/http_assertion_runner.spec.ts +0 -1303
- package/tests/unit/runtime/runners/http_flow_runner.spec.ts +0 -1174
- package/tests/unit/runtime/runners/parallel_runner.spec.ts +0 -365
- package/tests/unit/runtime/runners/project_runner.spec.ts +0 -839
- package/tests/unit/runtime/runners/request_runner.spec.ts +0 -933
- package/tests/unit/runtime/runners/serial_runner.spec.ts +0 -629
- package/tests/unit/runtime/variables/cache.spec.ts +0 -95
- package/tests/unit/runtime/variables/eval_functions.spec.ts +0 -66
- package/tests/unit/runtime/variables/variables_processor.spec.ts +0 -563
- package/tests/unit/src/Platform.spec.ts +0 -24
- package/tsconfig.browser.json +0 -33
- package/tsconfig.node.json +0 -34
- /package/{API_MODELING_EXPLAINER.md → architecture/API_MODELING_EXPLAINER.md} +0 -0
- /package/{DATA_MODELING_EXPLAINER.md → architecture/DATA_MODELING_EXPLAINER.md} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UrlProcessor.js","sourceRoot":"","sources":["../../../../src/lib/parsers/UrlProcessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE5C,MAAM,SAAS;IACH,MAAM,CAAQ;IAExB;;OAEG;IACH,KAAK,GAAG,CAAC,CAAA;IAET,IAAI,CAAQ;IAEZ,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,IAAI,GAAG,CAAC,CAAA;IACrC,CAAC;IAED,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;QACpB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,MAAM,CAAA;IAC3B,CAAC;IAED;;;;OAIG;IACH,SAAS,CAAC,GAAG,KAAe;QAC1B,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,IAAI,CAAA;QACpC,IAAI,MA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AAI,WAAW,IAAI,CAAC,EAAE,CAAC;gBACrB,MAAM,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,WAAW,GAAG,CAAC,CAAC,CAAA;gBAC9C,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,WAAW,CAAC,CAAA;gBAC3C,IAAI,GAAG,EAAE,CAAC;oBACR,MAAM,MAAM,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;oBAC1B,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC;wBAC7B,SAAS,GAAG,MAAM,CAAA;oBACpB,CAAC;gBACH,CAAC;YACH,CAAC;YAED,MAAM,MAAM,GAAc;gBACxB,IAAI,EAAE,OAAO;gBACb,OAAO;aACR,CAAA;YACD,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE,CAAC;gBAClC,MAAM,CAAC,SAAS,GAAG,SAAS,CAAA;YAC9B,CAAC;YACD,OAAO,MAAM,CAAA;QACf,CAAC,CAAC,CAAA;IACJ,CAAC;CACF","sourcesContent":["import { UrlEncoder } from './UrlEncoder.js'\n\nclass Tokenizer {\n protected tokens: string\n\n /**\n * This is set to the next token to be read.\n */\n index = 0\n\n size: number\n\n get ended(): boolean {\n return this.index === this.size - 1\n }\n\n constructor(tokens: string) {\n this.tokens = tokens\n this.size = tokens.length\n }\n\n /**\n * Reads characters until one of the passed characters (not included).\n * @param chars The list of characters to search for.\n * @returns The string between the current index and the found character or the end of tokens.\n */\n untilChar(...chars: string[]): string {\n const { tokens, index, size } = this\n let result = ''\n for (let i = index; i < size; i++) {\n const token = tokens[i]\n this.index = i\n if (chars.includes(token)) {\n return result\n }\n result += token\n }\n return result\n }\n\n /**\n * Reads the next token and changes the state.\n * @returns The next token.\n */\n next(): string | undefined {\n const { ended, tokens } = this\n if (ended) {\n return undefined\n }\n const next = tokens[this.index]\n this.index += 1\n return next\n }\n\n /**\n * Reads the next character without changing the state.\n */\n getNext(): string | undefined {\n const { ended, tokens, index } = this\n if (ended) {\n return undefined\n }\n return tokens[index + 1]\n }\n}\n\nenum PartType {\n /**\n * Literal string, we do not process these\n */\n literal,\n /**\n * URI template expression\n */\n template,\n /**\n * query parameter\n */\n param,\n}\n\nenum State {\n /**\n * Processing a literal\n */\n literal,\n /**\n * Processing a query parameter\n */\n param,\n /**\n * Processing a template expression\n */\n expression,\n}\n\nenum DataType {\n // undefined/null\n nil,\n // string\n string,\n // object\n object,\n // array\n array,\n}\n\n/**\n * The operator definition for a template expression\n */\ninterface IOperator {\n /**\n * The value of the operator for the variable.\n * Can be one of `+`, `#`, `.`, `/`, `;`, `?`, or `&`,\n * THere are additional reserved characters for future use: `=`, `,`, `!`, `@` and `|`.\n *\n * This is not set when the expression has no operator.\n */\n operator?: string\n prefix?: string\n separator: string\n named?: boolean\n reserved?: boolean\n emptyNameSeparator?: boolean\n}\n\n/**\n * Variable definition of a template expression\n */\ninterface IVariable {\n /**\n * The variable name, cleaned of any operators\n */\n name: string\n /**\n * Whether the variable \"explode\" values as described in the spec.\n */\n explode: boolean\n /**\n * The value length to insert. For expressions like `{var:20}`\n */\n maxLength?: number\n}\n\nexport interface IUrlPart {\n type: PartType\n expression: string\n}\n\n/**\n * A part that defines a query parameter.\n */\nexport interface IUrlParamPart extends IUrlPart {\n /**\n * The name of the query parameter.\n */\n name: string\n /**\n * The name value of the query parameter.\n */\n value: string\n /**\n * Whether the parameter should be considered when creating the URL.\n */\n enabled: boolean\n}\n\n/**\n * A part that defines a template expression\n */\nexport interface IUrlExpressionPart extends IUrlPart {\n operator: IOperator\n variables: IVariable[]\n}\n\ninterface IData {\n /**\n * type of data 0: undefined/null, 1: string, 2: object, 3: array\n */\n type: DataType\n /**\n * The read values, except undefined/null.\n * The value is always set. Name is set when the read value is an object.\n */\n values: { value: string; name?: string }[]\n}\n\nexport interface IUrlExpandOptions {\n /**\n * When set it ignores replacing the value in the template when the variable is missing.\n */\n ignoreMissing?: boolean\n /**\n * When set it throws errors when missing variables.\n */\n strict?: boolean\n}\n\nexport type UrlPart = IUrlPart | IUrlParamPart | IUrlExpressionPart\n\nexport class UrlSearchParams {\n /**\n * A reference to the URL processor's parts.\n */\n protected parts: UrlPart[] = []\n\n constructor(parts: UrlPart[]) {\n this.parts = parts\n }\n\n /**\n * Iterates over each query parameter, in order.\n */\n *[Symbol.iterator](): Generator<IUrlParamPart> {\n for (const part of this.parts) {\n if (part.type === PartType.param) {\n yield part as IUrlParamPart\n }\n }\n }\n\n /**\n * Reads parts, in order, that are query parameters.\n */\n list(): IUrlParamPart[] {\n return this.parts.filter((i) => i.type === PartType.param) as IUrlParamPart[]\n }\n\n /**\n * Adds a new query parameter to the list.\n *\n * @param name The name of the parameter.\n * @param value The value of the parameter.\n * @param enabled Whether her parameter is enabled.\n */\n append(name: string, value = '', enabled = true): number {\n const part: IUrlParamPart = {\n type: PartType.param,\n expression: `${name}=${value}`,\n name,\n value,\n enabled,\n }\n const length = this.parts.push(part)\n return length - 1\n }\n\n /**\n * Replaces the param part in the parts list.\n *\n * @param index The index of the parameter as returned by the `getParameters()` method.\n * @param param The param to set.\n */\n update(index: number, param: IUrlParamPart): void {\n if (param.type !== PartType.param) {\n throw new Error(`Invalid query parameter definition`)\n }\n\n param.expression = `${param.name}=${param.value || ''}`\n let current = 0\n for (let i = 0, len = this.parts.length; i < len; i++) {\n const part = this.parts[i]\n if (part.type === PartType.param) {\n if (current === index) {\n this.parts[i] = param\n return\n }\n current += 1\n }\n }\n throw new Error(`Missing query parameter at position ${index}.`)\n }\n\n /**\n * Replaces all parameters with the name with the passed value.\n * It insets the param at the first occurrence of the current param in the parts list.\n * If not exists, it adds it as a last.\n *\n * @param name The name of the parameter\n * @param value the value of the parameter\n * @param enabled Whether her parameter is enabled.\n */\n set(name: string, value: string, enabled = true): number {\n let firstIndex = -1\n for (let i = this.parts.length - 1; i >= 0; i--) {\n const part = this.parts[i]\n if (part.type === PartType.param) {\n const typed = part as IUrlParamPart\n if (typed.name === name) {\n this.parts.splice(i, 1)\n firstIndex = i\n }\n }\n }\n const part: IUrlParamPart = {\n type: PartType.param,\n expression: `${name}=${value}`,\n name,\n value,\n enabled,\n }\n let position: number\n if (firstIndex === -1) {\n const len = this.parts.push(part)\n position = len - 1\n } else {\n this.parts.splice(firstIndex, 0, part)\n position = firstIndex\n }\n return position\n }\n\n /**\n * @param name The name of the parameter to search for.\n * @returns The reference to the parameter.\n */\n get(name: string): IUrlParamPart | undefined {\n return this.parts.find((i) => i.type === PartType.param && (i as IUrlParamPart).name === name) as IUrlParamPart\n }\n\n /**\n * Removes a query parameter from the parameters list.\n *\n * @param index The index of the parameter as returned by the `getParameters()` method.\n */\n delete(index: number): void {\n let current = 0\n for (let i = 0, len = this.parts.length; i < len; i++) {\n const part = this.parts[i]\n if (part.type === PartType.param) {\n if (current === index) {\n this.parts.splice(i, 1)\n return\n }\n current += 1\n }\n }\n throw new Error(`Missing query parameter at position ${index}.`)\n }\n\n /**\n * Toggles the enabled state of the parameter.\n *\n * @param index The index of the parameter as returned by the `getParameters()` method.\n * @param enabled The enabled state of the parameter.\n */\n toggle(index: number, enabled: boolean): void {\n const params = this.list()\n const param = params[index]\n if (!param) {\n throw new Error(`Missing query parameter at position ${index}.`)\n }\n param.enabled = enabled\n }\n\n /**\n * Removes all query parameters.\n */\n clear(): void {\n for (let i = this.parts.length - 1; i >= 0; i--) {\n const part = this.parts[i]\n if (part.type !== PartType.param) {\n continue\n }\n this.parts.splice(i, 1)\n }\n }\n\n /**\n * Transforms the parameters to a key-value pair separated by a comma,\n * ech in a new line.\n *\n * For example `a=b&c=d` is translated to:\n * ```\n * a: b\n * c: d\n * ```\n * Disabled parameters have `#` sign at the beginning of the line.\n */\n toParamsString(): string {\n const lines: string[] = []\n for (const part of this) {\n const { enabled, name, value } = part\n if (!name && !value) {\n continue\n }\n let line = ''\n if (!enabled) {\n line += '# '\n }\n if (name) {\n line += name\n }\n line += ': '\n if (value) {\n line += value\n }\n lines.push(line)\n }\n return lines.join('\\n')\n }\n\n /**\n * The opposite of `toParamsString()`. Takes the input string\n * and creates a new list of query parameters from it.\n */\n fromParamsString(value: string): void {\n this.clear()\n const lines = value.split('\\n')\n lines.forEach((line) => this.processLine(line))\n }\n\n private processLine(line: string): void {\n let text = line.trim()\n const disabled = text.startsWith('#')\n if (disabled) {\n text = text.replace('#', '').trim()\n }\n const parts = text.split(':')\n const [nameRaw, ...values] = parts\n const name = nameRaw.trim()\n const value = values.join(':').trim()\n this.append(name, value, !disabled)\n }\n}\n\n/**\n * A class that parses a string a treats it as a value that may include\n * URI templates and request parameters.\n *\n * It can be used by the UI libraries to manipulate the URL templates and query parameters.\n */\nexport class UrlProcessor {\n /**\n * The source expression.\n * It is immutable for the entire manipulation process of the URI.\n * Any modification is on the parts level and the `expand()` and `toString()`\n * function only rely on the `parts`.\n */\n expression: string\n\n /**\n * The tokenizer object\n */\n tokens: Tokenizer\n\n /**\n * An ordered list of parts of the expression.\n */\n parts: UrlPart[] = []\n\n /**\n * A helper class to manipulate query parameters on the parser.\n */\n search: UrlSearchParams\n\n constructor(expression: string) {\n this.expression = expression\n this.tokens = new Tokenizer(expression)\n this.search = new UrlSearchParams(this.parts)\n this._parse()\n }\n\n /**\n * Creates an URI leaving the template expressions are they are (without expanding them).\n */\n toString(): string {\n let result = ''\n this.parts.forEach((part) => {\n if (part.type === PartType.literal) {\n result += part.expression\n } else if (part.type === PartType.template) {\n result += `{${part.expression}}`\n } else {\n const typed = part as IUrlParamPart\n if (!typed.enabled) {\n return\n }\n if (result.includes('?')) {\n result += '&'\n } else {\n result += '?'\n }\n result += part.expression\n }\n })\n return result\n }\n\n /**\n * Creates a URI with expanded template values.\n *\n * @param map The variables to evaluate.\n * @param opts Processing options.\n */\n expand(map: Record<string, unknown>, opts: IUrlExpandOptions = {}): string {\n let result = ''\n for (const part of this.parts) {\n if (part.type === PartType.literal) {\n result += part.expression\n } else if (part.type === PartType.param) {\n const typed = part as IUrlParamPart\n if (!typed.enabled) {\n continue\n }\n if (result.includes('?')) {\n result += '&'\n } else {\n result += '?'\n }\n result += part.expression\n } else {\n result += this._expandExpression(part as IUrlExpressionPart, map, opts)\n }\n }\n return result\n }\n\n protected _expandExpression(part: IUrlExpressionPart, map: Record<string, unknown>, opts: IUrlExpandOptions): string {\n const { operator, variables } = part\n const buffer: string[] = []\n for (const variable of variables) {\n const data = this._getData(map, variable.name)\n\n if (data.type === DataType.nil && opts.strict) {\n throw new Error(`Missing expansion value for variable \"${variable.name}\"`)\n }\n\n if (data.type === DataType.nil && opts.ignoreMissing) {\n buffer.push(part.expression)\n continue\n }\n\n if (!data.values.length) {\n if (data.type !== DataType.nil) {\n // Empty object / array. We still append the separator.\n buffer.push('')\n }\n continue\n }\n\n if (data.type > DataType.string && variable.maxLength) {\n if (opts.strict) {\n throw new Error(`Invalid expression: Prefix modifier not applicable to variable \"${variable.name}\"`)\n }\n // we ignore invalid values.\n continue\n }\n\n if (operator.named) {\n buffer.push(this._expandNamedExpression(data, operator, variable))\n } else {\n buffer.push(this._expandUnNamedExpression(data, operator, variable))\n }\n }\n if (buffer.length) {\n return (operator.prefix || '') + buffer.join(operator.separator)\n }\n // prefix is not prepended for empty expressions\n return ''\n }\n\n protected _expandNamedExpression(data: IData, operator: IOperator, variable: IVariable): string {\n let result = ''\n const separator = (variable.explode && operator.separator) || ','\n const encodeFunction = operator.reserved ? UrlEncoder.encodeReserved : UrlEncoder.strictEncode\n let name = ''\n if (data.type !== DataType.object && variable.name) {\n name = encodeFunction(variable.name)\n }\n const hasLength = typeof variable.maxLength === 'number'\n data.values.forEach((item, index) => {\n let value: string\n if (hasLength) {\n value = encodeFunction(item.value.substring(0, variable.maxLength))\n if (data.type === DataType.object) {\n // apply maxLength to keys of objects as well\n name = encodeFunction((item.name as string).substring(0, variable.maxLength))\n }\n } else {\n // encode value\n value = encodeFunction(item.value)\n if (data.type === DataType.object) {\n // encode name and cache encoded value\n name = encodeFunction(item.name as string)\n }\n }\n if (result) {\n result += separator\n }\n\n if (!variable.explode) {\n if (!index) {\n result += encodeFunction(variable.name) + (operator.emptyNameSeparator || value ? '=' : '')\n }\n if (data.type === DataType.object) {\n result += `${name},`\n }\n result += value\n } else {\n result += name + (operator.emptyNameSeparator || value ? '=' : '') + value\n }\n })\n return result\n }\n\n protected _expandUnNamedExpression(data: IData, operator: IOperator, variable: IVariable): string {\n let result = ''\n const separator = (variable.explode && operator.separator) || ','\n const encodeFunction = operator.reserved ? UrlEncoder.encodeReserved : UrlEncoder.strictEncode\n const hasLength = typeof variable.maxLength === 'number'\n data.values.forEach((item) => {\n let value: string\n if (hasLength) {\n value = encodeFunction(item.value.substring(0, variable.maxLength))\n } else {\n value = encodeFunction(item.value)\n }\n if (result) {\n result += separator\n }\n if (data.type === DataType.object) {\n let _name: string\n if (hasLength) {\n _name = encodeFunction((item.name as string).substring(0, variable.maxLength))\n } else {\n _name = encodeFunction(item.name || '')\n }\n result += _name\n if (variable.explode) {\n result += operator.emptyNameSeparator || value ? '=' : ''\n } else {\n result += ','\n }\n }\n result += value\n })\n return result\n }\n\n protected _getData(map: Record<string, unknown>, name: string): IData {\n const result: IData = {\n type: DataType.nil,\n values: [],\n }\n\n const value = map[name]\n if (value === undefined || value === null) {\n // undefined and null values are to be ignored completely\n return result\n }\n\n if (Array.isArray(value)) {\n for (const v of value) {\n // we only allow primitives in the values\n if (this._validExpansionValue(v)) {\n result.values.push({ value: String(v) })\n }\n }\n } else if (String(Object.prototype.toString.call(value)) === '[object Object]') {\n Object.keys(value).forEach((k) => {\n const v = (value as Record<string, string>)[k]\n if (this._validExpansionValue(v)) {\n result.values.push({ name: k, value: v })\n }\n })\n if (result.values.length) {\n result.type = DataType.object\n }\n } else {\n result.type = DataType.string\n result.values.push({ value: String(value) })\n }\n return result\n }\n\n protected _validExpansionValue(value: unknown): boolean {\n if (value === undefined || value === null) {\n // these are ignored completely\n return false\n }\n // we only allow primitives in the values\n return ['string', 'number', 'boolean'].includes(typeof value)\n }\n\n /**\n * Creates an ordered list of parts that describe the passed expression.\n *\n * FIXME: Handle error states like unclosed brackets.\n */\n protected _parse(): void {\n const { tokens } = this\n\n let state = State.literal\n\n while (true) {\n let value: string\n if (state === State.literal) {\n value = tokens.untilChar('?', '&', '{', '}')\n } else if (state === State.param) {\n value = tokens.untilChar('&', '{')\n } else {\n value = tokens.untilChar('}')\n }\n const next = tokens.next()\n\n if (state === State.literal) {\n // when the value is an empty string that means that we entered the expression string\n // and we have a variable or a query parameter as the first character.\n // We don't need to pass a literal in this case.\n if (value !== '') {\n this._addLiteral(value)\n }\n } else if (state === State.param) {\n this._addParam(value)\n } else {\n this._addTemplate(value)\n }\n\n if (next === '?' || next === '&') {\n state = State.param\n } else if (next === '{') {\n state = State.expression\n } else if (next === undefined) {\n break\n } else {\n state = State.literal\n }\n }\n }\n\n /**\n * Adds a literal part.\n * Literal parts are not processed in any way. They do not contain query parameters\n * or template expressions.\n *\n * @param expression The literal expression.\n */\n protected _addLiteral(expression: string): void {\n this.parts.push({\n type: PartType.literal,\n expression,\n })\n }\n\n /**\n * Adds a part that describes a query parameter\n * @param expression The query param as `name=value` or `name` or `name=`\n */\n protected _addParam(expression: string): void {\n const parts = expression.split('=')\n const part: IUrlParamPart = {\n type: PartType.param,\n expression,\n name: parts[0],\n value: parts[1] || '',\n enabled: true,\n }\n this.parts.push(part)\n }\n\n /**\n * Adds a part that is a template expression.\n *\n * @param expression The template expression as defined in RFC 6570\n */\n protected _addTemplate(expression: string): void {\n const ch = expression[0]\n let operator: IOperator\n if (ch === '+') {\n // Reserved character strings (no encoding)\n operator = {\n operator: '+',\n separator: ',',\n reserved: true,\n }\n } else if (ch === '#') {\n // Fragment identifiers prefixed by '#'\n operator = {\n operator: '#',\n prefix: '#',\n separator: ',',\n reserved: true,\n }\n } else if (ch === '.') {\n // Name labels or extensions prefixed by '.'\n operator = {\n operator: '.',\n prefix: '.',\n separator: '.',\n }\n } else if (ch === '/') {\n // Path segments prefixed by '/'\n operator = {\n operator: '/',\n prefix: '/',\n separator: '/',\n }\n } else if (ch === ';') {\n // Path parameter name or name=value pairs prefixed by ';'\n operator = {\n operator: ';',\n prefix: ';',\n separator: ';',\n named: true,\n }\n } else if (ch === '?') {\n // Query component beginning with '?' and consisting\n // of name=value pairs separated by '&'\n operator = {\n operator: '?',\n prefix: '?',\n separator: '&',\n named: true,\n emptyNameSeparator: true,\n }\n } else if (ch === '&') {\n // Continuation of query-style &name=value pairs\n // within a literal query component.\n operator = {\n operator: '&',\n prefix: '&',\n separator: '&',\n named: true,\n emptyNameSeparator: true,\n }\n } else {\n // The operator characters equals (\"=\"), comma (\",\"), exclamation (\"!\"),\n // at sign (\"@\"), and pipe (\"|\") are reserved for future extensions.\n\n // this is level1 simple expression\n operator = {\n separator: ',',\n }\n }\n\n const part: IUrlExpressionPart = {\n type: PartType.template,\n expression,\n operator,\n variables: this._readVariables(expression, operator.operator),\n }\n\n this.parts.push(part)\n }\n\n protected _readVariables(expression: string, operator?: string): IVariable[] {\n let name = expression\n if (operator) {\n name = name.substring(1)\n }\n return name.split(',').map((item) => {\n let maxLength: number | undefined\n let varName = item\n let explode = false\n if (varName.endsWith('*')) {\n explode = true\n varName = varName.substring(0, varName.length - 1)\n }\n const lengthIndex = varName.indexOf(':')\n if (lengthIndex >= 0) {\n const len = varName.substring(lengthIndex + 1)\n varName = varName.substring(0, lengthIndex)\n if (len) {\n const parsed = Number(len)\n if (Number.isInteger(parsed)) {\n maxLength = parsed\n }\n }\n }\n\n const result: IVariable = {\n name: varName,\n explode,\n }\n if (typeof maxLength === 'number') {\n result.maxLength = maxLength\n }\n return result\n })\n }\n}\n"]}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export interface IUrlValueParserOptions {
|
|
2
|
-
/**
|
|
3
|
-
* A query string delimiter to use when processing query parameters.
|
|
4
|
-
*/
|
|
5
|
-
queryDelimiter?: string;
|
|
6
|
-
}
|
|
7
|
-
interface DataValues {
|
|
8
|
-
/**
|
|
9
|
-
* A protocol value in format `protocol` + ':'
|
|
10
|
-
*/
|
|
11
|
-
protocol?: string;
|
|
12
|
-
/**
|
|
13
|
-
* The authority part of the URL value
|
|
14
|
-
*/
|
|
15
|
-
host?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Path part of the URL.
|
|
18
|
-
*/
|
|
19
|
-
path?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Anchor part of the URL.
|
|
22
|
-
*/
|
|
23
|
-
anchor?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Search part of the URL.
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
opts?: IUrlValueParserOptions | undefined;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Implements logic for parsing URL string.
|
|
32
|
-
*/
|
|
33
|
-
export declare class UrlValueParser {
|
|
34
|
-
protected __data: DataValues;
|
|
35
|
-
constructor(opts?: IUrlValueParserOptions);
|
|
36
|
-
/**
|
|
37
|
-
* @returns Class options.
|
|
38
|
-
*/
|
|
39
|
-
get opts(): IUrlValueParserOptions;
|
|
40
|
-
/**
|
|
41
|
-
* Sets parser options.
|
|
42
|
-
* Unknown options are ignored.
|
|
43
|
-
*/
|
|
44
|
-
set opts(opts: IUrlValueParserOptions | undefined);
|
|
45
|
-
/**
|
|
46
|
-
* Returns protocol value in format `protocol` + ':'
|
|
47
|
-
*
|
|
48
|
-
* @param value URL to parse.
|
|
49
|
-
* @return Value of the protocol or undefined if value not set
|
|
50
|
-
*/
|
|
51
|
-
protected _parseProtocol(value: string): string | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Gets a host value from the url.
|
|
54
|
-
* It reads the whole authority value of given `value`. It doesn't parses it
|
|
55
|
-
* to host, port and
|
|
56
|
-
* credentials parts. For URL panel it's enough.
|
|
57
|
-
*
|
|
58
|
-
* @param value The URL to parse
|
|
59
|
-
* @return Value of the host or undefined.
|
|
60
|
-
*/
|
|
61
|
-
protected _parseHost(value: string): string | undefined;
|
|
62
|
-
/**
|
|
63
|
-
* Parses the path part of the URL.
|
|
64
|
-
*
|
|
65
|
-
* @param value URL value
|
|
66
|
-
* @returns Path part of the URL
|
|
67
|
-
*/
|
|
68
|
-
protected _parsePath(value: string): string | undefined;
|
|
69
|
-
/**
|
|
70
|
-
* Returns query parameters string (without the '?' sign) as a whole.
|
|
71
|
-
*
|
|
72
|
-
* @param value The URL to parse
|
|
73
|
-
* @returns Value of the search string or undefined.
|
|
74
|
-
*/
|
|
75
|
-
protected _parseSearch(value: string): string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Reads a value of the anchor (or hash) parameter without the `#` sign.
|
|
78
|
-
*
|
|
79
|
-
* @param value The URL to parse
|
|
80
|
-
* @returns Value of the anchor (hash) or undefined.
|
|
81
|
-
*/
|
|
82
|
-
protected _parseAnchor(value: string): string | undefined;
|
|
83
|
-
/**
|
|
84
|
-
* Returns an array of items where each item is an array where first
|
|
85
|
-
* item is param name and second is it's value. Both always strings.
|
|
86
|
-
*
|
|
87
|
-
* @param search Parsed search parameter
|
|
88
|
-
* @returns Always returns an array.
|
|
89
|
-
*/
|
|
90
|
-
protected _parseSearchParams(search?: string): string[][];
|
|
91
|
-
}
|
|
92
|
-
export {};
|
|
93
|
-
//# sourceMappingURL=UrlValueParser.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UrlValueParser.d.ts","sourceRoot":"","sources":["../../../../src/lib/parsers/UrlValueParser.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,UAAU,UAAU;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAA;CAC1C;AAED;;GAEG;AACH,qBAAa,cAAc;IACzB,SAAS,CAAC,MAAM,EAAE,UAAU,CAAA;gBAEhB,IAAI,CAAC,EAAE,sBAAsB;IAKzC;;OAEG;IACH,IAAI,IAAI,IAAI,sBAAsB,CAMjC;IAED;;;OAGG;IACH,IAAI,IAAI,CAAC,IAAI,EAAE,sBAAsB,GAAG,SAAS,EAKhD;IAED;;;;;OAKG;IACH,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAW3D;;;;;;;;OAQG;IACH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAiBvD;;;;;OAKG;IACH,SAAS,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAgCvD;;;;;OAKG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAgBzD;;;;;OAKG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAWzD;;;;;;OAMG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE;CAqB1D"}
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Implements logic for parsing URL string.
|
|
3
|
-
*/
|
|
4
|
-
export class UrlValueParser {
|
|
5
|
-
__data;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
this.__data = {};
|
|
8
|
-
this.opts = opts;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @returns Class options.
|
|
12
|
-
*/
|
|
13
|
-
get opts() {
|
|
14
|
-
return (this.__data.opts || {
|
|
15
|
-
queryDelimiter: '&',
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Sets parser options.
|
|
20
|
-
* Unknown options are ignored.
|
|
21
|
-
*/
|
|
22
|
-
set opts(opts) {
|
|
23
|
-
const options = (opts || {});
|
|
24
|
-
this.__data.opts = {
|
|
25
|
-
queryDelimiter: options.queryDelimiter || '&',
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Returns protocol value in format `protocol` + ':'
|
|
30
|
-
*
|
|
31
|
-
* @param value URL to parse.
|
|
32
|
-
* @return Value of the protocol or undefined if value not set
|
|
33
|
-
*/
|
|
34
|
-
_parseProtocol(value) {
|
|
35
|
-
if (!value) {
|
|
36
|
-
return undefined;
|
|
37
|
-
}
|
|
38
|
-
const delimiterIndex = value.indexOf('://');
|
|
39
|
-
if (delimiterIndex !== -1) {
|
|
40
|
-
return value.substring(0, delimiterIndex + 1);
|
|
41
|
-
}
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Gets a host value from the url.
|
|
46
|
-
* It reads the whole authority value of given `value`. It doesn't parses it
|
|
47
|
-
* to host, port and
|
|
48
|
-
* credentials parts. For URL panel it's enough.
|
|
49
|
-
*
|
|
50
|
-
* @param value The URL to parse
|
|
51
|
-
* @return Value of the host or undefined.
|
|
52
|
-
*/
|
|
53
|
-
_parseHost(value) {
|
|
54
|
-
if (!value) {
|
|
55
|
-
return undefined;
|
|
56
|
-
}
|
|
57
|
-
let result = value;
|
|
58
|
-
const delimiterIndex = result.indexOf('://');
|
|
59
|
-
if (delimiterIndex !== -1) {
|
|
60
|
-
result = result.substring(delimiterIndex + 3);
|
|
61
|
-
}
|
|
62
|
-
if (!result) {
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
// We don't need specifics here (username, password, port)
|
|
66
|
-
const host = result.split('/')[0];
|
|
67
|
-
return host;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Parses the path part of the URL.
|
|
71
|
-
*
|
|
72
|
-
* @param value URL value
|
|
73
|
-
* @returns Path part of the URL
|
|
74
|
-
*/
|
|
75
|
-
_parsePath(value) {
|
|
76
|
-
if (!value) {
|
|
77
|
-
return undefined;
|
|
78
|
-
}
|
|
79
|
-
let result = value;
|
|
80
|
-
const isBasePath = result[0] === '/';
|
|
81
|
-
if (!isBasePath) {
|
|
82
|
-
const index = result.indexOf('://');
|
|
83
|
-
if (index !== -1) {
|
|
84
|
-
result = result.substring(index + 3);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
let index = result.indexOf('?');
|
|
88
|
-
if (index !== -1) {
|
|
89
|
-
result = result.substring(0, index);
|
|
90
|
-
}
|
|
91
|
-
index = result.indexOf('#');
|
|
92
|
-
if (index !== -1) {
|
|
93
|
-
result = result.substring(0, index);
|
|
94
|
-
}
|
|
95
|
-
const lastIsSlash = result[result.length - 1] === '/';
|
|
96
|
-
const parts = result.split('/').filter((part) => !!part);
|
|
97
|
-
if (!isBasePath) {
|
|
98
|
-
parts.shift();
|
|
99
|
-
}
|
|
100
|
-
let path = `/${parts.join('/')}`;
|
|
101
|
-
if (lastIsSlash && parts.length > 1) {
|
|
102
|
-
path += '/';
|
|
103
|
-
}
|
|
104
|
-
return path;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Returns query parameters string (without the '?' sign) as a whole.
|
|
108
|
-
*
|
|
109
|
-
* @param value The URL to parse
|
|
110
|
-
* @returns Value of the search string or undefined.
|
|
111
|
-
*/
|
|
112
|
-
_parseSearch(value) {
|
|
113
|
-
if (!value) {
|
|
114
|
-
return undefined;
|
|
115
|
-
}
|
|
116
|
-
let index = value.indexOf('?');
|
|
117
|
-
if (index === -1) {
|
|
118
|
-
return undefined;
|
|
119
|
-
}
|
|
120
|
-
const result = value.substring(index + 1);
|
|
121
|
-
index = result.indexOf('#');
|
|
122
|
-
if (index === -1) {
|
|
123
|
-
return result;
|
|
124
|
-
}
|
|
125
|
-
return result.substring(0, index);
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Reads a value of the anchor (or hash) parameter without the `#` sign.
|
|
129
|
-
*
|
|
130
|
-
* @param value The URL to parse
|
|
131
|
-
* @returns Value of the anchor (hash) or undefined.
|
|
132
|
-
*/
|
|
133
|
-
_parseAnchor(value) {
|
|
134
|
-
if (!value) {
|
|
135
|
-
return undefined;
|
|
136
|
-
}
|
|
137
|
-
const index = value.indexOf('#');
|
|
138
|
-
if (index === -1) {
|
|
139
|
-
return undefined;
|
|
140
|
-
}
|
|
141
|
-
return value.substring(index + 1);
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Returns an array of items where each item is an array where first
|
|
145
|
-
* item is param name and second is it's value. Both always strings.
|
|
146
|
-
*
|
|
147
|
-
* @param search Parsed search parameter
|
|
148
|
-
* @returns Always returns an array.
|
|
149
|
-
*/
|
|
150
|
-
_parseSearchParams(search) {
|
|
151
|
-
const result = [];
|
|
152
|
-
if (!search) {
|
|
153
|
-
return result;
|
|
154
|
-
}
|
|
155
|
-
const parts = search.split(this.opts.queryDelimiter);
|
|
156
|
-
parts.forEach((item) => {
|
|
157
|
-
const _part = ['', ''];
|
|
158
|
-
const _params = item.split('=');
|
|
159
|
-
let _name = _params.shift();
|
|
160
|
-
if (!_name && _name !== '') {
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
_name = _name.trim();
|
|
164
|
-
const _value = _params.join('=').trim();
|
|
165
|
-
_part[0] = _name;
|
|
166
|
-
_part[1] = _value;
|
|
167
|
-
result.push(_part);
|
|
168
|
-
});
|
|
169
|
-
return result;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
//# sourceMappingURL=UrlValueParser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UrlValueParser.js","sourceRoot":"","sources":["../../../../src/lib/parsers/UrlValueParser.ts"],"names":[],"mappings":"AA+BA;;GAEG;AACH,MAAM,OAAO,cAAc;IACf,MAAM,CAAY;IAE5B,YAAY,IAA6B;QACvC,IAAI,CAAC,MAAM,GAAG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AAM,EAAE,CAAC;YACZ,OAAO,MAAM,CAAA;QACf,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,cAAwB,CAAC,CAAA;QAC9D,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACrB,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC,CAAA;YACtB,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAC/B,IAAI,KAAK,GAAG,OAAO,CAAC,KAAK,EAAE,CAAA;YAC3B,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;gBAC3B,OAAM;YACR,CAAC;YACD,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAA;YACpB,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAA;YACvC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,CAAA;YAChB,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAA;YACjB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QACpB,CAAC,CAAC,CAAA;QACF,OAAO,MAAM,CAAA;IACf,CAAC;CACF","sourcesContent":["export interface IUrlValueParserOptions {\n /**\n * A query string delimiter to use when processing query parameters.\n */\n queryDelimiter?: string\n}\n\ninterface DataValues {\n /**\n * A protocol value in format `protocol` + ':'\n */\n protocol?: string\n /**\n * The authority part of the URL value\n */\n host?: string\n /**\n * Path part of the URL.\n */\n path?: string\n /**\n * Anchor part of the URL.\n */\n anchor?: string\n /**\n * Search part of the URL.\n */\n search?: string\n opts?: IUrlValueParserOptions | undefined\n}\n\n/**\n * Implements logic for parsing URL string.\n */\nexport class UrlValueParser {\n protected __data: DataValues\n\n constructor(opts?: IUrlValueParserOptions) {\n this.__data = {}\n this.opts = opts\n }\n\n /**\n * @returns Class options.\n */\n get opts(): IUrlValueParserOptions {\n return (\n this.__data.opts || {\n queryDelimiter: '&',\n }\n )\n }\n\n /**\n * Sets parser options.\n * Unknown options are ignored.\n */\n set opts(opts: IUrlValueParserOptions | undefined) {\n const options = (opts || {}) as IUrlValueParserOptions\n this.__data.opts = {\n queryDelimiter: options.queryDelimiter || '&',\n }\n }\n\n /**\n * Returns protocol value in format `protocol` + ':'\n *\n * @param value URL to parse.\n * @return Value of the protocol or undefined if value not set\n */\n protected _parseProtocol(value: string): string | undefined {\n if (!value) {\n return undefined\n }\n const delimiterIndex = value.indexOf('://')\n if (delimiterIndex !== -1) {\n return value.substring(0, delimiterIndex + 1)\n }\n return undefined\n }\n\n /**\n * Gets a host value from the url.\n * It reads the whole authority value of given `value`. It doesn't parses it\n * to host, port and\n * credentials parts. For URL panel it's enough.\n *\n * @param value The URL to parse\n * @return Value of the host or undefined.\n */\n protected _parseHost(value: string): string | undefined {\n if (!value) {\n return undefined\n }\n let result = value\n const delimiterIndex = result.indexOf('://')\n if (delimiterIndex !== -1) {\n result = result.substring(delimiterIndex + 3)\n }\n if (!result) {\n return undefined\n }\n // We don't need specifics here (username, password, port)\n const host = result.split('/')[0]\n return host\n }\n\n /**\n * Parses the path part of the URL.\n *\n * @param value URL value\n * @returns Path part of the URL\n */\n protected _parsePath(value: string): string | undefined {\n if (!value) {\n return undefined\n }\n let result = value\n const isBasePath = result[0] === '/'\n if (!isBasePath) {\n const index = result.indexOf('://')\n if (index !== -1) {\n result = result.substring(index + 3)\n }\n }\n let index = result.indexOf('?')\n if (index !== -1) {\n result = result.substring(0, index)\n }\n index = result.indexOf('#')\n if (index !== -1) {\n result = result.substring(0, index)\n }\n const lastIsSlash = result[result.length - 1] === '/'\n const parts = result.split('/').filter((part) => !!part)\n if (!isBasePath) {\n parts.shift()\n }\n let path = `/${parts.join('/')}`\n if (lastIsSlash && parts.length > 1) {\n path += '/'\n }\n return path\n }\n\n /**\n * Returns query parameters string (without the '?' sign) as a whole.\n *\n * @param value The URL to parse\n * @returns Value of the search string or undefined.\n */\n protected _parseSearch(value: string): string | undefined {\n if (!value) {\n return undefined\n }\n let index = value.indexOf('?')\n if (index === -1) {\n return undefined\n }\n const result = value.substring(index + 1)\n index = result.indexOf('#')\n if (index === -1) {\n return result\n }\n return result.substring(0, index)\n }\n\n /**\n * Reads a value of the anchor (or hash) parameter without the `#` sign.\n *\n * @param value The URL to parse\n * @returns Value of the anchor (hash) or undefined.\n */\n protected _parseAnchor(value: string): string | undefined {\n if (!value) {\n return undefined\n }\n const index = value.indexOf('#')\n if (index === -1) {\n return undefined\n }\n return value.substring(index + 1)\n }\n\n /**\n * Returns an array of items where each item is an array where first\n * item is param name and second is it's value. Both always strings.\n *\n * @param search Parsed search parameter\n * @returns Always returns an array.\n */\n protected _parseSearchParams(search?: string): string[][] {\n const result: string[][] = []\n if (!search) {\n return result\n }\n const parts = search.split(this.opts.queryDelimiter as string)\n parts.forEach((item) => {\n const _part = ['', '']\n const _params = item.split('=')\n let _name = _params.shift()\n if (!_name && _name !== '') {\n return\n }\n _name = _name.trim()\n const _value = _params.join('=').trim()\n _part[0] = _name\n _part[1] = _value\n result.push(_part)\n })\n return result\n }\n}\n"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Awaits the set number of milliseconds before resolving the promise.
|
|
3
|
-
* @param timeout The number of milliseconds to wait.
|
|
4
|
-
*/
|
|
5
|
-
export declare function sleep(timeout?: number): Promise<void>;
|
|
6
|
-
/**
|
|
7
|
-
* Resolves after requestAnimationFrame.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* await nextFrame();
|
|
11
|
-
*
|
|
12
|
-
* @returns Promise that resolved after requestAnimationFrame
|
|
13
|
-
*/
|
|
14
|
-
export declare function nextFrame(): Promise<void>;
|
|
15
|
-
//# sourceMappingURL=Timers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Timers.d.ts","sourceRoot":"","sources":["../../../../src/lib/timers/Timers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,KAAK,CAAC,OAAO,SAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAIhD;AAED;;;;;;;GAOG;AACH,wBAAgB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAQzC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Awaits the set number of milliseconds before resolving the promise.
|
|
3
|
-
* @param timeout The number of milliseconds to wait.
|
|
4
|
-
*/
|
|
5
|
-
export function sleep(timeout = 0) {
|
|
6
|
-
return new Promise((resolve) => {
|
|
7
|
-
setTimeout(() => resolve(), timeout);
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Resolves after requestAnimationFrame.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* await nextFrame();
|
|
15
|
-
*
|
|
16
|
-
* @returns Promise that resolved after requestAnimationFrame
|
|
17
|
-
*/
|
|
18
|
-
export function nextFrame() {
|
|
19
|
-
return new Promise((resolve) => {
|
|
20
|
-
if (typeof globalThis.requestAnimationFrame === 'function') {
|
|
21
|
-
window.requestAnimationFrame(() => resolve);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
setTimeout(() => resolve(), 0);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=Timers.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Timers.js","sourceRoot":"","sources":["../../../../src/lib/timers/Timers.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,UAAU,KAAK,CAAC,OAAO,GAAG,CAAC;IAC/B,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,CAAC,CAAA;IACtC,CAAC,CAAC,CAAA;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,SAAS;IACvB,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC7B,IAAI,OAAO,UAAU,CAAC,qBAAqB,KAAK,UAAU,EAAE,CAAC;YAC3D,MAAM,CAAC,qBAAqB,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,CAAA;QAC7C,CAAC;aAAM,CAAC;YACN,UAAU,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAA;QAChC,CAAC;IACH,CAAC,CAAC,CAAA;AACJ,CAAC","sourcesContent":["/**\n * Awaits the set number of milliseconds before resolving the promise.\n * @param timeout The number of milliseconds to wait.\n */\nexport function sleep(timeout = 0): Promise<void> {\n return new Promise((resolve) => {\n setTimeout(() => resolve(), timeout)\n })\n}\n\n/**\n * Resolves after requestAnimationFrame.\n *\n * @example\n * await nextFrame();\n *\n * @returns Promise that resolved after requestAnimationFrame\n */\nexport function nextFrame(): Promise<void> {\n return new Promise((resolve) => {\n if (typeof globalThis.requestAnimationFrame === 'function') {\n window.requestAnimationFrame(() => resolve)\n } else {\n setTimeout(() => resolve(), 0)\n }\n })\n}\n"]}
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
export type PayloadTypes = 'string' | 'file' | 'blob' | 'buffer' | 'arraybuffer' | 'formdata' | 'x-www-form-urlencoded';
|
|
2
|
-
export type DeserializedPayload = string | Blob | File | FormData | Buffer | ArrayBuffer | undefined;
|
|
3
|
-
export declare const SupportedPayloadTypes: PayloadTypes[];
|
|
4
|
-
export interface IMultipartBody {
|
|
5
|
-
/**
|
|
6
|
-
* Whether the parameter is enabled. Default to true.
|
|
7
|
-
*/
|
|
8
|
-
enabled?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* The name of the filed
|
|
11
|
-
*/
|
|
12
|
-
name: string;
|
|
13
|
-
/**
|
|
14
|
-
* Converted value.
|
|
15
|
-
* When the part value was a string this is a string.
|
|
16
|
-
* When the previous value was a Blob or a Buffer, this will be a serialized payload.
|
|
17
|
-
*/
|
|
18
|
-
value: string | ISafePayload;
|
|
19
|
-
/**
|
|
20
|
-
* Aside from the `value` which is used to process the Payload, the purpose of this field to to keep
|
|
21
|
-
* the entered by the user string value for the "blob" item. This is primarily handled by the UI
|
|
22
|
-
* and ignored by the HTTP Engine.
|
|
23
|
-
*/
|
|
24
|
-
blobText?: string;
|
|
25
|
-
/**
|
|
26
|
-
* When `true` this entry represent a file part
|
|
27
|
-
* @deprecated This is only used for the compatibility with ARC. This information is encoded in the `value`.
|
|
28
|
-
*/
|
|
29
|
-
isFile?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* A content type entered by the user to the text part of the text part input.
|
|
32
|
-
* This can only be set when `isFile` is false.
|
|
33
|
-
* @deprecated This is only used for the compatibility with ARC. This information is encoded in the `value`.
|
|
34
|
-
*/
|
|
35
|
-
type?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The original file name used with the part
|
|
38
|
-
* @deprecated This is only used for the compatibility with ARC. This information is encoded in the `value`.
|
|
39
|
-
*/
|
|
40
|
-
fileName?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface IBlobMeta {
|
|
43
|
-
/**
|
|
44
|
-
* The blob's mime type.
|
|
45
|
-
*/
|
|
46
|
-
mime: string;
|
|
47
|
-
}
|
|
48
|
-
export interface IFileMeta extends IBlobMeta {
|
|
49
|
-
/**
|
|
50
|
-
* The file name.
|
|
51
|
-
*/
|
|
52
|
-
name: string;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Represents a payload that is safe to store in a data store.
|
|
56
|
-
* The `string` goes without any transformations.
|
|
57
|
-
* The `file` and the `blob` are data URLs encoded as string.
|
|
58
|
-
* The `buffer` and `arraybuffer` are UInt8Arrays.
|
|
59
|
-
*/
|
|
60
|
-
export interface ISafePayload {
|
|
61
|
-
/**
|
|
62
|
-
* The type od the originating payload object.
|
|
63
|
-
*/
|
|
64
|
-
type: PayloadTypes;
|
|
65
|
-
/**
|
|
66
|
-
* The payload contents. The data type depends on the `type`.
|
|
67
|
-
*/
|
|
68
|
-
data: string | number[] | IMultipartBody[];
|
|
69
|
-
/**
|
|
70
|
-
* Optionally the original mime type of the payload.
|
|
71
|
-
* This is used with files.
|
|
72
|
-
*/
|
|
73
|
-
meta?: IBlobMeta | IFileMeta;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* The request payload. When not a string then it has to go through a
|
|
77
|
-
* transformation from a store safe object to the original data object.
|
|
78
|
-
* For example, a file is stored as type 'file' and data with the file's data URL.
|
|
79
|
-
* A Buffer / ArrayBuffer is stored as type 'buffer' / 'arraybuffer' respectively
|
|
80
|
-
* with the `data` being an UInt8Array of the content.
|
|
81
|
-
*/
|
|
82
|
-
export type Payload = string | ISafePayload;
|
|
83
|
-
export declare class PayloadSerializer {
|
|
84
|
-
/**
|
|
85
|
-
* Checked whether the passed payload can be safely stored in the data store.
|
|
86
|
-
* @param payload The value to test.
|
|
87
|
-
*/
|
|
88
|
-
static isSafePayload(payload: unknown): boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Tests whether the given input should be processed by the `serialize()`.
|
|
91
|
-
*/
|
|
92
|
-
static needsSerialization(input: unknown): boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Transforms the payload into a data store safe object.
|
|
95
|
-
*/
|
|
96
|
-
static serialize(payload: DeserializedPayload): Promise<ISafePayload | string | undefined>;
|
|
97
|
-
/**
|
|
98
|
-
* Stringifies a file object.
|
|
99
|
-
*/
|
|
100
|
-
static stringifyFile(file: File): Promise<ISafePayload>;
|
|
101
|
-
/**
|
|
102
|
-
* Stringifies a blob object.
|
|
103
|
-
*
|
|
104
|
-
* @param blob Blob object to be translated to string
|
|
105
|
-
*/
|
|
106
|
-
static stringifyBlob(blob: Blob): Promise<ISafePayload>;
|
|
107
|
-
/**
|
|
108
|
-
* When the passed argument is a NodeJS buffer it creates an object describing the buffer
|
|
109
|
-
* in a safe to store object.
|
|
110
|
-
*
|
|
111
|
-
* @returns The buffer metadata or undefined if the passed argument is not a Buffer.
|
|
112
|
-
*/
|
|
113
|
-
static stringifyBuffer(payload: Buffer): ISafePayload | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* When the passed argument is an ArrayBuffer it creates an object describing the object in a safe to store object.
|
|
116
|
-
*
|
|
117
|
-
* @param payload
|
|
118
|
-
* @returns The buffer metadata or undefined if the passed argument is not an ArrayBuffer.
|
|
119
|
-
*/
|
|
120
|
-
static stringifyArrayBuffer(payload: ArrayBuffer): ISafePayload | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* Transforms the FormData object to a serialized object describing the data.
|
|
123
|
-
*
|
|
124
|
-
* @param payload A `FormData` object
|
|
125
|
-
* @return A promise resolved to a datastore safe entries.
|
|
126
|
-
*/
|
|
127
|
-
static stringifyFormData(payload: FormData): Promise<ISafePayload>;
|
|
128
|
-
/**
|
|
129
|
-
* Transforms a FormData entry into a safe-to-store text entry
|
|
130
|
-
*
|
|
131
|
-
* @param name The part name
|
|
132
|
-
* @param file The part value
|
|
133
|
-
* @returns Transformed FormData part to a datastore safe entry.
|
|
134
|
-
*/
|
|
135
|
-
static serializeFormDataEntry(name: string, file: string | File | Blob): Promise<IMultipartBody>;
|
|
136
|
-
/**
|
|
137
|
-
* Restores the payload into its original format.
|
|
138
|
-
*/
|
|
139
|
-
static deserialize(payload: ISafePayload | string | undefined, as: 'buffer'): Promise<Buffer | undefined>;
|
|
140
|
-
/**
|
|
141
|
-
* Restores the payload into its original format.
|
|
142
|
-
*/
|
|
143
|
-
static deserialize(payload: ISafePayload | string | undefined, as?: string): Promise<DeserializedPayload>;
|
|
144
|
-
/**
|
|
145
|
-
* Deserializes previously serialized file object.
|
|
146
|
-
*
|
|
147
|
-
* @param payload The serialized payload with a file.
|
|
148
|
-
*/
|
|
149
|
-
static deserializeFile(payload: ISafePayload): File;
|
|
150
|
-
/**
|
|
151
|
-
* Deserializes previously serialized blob object.
|
|
152
|
-
*
|
|
153
|
-
* In previous versions of ARC the data was a string as data URL. In API client this is a buffer.
|
|
154
|
-
*
|
|
155
|
-
* @param payload The serialized payload.
|
|
156
|
-
* @return Restored blob value
|
|
157
|
-
*/
|
|
158
|
-
static deserializeBlob(payload: ISafePayload): Blob | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* The old implementation of the blob deserializer.
|
|
161
|
-
*
|
|
162
|
-
* @deprecated
|
|
163
|
-
* @param dataUrl Data url from blob value.
|
|
164
|
-
* @return Restored blob value
|
|
165
|
-
*/
|
|
166
|
-
static deserializeBlobLegacy(dataUrl: string): Blob | undefined;
|
|
167
|
-
/**
|
|
168
|
-
* Converts previously serialized File to a Buffer.
|
|
169
|
-
*
|
|
170
|
-
* @param payload The serialized payload.
|
|
171
|
-
* @return Restored File value as Buffer
|
|
172
|
-
*/
|
|
173
|
-
static deserializeFileBuffer(payload: ISafePayload): Buffer;
|
|
174
|
-
/**
|
|
175
|
-
* Converts data-url string to buffer
|
|
176
|
-
*
|
|
177
|
-
* @param payload The serialized payload.
|
|
178
|
-
* @return Restored blob value
|
|
179
|
-
*/
|
|
180
|
-
static deserializeBlobBuffer(payload: ISafePayload): Buffer;
|
|
181
|
-
/**
|
|
182
|
-
* Converts data-url string to buffer
|
|
183
|
-
*
|
|
184
|
-
* @deprecated
|
|
185
|
-
* @param dataUrl Data url from blob value.
|
|
186
|
-
* @return Restored blob value
|
|
187
|
-
*/
|
|
188
|
-
static deserializeBlobBufferLegacy(dataUrl: string): Buffer;
|
|
189
|
-
/**
|
|
190
|
-
* Converts UInt8Array to a Buffer.
|
|
191
|
-
*
|
|
192
|
-
* @param data Previously serialized buffer.
|
|
193
|
-
* @return Restored blob value
|
|
194
|
-
*/
|
|
195
|
-
static deserializeBuffer(data: number[]): Buffer;
|
|
196
|
-
/**
|
|
197
|
-
* Converts UInt8Array to an ArrayBuffer.
|
|
198
|
-
*
|
|
199
|
-
* @param data Previously serialized buffer.
|
|
200
|
-
*/
|
|
201
|
-
static deserializeArrayBuffer(data: number[]): ArrayBuffer;
|
|
202
|
-
/**
|
|
203
|
-
* Converts UInt8Array to a Buffer.
|
|
204
|
-
*
|
|
205
|
-
* @param data Previously serialized buffer.
|
|
206
|
-
*/
|
|
207
|
-
static deserializeArrayBufferBuffer(data: number[]): Buffer;
|
|
208
|
-
/**
|
|
209
|
-
* Deserializes FormData from API Client data model.
|
|
210
|
-
*
|
|
211
|
-
* @param parts API Client model for multipart.
|
|
212
|
-
* @return {FormData} Restored form data
|
|
213
|
-
*/
|
|
214
|
-
static deserializeFormData(parts: IMultipartBody[]): FormData;
|
|
215
|
-
private static deserializeFormDataPart;
|
|
216
|
-
/**
|
|
217
|
-
* @deprecated This is only for compatibility with ARC.
|
|
218
|
-
*/
|
|
219
|
-
private static deserializeFormDataLegacy;
|
|
220
|
-
}
|
|
221
|
-
//# sourceMappingURL=PayloadSerializer.d.ts.map
|