@tsonic/efcore-sqlserver 10.0.2 → 10.0.5
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/Azure/internal/index.d.ts +33 -41
- package/Azure.Core/internal/index.d.ts +55 -48
- package/Azure.Core.Cryptography/internal/index.d.ts +4 -0
- package/Azure.Core.Diagnostics/internal/index.d.ts +4 -6
- package/Azure.Core.Extensions/internal/index.d.ts +8 -0
- package/Azure.Core.GeoJson/internal/index.d.ts +43 -7
- package/Azure.Core.Pipeline/internal/index.d.ts +22 -30
- package/Azure.Core.Serialization/internal/index.d.ts +8 -3
- package/Azure.Identity/internal/index.d.ts +69 -28
- package/Azure.Messaging/internal/index.d.ts +7 -11
- package/Microsoft.Data/internal/index.d.ts +2 -1
- package/Microsoft.Data.SqlClient/internal/index.d.ts +133 -123
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +90 -15
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +2 -0
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +8 -1
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +4 -6
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +11 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +86 -73
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +47 -49
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +9 -1
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +8 -8
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +24 -22
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +2 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +10 -6
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +189 -194
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +4 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +4 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal.d.ts +3 -0
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +115 -191
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +31 -32
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +19 -12
- package/Microsoft.EntityFrameworkCore.d.ts +3 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
- package/Microsoft.Identity.Client/internal/index.d.ts +108 -108
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +0 -1
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +2 -0
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +3 -2
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +4 -4
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +1 -2
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +0 -1
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +13 -7
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +8 -10
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +7 -6
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +17 -2
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +2 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +19 -18
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -0
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +119 -118
- package/Microsoft.IdentityModel.Tokens.d.ts +3 -0
- package/Microsoft.SqlServer.Server/internal/index.d.ts +4 -1
- package/System.ClientModel/internal/index.d.ts +19 -26
- package/System.ClientModel.Primitives/internal/index.d.ts +99 -124
- package/System.ClientModel.Primitives.d.ts +3 -0
- package/System.Configuration/internal/index.d.ts +293 -332
- package/System.Configuration.Internal/internal/index.d.ts +23 -2
- package/System.Configuration.Provider/internal/index.d.ts +7 -4
- package/System.Drawing.Configuration/internal/index.d.ts +2 -6
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +38 -16
- package/__internal/extensions/index.d.ts +915 -14
- package/package.json +1 -1
|
@@ -121,3 +121,6 @@ export { Validators$instance as Validators } from './Microsoft.IdentityModel.Tok
|
|
|
121
121
|
export { X509EncryptingCredentials as X509EncryptingCredentials } from './Microsoft.IdentityModel.Tokens/internal/index.js';
|
|
122
122
|
export { X509SecurityKey as X509SecurityKey } from './Microsoft.IdentityModel.Tokens/internal/index.js';
|
|
123
123
|
export { X509SigningCredentials as X509SigningCredentials } from './Microsoft.IdentityModel.Tokens/internal/index.js';
|
|
124
|
+
// Extension methods (C# using semantics)
|
|
125
|
+
export type { ExtensionMethods_Microsoft_IdentityModel_Tokens as ExtensionMethods } from './__internal/extensions/index.js';
|
|
126
|
+
|
|
@@ -32,6 +32,8 @@ export enum SystemDataAccessKind {
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
export interface IBinarySerialize$instance {
|
|
35
|
+
readonly __tsonic_iface_Microsoft_SqlServer_Server_IBinarySerialize: never;
|
|
36
|
+
|
|
35
37
|
Read(r: BinaryReader): void;
|
|
36
38
|
Write(w: BinaryWriter): void;
|
|
37
39
|
}
|
|
@@ -40,12 +42,13 @@ export interface IBinarySerialize$instance {
|
|
|
40
42
|
export type IBinarySerialize = IBinarySerialize$instance;
|
|
41
43
|
|
|
42
44
|
export interface InvalidUdtException$instance extends SystemException {
|
|
45
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
46
|
+
|
|
43
47
|
GetObjectData(si: SerializationInfo, context: StreamingContext): void;
|
|
44
48
|
}
|
|
45
49
|
|
|
46
50
|
|
|
47
51
|
export const InvalidUdtException: {
|
|
48
|
-
new(): InvalidUdtException;
|
|
49
52
|
Create(udtType: Type, resourceReason?: string): InvalidUdtException;
|
|
50
53
|
};
|
|
51
54
|
|
|
@@ -39,18 +39,15 @@ export const ApiKeyCredential: {
|
|
|
39
39
|
|
|
40
40
|
export type ApiKeyCredential = ApiKeyCredential$instance;
|
|
41
41
|
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
42
|
+
export interface AsyncCollectionResult_1$instance<T> extends AsyncCollectionResult {
|
|
43
|
+
readonly __tsonic_iface_System_Collections_Generic_IAsyncEnumerable_1: never;
|
|
46
44
|
|
|
47
|
-
export interface AsyncCollectionResult_1$instance<T> extends AsyncCollectionResult_1$protected<T>, AsyncCollectionResult {
|
|
48
45
|
GetAsyncEnumerator(cancellationToken?: CancellationToken): IAsyncEnumerator<T>;
|
|
46
|
+
GetValuesFromPageAsync(page: ClientResult): IAsyncEnumerable<T>;
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
|
|
52
|
-
export const AsyncCollectionResult_1: {
|
|
53
|
-
new<T>(): AsyncCollectionResult_1<T>;
|
|
50
|
+
export const AsyncCollectionResult_1: (abstract new<T>() => AsyncCollectionResult_1<T>) & {
|
|
54
51
|
};
|
|
55
52
|
|
|
56
53
|
|
|
@@ -63,16 +60,17 @@ export interface AuthenticationTokenProvider$instance {
|
|
|
63
60
|
}
|
|
64
61
|
|
|
65
62
|
|
|
66
|
-
export const AuthenticationTokenProvider: {
|
|
67
|
-
new(): AuthenticationTokenProvider;
|
|
63
|
+
export const AuthenticationTokenProvider: (abstract new() => AuthenticationTokenProvider) & {
|
|
68
64
|
};
|
|
69
65
|
|
|
70
66
|
|
|
71
67
|
export type AuthenticationTokenProvider = AuthenticationTokenProvider$instance;
|
|
72
68
|
|
|
73
69
|
export interface BinaryContent$instance {
|
|
70
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
71
|
+
|
|
74
72
|
get MediaType(): string | undefined;
|
|
75
|
-
set MediaType(value: string);
|
|
73
|
+
set MediaType(value: string | undefined);
|
|
76
74
|
Dispose(): void;
|
|
77
75
|
TryComputeLength(length: long): boolean;
|
|
78
76
|
WriteTo(stream: Stream, cancellationToken?: CancellationToken): void;
|
|
@@ -80,8 +78,7 @@ export interface BinaryContent$instance {
|
|
|
80
78
|
}
|
|
81
79
|
|
|
82
80
|
|
|
83
|
-
export const BinaryContent: {
|
|
84
|
-
new(): BinaryContent;
|
|
81
|
+
export const BinaryContent: (abstract new() => BinaryContent) & {
|
|
85
82
|
Create(value: BinaryData): BinaryContent;
|
|
86
83
|
Create(stream: Stream): BinaryContent;
|
|
87
84
|
Create<T extends IPersistableModel_1<T>>(model: T, options?: ModelReaderWriterOptions): BinaryContent;
|
|
@@ -98,8 +95,7 @@ export interface ClientResult$instance {
|
|
|
98
95
|
}
|
|
99
96
|
|
|
100
97
|
|
|
101
|
-
export const ClientResult: {
|
|
102
|
-
new(response: PipelineResponse): ClientResult;
|
|
98
|
+
export const ClientResult: (abstract new(response: PipelineResponse) => ClientResult) & {
|
|
103
99
|
FromOptionalValue<T>(value: T, response: PipelineResponse): ClientResult_1<T | undefined>;
|
|
104
100
|
FromResponse(response: PipelineResponse): ClientResult;
|
|
105
101
|
FromValue<T>(value: T, response: PipelineResponse): ClientResult_1<T>;
|
|
@@ -113,14 +109,15 @@ export interface ClientResult_1$instance<T> extends ClientResult {
|
|
|
113
109
|
}
|
|
114
110
|
|
|
115
111
|
|
|
116
|
-
export const ClientResult_1: {
|
|
117
|
-
new<T>(value: T, response: PipelineResponse): ClientResult_1<T>;
|
|
112
|
+
export const ClientResult_1: (abstract new<T>(value: T, response: PipelineResponse) => ClientResult_1<T>) & {
|
|
118
113
|
};
|
|
119
114
|
|
|
120
115
|
|
|
121
116
|
export type ClientResult_1<T> = ClientResult_1$instance<T>;
|
|
122
117
|
|
|
123
118
|
export interface ClientResultException$instance extends Exception {
|
|
119
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
120
|
+
|
|
124
121
|
Status: int;
|
|
125
122
|
GetRawResponse(): PipelineResponse | undefined;
|
|
126
123
|
}
|
|
@@ -135,18 +132,16 @@ export const ClientResultException: {
|
|
|
135
132
|
|
|
136
133
|
export type ClientResultException = ClientResultException$instance;
|
|
137
134
|
|
|
138
|
-
export
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
export interface CollectionResult_1$instance<T> extends CollectionResult {
|
|
136
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
137
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
142
138
|
|
|
143
|
-
export interface CollectionResult_1$instance<T> extends CollectionResult_1$protected<T>, CollectionResult {
|
|
144
139
|
GetEnumerator(): IEnumerator<T>;
|
|
140
|
+
GetValuesFromPage(page: ClientResult): IEnumerable__System_Collections_Generic<T>;
|
|
145
141
|
}
|
|
146
142
|
|
|
147
143
|
|
|
148
|
-
export const CollectionResult_1: {
|
|
149
|
-
new<T>(): CollectionResult_1<T>;
|
|
144
|
+
export const CollectionResult_1: (abstract new<T>() => CollectionResult_1<T>) & {
|
|
150
145
|
};
|
|
151
146
|
|
|
152
147
|
|
|
@@ -157,9 +152,7 @@ export interface ContinuationToken$instance {
|
|
|
157
152
|
}
|
|
158
153
|
|
|
159
154
|
|
|
160
|
-
export const ContinuationToken: {
|
|
161
|
-
new(): ContinuationToken;
|
|
162
|
-
new(bytes: BinaryData): ContinuationToken;
|
|
155
|
+
export const ContinuationToken: (abstract new() => ContinuationToken) & (abstract new(bytes: BinaryData) => ContinuationToken) & {
|
|
163
156
|
FromBytes(bytes: BinaryData): ContinuationToken;
|
|
164
157
|
};
|
|
165
158
|
|
|
@@ -50,6 +50,8 @@ export enum PipelinePosition {
|
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
53
|
+
readonly __tsonic_iface_System_ClientModel_Primitives_IJsonModel_1: never;
|
|
54
|
+
|
|
53
55
|
Create(reader: Utf8JsonReader, options: ModelReaderWriterOptions): T | undefined;
|
|
54
56
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T | undefined;
|
|
55
57
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T;
|
|
@@ -62,6 +64,8 @@ export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
|
62
64
|
export type IJsonModel_1<T> = IJsonModel_1$instance<T>;
|
|
63
65
|
|
|
64
66
|
export interface IPersistableModel_1$instance<T> {
|
|
67
|
+
readonly __tsonic_iface_System_ClientModel_Primitives_IPersistableModel_1: never;
|
|
68
|
+
|
|
65
69
|
Create(data: BinaryData, options: ModelReaderWriterOptions): T | undefined;
|
|
66
70
|
GetFormatFromOptions(options: ModelReaderWriterOptions): string;
|
|
67
71
|
Write(options: ModelReaderWriterOptions): BinaryData;
|
|
@@ -95,7 +99,6 @@ export interface ApiKeyAuthenticationPolicy$instance extends AuthenticationPolic
|
|
|
95
99
|
|
|
96
100
|
|
|
97
101
|
export const ApiKeyAuthenticationPolicy: {
|
|
98
|
-
new(): ApiKeyAuthenticationPolicy;
|
|
99
102
|
CreateBasicAuthorizationPolicy(credential: ApiKeyCredential): ApiKeyAuthenticationPolicy;
|
|
100
103
|
CreateBearerAuthorizationPolicy(credential: ApiKeyCredential): ApiKeyAuthenticationPolicy;
|
|
101
104
|
CreateHeaderApiKeyPolicy(credential: ApiKeyCredential, headerName: string, keyPrefix?: string): ApiKeyAuthenticationPolicy;
|
|
@@ -110,8 +113,7 @@ export interface AsyncCollectionResult$instance {
|
|
|
110
113
|
}
|
|
111
114
|
|
|
112
115
|
|
|
113
|
-
export const AsyncCollectionResult: {
|
|
114
|
-
new(): AsyncCollectionResult;
|
|
116
|
+
export const AsyncCollectionResult: (abstract new() => AsyncCollectionResult) & {
|
|
115
117
|
};
|
|
116
118
|
|
|
117
119
|
|
|
@@ -121,8 +123,7 @@ export interface AuthenticationPolicy$instance extends PipelinePolicy {
|
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
|
|
124
|
-
export const AuthenticationPolicy: {
|
|
125
|
-
new(): AuthenticationPolicy;
|
|
126
|
+
export const AuthenticationPolicy: (abstract new() => AuthenticationPolicy) & {
|
|
126
127
|
};
|
|
127
128
|
|
|
128
129
|
|
|
@@ -169,13 +170,18 @@ export const ClientCache: {
|
|
|
169
170
|
|
|
170
171
|
export type ClientCache = ClientCache$instance;
|
|
171
172
|
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
export interface ClientConnectionCollection$instance extends KeyedCollection<System_Internal.String, ClientConnection> {
|
|
174
|
+
readonly __tsonic_iface_System_Collections_Generic_ICollection_1: never;
|
|
175
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
176
|
+
readonly __tsonic_iface_System_Collections_Generic_IList_1: never;
|
|
177
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyCollection_1: never;
|
|
178
|
+
readonly __tsonic_iface_System_Collections_Generic_IReadOnlyList_1: never;
|
|
179
|
+
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
180
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
181
|
+
readonly __tsonic_iface_System_Collections_IList: never;
|
|
176
182
|
|
|
177
|
-
export interface ClientConnectionCollection$instance extends ClientConnectionCollection$protected, KeyedCollection<System_Internal.String, ClientConnection> {
|
|
178
183
|
AddRange(connections: IEnumerable__System_Collections_Generic<ClientConnection>): void;
|
|
184
|
+
GetKeyForItem(item: ClientConnection): string;
|
|
179
185
|
}
|
|
180
186
|
|
|
181
187
|
|
|
@@ -193,8 +199,7 @@ export interface ClientConnectionProvider$instance {
|
|
|
193
199
|
}
|
|
194
200
|
|
|
195
201
|
|
|
196
|
-
export const ClientConnectionProvider: {
|
|
197
|
-
new(maxCacheSize: int): ClientConnectionProvider;
|
|
202
|
+
export const ClientConnectionProvider: (abstract new(maxCacheSize: int) => ClientConnectionProvider) & {
|
|
198
203
|
};
|
|
199
204
|
|
|
200
205
|
|
|
@@ -207,7 +212,7 @@ export interface ClientLoggingOptions$instance {
|
|
|
207
212
|
EnableMessageContentLogging: Nullable<System_Internal.Boolean>;
|
|
208
213
|
EnableMessageLogging: Nullable<System_Internal.Boolean>;
|
|
209
214
|
get LoggerFactory(): ILoggerFactory | undefined;
|
|
210
|
-
set LoggerFactory(value: ILoggerFactory);
|
|
215
|
+
set LoggerFactory(value: ILoggerFactory | undefined);
|
|
211
216
|
MessageContentSizeLimit: Nullable<System_Internal.Int32>;
|
|
212
217
|
Freeze(): void;
|
|
213
218
|
}
|
|
@@ -228,7 +233,6 @@ export interface ClientPipeline$instance {
|
|
|
228
233
|
|
|
229
234
|
|
|
230
235
|
export const ClientPipeline: {
|
|
231
|
-
new(): ClientPipeline;
|
|
232
236
|
Create(options: ClientPipelineOptions, perCallPolicies: ReadOnlySpan<PipelinePolicy>, perTryPolicies: ReadOnlySpan<PipelinePolicy>, beforeTransportPolicies: ReadOnlySpan<PipelinePolicy>): ClientPipeline;
|
|
233
237
|
Create(options?: ClientPipelineOptions): ClientPipeline;
|
|
234
238
|
};
|
|
@@ -238,14 +242,15 @@ export type ClientPipeline = ClientPipeline$instance;
|
|
|
238
242
|
|
|
239
243
|
export interface ClientPipelineOptions$instance {
|
|
240
244
|
get ClientLoggingOptions(): ClientLoggingOptions | undefined;
|
|
241
|
-
set ClientLoggingOptions(value: ClientLoggingOptions);
|
|
245
|
+
set ClientLoggingOptions(value: ClientLoggingOptions | undefined);
|
|
242
246
|
EnableDistributedTracing: Nullable<System_Internal.Boolean>;
|
|
243
247
|
get MessageLoggingPolicy(): PipelinePolicy | undefined;
|
|
244
|
-
set MessageLoggingPolicy(value: PipelinePolicy);
|
|
248
|
+
set MessageLoggingPolicy(value: PipelinePolicy | undefined);
|
|
245
249
|
NetworkTimeout: Nullable<TimeSpan>;
|
|
246
250
|
get RetryPolicy(): PipelinePolicy | undefined;
|
|
247
|
-
set RetryPolicy(value: PipelinePolicy);
|
|
248
|
-
Transport: PipelineTransport;
|
|
251
|
+
set RetryPolicy(value: PipelinePolicy | undefined);
|
|
252
|
+
get Transport(): PipelineTransport | undefined;
|
|
253
|
+
set Transport(value: PipelineTransport | undefined);
|
|
249
254
|
AddPolicy(policy: PipelinePolicy, position: PipelinePosition): void;
|
|
250
255
|
Freeze(): void;
|
|
251
256
|
}
|
|
@@ -258,23 +263,19 @@ export const ClientPipelineOptions: {
|
|
|
258
263
|
|
|
259
264
|
export type ClientPipelineOptions = ClientPipelineOptions$instance;
|
|
260
265
|
|
|
261
|
-
export
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
protected ShouldRetry(message: PipelineMessage, exception: Exception): boolean;
|
|
269
|
-
protected ShouldRetryAsync(message: PipelineMessage, exception: Exception): ValueTask<System_Internal.Boolean>;
|
|
270
|
-
protected Wait(time: TimeSpan, cancellationToken: CancellationToken): void;
|
|
271
|
-
protected WaitAsync(time: TimeSpan, cancellationToken: CancellationToken): Task;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
export interface ClientRetryPolicy$instance extends ClientRetryPolicy$protected, PipelinePolicy {
|
|
266
|
+
export interface ClientRetryPolicy$instance extends PipelinePolicy {
|
|
267
|
+
GetNextDelay(message: PipelineMessage, tryCount: int): TimeSpan;
|
|
268
|
+
OnRequestSent(message: PipelineMessage): void;
|
|
269
|
+
OnRequestSentAsync(message: PipelineMessage): ValueTask;
|
|
270
|
+
OnSendingRequest(message: PipelineMessage): void;
|
|
271
|
+
OnSendingRequestAsync(message: PipelineMessage): ValueTask;
|
|
272
|
+
OnTryComplete(message: PipelineMessage): void;
|
|
276
273
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
277
274
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
275
|
+
ShouldRetry(message: PipelineMessage, exception: Exception): boolean;
|
|
276
|
+
ShouldRetryAsync(message: PipelineMessage, exception: Exception): ValueTask<System_Internal.Boolean>;
|
|
277
|
+
Wait(time: TimeSpan, cancellationToken: CancellationToken): void;
|
|
278
|
+
WaitAsync(time: TimeSpan, cancellationToken: CancellationToken): Task;
|
|
278
279
|
}
|
|
279
280
|
|
|
280
281
|
|
|
@@ -293,8 +294,7 @@ export interface CollectionResult$instance {
|
|
|
293
294
|
}
|
|
294
295
|
|
|
295
296
|
|
|
296
|
-
export const CollectionResult: {
|
|
297
|
-
new(): CollectionResult;
|
|
297
|
+
export const CollectionResult: (abstract new() => CollectionResult) & {
|
|
298
298
|
};
|
|
299
299
|
|
|
300
300
|
|
|
@@ -316,18 +316,16 @@ export const GetTokenOptions: {
|
|
|
316
316
|
|
|
317
317
|
export type GetTokenOptions = GetTokenOptions$instance;
|
|
318
318
|
|
|
319
|
-
export
|
|
320
|
-
|
|
321
|
-
protected Dispose(disposing: boolean): void;
|
|
322
|
-
protected OnReceivedResponse(message: PipelineMessage, httpResponse: HttpResponseMessage): void;
|
|
323
|
-
protected OnSendingRequest(message: PipelineMessage, httpRequest: HttpRequestMessage): void;
|
|
324
|
-
protected ProcessCore(message: PipelineMessage): void;
|
|
325
|
-
protected ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
326
|
-
}
|
|
319
|
+
export interface HttpClientPipelineTransport$instance extends PipelineTransport {
|
|
320
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
327
321
|
|
|
328
|
-
|
|
329
|
-
export interface HttpClientPipelineTransport$instance extends HttpClientPipelineTransport$protected, PipelineTransport {
|
|
322
|
+
CreateMessageCore(): PipelineMessage;
|
|
330
323
|
Dispose(): void;
|
|
324
|
+
Dispose(disposing: boolean): void;
|
|
325
|
+
OnReceivedResponse(message: PipelineMessage, httpResponse: HttpResponseMessage): void;
|
|
326
|
+
OnSendingRequest(message: PipelineMessage, httpRequest: HttpRequestMessage): void;
|
|
327
|
+
ProcessCore(message: PipelineMessage): void;
|
|
328
|
+
ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
331
329
|
}
|
|
332
330
|
|
|
333
331
|
|
|
@@ -382,19 +380,14 @@ export const ModelReaderWriterBuildableAttribute: {
|
|
|
382
380
|
|
|
383
381
|
export type ModelReaderWriterBuildableAttribute = ModelReaderWriterBuildableAttribute$instance;
|
|
384
382
|
|
|
385
|
-
export
|
|
386
|
-
protected TryGetTypeBuilderCore(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
export interface ModelReaderWriterContext$instance extends ModelReaderWriterContext$protected {
|
|
383
|
+
export interface ModelReaderWriterContext$instance {
|
|
391
384
|
GetTypeBuilder(type: Type): ModelReaderWriterTypeBuilder;
|
|
392
385
|
TryGetTypeBuilder(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
386
|
+
TryGetTypeBuilderCore(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
393
387
|
}
|
|
394
388
|
|
|
395
389
|
|
|
396
|
-
export const ModelReaderWriterContext: {
|
|
397
|
-
new(): ModelReaderWriterContext;
|
|
390
|
+
export const ModelReaderWriterContext: (abstract new() => ModelReaderWriterContext) & {
|
|
398
391
|
};
|
|
399
392
|
|
|
400
393
|
|
|
@@ -425,23 +418,18 @@ export const ModelReaderWriterOptions: {
|
|
|
425
418
|
|
|
426
419
|
export type ModelReaderWriterOptions = ModelReaderWriterOptions$instance;
|
|
427
420
|
|
|
428
|
-
export
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
export interface ModelReaderWriterTypeBuilder$instance extends ModelReaderWriterTypeBuilder$protected {
|
|
421
|
+
export interface ModelReaderWriterTypeBuilder$instance {
|
|
422
|
+
readonly BuilderType: Type;
|
|
423
|
+
readonly ItemType: Type | undefined;
|
|
424
|
+
AddItem(collectionBuilder: unknown, item: unknown): void;
|
|
425
|
+
AddItemWithKey(collectionBuilder: unknown, key: string, item: unknown): void;
|
|
426
|
+
ConvertCollectionBuilder(collectionBuilder: unknown): unknown;
|
|
427
|
+
CreateInstance(): unknown;
|
|
428
|
+
GetItems(collection: unknown): IEnumerable | undefined;
|
|
440
429
|
}
|
|
441
430
|
|
|
442
431
|
|
|
443
|
-
export const ModelReaderWriterTypeBuilder: {
|
|
444
|
-
new(): ModelReaderWriterTypeBuilder;
|
|
432
|
+
export const ModelReaderWriterTypeBuilder: (abstract new() => ModelReaderWriterTypeBuilder) & {
|
|
445
433
|
};
|
|
446
434
|
|
|
447
435
|
|
|
@@ -450,7 +438,7 @@ export type ModelReaderWriterTypeBuilder = ModelReaderWriterTypeBuilder$instance
|
|
|
450
438
|
export interface OperationResult$instance {
|
|
451
439
|
HasCompleted: boolean;
|
|
452
440
|
get RehydrationToken(): ContinuationToken | undefined;
|
|
453
|
-
set RehydrationToken(value: ContinuationToken);
|
|
441
|
+
set RehydrationToken(value: ContinuationToken | undefined);
|
|
454
442
|
GetRawResponse(): PipelineResponse;
|
|
455
443
|
UpdateStatus(options?: RequestOptions): ClientResult;
|
|
456
444
|
UpdateStatusAsync(options?: RequestOptions): ValueTask<ClientResult>;
|
|
@@ -459,8 +447,7 @@ export interface OperationResult$instance {
|
|
|
459
447
|
}
|
|
460
448
|
|
|
461
449
|
|
|
462
|
-
export const OperationResult: {
|
|
463
|
-
new(response: PipelineResponse): OperationResult;
|
|
450
|
+
export const OperationResult: (abstract new(response: PipelineResponse) => OperationResult) & {
|
|
464
451
|
};
|
|
465
452
|
|
|
466
453
|
|
|
@@ -478,28 +465,26 @@ export const PersistableModelProxyAttribute: {
|
|
|
478
465
|
|
|
479
466
|
export type PersistableModelProxyAttribute = PersistableModelProxyAttribute$instance;
|
|
480
467
|
|
|
481
|
-
export
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
|
|
468
|
+
export interface PipelineMessage$instance {
|
|
469
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
485
470
|
|
|
486
|
-
export interface PipelineMessage$instance extends PipelineMessage$protected {
|
|
487
471
|
BufferResponse: boolean;
|
|
488
472
|
CancellationToken: CancellationToken;
|
|
489
473
|
NetworkTimeout: Nullable<TimeSpan>;
|
|
490
474
|
readonly Request: PipelineRequest;
|
|
491
|
-
Response: PipelineResponse;
|
|
475
|
+
get Response(): PipelineResponse | undefined;
|
|
476
|
+
set Response(value: PipelineResponse | undefined);
|
|
492
477
|
ResponseClassifier: PipelineMessageClassifier;
|
|
493
478
|
Apply(options: RequestOptions): void;
|
|
494
479
|
Dispose(): void;
|
|
480
|
+
Dispose(disposing: boolean): void;
|
|
495
481
|
ExtractResponse(): PipelineResponse | undefined;
|
|
496
482
|
SetProperty(key: Type, value: unknown): void;
|
|
497
483
|
TryGetProperty(key: Type, value: unknown): boolean;
|
|
498
484
|
}
|
|
499
485
|
|
|
500
486
|
|
|
501
|
-
export const PipelineMessage: {
|
|
502
|
-
new(request: PipelineRequest): PipelineMessage;
|
|
487
|
+
export const PipelineMessage: (abstract new(request: PipelineRequest) => PipelineMessage) & {
|
|
503
488
|
};
|
|
504
489
|
|
|
505
490
|
|
|
@@ -511,8 +496,7 @@ export interface PipelineMessageClassifier$instance {
|
|
|
511
496
|
}
|
|
512
497
|
|
|
513
498
|
|
|
514
|
-
export const PipelineMessageClassifier: {
|
|
515
|
-
new(): PipelineMessageClassifier;
|
|
499
|
+
export const PipelineMessageClassifier: (abstract new() => PipelineMessageClassifier) & {
|
|
516
500
|
readonly Default: PipelineMessageClassifier;
|
|
517
501
|
Create(successStatusCodes: ReadOnlySpan<System_Internal.UInt16>): PipelineMessageClassifier;
|
|
518
502
|
};
|
|
@@ -526,8 +510,7 @@ export interface PipelinePolicy$instance {
|
|
|
526
510
|
}
|
|
527
511
|
|
|
528
512
|
|
|
529
|
-
export const PipelinePolicy: {
|
|
530
|
-
new(): PipelinePolicy;
|
|
513
|
+
export const PipelinePolicy: (abstract new() => PipelinePolicy) & {
|
|
531
514
|
ProcessNext(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
532
515
|
ProcessNextAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
533
516
|
};
|
|
@@ -535,31 +518,35 @@ export const PipelinePolicy: {
|
|
|
535
518
|
|
|
536
519
|
export type PipelinePolicy = PipelinePolicy$instance;
|
|
537
520
|
|
|
538
|
-
export
|
|
539
|
-
|
|
540
|
-
protected readonly HeadersCore: PipelineRequestHeaders;
|
|
541
|
-
protected MethodCore: string;
|
|
542
|
-
protected UriCore: Uri | undefined;
|
|
543
|
-
}
|
|
544
|
-
|
|
521
|
+
export interface PipelineRequest$instance {
|
|
522
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
545
523
|
|
|
546
|
-
|
|
547
|
-
Content: BinaryContent;
|
|
524
|
+
get Content(): BinaryContent | undefined;
|
|
525
|
+
set Content(value: BinaryContent | undefined);
|
|
526
|
+
get ContentCore(): BinaryContent | undefined;
|
|
527
|
+
set ContentCore(value: BinaryContent | undefined);
|
|
548
528
|
readonly Headers: PipelineRequestHeaders;
|
|
529
|
+
readonly HeadersCore: PipelineRequestHeaders;
|
|
549
530
|
Method: string;
|
|
550
|
-
|
|
531
|
+
MethodCore: string;
|
|
532
|
+
get Uri(): Uri | undefined;
|
|
533
|
+
set Uri(value: Uri | undefined);
|
|
534
|
+
get UriCore(): Uri | undefined;
|
|
535
|
+
set UriCore(value: Uri | undefined);
|
|
551
536
|
Dispose(): void;
|
|
552
537
|
}
|
|
553
538
|
|
|
554
539
|
|
|
555
|
-
export const PipelineRequest: {
|
|
556
|
-
new(): PipelineRequest;
|
|
540
|
+
export const PipelineRequest: (abstract new() => PipelineRequest) & {
|
|
557
541
|
};
|
|
558
542
|
|
|
559
543
|
|
|
560
544
|
export type PipelineRequest = PipelineRequest$instance;
|
|
561
545
|
|
|
562
546
|
export interface PipelineRequestHeaders$instance {
|
|
547
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
548
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
549
|
+
|
|
563
550
|
Add(name: string, value: string): void;
|
|
564
551
|
GetEnumerator(): IEnumerator<KeyValuePair<System_Internal.String, System_Internal.String>>;
|
|
565
552
|
Remove(name: string): boolean;
|
|
@@ -569,25 +556,22 @@ export interface PipelineRequestHeaders$instance {
|
|
|
569
556
|
}
|
|
570
557
|
|
|
571
558
|
|
|
572
|
-
export const PipelineRequestHeaders: {
|
|
573
|
-
new(): PipelineRequestHeaders;
|
|
559
|
+
export const PipelineRequestHeaders: (abstract new() => PipelineRequestHeaders) & {
|
|
574
560
|
};
|
|
575
561
|
|
|
576
562
|
|
|
577
563
|
export type PipelineRequestHeaders = PipelineRequestHeaders$instance;
|
|
578
564
|
|
|
579
|
-
export
|
|
580
|
-
|
|
581
|
-
protected IsErrorCore: boolean;
|
|
582
|
-
}
|
|
583
|
-
|
|
565
|
+
export interface PipelineResponse$instance {
|
|
566
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
584
567
|
|
|
585
|
-
export interface PipelineResponse$instance extends PipelineResponse$protected {
|
|
586
568
|
readonly Content: BinaryData;
|
|
587
569
|
get ContentStream(): Stream | undefined;
|
|
588
|
-
set ContentStream(value: Stream);
|
|
570
|
+
set ContentStream(value: Stream | undefined);
|
|
589
571
|
readonly Headers: PipelineResponseHeaders;
|
|
572
|
+
readonly HeadersCore: PipelineResponseHeaders;
|
|
590
573
|
readonly IsError: boolean;
|
|
574
|
+
IsErrorCore: boolean;
|
|
591
575
|
readonly ReasonPhrase: string;
|
|
592
576
|
readonly Status: int;
|
|
593
577
|
BufferContent(cancellationToken?: CancellationToken): BinaryData;
|
|
@@ -596,64 +580,55 @@ export interface PipelineResponse$instance extends PipelineResponse$protected {
|
|
|
596
580
|
}
|
|
597
581
|
|
|
598
582
|
|
|
599
|
-
export const PipelineResponse: {
|
|
600
|
-
new(): PipelineResponse;
|
|
583
|
+
export const PipelineResponse: (abstract new() => PipelineResponse) & {
|
|
601
584
|
};
|
|
602
585
|
|
|
603
586
|
|
|
604
587
|
export type PipelineResponse = PipelineResponse$instance;
|
|
605
588
|
|
|
606
589
|
export interface PipelineResponseHeaders$instance {
|
|
590
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
591
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
592
|
+
|
|
607
593
|
GetEnumerator(): IEnumerator<KeyValuePair<System_Internal.String, System_Internal.String>>;
|
|
608
594
|
TryGetValue(name: string, value: string): boolean;
|
|
609
595
|
TryGetValues(name: string, values: IEnumerable__System_Collections_Generic<System_Internal.String>): boolean;
|
|
610
596
|
}
|
|
611
597
|
|
|
612
598
|
|
|
613
|
-
export const PipelineResponseHeaders: {
|
|
614
|
-
new(): PipelineResponseHeaders;
|
|
599
|
+
export const PipelineResponseHeaders: (abstract new() => PipelineResponseHeaders) & {
|
|
615
600
|
};
|
|
616
601
|
|
|
617
602
|
|
|
618
603
|
export type PipelineResponseHeaders = PipelineResponseHeaders$instance;
|
|
619
604
|
|
|
620
|
-
export
|
|
621
|
-
protected abstract CreateMessageCore(): PipelineMessage;
|
|
622
|
-
protected abstract ProcessCore(message: PipelineMessage): void;
|
|
623
|
-
protected abstract ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
export interface PipelineTransport$instance extends PipelineTransport$protected, PipelinePolicy {
|
|
605
|
+
export interface PipelineTransport$instance extends PipelinePolicy {
|
|
628
606
|
CreateMessage(): PipelineMessage;
|
|
607
|
+
CreateMessageCore(): PipelineMessage;
|
|
629
608
|
Process(message: PipelineMessage): void;
|
|
630
609
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
631
610
|
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
632
611
|
ProcessAsync(message: PipelineMessage): ValueTask;
|
|
633
612
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
634
613
|
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
614
|
+
ProcessCore(message: PipelineMessage): void;
|
|
615
|
+
ProcessCoreAsync(message: PipelineMessage): ValueTask;
|
|
635
616
|
}
|
|
636
617
|
|
|
637
618
|
|
|
638
|
-
export const PipelineTransport: {
|
|
639
|
-
new(): PipelineTransport;
|
|
640
|
-
new(enableLogging: boolean, loggerFactory: ILoggerFactory): PipelineTransport;
|
|
619
|
+
export const PipelineTransport: (abstract new() => PipelineTransport) & (abstract new(enableLogging: boolean, loggerFactory: ILoggerFactory) => PipelineTransport) & {
|
|
641
620
|
};
|
|
642
621
|
|
|
643
622
|
|
|
644
623
|
export type PipelineTransport = PipelineTransport$instance;
|
|
645
624
|
|
|
646
|
-
export
|
|
647
|
-
protected Apply(message: PipelineMessage): void;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
export interface RequestOptions$instance extends RequestOptions$protected {
|
|
625
|
+
export interface RequestOptions$instance {
|
|
652
626
|
BufferResponse: boolean;
|
|
653
627
|
CancellationToken: CancellationToken;
|
|
654
628
|
ErrorOptions: ClientErrorBehaviors;
|
|
655
629
|
AddHeader(name: string, value: string): void;
|
|
656
630
|
AddPolicy(policy: PipelinePolicy, position: PipelinePosition): void;
|
|
631
|
+
Apply(message: PipelineMessage): void;
|
|
657
632
|
Freeze(): void;
|
|
658
633
|
SetHeader(name: string, value: string): void;
|
|
659
634
|
}
|
|
@@ -63,3 +63,6 @@ export { MessageLoggingPolicy as MessageLoggingPolicy } from './System.ClientMod
|
|
|
63
63
|
export { PipelinePolicy as PipelinePolicy } from './System.ClientModel.Primitives/internal/index.js';
|
|
64
64
|
export { PipelinePosition as PipelinePosition } from './System.ClientModel.Primitives/internal/index.js';
|
|
65
65
|
export { PipelineTransport as PipelineTransport } from './System.ClientModel.Primitives/internal/index.js';
|
|
66
|
+
// Extension methods (C# using semantics)
|
|
67
|
+
export type { ExtensionMethods_System_ClientModel_Primitives as ExtensionMethods } from './__internal/extensions/index.js';
|
|
68
|
+
|