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AAc,MAAM;IACpB,QAAQ,MAAM;IACd,IAAI,MAAM;IACV,cAAc,MAAM;IACpB,kBAAkB,MAAM;IACxB,qBAAqB,MAAM;IAC3B,iBAAiB,MAAM;IACvB,oBAAoB,MAAM;IAC1B,4BAA4B,MAAM;IAClC,iBAAiB,MAAM;IACvB,eAAe,MAAM;IACrB,oBAAoB,MAAM;IAC1B,mBAAmB,MAAM;IACzB,cAAc,MAAM;IACpB,UAAU,MAAM;IAChB,kBAAkB,MAAM;IACxB,cAAc,MAAM;IACpB,uBAAuB,MAAM;CAChC;AAED,oBAAY,iBAAiB;IACzB,IAAI,qBAAqB;CAC5B","file":"http-constants.d.ts","sourcesContent":["/**\r\n * Defines constants for use with HTTP headers.\r\n */\r\nexport const headerConstants = {\r\n    /**\r\n     * The accept language header.\r\n     */\r\n    ACCEPT_LANGUAGE: 'accept-language',\r\n\r\n    /**\r\n     * The accept ranges header.\r\n     */\r\n    ACCEPT_RANGES: 'accept-ranges',\r\n\r\n    /**\r\n     * The content transfer encoding header.\r\n     */\r\n    CONTENT_TRANSFER_ENCODING: 'content-transfer-encoding',\r\n\r\n    /**\r\n     * The transfer encoding header.\r\n     */\r\n    TRANSFER_ENCODING: 'transfer-encoding',\r\n\r\n    /**\r\n     * The server header.\r\n     */\r\n    SERVER: 'server',\r\n\r\n    /**\r\n     * The location header.\r\n     */\r\n    LOCATION: 'location',\r\n\r\n    /**\r\n     * The Last-Modified header\r\n     */\r\n    LAST_MODIFIED: 'Last-Modified',\r\n\r\n    /**\r\n     * The data service version.\r\n     */\r\n    DATA_SERVICE_VERSION: 'dataserviceversion',\r\n\r\n    /**\r\n     * The maximum data service version.\r\n     */\r\n    MAX_DATA_SERVICE_VERSION: 'maxdataserviceversion',\r\n\r\n    /**\r\n     * The master Windows Azure Storage header prefix.\r\n     */\r\n    PREFIX_FOR_STORAGE: 'x-ms-',\r\n\r\n    /**\r\n     * The client request Id header.\r\n     */\r\n    CLIENT_REQUEST_ID: 'x-ms-client-request-id',\r\n\r\n    /**\r\n     * The header that specifies the approximate message count of a queue.\r\n     */\r\n    APPROXIMATE_MESSAGES_COUNT: 'x-ms-approximate-messages-count',\r\n\r\n    /**\r\n     * The Authorization header.\r\n     */\r\n    AUTHORIZATION: 'authorization',\r\n\r\n    /**\r\n     * The header that specifies public access to blobs.\r\n     */\r\n    BLOB_PUBLIC_ACCESS: 'x-ms-blob-public-access',\r\n\r\n    /**\r\n     * The header for the blob type.\r\n     */\r\n    BLOB_TYPE: 'x-ms-blob-type',\r\n\r\n    /**\r\n     * The header for the type.\r\n     */\r\n    TYPE: 'x-ms-type',\r\n\r\n    /**\r\n     * Specifies the block blob type.\r\n     */\r\n    BLOCK_BLOB: 'blockblob',\r\n\r\n    /**\r\n     * The CacheControl header.\r\n     */\r\n    CACHE_CONTROL: 'cache-control',\r\n\r\n    /**\r\n     * The header that specifies blob caching control.\r\n     */\r\n    BLOB_CACHE_CONTROL: 'x-ms-blob-cache-control',\r\n\r\n    /**\r\n     * The header that specifies caching control.\r\n     */\r\n    FILE_CACHE_CONTROL: 'x-ms-cache-control',\r\n\r\n    /**\r\n     * The copy status.\r\n     */\r\n    COPY_STATUS: 'x-ms-copy-status',\r\n\r\n    /**\r\n     * The copy completion time\r\n     */\r\n    COPY_COMPLETION_TIME: 'x-ms-copy-completion-time',\r\n\r\n    /**\r\n     * The copy status message\r\n     */\r\n    COPY_STATUS_DESCRIPTION: 'x-ms-copy-status-description',\r\n\r\n    /**\r\n     * The copy identifier.\r\n     */\r\n    COPY_ID: 'x-ms-copy-id',\r\n\r\n    /**\r\n     * Progress of any copy operation\r\n     */\r\n    COPY_PROGRESS: 'x-ms-copy-progress',\r\n\r\n    /**\r\n     * The copy action.\r\n     */\r\n    COPY_ACTION: 'x-ms-copy-action',\r\n\r\n    /**\r\n     * The ContentID header.\r\n     */\r\n    CONTENT_ID: 'content-id',\r\n\r\n    /**\r\n     * The ContentEncoding header.\r\n     */\r\n    CONTENT_ENCODING: 'content-encoding',\r\n\r\n    /**\r\n     * The header that specifies blob content encoding.\r\n     */\r\n    BLOB_CONTENT_ENCODING: 'x-ms-blob-content-encoding',\r\n\r\n    /**\r\n     * The header that specifies content encoding.\r\n     */\r\n    FILE_CONTENT_ENCODING: 'x-ms-content-encoding',\r\n\r\n    /**\r\n     * The ContentLangauge header.\r\n     */\r\n    CONTENT_LANGUAGE: 'content-language',\r\n\r\n    /**\r\n     * The header that specifies blob content language.\r\n     */\r\n    BLOB_CONTENT_LANGUAGE: 'x-ms-blob-content-language',\r\n\r\n    /**\r\n     * The header that specifies content language.\r\n     */\r\n    FILE_CONTENT_LANGUAGE: 'x-ms-content-language',\r\n\r\n    /**\r\n     * The ContentLength header.\r\n     */\r\n    CONTENT_LENGTH: 'content-length',\r\n\r\n    /**\r\n     * The header that specifies blob content length.\r\n     */\r\n    BLOB_CONTENT_LENGTH: 'x-ms-blob-content-length',\r\n\r\n    /**\r\n     * The header that specifies content length.\r\n     */\r\n    FILE_CONTENT_LENGTH: 'x-ms-content-length',\r\n\r\n    /**\r\n     * The ContentDisposition header.\r\n     */\r\n    CONTENT_DISPOSITION: 'content-disposition',\r\n\r\n    /**\r\n     * The header that specifies blob content disposition.\r\n     */\r\n    BLOB_CONTENT_DISPOSITION: 'x-ms-blob-content-disposition',\r\n\r\n    /**\r\n     * The header that specifies content disposition.\r\n     */\r\n    FILE_CONTENT_DISPOSITION: 'x-ms-content-disposition',\r\n\r\n    /**\r\n     * The ContentMD5 header.\r\n     */\r\n    CONTENT_MD5: 'content-md5',\r\n\r\n    /**\r\n     * The header that specifies blob content MD5.\r\n     */\r\n    BLOB_CONTENT_MD5: 'x-ms-blob-content-md5',\r\n\r\n    /**\r\n     * The header that specifies content MD5.\r\n     */\r\n    FILE_CONTENT_MD5: 'x-ms-content-md5',\r\n\r\n    /**\r\n     * The ContentRange header.\r\n     */\r\n    CONTENT_RANGE: 'Content-Range',\r\n\r\n    /**\r\n     * The ContentType header.\r\n     */\r\n    CONTENT_TYPE: 'Content-Type',\r\n\r\n    /**\r\n     * The header that specifies blob content type.\r\n     */\r\n    BLOB_CONTENT_TYPE: 'x-ms-blob-content-type',\r\n\r\n    /**\r\n     * The header that specifies content type.\r\n     */\r\n    FILE_CONTENT_TYPE: 'x-ms-content-type',\r\n\r\n    /**\r\n     * The header for copy source.\r\n     */\r\n    COPY_SOURCE: 'x-ms-copy-source',\r\n\r\n    /**\r\n     * The header that specifies the date.\r\n     */\r\n    DATE: 'date',\r\n\r\n    /**\r\n     * The header that specifies the date.\r\n     */\r\n    MS_DATE: 'x-ms-date',\r\n\r\n    /**\r\n     * The header to delete snapshots.\r\n     */\r\n    DELETE_SNAPSHOT: 'x-ms-delete-snapshots',\r\n\r\n    /**\r\n     * The ETag header.\r\n     */\r\n    ETAG: 'etag',\r\n\r\n    /**\r\n     * The IfMatch header.\r\n     */\r\n    IF_MATCH: 'if-match',\r\n\r\n    /**\r\n     * The IfModifiedSince header.\r\n     */\r\n    IF_MODIFIED_SINCE: 'if-modified-since',\r\n\r\n    /**\r\n     * The IfNoneMatch header.\r\n     */\r\n    IF_NONE_MATCH: 'if-none-match',\r\n\r\n    /**\r\n     * The IfUnmodifiedSince header.\r\n     */\r\n    IF_UNMODIFIED_SINCE: 'if-unmodified-since',\r\n\r\n    /**\r\n     * Specifies snapshots are to be included.\r\n     */\r\n    INCLUDE_SNAPSHOTS_VALUE: 'include',\r\n\r\n    /**\r\n     * Specifies that the content-type is JSON.\r\n     */\r\n    JSON_CONTENT_TYPE_VALUE: 'application/json;',\r\n\r\n    /**\r\n     * The header that specifies lease ID.\r\n     */\r\n    LEASE_ID: 'x-ms-lease-id',\r\n\r\n    /**\r\n     * The header that specifies the lease break period.\r\n     */\r\n    LEASE_BREAK_PERIOD: 'x-ms-lease-break-period',\r\n\r\n    /**\r\n     * The header that specifies the proposed lease identifier.\r\n     */\r\n    PROPOSED_LEASE_ID: 'x-ms-proposed-lease-id',\r\n\r\n    /**\r\n     * The header that specifies the lease duration.\r\n     */\r\n    LEASE_DURATION: 'x-ms-lease-duration',\r\n\r\n    /**\r\n     * The header that specifies the source lease ID.\r\n     */\r\n    SOURCE_LEASE_ID: 'x-ms-source-lease-id',\r\n\r\n    /**\r\n     * The header that specifies lease time.\r\n     */\r\n    LEASE_TIME: 'x-ms-lease-time',\r\n\r\n    /**\r\n     * The header that specifies lease status.\r\n     */\r\n    LEASE_STATUS: 'x-ms-lease-status',\r\n\r\n    /**\r\n     * The header that specifies lease state.\r\n     */\r\n    LEASE_STATE: 'x-ms-lease-state',\r\n\r\n    /**\r\n     * Specifies the page blob type.\r\n     */\r\n    PAGE_BLOB: 'PageBlob',\r\n\r\n    /**\r\n     * The header that specifies page write mode.\r\n     */\r\n    PAGE_WRITE: 'x-ms-page-write',\r\n\r\n    /**\r\n     * The header that specifies file range write mode.\r\n     */\r\n    FILE_WRITE: 'x-ms-write',\r\n\r\n    /**\r\n     * The header that specifies whether the response should include the inserted entity.\r\n     */\r\n    PREFER: 'Prefer',\r\n\r\n    /**\r\n     * The header value which specifies that the response should include the inserted entity.\r\n     */\r\n    PREFER_CONTENT: 'return-content',\r\n\r\n    /**\r\n     * The header value which specifies that the response should not include the inserted entity.\r\n     */\r\n    PREFER_NO_CONTENT: 'return-no-content',\r\n\r\n    /**\r\n     * The header prefix for metadata.\r\n     */\r\n    PREFIX_FOR_STORAGE_METADATA: 'x-ms-meta-',\r\n\r\n    /**\r\n     * The header prefix for properties.\r\n     */\r\n    PREFIX_FOR_STORAGE_PROPERTIES: 'x-ms-prop-',\r\n\r\n    /**\r\n     * The Range header.\r\n     */\r\n    RANGE: 'Range',\r\n\r\n    /**\r\n     * The header that specifies if the request will populate the ContentMD5 header for range gets.\r\n     */\r\n    RANGE_GET_CONTENT_MD5: 'x-ms-range-get-content-md5',\r\n\r\n    /**\r\n     * The format string for specifying ranges.\r\n     */\r\n    RANGE_HEADER_FORMAT: 'bytes:%d-%d',\r\n\r\n    /**\r\n     * The header that indicates the request ID.\r\n     */\r\n    REQUEST_ID: 'x-ms-request-id',\r\n\r\n    /**\r\n     * The header for specifying the sequence number.\r\n     */\r\n    SEQUENCE_NUMBER: 'x-ms-blob-sequence-number',\r\n\r\n    /**\r\n     * The header for specifying the If-Sequence-Number-EQ condition.\r\n     */\r\n    SEQUENCE_NUMBER_EQUAL: 'x-ms-if-sequence-number-eq',\r\n\r\n    /**\r\n     * The header for specifying the If-Sequence-Number-LT condition.\r\n     */\r\n    SEQUENCE_NUMBER_LESS_THAN: 'x-ms-if-sequence-number-lt',\r\n\r\n    /**\r\n     * The header for specifying the If-Sequence-Number-LE condition.\r\n     */\r\n    SEQUENCE_NUMBER_LESS_THAN_OR_EQUAL: 'x-ms-if-sequence-number-le',\r\n\r\n    /**\r\n     * The header that specifies sequence number action.\r\n     */\r\n    SEQUENCE_NUMBER_ACTION: 'x-ms-sequence-number-action',\r\n\r\n    /**\r\n     * The header for the blob content length.\r\n     */\r\n    SIZE: 'x-ms-blob-content-length',\r\n\r\n    /**\r\n     * The header for snapshots.\r\n     */\r\n    SNAPSHOT: 'x-ms-snapshot',\r\n\r\n    /**\r\n     * Specifies only snapshots are to be included.\r\n     */\r\n    SNAPSHOTS_ONLY_VALUE: 'only',\r\n\r\n    /**\r\n     * The header for the If-Match condition.\r\n     */\r\n    SOURCE_IF_MATCH: 'x-ms-source-if-match',\r\n\r\n    /**\r\n     * The header for the If-Modified-Since condition.\r\n     */\r\n    SOURCE_IF_MODIFIED_SINCE: 'x-ms-source-if-modified-since',\r\n\r\n    /**\r\n     * The header for the If-None-Match condition.\r\n     */\r\n    SOURCE_IF_NONE_MATCH: 'x-ms-source-if-none-match',\r\n\r\n    /**\r\n     * The header for the If-Unmodified-Since condition.\r\n     */\r\n    SOURCE_IF_UNMODIFIED_SINCE: 'x-ms-source-if-unmodified-since',\r\n\r\n    /**\r\n     * The header for data ranges.\r\n     */\r\n    STORAGE_RANGE: 'x-ms-range',\r\n\r\n    /**\r\n     * The header for storage version.\r\n     */\r\n    STORAGE_VERSION: 'x-ms-version',\r\n\r\n    /**\r\n     * The current storage version header value.\r\n     */\r\n    TARGET_STORAGE_VERSION: '2015-12-11',\r\n\r\n    /**\r\n     * The UserAgent header.\r\n     */\r\n    USER_AGENT: 'user-agent',\r\n\r\n    /**\r\n     * The pop receipt header.\r\n     */\r\n    POP_RECEIPT: 'x-ms-popreceipt',\r\n\r\n    /**\r\n     * The time next visibile header.\r\n     */\r\n    TIME_NEXT_VISIBLE: 'x-ms-time-next-visible',\r\n\r\n    /**\r\n     * The approximate message counter header.\r\n     */\r\n    APPROXIMATE_MESSAGE_COUNT: 'x-ms-approximate-message-count',\r\n\r\n    /**\r\n     * The lease action header.\r\n     */\r\n    LEASE_ACTION: 'x-ms-lease-action',\r\n\r\n    /**\r\n     * The accept header.\r\n     */\r\n    ACCEPT: 'accept',\r\n\r\n    /**\r\n     * The accept charset header.\r\n     */\r\n    ACCEPT_CHARSET: 'Accept-Charset',\r\n\r\n    /**\r\n     * The host header.\r\n     */\r\n    HOST: 'host',\r\n\r\n    /**\r\n     * The correlation identifier header.\r\n     */\r\n    CORRELATION_ID: 'x-ms-correlation-id',\r\n\r\n    /**\r\n     * The group identifier header.\r\n     */\r\n    GROUP_ID: 'x-ms-group-id',\r\n\r\n    /**\r\n     * The share quota header.\r\n     */\r\n    SHARE_QUOTA: 'x-ms-share-quota',\r\n\r\n    /**\r\n     * The max blob size header.\r\n     */\r\n    BLOB_CONDITION_MAX_SIZE: 'x-ms-blob-condition-maxsize',\r\n\r\n    /**\r\n     * The append blob position header.\r\n     */\r\n    BLOB_CONDITION_APPEND_POSITION: 'x-ms-blob-condition-appendpos',\r\n\r\n    /**\r\n     * The append blob append offset header.\r\n     */\r\n    BLOB_APPEND_OFFSET: 'x-ms-blob-append-offset',\r\n\r\n    /**\r\n     * The append blob committed block header.\r\n     */\r\n    BLOB_COMMITTED_BLOCK_COUNT: 'x-ms-blob-committed-block-count',\r\n\r\n    /**\r\n     * If the data and application metadata are completely encrypted using the specified algorithm.\r\n     */\r\n    SERVER_ENCRYPTED: 'x-ms-server-encrypted',\r\n\r\n    /**\r\n     * The SME authorization header.\r\n     */\r\n    SME_AUTHORIZATION: 'x-ms-sme-authorization',\r\n\r\n    /**\r\n     * The SME AAD authorization header.\r\n     */\r\n    SME_AAD_AUTHORIZATION: 'authorization-aad',\r\n\r\n     /**\r\n     * The secure extension data header\r\n     */\r\n    SECURE_EXTENSION: 'x-ms-sme-secureExtension',\r\n\r\n    /**\r\n     * The Use Laps Header.\r\n     */\r\n    USE_LAPS: 'x-ms-sme-useLaps',\r\n\r\n    /**\r\n     * The Laps local admin name.\r\n     */\r\n    LAPS_LOCALADMINNAME: 'x-ms-sme-lapsLocalAdminName',\r\n\r\n    /**\r\n     * Flag to log audit for the request\r\n     */\r\n    LOG_AUDIT: 'x-ms-sme-log-audit',\r\n\r\n    /**\r\n     * Flag to log telemetry for the request\r\n     */\r\n    LOG_TELEMETRY: 'x-ms-sme-log-telemetry',\r\n\r\n    /**\r\n     * Name of module making the request\r\n     */\r\n    MODULE_NAME: 'x-ms-sme-module-name',\r\n\r\n    /**\r\n     * Version of module making the request.\r\n     */\r\n    MODULE_VERSION: 'x-ms-sme-module-version',\r\n\r\n    /**\r\n     * PowerShell JEA endpoint.\r\n     */\r\n    POWERSHELL_ENDPOINT: 'x-ms-sme-jea-endpoint',\r\n\r\n    /**\r\n     * Cross-site request forgery token.\r\n     * Use `X-XSRF-TOKEN` for the header name and `XSRF-TOKEN` for the cookie name.\r\n     */\r\n    CROSS_SITE_REQUEST_FORGERY_TOKEN: 'x-xsrf-token',\r\n\r\n    /**\r\n     * Authentication mechanism request.\r\n     */\r\n    AUTHENTICATION_MECHANISM: 'x-ms-sme-authentication-mechanism',\r\n\r\n    /**\r\n     * Version of requested static content.\r\n     */\r\n    STATIC_VERSION: 'x-ms-sme-static-version'\r\n};\r\n\r\nexport const enum HttpStatusCode {\r\n    // GenericError is defined for Status code 0. It has been observed when a http call was not completed due to\r\n    // network communication error, security error, the gateway server was not running or something else, however\r\n    // it doesn't give exact reason of the error.\r\n    GenericError = 0,\r\n\r\n    CorsRequestFailed = 0,\r\n    Continue = 100,\r\n    SwitchingProtocols = 101,\r\n    Ok = 200,\r\n    Created = 201,\r\n    Accepted = 202,\r\n    NonAuthoritativeInformation = 203,\r\n    NoContent = 204,\r\n    ResetContent = 205,\r\n    PartialContent = 206,\r\n    Ambiguous = 300,\r\n    MultipleChoices = 300,\r\n    Moved = 301,\r\n    MovedPermanently = 301,\r\n    Found = 302,\r\n    Redirect = 302,\r\n    RedirectMethod = 303,\r\n    SeeOther = 303,\r\n    NotModified = 304,\r\n    UseProxy = 305,\r\n    Unused = 306,\r\n    RedirectKeepVerb = 307,\r\n    TemporaryRedirect = 307,\r\n    BadRequest = 400,\r\n    Unauthorized = 401,\r\n    PaymentRequired = 402,\r\n    Forbidden = 403,\r\n    NotFound = 404,\r\n    MethodNotAllowed = 405,\r\n    NotAcceptable = 406,\r\n    ProxyAuthenticationRequired = 407,\r\n    RequestTimeout = 408,\r\n    Conflict = 409,\r\n    Gone = 410,\r\n    LengthRequired = 411,\r\n    PreconditionFailed = 412,\r\n    RequestEntityTooLarge = 413,\r\n    RequestUriTooLong = 414,\r\n    UnsupportedMediaType = 415,\r\n    RequestedRangeNotSatisfiable = 416,\r\n    ExpectationFailed = 417,\r\n    UpgradeRequired = 426,\r\n    PreconditionRequired = 428,\r\n    InternalServerError = 500,\r\n    NotImplemented = 501,\r\n    BadGateway = 502,\r\n    ServiceUnavailable = 503,\r\n    GatewayTimeout = 504,\r\n    HttpVersionNotSupported = 505\r\n}\r\n\r\nexport enum HttpResponseTypes {\r\n    Json = 'application/json',\r\n}\r\n"]}