-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathindex.ts
123 lines (121 loc) · 3.66 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
declare global {
interface FormData {}
interface Blob {}
interface File {}
interface ReadableStream<R = any> {}
interface TransformStream<I = any, O = any> {}
}
export type { HttpMethods } from "@azure/core-util";
export type {
Agent,
BodyPart,
FormDataMap,
FormDataValue,
HttpClient,
HttpHeaders,
KeyObject,
MultipartRequestBody,
PipelineRequest,
PipelineResponse,
PipelineRetryOptions,
ProxySettings,
PxfObject,
RawHttpHeaders,
RawHttpHeadersInput,
RequestBodyType,
SendRequest,
TlsSettings,
TransferProgressEvent,
} from "./interfaces.js";
export {
type AddPolicyOptions as AddPipelineOptions,
type PipelinePhase,
type PipelinePolicy,
type Pipeline,
createEmptyPipeline,
} from "./pipeline.js";
export {
createPipelineFromOptions,
type TelemetryOptions,
type InternalPipelineOptions,
type PipelineOptions,
} from "./createPipelineFromOptions.js";
export { createDefaultHttpClient } from "./defaultHttpClient.js";
export { createHttpHeaders } from "./httpHeaders.js";
export { createPipelineRequest, type PipelineRequestOptions } from "./pipelineRequest.js";
export { RestError, type RestErrorOptions, isRestError } from "./restError.js";
export {
decompressResponsePolicy,
decompressResponsePolicyName,
} from "./policies/decompressResponsePolicy.js";
export {
exponentialRetryPolicy,
type ExponentialRetryPolicyOptions,
exponentialRetryPolicyName,
} from "./policies/exponentialRetryPolicy.js";
export {
setClientRequestIdPolicy,
setClientRequestIdPolicyName,
} from "./policies/setClientRequestIdPolicy.js";
export { logPolicy, logPolicyName, type LogPolicyOptions } from "./policies/logPolicy.js";
export { multipartPolicy, multipartPolicyName } from "./policies/multipartPolicy.js";
export { proxyPolicy, proxyPolicyName, getDefaultProxySettings } from "./policies/proxyPolicy.js";
export {
redirectPolicy,
redirectPolicyName,
type RedirectPolicyOptions,
} from "./policies/redirectPolicy.js";
export {
systemErrorRetryPolicy,
type SystemErrorRetryPolicyOptions,
systemErrorRetryPolicyName,
} from "./policies/systemErrorRetryPolicy.js";
export {
throttlingRetryPolicy,
throttlingRetryPolicyName,
type ThrottlingRetryPolicyOptions,
} from "./policies/throttlingRetryPolicy.js";
export { retryPolicy, type RetryPolicyOptions } from "./policies/retryPolicy.js";
export type {
RetryStrategy,
RetryInformation,
RetryModifiers,
} from "./retryStrategies/retryStrategy.js";
export {
tracingPolicy,
tracingPolicyName,
type TracingPolicyOptions,
} from "./policies/tracingPolicy.js";
export {
defaultRetryPolicy,
type DefaultRetryPolicyOptions,
} from "./policies/defaultRetryPolicy.js";
export {
userAgentPolicy,
userAgentPolicyName,
type UserAgentPolicyOptions,
} from "./policies/userAgentPolicy.js";
export { tlsPolicy, tlsPolicyName } from "./policies/tlsPolicy.js";
export { formDataPolicy, formDataPolicyName } from "./policies/formDataPolicy.js";
export {
bearerTokenAuthenticationPolicy,
type BearerTokenAuthenticationPolicyOptions,
bearerTokenAuthenticationPolicyName,
type ChallengeCallbacks,
type AuthorizeRequestOptions,
type AuthorizeRequestOnChallengeOptions,
} from "./policies/bearerTokenAuthenticationPolicy.js";
export { ndJsonPolicy, ndJsonPolicyName } from "./policies/ndJsonPolicy.js";
export {
auxiliaryAuthenticationHeaderPolicy,
type AuxiliaryAuthenticationHeaderPolicyOptions,
auxiliaryAuthenticationHeaderPolicyName,
} from "./policies/auxiliaryAuthenticationHeaderPolicy.js";
export {
createFile,
createFileFromStream,
type CreateFileOptions,
type CreateFileFromStreamOptions,
} from "./util/file.js";