@tsonic/efcore-sqlserver 0.1.2 → 10.0.2
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/bindings.json +1638 -2427
- package/Azure/internal/index.d.ts +169 -139
- package/Azure.Core/bindings.json +2874 -3751
- package/Azure.Core/internal/index.d.ts +326 -295
- package/Azure.Core.Cryptography/bindings.json +51 -65
- package/Azure.Core.Cryptography/internal/index.d.ts +5 -5
- package/Azure.Core.Diagnostics/bindings.json +79 -69
- package/Azure.Core.Diagnostics/internal/index.d.ts +13 -7
- package/Azure.Core.Diagnostics.d.ts +2 -2
- package/Azure.Core.Extensions/bindings.json +71 -57
- package/Azure.Core.Extensions/internal/index.d.ts +4 -4
- package/Azure.Core.GeoJson/bindings.json +814 -1379
- package/Azure.Core.GeoJson/internal/index.d.ts +67 -67
- package/Azure.Core.Pipeline/bindings.json +847 -880
- package/Azure.Core.Pipeline/internal/index.d.ts +79 -56
- package/Azure.Core.Pipeline.d.ts +2 -2
- package/Azure.Core.Serialization/bindings.json +251 -302
- package/Azure.Core.Serialization/internal/index.d.ts +22 -21
- package/Azure.Core.d.ts +1 -1
- package/Azure.Identity/bindings.json +2882 -7099
- package/Azure.Identity/internal/index.d.ts +250 -229
- package/Azure.Identity.d.ts +1 -1
- package/Azure.Messaging/bindings.json +166 -230
- package/Azure.Messaging/internal/index.d.ts +27 -22
- package/Azure.d.ts +1 -1
- package/Microsoft.Data/bindings.json +34 -27
- package/Microsoft.Data/internal/index.d.ts +2 -2
- package/Microsoft.Data.Sql/bindings.json +57 -94
- package/Microsoft.Data.Sql/internal/index.d.ts +5 -5
- package/Microsoft.Data.SqlClient/bindings.json +6187 -8407
- package/Microsoft.Data.SqlClient/internal/index.d.ts +718 -626
- package/Microsoft.Data.SqlClient.DataClassification/bindings.json +173 -283
- package/Microsoft.Data.SqlClient.DataClassification/internal/index.d.ts +12 -12
- package/Microsoft.Data.SqlClient.Diagnostics/bindings.json +1458 -1995
- package/Microsoft.Data.SqlClient.Diagnostics/internal/index.d.ts +159 -159
- package/Microsoft.Data.SqlClient.Server/bindings.json +1112 -1776
- package/Microsoft.Data.SqlClient.Server/internal/index.d.ts +131 -131
- package/Microsoft.Data.SqlTypes/bindings.json +257 -405
- package/Microsoft.Data.SqlTypes/internal/index.d.ts +30 -30
- package/Microsoft.EntityFrameworkCore/bindings.json +7017 -8970
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +533 -526
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +92 -304
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +26 -26
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +269 -289
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +22 -21
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +44 -59
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/bindings.json +311 -536
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/index.d.ts +32 -32
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +1083 -457
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +111 -39
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +41 -30
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +946 -40
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +58 -8
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/bindings.json +72 -61
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/index.d.ts +4 -4
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +6 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/bindings.json +233 -207
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/index.d.ts +25 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/bindings.json +60 -267
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/index.d.ts +23 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/bindings.json +175 -257
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/index.d.ts +23 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/bindings.json +666 -569
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/index.d.ts +69 -45
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal.d.ts +3 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/bindings.json +565 -879
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/index.d.ts +79 -79
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/bindings.json +138 -469
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/index.d.ts +41 -41
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/bindings.json +204 -211
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/index.d.ts +23 -17
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal.d.ts +1 -1
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/bindings.json +3431 -2277
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/index.d.ts +326 -147
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/bindings.json +71 -60
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/index.d.ts +12 -7
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/bindings.json +90 -98
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/index.d.ts +6 -6
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/bindings.json +2295 -1113
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/index.d.ts +263 -93
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/bindings.json +548 -284
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/index.d.ts +54 -23
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/bindings.json +252 -204
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/index.d.ts +25 -12
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal.d.ts +3 -1
- package/Microsoft.EntityFrameworkCore.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +62 -70
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client/bindings.json +6237 -13523
- package/Microsoft.Identity.Client/internal/index.d.ts +741 -675
- package/Microsoft.Identity.Client.Advanced/bindings.json +21 -15
- package/Microsoft.Identity.Client.Advanced/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.AppConfig/bindings.json +90 -148
- package/Microsoft.Identity.Client.AppConfig/internal/index.d.ts +10 -10
- package/Microsoft.Identity.Client.AuthScheme/bindings.json +48 -72
- package/Microsoft.Identity.Client.AuthScheme/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.AuthScheme.PoP/bindings.json +29 -39
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/index.d.ts +3 -3
- package/Microsoft.Identity.Client.Cache/bindings.json +65 -95
- package/Microsoft.Identity.Client.Cache/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Extensibility/bindings.json +297 -380
- package/Microsoft.Identity.Client.Extensibility/internal/index.d.ts +27 -26
- package/Microsoft.Identity.Client.Extensions.Msal/bindings.json +379 -668
- package/Microsoft.Identity.Client.Extensions.Msal/internal/index.d.ts +51 -50
- package/Microsoft.Identity.Client.Extensions.Msal.d.ts +1 -1
- package/Microsoft.Identity.Client.Kerberos/bindings.json +191 -288
- package/Microsoft.Identity.Client.Kerberos/internal/index.d.ts +21 -21
- package/Microsoft.Identity.Client.ManagedIdentity/bindings.json +50 -103
- package/Microsoft.Identity.Client.ManagedIdentity/internal/index.d.ts +8 -8
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/bindings.json +30 -12
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/index.d.ts +2 -1
- package/Microsoft.Identity.Client.RP/bindings.json +39 -30
- package/Microsoft.Identity.Client.RP/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.Region/bindings.json +46 -81
- package/Microsoft.Identity.Client.Region/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.SSHCertificates/bindings.json +28 -26
- package/Microsoft.Identity.Client.SSHCertificates/internal/index.d.ts +2 -2
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/bindings.json +20 -25
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/index.d.ts +1 -1
- package/Microsoft.Identity.Client.Utils/bindings.json +56 -70
- package/Microsoft.Identity.Client.Utils/internal/index.d.ts +6 -6
- package/Microsoft.Identity.Client.Utils.Windows/bindings.json +28 -26
- package/Microsoft.Identity.Client.Utils.Windows/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Abstractions/bindings.json +426 -581
- package/Microsoft.IdentityModel.Abstractions/internal/index.d.ts +42 -41
- package/Microsoft.IdentityModel.JsonWebTokens/bindings.json +828 -1776
- package/Microsoft.IdentityModel.JsonWebTokens/internal/index.d.ts +154 -147
- package/Microsoft.IdentityModel.JsonWebTokens.d.ts +1 -1
- package/Microsoft.IdentityModel.Logging/bindings.json +516 -773
- package/Microsoft.IdentityModel.Logging/internal/index.d.ts +69 -64
- package/Microsoft.IdentityModel.Logging.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols/bindings.json +507 -898
- package/Microsoft.IdentityModel.Protocols/internal/index.d.ts +47 -46
- package/Microsoft.IdentityModel.Protocols.Configuration/bindings.json +43 -94
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.IdentityModel.Protocols.Configuration.d.ts +1 -1
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/bindings.json +2335 -4306
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/index.d.ts +316 -301
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/bindings.json +45 -50
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/index.d.ts +2 -2
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.d.ts +1 -1
- package/Microsoft.IdentityModel.Tokens/bindings.json +5594 -8774
- package/Microsoft.IdentityModel.Tokens/internal/index.d.ts +578 -478
- package/Microsoft.IdentityModel.Tokens.Configuration/bindings.json +40 -71
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/index.d.ts +5 -5
- package/Microsoft.IdentityModel.Tokens.d.ts +1 -1
- package/Microsoft.SqlServer.Server/bindings.json +385 -633
- package/Microsoft.SqlServer.Server/internal/index.d.ts +40 -40
- package/System/bindings.json +236 -402
- package/System/internal/index.d.ts +28 -28
- package/System.ClientModel/bindings.json +448 -433
- package/System.ClientModel/internal/index.d.ts +48 -32
- package/System.ClientModel.Primitives/bindings.json +2665 -2310
- package/System.ClientModel.Primitives/internal/index.d.ts +269 -175
- package/System.ClientModel.Primitives.d.ts +2 -2
- package/System.Configuration/bindings.json +9039 -12341
- package/System.Configuration/internal/index.d.ts +837 -565
- package/System.Configuration.Internal/bindings.json +985 -1442
- package/System.Configuration.Internal/internal/index.d.ts +115 -115
- package/System.Configuration.Provider/bindings.json +155 -188
- package/System.Configuration.Provider/internal/index.d.ts +16 -14
- package/System.Configuration.Provider.d.ts +1 -1
- package/System.Configuration.d.ts +3 -3
- package/System.Diagnostics/bindings.json +28 -15
- package/System.Diagnostics/internal/index.d.ts +1 -1
- package/System.Drawing.Configuration/bindings.json +39 -137
- package/System.Drawing.Configuration/internal/index.d.ts +12 -4
- package/System.Drawing.Configuration.d.ts +5 -2
- package/System.IdentityModel.Tokens.Jwt/bindings.json +1367 -2255
- package/System.IdentityModel.Tokens.Jwt/internal/index.d.ts +184 -170
- package/System.Security.Cryptography/bindings.json +66 -63
- package/System.Security.Cryptography/internal/index.d.ts +4 -4
- package/System.Text.Json.Serialization/bindings.json +32 -36
- package/System.Text.Json.Serialization/internal/index.d.ts +2 -2
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +27 -27
- package/package.json +5 -5
- package/Azure/internal/metadata.json +0 -2772
- package/Azure.Core/internal/metadata.json +0 -5291
- package/Azure.Core.Cryptography/internal/metadata.json +0 -122
- package/Azure.Core.Diagnostics/internal/metadata.json +0 -87
- package/Azure.Core.Extensions/internal/metadata.json +0 -139
- package/Azure.Core.GeoJson/internal/metadata.json +0 -1469
- package/Azure.Core.Pipeline/internal/metadata.json +0 -1181
- package/Azure.Core.Serialization/internal/metadata.json +0 -468
- package/Azure.Identity/internal/metadata.json +0 -5255
- package/Azure.Messaging/internal/metadata.json +0 -316
- package/Microsoft.Data/internal/metadata.json +0 -59
- package/Microsoft.Data.Sql/internal/metadata.json +0 -136
- package/Microsoft.Data.SqlClient/internal/metadata.json +0 -10965
- package/Microsoft.Data.SqlClient.DataClassification/internal/metadata.json +0 -383
- package/Microsoft.Data.SqlClient.Diagnostics/internal/metadata.json +0 -2693
- package/Microsoft.Data.SqlClient.Server/internal/metadata.json +0 -2235
- package/Microsoft.Data.SqlTypes/internal/metadata.json +0 -558
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -9025
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -303
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +0 -455
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +0 -72
- package/Microsoft.EntityFrameworkCore.Metadata.Builders/internal/metadata.json +0 -660
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +0 -706
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +0 -88
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +0 -81
- package/Microsoft.EntityFrameworkCore.Migrations.Operations/internal/metadata.json +0 -100
- package/Microsoft.EntityFrameworkCore.SqlServer.Design.Internal/internal/metadata.json +0 -317
- package/Microsoft.EntityFrameworkCore.SqlServer.Diagnostics.Internal/internal/metadata.json +0 -238
- package/Microsoft.EntityFrameworkCore.SqlServer.Extensions.Internal/internal/metadata.json +0 -393
- package/Microsoft.EntityFrameworkCore.SqlServer.Infrastructure.Internal/internal/metadata.json +0 -790
- package/Microsoft.EntityFrameworkCore.SqlServer.Internal/internal/metadata.json +0 -1294
- package/Microsoft.EntityFrameworkCore.SqlServer.Metadata.Internal/internal/metadata.json +0 -452
- package/Microsoft.EntityFrameworkCore.SqlServer.Migrations.Internal/internal/metadata.json +0 -317
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal/internal/metadata.json +0 -3289
- package/Microsoft.EntityFrameworkCore.SqlServer.Query.Internal.SqlExpressions/internal/metadata.json +0 -95
- package/Microsoft.EntityFrameworkCore.SqlServer.Scaffolding.Internal/internal/metadata.json +0 -167
- package/Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal/internal/metadata.json +0 -1697
- package/Microsoft.EntityFrameworkCore.SqlServer.Update.Internal/internal/metadata.json +0 -500
- package/Microsoft.EntityFrameworkCore.SqlServer.ValueGeneration.Internal/internal/metadata.json +0 -339
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -127
- package/Microsoft.Identity.Client/internal/metadata.json +0 -11985
- package/Microsoft.Identity.Client.Advanced/internal/metadata.json +0 -41
- package/Microsoft.Identity.Client.AppConfig/internal/metadata.json +0 -212
- package/Microsoft.Identity.Client.AuthScheme/internal/metadata.json +0 -118
- package/Microsoft.Identity.Client.AuthScheme.PoP/internal/metadata.json +0 -72
- package/Microsoft.Identity.Client.Cache/internal/metadata.json +0 -123
- package/Microsoft.Identity.Client.Extensibility/internal/metadata.json +0 -620
- package/Microsoft.Identity.Client.Extensions.Msal/internal/metadata.json +0 -877
- package/Microsoft.Identity.Client.Kerberos/internal/metadata.json +0 -386
- package/Microsoft.Identity.Client.ManagedIdentity/internal/metadata.json +0 -106
- package/Microsoft.Identity.Client.Platforms.Features.DesktopOs.Kerberos/internal/metadata.json +0 -41
- package/Microsoft.Identity.Client.RP/internal/metadata.json +0 -74
- package/Microsoft.Identity.Client.Region/internal/metadata.json +0 -88
- package/Microsoft.Identity.Client.SSHCertificates/internal/metadata.json +0 -57
- package/Microsoft.Identity.Client.TelemetryCore.TelemetryClient/internal/metadata.json +0 -46
- package/Microsoft.Identity.Client.Utils/internal/metadata.json +0 -121
- package/Microsoft.Identity.Client.Utils.Windows/internal/metadata.json +0 -57
- package/Microsoft.IdentityModel.Abstractions/internal/metadata.json +0 -843
- package/Microsoft.IdentityModel.JsonWebTokens/internal/metadata.json +0 -1997
- package/Microsoft.IdentityModel.Logging/internal/metadata.json +0 -1117
- package/Microsoft.IdentityModel.Protocols/internal/metadata.json +0 -1067
- package/Microsoft.IdentityModel.Protocols.Configuration/internal/metadata.json +0 -72
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect/internal/metadata.json +0 -4288
- package/Microsoft.IdentityModel.Protocols.OpenIdConnect.Configuration/internal/metadata.json +0 -80
- package/Microsoft.IdentityModel.Tokens/internal/metadata.json +0 -10430
- package/Microsoft.IdentityModel.Tokens.Configuration/internal/metadata.json +0 -101
- package/Microsoft.SqlServer.Server/internal/metadata.json +0 -792
- package/System/internal/metadata.json +0 -523
- package/System.ClientModel/internal/metadata.json +0 -637
- package/System.ClientModel.Primitives/internal/metadata.json +0 -3433
- package/System.Configuration/internal/metadata.json +0 -11888
- package/System.Configuration.Internal/internal/metadata.json +0 -2269
- package/System.Configuration.Provider/internal/metadata.json +0 -284
- package/System.Diagnostics/internal/metadata.json +0 -48
- package/System.Drawing.Configuration/internal/metadata.json +0 -46
- package/System.IdentityModel.Tokens.Jwt/internal/metadata.json +0 -2556
- package/System.Security.Cryptography/internal/metadata.json +0 -104
- package/System.Text.Json.Serialization/internal/metadata.json +0 -70
|
@@ -6,20 +6,28 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import type { ClientOptions, DelayStrategy, HttpMessage, Request, RequestFailedDetailsParser, ResponseClassifier, TokenCredential } from "../../Azure.Core/internal/index.js";
|
|
9
|
+
import type { ClientOptions, DelayStrategy, HttpMessage, Request, RequestFailedDetailsParser, ResponseClassifier, TokenCredential, TokenRequestContext } from "../../Azure.Core/internal/index.js";
|
|
10
10
|
import type { RequestContext, Response } from "../../Azure/internal/index.js";
|
|
11
11
|
import type { IDictionary, IEnumerable, IList } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
12
12
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
import type { Boolean as ClrBoolean, Func, IDisposable, Int32, Object as ClrObject, ReadOnlyMemory, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
13
|
+
import type { Boolean as ClrBoolean, Exception, Func, IDisposable, Int32, Object as ClrObject, ReadOnlyMemory, String as ClrString, Void } from "@tsonic/dotnet/System.js";
|
|
14
14
|
import type { HttpClient, HttpMessageHandler } from "@tsonic/dotnet/System.Net.Http.js";
|
|
15
15
|
import type { SslPolicyErrors } from "@tsonic/dotnet/System.Net.Security.js";
|
|
16
16
|
import type { X509Certificate2, X509Chain } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js";
|
|
17
17
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
18
18
|
import type { ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
19
19
|
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
export abstract class BearerTokenAuthenticationPolicy$protected {
|
|
21
|
+
protected AuthorizeRequest(message: HttpMessage): void;
|
|
22
|
+
protected AuthorizeRequestAsync(message: HttpMessage): ValueTask;
|
|
23
|
+
protected AuthorizeRequestOnChallenge(message: HttpMessage): boolean;
|
|
24
|
+
protected AuthorizeRequestOnChallengeAsync(message: HttpMessage): ValueTask<System_Internal.Boolean>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export interface BearerTokenAuthenticationPolicy$instance extends BearerTokenAuthenticationPolicy$protected, HttpPipelinePolicy {
|
|
29
|
+
Process(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
30
|
+
ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
23
31
|
}
|
|
24
32
|
|
|
25
33
|
|
|
@@ -32,7 +40,7 @@ export const BearerTokenAuthenticationPolicy: {
|
|
|
32
40
|
export type BearerTokenAuthenticationPolicy = BearerTokenAuthenticationPolicy$instance;
|
|
33
41
|
|
|
34
42
|
export interface DisposableHttpPipeline$instance extends HttpPipeline {
|
|
35
|
-
|
|
43
|
+
Dispose(): void;
|
|
36
44
|
}
|
|
37
45
|
|
|
38
46
|
|
|
@@ -44,10 +52,10 @@ export const DisposableHttpPipeline: {
|
|
|
44
52
|
export type DisposableHttpPipeline = DisposableHttpPipeline$instance;
|
|
45
53
|
|
|
46
54
|
export interface HttpClientTransport$instance extends HttpPipelineTransport {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
55
|
+
CreateRequest(): Request;
|
|
56
|
+
Dispose(): void;
|
|
57
|
+
Process(message: HttpMessage): void;
|
|
58
|
+
ProcessAsync(message: HttpMessage): ValueTask;
|
|
51
59
|
}
|
|
52
60
|
|
|
53
61
|
|
|
@@ -55,40 +63,40 @@ export const HttpClientTransport: {
|
|
|
55
63
|
new(): HttpClientTransport;
|
|
56
64
|
new(messageHandler: HttpMessageHandler): HttpClientTransport;
|
|
57
65
|
new(client: HttpClient): HttpClientTransport;
|
|
58
|
-
readonly
|
|
66
|
+
readonly Shared: HttpClientTransport;
|
|
59
67
|
};
|
|
60
68
|
|
|
61
69
|
|
|
62
70
|
export type HttpClientTransport = HttpClientTransport$instance;
|
|
63
71
|
|
|
64
72
|
export interface HttpPipeline$instance {
|
|
65
|
-
readonly
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
readonly ResponseClassifier: ResponseClassifier;
|
|
74
|
+
CreateMessage(): HttpMessage;
|
|
75
|
+
CreateMessage(context: RequestContext): HttpMessage;
|
|
76
|
+
CreateMessage(context: RequestContext, classifier?: ResponseClassifier): HttpMessage;
|
|
77
|
+
CreateRequest(): Request;
|
|
78
|
+
Send(message: HttpMessage, cancellationToken: CancellationToken): void;
|
|
79
|
+
SendAsync(message: HttpMessage, cancellationToken: CancellationToken): ValueTask;
|
|
80
|
+
SendRequest(request: Request, cancellationToken: CancellationToken): Response;
|
|
81
|
+
SendRequestAsync(request: Request, cancellationToken: CancellationToken): ValueTask<Response>;
|
|
74
82
|
}
|
|
75
83
|
|
|
76
84
|
|
|
77
85
|
export const HttpPipeline: {
|
|
78
86
|
new(transport: HttpPipelineTransport, policies: HttpPipelinePolicy[], responseClassifier: ResponseClassifier): HttpPipeline;
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
CreateClientRequestIdScope(clientRequestId: string): IDisposable;
|
|
88
|
+
CreateHttpMessagePropertiesScope(messageProperties: IDictionary<System_Internal.String, unknown>): IDisposable;
|
|
81
89
|
};
|
|
82
90
|
|
|
83
91
|
|
|
84
92
|
export type HttpPipeline = HttpPipeline$instance;
|
|
85
93
|
|
|
86
94
|
export interface HttpPipelineOptions$instance {
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
|
|
91
|
-
|
|
95
|
+
readonly ClientOptions: ClientOptions;
|
|
96
|
+
readonly PerCallPolicies: IList<HttpPipelinePolicy>;
|
|
97
|
+
readonly PerRetryPolicies: IList<HttpPipelinePolicy>;
|
|
98
|
+
RequestFailedDetailsParser: RequestFailedDetailsParser;
|
|
99
|
+
ResponseClassifier: ResponseClassifier;
|
|
92
100
|
}
|
|
93
101
|
|
|
94
102
|
|
|
@@ -100,51 +108,56 @@ export const HttpPipelineOptions: {
|
|
|
100
108
|
export type HttpPipelineOptions = HttpPipelineOptions$instance;
|
|
101
109
|
|
|
102
110
|
export interface HttpPipelinePolicy$instance {
|
|
103
|
-
|
|
104
|
-
|
|
111
|
+
Process(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
112
|
+
ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
105
113
|
}
|
|
106
114
|
|
|
107
115
|
|
|
108
116
|
export const HttpPipelinePolicy: {
|
|
117
|
+
new(): HttpPipelinePolicy;
|
|
118
|
+
ProcessNext(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
119
|
+
ProcessNextAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
109
120
|
};
|
|
110
121
|
|
|
111
122
|
|
|
112
123
|
export type HttpPipelinePolicy = HttpPipelinePolicy$instance;
|
|
113
124
|
|
|
114
125
|
export interface HttpPipelineSynchronousPolicy$instance extends HttpPipelinePolicy {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
126
|
+
OnReceivedResponse(message: HttpMessage): void;
|
|
127
|
+
OnSendingRequest(message: HttpMessage): void;
|
|
128
|
+
Process(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
129
|
+
Process(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
130
|
+
ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
131
|
+
ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
121
132
|
}
|
|
122
133
|
|
|
123
134
|
|
|
124
135
|
export const HttpPipelineSynchronousPolicy: {
|
|
136
|
+
new(): HttpPipelineSynchronousPolicy;
|
|
125
137
|
};
|
|
126
138
|
|
|
127
139
|
|
|
128
140
|
export type HttpPipelineSynchronousPolicy = HttpPipelineSynchronousPolicy$instance;
|
|
129
141
|
|
|
130
142
|
export interface HttpPipelineTransport$instance {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
143
|
+
CreateRequest(): Request;
|
|
144
|
+
Process(message: HttpMessage): void;
|
|
145
|
+
ProcessAsync(message: HttpMessage): ValueTask;
|
|
134
146
|
}
|
|
135
147
|
|
|
136
148
|
|
|
137
149
|
export const HttpPipelineTransport: {
|
|
150
|
+
new(): HttpPipelineTransport;
|
|
138
151
|
};
|
|
139
152
|
|
|
140
153
|
|
|
141
154
|
export type HttpPipelineTransport = HttpPipelineTransport$instance;
|
|
142
155
|
|
|
143
156
|
export interface HttpPipelineTransportOptions$instance {
|
|
144
|
-
readonly
|
|
145
|
-
|
|
146
|
-
get
|
|
147
|
-
set
|
|
157
|
+
readonly ClientCertificates: IList<X509Certificate2>;
|
|
158
|
+
IsClientRedirectEnabled: boolean;
|
|
159
|
+
get ServerCertificateCustomValidationCallback(): Func<ServerCertificateCustomValidationArgs, System_Internal.Boolean> | undefined;
|
|
160
|
+
set ServerCertificateCustomValidationCallback(value: Func<ServerCertificateCustomValidationArgs, System_Internal.Boolean>);
|
|
148
161
|
}
|
|
149
162
|
|
|
150
163
|
|
|
@@ -156,22 +169,32 @@ export const HttpPipelineTransportOptions: {
|
|
|
156
169
|
export type HttpPipelineTransportOptions = HttpPipelineTransportOptions$instance;
|
|
157
170
|
|
|
158
171
|
export interface RedirectPolicy$instance extends HttpPipelinePolicy {
|
|
159
|
-
|
|
160
|
-
|
|
172
|
+
Process(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
173
|
+
ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
161
174
|
}
|
|
162
175
|
|
|
163
176
|
|
|
164
177
|
export const RedirectPolicy: {
|
|
165
178
|
new(): RedirectPolicy;
|
|
166
|
-
|
|
179
|
+
SetAllowAutoRedirect(message: HttpMessage, allowAutoRedirect: boolean): void;
|
|
167
180
|
};
|
|
168
181
|
|
|
169
182
|
|
|
170
183
|
export type RedirectPolicy = RedirectPolicy$instance;
|
|
171
184
|
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
185
|
+
export abstract class RetryPolicy$protected {
|
|
186
|
+
protected OnRequestSent(message: HttpMessage): void;
|
|
187
|
+
protected OnRequestSentAsync(message: HttpMessage): ValueTask;
|
|
188
|
+
protected OnSendingRequest(message: HttpMessage): void;
|
|
189
|
+
protected OnSendingRequestAsync(message: HttpMessage): ValueTask;
|
|
190
|
+
protected ShouldRetry(message: HttpMessage, exception: Exception): boolean;
|
|
191
|
+
protected ShouldRetryAsync(message: HttpMessage, exception: Exception): ValueTask<System_Internal.Boolean>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
export interface RetryPolicy$instance extends RetryPolicy$protected, HttpPipelinePolicy {
|
|
196
|
+
Process(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): void;
|
|
197
|
+
ProcessAsync(message: HttpMessage, pipeline: ReadOnlyMemory<HttpPipelinePolicy>): ValueTask;
|
|
175
198
|
}
|
|
176
199
|
|
|
177
200
|
|
|
@@ -183,9 +206,9 @@ export const RetryPolicy: {
|
|
|
183
206
|
export type RetryPolicy = RetryPolicy$instance;
|
|
184
207
|
|
|
185
208
|
export interface ServerCertificateCustomValidationArgs$instance {
|
|
186
|
-
readonly
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
209
|
+
readonly Certificate: X509Certificate2 | undefined;
|
|
210
|
+
readonly CertificateAuthorityChain: X509Chain | undefined;
|
|
211
|
+
readonly SslPolicyErrors: SslPolicyErrors;
|
|
189
212
|
}
|
|
190
213
|
|
|
191
214
|
|
|
@@ -197,11 +220,11 @@ export const ServerCertificateCustomValidationArgs: {
|
|
|
197
220
|
export type ServerCertificateCustomValidationArgs = ServerCertificateCustomValidationArgs$instance;
|
|
198
221
|
|
|
199
222
|
export abstract class HttpPipelineBuilder$instance {
|
|
200
|
-
static
|
|
201
|
-
static
|
|
202
|
-
static
|
|
203
|
-
static
|
|
204
|
-
static
|
|
223
|
+
static Build(options: ClientOptions, perCallPolicies: HttpPipelinePolicy[], perRetryPolicies: HttpPipelinePolicy[], transportOptions: HttpPipelineTransportOptions, responseClassifier: ResponseClassifier): DisposableHttpPipeline;
|
|
224
|
+
static Build(options: ClientOptions, perCallPolicies: HttpPipelinePolicy[], perRetryPolicies: HttpPipelinePolicy[], responseClassifier: ResponseClassifier): HttpPipeline;
|
|
225
|
+
static Build(options: ClientOptions, ...perRetryPolicies: HttpPipelinePolicy[]): HttpPipeline;
|
|
226
|
+
static Build(options: HttpPipelineOptions, transportOptions: HttpPipelineTransportOptions): DisposableHttpPipeline;
|
|
227
|
+
static Build(options: HttpPipelineOptions): HttpPipeline;
|
|
205
228
|
}
|
|
206
229
|
|
|
207
230
|
|
package/Azure.Core.Pipeline.d.ts
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import * as Internal from './Azure.Core.Pipeline/internal/index.js';
|
|
7
7
|
|
|
8
8
|
// Cross-namespace type imports for constraints
|
|
9
|
-
import type { ClientOptions, DelayStrategy, HttpMessage, Request, RequestFailedDetailsParser, ResponseClassifier, TokenCredential } from './Azure.Core/internal/index.js';
|
|
9
|
+
import type { ClientOptions, DelayStrategy, HttpMessage, Request, RequestFailedDetailsParser, ResponseClassifier, TokenCredential, TokenRequestContext } from './Azure.Core/internal/index.js';
|
|
10
10
|
import type { RequestContext, Response } from './Azure/internal/index.js';
|
|
11
11
|
import type { IDictionary, IEnumerable, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
12
|
-
import type { Boolean as ClrBoolean, Func, IDisposable, Int32, Object as ClrObject, ReadOnlyMemory, String as ClrString, Void } from '@tsonic/dotnet/System.js';
|
|
12
|
+
import type { Boolean as ClrBoolean, Exception, Func, IDisposable, Int32, Object as ClrObject, ReadOnlyMemory, String as ClrString, Void } from '@tsonic/dotnet/System.js';
|
|
13
13
|
import type { HttpClient, HttpMessageHandler } from '@tsonic/dotnet/System.Net.Http.js';
|
|
14
14
|
import type { SslPolicyErrors } from '@tsonic/dotnet/System.Net.Security.js';
|
|
15
15
|
import type { X509Certificate2, X509Chain } from '@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js';
|