@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
|
@@ -21,62 +21,62 @@ import type { Activity, ActivityContext, ActivityKind, ActivitySource } from "@t
|
|
|
21
21
|
import type { Stream } from "@tsonic/dotnet/System.IO.js";
|
|
22
22
|
import * as System_Lib from "@tsonic/dotnet/System.js";
|
|
23
23
|
import type { Attribute, Boolean as ClrBoolean, DateTimeOffset, Enum, Exception, Func, IComparable, IConvertible, IDisposable, IFormattable, Int32, ISpanFormattable, Nullable, Object as ClrObject, ReadOnlySpan, String as ClrString, TimeSpan, Type, UInt16, Uri, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
24
|
-
import type { HttpClient } from "@tsonic/dotnet/System.Net.Http.js";
|
|
24
|
+
import type { HttpClient, HttpRequestMessage, HttpResponseMessage } from "@tsonic/dotnet/System.Net.Http.js";
|
|
25
25
|
import type { JsonSerializerOptions, Utf8JsonReader, Utf8JsonWriter } from "@tsonic/dotnet/System.Text.Json.js";
|
|
26
26
|
import * as System_Text_Json_Serialization_Internal from "@tsonic/dotnet/System.Text.Json.Serialization.js";
|
|
27
27
|
import type { JsonConverter } from "@tsonic/dotnet/System.Text.Json.Serialization.js";
|
|
28
28
|
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
29
|
-
import type { ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
29
|
+
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
30
30
|
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
31
31
|
|
|
32
32
|
export enum ClientErrorBehaviors {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
Default = 0,
|
|
34
|
+
NoThrow = 1
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
export enum CredentialKind {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
None = 0,
|
|
40
|
+
ApiKeyString = 1,
|
|
41
|
+
TokenCredential = 2
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
export enum PipelinePosition {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
PerCall = 0,
|
|
47
|
+
PerTry = 1,
|
|
48
|
+
BeforeTransport = 2
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
export interface IJsonModel_1$instance<T> extends IPersistableModel_1<T> {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
Create(reader: Utf8JsonReader, options: ModelReaderWriterOptions): T | undefined;
|
|
54
|
+
Create(data: BinaryData, options: ModelReaderWriterOptions): T | undefined;
|
|
55
|
+
Create(data: BinaryData, options: ModelReaderWriterOptions): T;
|
|
56
|
+
GetFormatFromOptions(options: ModelReaderWriterOptions): string;
|
|
57
|
+
Write(writer: Utf8JsonWriter, options: ModelReaderWriterOptions): void;
|
|
58
|
+
Write(options: ModelReaderWriterOptions): BinaryData;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export type IJsonModel_1<T> = IJsonModel_1$instance<T>;
|
|
63
63
|
|
|
64
64
|
export interface IPersistableModel_1$instance<T> {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
Create(data: BinaryData, options: ModelReaderWriterOptions): T | undefined;
|
|
66
|
+
GetFormatFromOptions(options: ModelReaderWriterOptions): string;
|
|
67
|
+
Write(options: ModelReaderWriterOptions): BinaryData;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
export type IPersistableModel_1<T> = IPersistableModel_1$instance<T>;
|
|
72
72
|
|
|
73
73
|
export interface ClientConnection$instance {
|
|
74
|
-
readonly
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
readonly Credential: unknown | undefined;
|
|
75
|
+
readonly CredentialKind: CredentialKind;
|
|
76
|
+
readonly Id: string;
|
|
77
|
+
readonly Locator: string;
|
|
78
|
+
ToString(): string;
|
|
79
|
+
TryGetLocatorAsUri(uri: Uri): boolean;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
|
|
@@ -89,28 +89,29 @@ export const ClientConnection: {
|
|
|
89
89
|
export type ClientConnection = ClientConnection$instance;
|
|
90
90
|
|
|
91
91
|
export interface ApiKeyAuthenticationPolicy$instance extends AuthenticationPolicy {
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
93
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
export const ApiKeyAuthenticationPolicy: {
|
|
98
98
|
new(): ApiKeyAuthenticationPolicy;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
CreateBasicAuthorizationPolicy(credential: ApiKeyCredential): ApiKeyAuthenticationPolicy;
|
|
100
|
+
CreateBearerAuthorizationPolicy(credential: ApiKeyCredential): ApiKeyAuthenticationPolicy;
|
|
101
|
+
CreateHeaderApiKeyPolicy(credential: ApiKeyCredential, headerName: string, keyPrefix?: string): ApiKeyAuthenticationPolicy;
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
export type ApiKeyAuthenticationPolicy = ApiKeyAuthenticationPolicy$instance;
|
|
106
106
|
|
|
107
107
|
export interface AsyncCollectionResult$instance {
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
GetContinuationToken(page: ClientResult): ContinuationToken | undefined;
|
|
109
|
+
GetRawPagesAsync(): IAsyncEnumerable<ClientResult>;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
export const AsyncCollectionResult: {
|
|
114
|
+
new(): AsyncCollectionResult;
|
|
114
115
|
};
|
|
115
116
|
|
|
116
117
|
|
|
@@ -121,16 +122,17 @@ export interface AuthenticationPolicy$instance extends PipelinePolicy {
|
|
|
121
122
|
|
|
122
123
|
|
|
123
124
|
export const AuthenticationPolicy: {
|
|
125
|
+
new(): AuthenticationPolicy;
|
|
124
126
|
};
|
|
125
127
|
|
|
126
128
|
|
|
127
129
|
export type AuthenticationPolicy = AuthenticationPolicy$instance;
|
|
128
130
|
|
|
129
131
|
export interface AuthenticationToken$instance {
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
132
|
+
readonly ExpiresOn: Nullable<DateTimeOffset>;
|
|
133
|
+
readonly RefreshOn: Nullable<DateTimeOffset>;
|
|
134
|
+
readonly TokenType: string;
|
|
135
|
+
readonly TokenValue: string;
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
|
|
@@ -142,8 +144,8 @@ export const AuthenticationToken: {
|
|
|
142
144
|
export type AuthenticationToken = AuthenticationToken$instance;
|
|
143
145
|
|
|
144
146
|
export interface BearerTokenPolicy$instance extends AuthenticationPolicy {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
148
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
|
|
@@ -156,7 +158,7 @@ export const BearerTokenPolicy: {
|
|
|
156
158
|
export type BearerTokenPolicy = BearerTokenPolicy$instance;
|
|
157
159
|
|
|
158
160
|
export interface ClientCache$instance {
|
|
159
|
-
|
|
161
|
+
GetClient<T>(clientId: unknown, createClient: Func<T>): T;
|
|
160
162
|
}
|
|
161
163
|
|
|
162
164
|
|
|
@@ -167,8 +169,13 @@ export const ClientCache: {
|
|
|
167
169
|
|
|
168
170
|
export type ClientCache = ClientCache$instance;
|
|
169
171
|
|
|
170
|
-
export
|
|
171
|
-
|
|
172
|
+
export abstract class ClientConnectionCollection$protected {
|
|
173
|
+
protected GetKeyForItem(item: ClientConnection): string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
export interface ClientConnectionCollection$instance extends ClientConnectionCollection$protected, KeyedCollection<System_Internal.String, ClientConnection> {
|
|
178
|
+
AddRange(connections: IEnumerable__System_Collections_Generic<ClientConnection>): void;
|
|
172
179
|
}
|
|
173
180
|
|
|
174
181
|
|
|
@@ -180,28 +187,29 @@ export const ClientConnectionCollection: {
|
|
|
180
187
|
export type ClientConnectionCollection = ClientConnectionCollection$instance;
|
|
181
188
|
|
|
182
189
|
export interface ClientConnectionProvider$instance {
|
|
183
|
-
readonly
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
readonly Subclients: ClientCache;
|
|
191
|
+
GetAllConnections(): IEnumerable__System_Collections_Generic<ClientConnection>;
|
|
192
|
+
GetConnection(connectionId: string): ClientConnection;
|
|
186
193
|
}
|
|
187
194
|
|
|
188
195
|
|
|
189
196
|
export const ClientConnectionProvider: {
|
|
197
|
+
new(maxCacheSize: int): ClientConnectionProvider;
|
|
190
198
|
};
|
|
191
199
|
|
|
192
200
|
|
|
193
201
|
export type ClientConnectionProvider = ClientConnectionProvider$instance;
|
|
194
202
|
|
|
195
203
|
export interface ClientLoggingOptions$instance {
|
|
196
|
-
readonly
|
|
197
|
-
readonly
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
get
|
|
202
|
-
set
|
|
203
|
-
|
|
204
|
-
|
|
204
|
+
readonly AllowedHeaderNames: IList__System_Collections_Generic<System_Internal.String>;
|
|
205
|
+
readonly AllowedQueryParameters: IList__System_Collections_Generic<System_Internal.String>;
|
|
206
|
+
EnableLogging: Nullable<System_Internal.Boolean>;
|
|
207
|
+
EnableMessageContentLogging: Nullable<System_Internal.Boolean>;
|
|
208
|
+
EnableMessageLogging: Nullable<System_Internal.Boolean>;
|
|
209
|
+
get LoggerFactory(): ILoggerFactory | undefined;
|
|
210
|
+
set LoggerFactory(value: ILoggerFactory);
|
|
211
|
+
MessageContentSizeLimit: Nullable<System_Internal.Int32>;
|
|
212
|
+
Freeze(): void;
|
|
205
213
|
}
|
|
206
214
|
|
|
207
215
|
|
|
@@ -213,33 +221,33 @@ export const ClientLoggingOptions: {
|
|
|
213
221
|
export type ClientLoggingOptions = ClientLoggingOptions$instance;
|
|
214
222
|
|
|
215
223
|
export interface ClientPipeline$instance {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
224
|
+
CreateMessage(): PipelineMessage;
|
|
225
|
+
Send(message: PipelineMessage): void;
|
|
226
|
+
SendAsync(message: PipelineMessage): ValueTask;
|
|
219
227
|
}
|
|
220
228
|
|
|
221
229
|
|
|
222
230
|
export const ClientPipeline: {
|
|
223
231
|
new(): ClientPipeline;
|
|
224
|
-
|
|
225
|
-
|
|
232
|
+
Create(options: ClientPipelineOptions, perCallPolicies: ReadOnlySpan<PipelinePolicy>, perTryPolicies: ReadOnlySpan<PipelinePolicy>, beforeTransportPolicies: ReadOnlySpan<PipelinePolicy>): ClientPipeline;
|
|
233
|
+
Create(options?: ClientPipelineOptions): ClientPipeline;
|
|
226
234
|
};
|
|
227
235
|
|
|
228
236
|
|
|
229
237
|
export type ClientPipeline = ClientPipeline$instance;
|
|
230
238
|
|
|
231
239
|
export interface ClientPipelineOptions$instance {
|
|
232
|
-
get
|
|
233
|
-
set
|
|
234
|
-
|
|
235
|
-
get
|
|
236
|
-
set
|
|
237
|
-
|
|
238
|
-
get
|
|
239
|
-
set
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
get ClientLoggingOptions(): ClientLoggingOptions | undefined;
|
|
241
|
+
set ClientLoggingOptions(value: ClientLoggingOptions);
|
|
242
|
+
EnableDistributedTracing: Nullable<System_Internal.Boolean>;
|
|
243
|
+
get MessageLoggingPolicy(): PipelinePolicy | undefined;
|
|
244
|
+
set MessageLoggingPolicy(value: PipelinePolicy);
|
|
245
|
+
NetworkTimeout: Nullable<TimeSpan>;
|
|
246
|
+
get RetryPolicy(): PipelinePolicy | undefined;
|
|
247
|
+
set RetryPolicy(value: PipelinePolicy);
|
|
248
|
+
Transport: PipelineTransport;
|
|
249
|
+
AddPolicy(policy: PipelinePolicy, position: PipelinePosition): void;
|
|
250
|
+
Freeze(): void;
|
|
243
251
|
}
|
|
244
252
|
|
|
245
253
|
|
|
@@ -250,51 +258,76 @@ export const ClientPipelineOptions: {
|
|
|
250
258
|
|
|
251
259
|
export type ClientPipelineOptions = ClientPipelineOptions$instance;
|
|
252
260
|
|
|
253
|
-
export
|
|
254
|
-
|
|
255
|
-
|
|
261
|
+
export abstract class ClientRetryPolicy$protected {
|
|
262
|
+
protected GetNextDelay(message: PipelineMessage, tryCount: int): TimeSpan;
|
|
263
|
+
protected OnRequestSent(message: PipelineMessage): void;
|
|
264
|
+
protected OnRequestSentAsync(message: PipelineMessage): ValueTask;
|
|
265
|
+
protected OnSendingRequest(message: PipelineMessage): void;
|
|
266
|
+
protected OnSendingRequestAsync(message: PipelineMessage): ValueTask;
|
|
267
|
+
protected OnTryComplete(message: PipelineMessage): void;
|
|
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 {
|
|
276
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
277
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
256
278
|
}
|
|
257
279
|
|
|
258
280
|
|
|
259
281
|
export const ClientRetryPolicy: {
|
|
260
282
|
new(maxRetries: int): ClientRetryPolicy;
|
|
261
283
|
new(maxRetries: int, enableLogging: boolean, loggerFactory: ILoggerFactory): ClientRetryPolicy;
|
|
262
|
-
readonly
|
|
284
|
+
readonly Default: ClientRetryPolicy;
|
|
263
285
|
};
|
|
264
286
|
|
|
265
287
|
|
|
266
288
|
export type ClientRetryPolicy = ClientRetryPolicy$instance;
|
|
267
289
|
|
|
268
290
|
export interface CollectionResult$instance {
|
|
269
|
-
|
|
270
|
-
|
|
291
|
+
GetContinuationToken(page: ClientResult): ContinuationToken | undefined;
|
|
292
|
+
GetRawPages(): IEnumerable__System_Collections_Generic<ClientResult>;
|
|
271
293
|
}
|
|
272
294
|
|
|
273
295
|
|
|
274
296
|
export const CollectionResult: {
|
|
297
|
+
new(): CollectionResult;
|
|
275
298
|
};
|
|
276
299
|
|
|
277
300
|
|
|
278
301
|
export type CollectionResult = CollectionResult$instance;
|
|
279
302
|
|
|
280
303
|
export interface GetTokenOptions$instance {
|
|
281
|
-
readonly
|
|
304
|
+
readonly Properties: IReadOnlyDictionary<System_Internal.String, unknown>;
|
|
282
305
|
}
|
|
283
306
|
|
|
284
307
|
|
|
285
308
|
export const GetTokenOptions: {
|
|
286
309
|
new(properties: IReadOnlyDictionary<System_Internal.String, unknown>): GetTokenOptions;
|
|
287
|
-
readonly
|
|
288
|
-
readonly
|
|
289
|
-
readonly
|
|
290
|
-
readonly
|
|
310
|
+
readonly ScopesPropertyName: string;
|
|
311
|
+
readonly TokenUrlPropertyName: string;
|
|
312
|
+
readonly AuthorizationUrlPropertyName: string;
|
|
313
|
+
readonly RefreshUrlPropertyName: string;
|
|
291
314
|
};
|
|
292
315
|
|
|
293
316
|
|
|
294
317
|
export type GetTokenOptions = GetTokenOptions$instance;
|
|
295
318
|
|
|
296
|
-
export
|
|
297
|
-
|
|
319
|
+
export abstract class HttpClientPipelineTransport$protected {
|
|
320
|
+
protected CreateMessageCore(): PipelineMessage;
|
|
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
|
+
}
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
export interface HttpClientPipelineTransport$instance extends HttpClientPipelineTransport$protected, PipelineTransport {
|
|
330
|
+
Dispose(): void;
|
|
298
331
|
}
|
|
299
332
|
|
|
300
333
|
|
|
@@ -302,16 +335,16 @@ export const HttpClientPipelineTransport: {
|
|
|
302
335
|
new(): HttpClientPipelineTransport;
|
|
303
336
|
new(client: HttpClient): HttpClientPipelineTransport;
|
|
304
337
|
new(client: HttpClient, enableLogging: boolean, loggerFactory: ILoggerFactory): HttpClientPipelineTransport;
|
|
305
|
-
readonly
|
|
338
|
+
readonly Shared: HttpClientPipelineTransport;
|
|
306
339
|
};
|
|
307
340
|
|
|
308
341
|
|
|
309
342
|
export type HttpClientPipelineTransport = HttpClientPipelineTransport$instance;
|
|
310
343
|
|
|
311
344
|
export interface JsonModelConverter$instance extends JsonConverter<IJsonModel_1<unknown>> {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
345
|
+
CanConvert(typeToConvert: Type): boolean;
|
|
346
|
+
Read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): IJsonModel_1<unknown> | undefined;
|
|
347
|
+
Write(writer: Utf8JsonWriter, value: IJsonModel_1<unknown>, options: JsonSerializerOptions): void;
|
|
315
348
|
}
|
|
316
349
|
|
|
317
350
|
|
|
@@ -325,14 +358,14 @@ export const JsonModelConverter: {
|
|
|
325
358
|
export type JsonModelConverter = JsonModelConverter$instance;
|
|
326
359
|
|
|
327
360
|
export interface MessageLoggingPolicy$instance extends PipelinePolicy {
|
|
328
|
-
|
|
329
|
-
|
|
361
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
362
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
330
363
|
}
|
|
331
364
|
|
|
332
365
|
|
|
333
366
|
export const MessageLoggingPolicy: {
|
|
334
367
|
new(options: ClientLoggingOptions): MessageLoggingPolicy;
|
|
335
|
-
readonly
|
|
368
|
+
readonly Default: MessageLoggingPolicy;
|
|
336
369
|
};
|
|
337
370
|
|
|
338
371
|
|
|
@@ -349,13 +382,19 @@ export const ModelReaderWriterBuildableAttribute: {
|
|
|
349
382
|
|
|
350
383
|
export type ModelReaderWriterBuildableAttribute = ModelReaderWriterBuildableAttribute$instance;
|
|
351
384
|
|
|
352
|
-
export
|
|
353
|
-
|
|
354
|
-
|
|
385
|
+
export abstract class ModelReaderWriterContext$protected {
|
|
386
|
+
protected TryGetTypeBuilderCore(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
export interface ModelReaderWriterContext$instance extends ModelReaderWriterContext$protected {
|
|
391
|
+
GetTypeBuilder(type: Type): ModelReaderWriterTypeBuilder;
|
|
392
|
+
TryGetTypeBuilder(type: Type, builder: ModelReaderWriterTypeBuilder): boolean;
|
|
355
393
|
}
|
|
356
394
|
|
|
357
395
|
|
|
358
396
|
export const ModelReaderWriterContext: {
|
|
397
|
+
new(): ModelReaderWriterContext;
|
|
359
398
|
};
|
|
360
399
|
|
|
361
400
|
|
|
@@ -373,48 +412,62 @@ export const ModelReaderWriterContextTypeAttribute: {
|
|
|
373
412
|
export type ModelReaderWriterContextTypeAttribute = ModelReaderWriterContextTypeAttribute$instance;
|
|
374
413
|
|
|
375
414
|
export interface ModelReaderWriterOptions$instance {
|
|
376
|
-
readonly
|
|
415
|
+
readonly Format: string;
|
|
377
416
|
}
|
|
378
417
|
|
|
379
418
|
|
|
380
419
|
export const ModelReaderWriterOptions: {
|
|
381
420
|
new(format: string): ModelReaderWriterOptions;
|
|
382
|
-
readonly
|
|
383
|
-
readonly
|
|
421
|
+
readonly Json: ModelReaderWriterOptions;
|
|
422
|
+
readonly Xml: ModelReaderWriterOptions;
|
|
384
423
|
};
|
|
385
424
|
|
|
386
425
|
|
|
387
426
|
export type ModelReaderWriterOptions = ModelReaderWriterOptions$instance;
|
|
388
427
|
|
|
389
|
-
export
|
|
428
|
+
export abstract class ModelReaderWriterTypeBuilder$protected {
|
|
429
|
+
protected readonly BuilderType: Type;
|
|
430
|
+
protected readonly ItemType: Type | undefined;
|
|
431
|
+
protected AddItem(collectionBuilder: unknown, item: unknown): void;
|
|
432
|
+
protected AddItemWithKey(collectionBuilder: unknown, key: string, item: unknown): void;
|
|
433
|
+
protected ConvertCollectionBuilder(collectionBuilder: unknown): unknown;
|
|
434
|
+
protected abstract CreateInstance(): unknown;
|
|
435
|
+
protected GetItems(collection: unknown): IEnumerable | undefined;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
export interface ModelReaderWriterTypeBuilder$instance extends ModelReaderWriterTypeBuilder$protected {
|
|
390
440
|
}
|
|
391
441
|
|
|
392
442
|
|
|
393
443
|
export const ModelReaderWriterTypeBuilder: {
|
|
444
|
+
new(): ModelReaderWriterTypeBuilder;
|
|
394
445
|
};
|
|
395
446
|
|
|
396
447
|
|
|
397
448
|
export type ModelReaderWriterTypeBuilder = ModelReaderWriterTypeBuilder$instance;
|
|
398
449
|
|
|
399
450
|
export interface OperationResult$instance {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
451
|
+
HasCompleted: boolean;
|
|
452
|
+
get RehydrationToken(): ContinuationToken | undefined;
|
|
453
|
+
set RehydrationToken(value: ContinuationToken);
|
|
454
|
+
GetRawResponse(): PipelineResponse;
|
|
455
|
+
UpdateStatus(options?: RequestOptions): ClientResult;
|
|
456
|
+
UpdateStatusAsync(options?: RequestOptions): ValueTask<ClientResult>;
|
|
457
|
+
WaitForCompletion(cancellationToken?: CancellationToken): void;
|
|
458
|
+
WaitForCompletionAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
407
459
|
}
|
|
408
460
|
|
|
409
461
|
|
|
410
462
|
export const OperationResult: {
|
|
463
|
+
new(response: PipelineResponse): OperationResult;
|
|
411
464
|
};
|
|
412
465
|
|
|
413
466
|
|
|
414
467
|
export type OperationResult = OperationResult$instance;
|
|
415
468
|
|
|
416
469
|
export interface PersistableModelProxyAttribute$instance extends Attribute {
|
|
417
|
-
readonly
|
|
470
|
+
readonly ProxyType: Type;
|
|
418
471
|
}
|
|
419
472
|
|
|
420
473
|
|
|
@@ -425,143 +478,184 @@ export const PersistableModelProxyAttribute: {
|
|
|
425
478
|
|
|
426
479
|
export type PersistableModelProxyAttribute = PersistableModelProxyAttribute$instance;
|
|
427
480
|
|
|
428
|
-
export
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
481
|
+
export abstract class PipelineMessage$protected {
|
|
482
|
+
protected Dispose(disposing: boolean): void;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
export interface PipelineMessage$instance extends PipelineMessage$protected {
|
|
487
|
+
BufferResponse: boolean;
|
|
488
|
+
CancellationToken: CancellationToken;
|
|
489
|
+
NetworkTimeout: Nullable<TimeSpan>;
|
|
490
|
+
readonly Request: PipelineRequest;
|
|
491
|
+
Response: PipelineResponse;
|
|
492
|
+
ResponseClassifier: PipelineMessageClassifier;
|
|
493
|
+
Apply(options: RequestOptions): void;
|
|
494
|
+
Dispose(): void;
|
|
495
|
+
ExtractResponse(): PipelineResponse | undefined;
|
|
496
|
+
SetProperty(key: Type, value: unknown): void;
|
|
497
|
+
TryGetProperty(key: Type, value: unknown): boolean;
|
|
440
498
|
}
|
|
441
499
|
|
|
442
500
|
|
|
443
501
|
export const PipelineMessage: {
|
|
444
|
-
new(): PipelineMessage;
|
|
502
|
+
new(request: PipelineRequest): PipelineMessage;
|
|
445
503
|
};
|
|
446
504
|
|
|
447
505
|
|
|
448
506
|
export type PipelineMessage = PipelineMessage$instance;
|
|
449
507
|
|
|
450
508
|
export interface PipelineMessageClassifier$instance {
|
|
451
|
-
|
|
452
|
-
|
|
509
|
+
TryClassify(message: PipelineMessage, isError: boolean): boolean;
|
|
510
|
+
TryClassify(message: PipelineMessage, exception: Exception, isRetriable: boolean): boolean;
|
|
453
511
|
}
|
|
454
512
|
|
|
455
513
|
|
|
456
514
|
export const PipelineMessageClassifier: {
|
|
457
|
-
|
|
458
|
-
|
|
515
|
+
new(): PipelineMessageClassifier;
|
|
516
|
+
readonly Default: PipelineMessageClassifier;
|
|
517
|
+
Create(successStatusCodes: ReadOnlySpan<System_Internal.UInt16>): PipelineMessageClassifier;
|
|
459
518
|
};
|
|
460
519
|
|
|
461
520
|
|
|
462
521
|
export type PipelineMessageClassifier = PipelineMessageClassifier$instance;
|
|
463
522
|
|
|
464
523
|
export interface PipelinePolicy$instance {
|
|
465
|
-
|
|
466
|
-
|
|
524
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
525
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
467
526
|
}
|
|
468
527
|
|
|
469
528
|
|
|
470
529
|
export const PipelinePolicy: {
|
|
530
|
+
new(): PipelinePolicy;
|
|
531
|
+
ProcessNext(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
532
|
+
ProcessNextAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
471
533
|
};
|
|
472
534
|
|
|
473
535
|
|
|
474
536
|
export type PipelinePolicy = PipelinePolicy$instance;
|
|
475
537
|
|
|
476
|
-
export
|
|
477
|
-
|
|
478
|
-
readonly
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
538
|
+
export abstract class PipelineRequest$protected {
|
|
539
|
+
protected ContentCore: BinaryContent | undefined;
|
|
540
|
+
protected readonly HeadersCore: PipelineRequestHeaders;
|
|
541
|
+
protected MethodCore: string;
|
|
542
|
+
protected UriCore: Uri | undefined;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
export interface PipelineRequest$instance extends PipelineRequest$protected {
|
|
547
|
+
Content: BinaryContent;
|
|
548
|
+
readonly Headers: PipelineRequestHeaders;
|
|
549
|
+
Method: string;
|
|
550
|
+
Uri: Uri;
|
|
551
|
+
Dispose(): void;
|
|
482
552
|
}
|
|
483
553
|
|
|
484
554
|
|
|
485
555
|
export const PipelineRequest: {
|
|
556
|
+
new(): PipelineRequest;
|
|
486
557
|
};
|
|
487
558
|
|
|
488
559
|
|
|
489
560
|
export type PipelineRequest = PipelineRequest$instance;
|
|
490
561
|
|
|
491
562
|
export interface PipelineRequestHeaders$instance {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
563
|
+
Add(name: string, value: string): void;
|
|
564
|
+
GetEnumerator(): IEnumerator<KeyValuePair<System_Internal.String, System_Internal.String>>;
|
|
565
|
+
Remove(name: string): boolean;
|
|
566
|
+
Set(name: string, value: string): void;
|
|
567
|
+
TryGetValue(name: string, value: string): boolean;
|
|
568
|
+
TryGetValues(name: string, values: IEnumerable__System_Collections_Generic<System_Internal.String>): boolean;
|
|
498
569
|
}
|
|
499
570
|
|
|
500
571
|
|
|
501
572
|
export const PipelineRequestHeaders: {
|
|
573
|
+
new(): PipelineRequestHeaders;
|
|
502
574
|
};
|
|
503
575
|
|
|
504
576
|
|
|
505
577
|
export type PipelineRequestHeaders = PipelineRequestHeaders$instance;
|
|
506
578
|
|
|
507
|
-
export
|
|
508
|
-
readonly
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
readonly
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
579
|
+
export abstract class PipelineResponse$protected {
|
|
580
|
+
protected readonly HeadersCore: PipelineResponseHeaders;
|
|
581
|
+
protected IsErrorCore: boolean;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
export interface PipelineResponse$instance extends PipelineResponse$protected {
|
|
586
|
+
readonly Content: BinaryData;
|
|
587
|
+
get ContentStream(): Stream | undefined;
|
|
588
|
+
set ContentStream(value: Stream);
|
|
589
|
+
readonly Headers: PipelineResponseHeaders;
|
|
590
|
+
readonly IsError: boolean;
|
|
591
|
+
readonly ReasonPhrase: string;
|
|
592
|
+
readonly Status: int;
|
|
593
|
+
BufferContent(cancellationToken?: CancellationToken): BinaryData;
|
|
594
|
+
BufferContentAsync(cancellationToken?: CancellationToken): ValueTask<BinaryData>;
|
|
595
|
+
Dispose(): void;
|
|
518
596
|
}
|
|
519
597
|
|
|
520
598
|
|
|
521
599
|
export const PipelineResponse: {
|
|
600
|
+
new(): PipelineResponse;
|
|
522
601
|
};
|
|
523
602
|
|
|
524
603
|
|
|
525
604
|
export type PipelineResponse = PipelineResponse$instance;
|
|
526
605
|
|
|
527
606
|
export interface PipelineResponseHeaders$instance {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
607
|
+
GetEnumerator(): IEnumerator<KeyValuePair<System_Internal.String, System_Internal.String>>;
|
|
608
|
+
TryGetValue(name: string, value: string): boolean;
|
|
609
|
+
TryGetValues(name: string, values: IEnumerable__System_Collections_Generic<System_Internal.String>): boolean;
|
|
531
610
|
}
|
|
532
611
|
|
|
533
612
|
|
|
534
613
|
export const PipelineResponseHeaders: {
|
|
614
|
+
new(): PipelineResponseHeaders;
|
|
535
615
|
};
|
|
536
616
|
|
|
537
617
|
|
|
538
618
|
export type PipelineResponseHeaders = PipelineResponseHeaders$instance;
|
|
539
619
|
|
|
540
|
-
export
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
620
|
+
export abstract class PipelineTransport$protected {
|
|
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 {
|
|
628
|
+
CreateMessage(): PipelineMessage;
|
|
629
|
+
Process(message: PipelineMessage): void;
|
|
630
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
631
|
+
Process(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): void;
|
|
632
|
+
ProcessAsync(message: PipelineMessage): ValueTask;
|
|
633
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
634
|
+
ProcessAsync(message: PipelineMessage, pipeline: IReadOnlyList<PipelinePolicy>, currentIndex: int): ValueTask;
|
|
548
635
|
}
|
|
549
636
|
|
|
550
637
|
|
|
551
638
|
export const PipelineTransport: {
|
|
639
|
+
new(): PipelineTransport;
|
|
640
|
+
new(enableLogging: boolean, loggerFactory: ILoggerFactory): PipelineTransport;
|
|
552
641
|
};
|
|
553
642
|
|
|
554
643
|
|
|
555
644
|
export type PipelineTransport = PipelineTransport$instance;
|
|
556
645
|
|
|
557
|
-
export
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
646
|
+
export abstract class RequestOptions$protected {
|
|
647
|
+
protected Apply(message: PipelineMessage): void;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
export interface RequestOptions$instance extends RequestOptions$protected {
|
|
652
|
+
BufferResponse: boolean;
|
|
653
|
+
CancellationToken: CancellationToken;
|
|
654
|
+
ErrorOptions: ClientErrorBehaviors;
|
|
655
|
+
AddHeader(name: string, value: string): void;
|
|
656
|
+
AddPolicy(policy: PipelinePolicy, position: PipelinePosition): void;
|
|
657
|
+
Freeze(): void;
|
|
658
|
+
SetHeader(name: string, value: string): void;
|
|
565
659
|
}
|
|
566
660
|
|
|
567
661
|
|
|
@@ -573,22 +667,22 @@ export const RequestOptions: {
|
|
|
573
667
|
export type RequestOptions = RequestOptions$instance;
|
|
574
668
|
|
|
575
669
|
export abstract class ActivityExtensions$instance {
|
|
576
|
-
static
|
|
577
|
-
static
|
|
670
|
+
static MarkClientActivityFailed(activity: Activity, exception: Exception): Activity;
|
|
671
|
+
static StartClientActivity(activitySource: ActivitySource, options: ClientPipelineOptions, name: string, kind?: ActivityKind, parentContext?: ActivityContext, tags?: IEnumerable__System_Collections_Generic<KeyValuePair<System_Internal.String, unknown>>): Activity | undefined;
|
|
578
672
|
}
|
|
579
673
|
|
|
580
674
|
|
|
581
675
|
export type ActivityExtensions = ActivityExtensions$instance;
|
|
582
676
|
|
|
583
677
|
export abstract class ModelReaderWriter$instance {
|
|
584
|
-
static
|
|
585
|
-
static
|
|
586
|
-
static
|
|
587
|
-
static
|
|
588
|
-
static
|
|
589
|
-
static
|
|
590
|
-
static
|
|
591
|
-
static
|
|
678
|
+
static Read<T>(data: BinaryData, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): T | undefined;
|
|
679
|
+
static Read<T extends IPersistableModel_1<T>>(data: BinaryData, options?: ModelReaderWriterOptions): T | undefined;
|
|
680
|
+
static Read(data: BinaryData, returnType: Type, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): unknown | undefined;
|
|
681
|
+
static Read(data: BinaryData, returnType: Type, options?: ModelReaderWriterOptions): unknown | undefined;
|
|
682
|
+
static Write(model: unknown, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): BinaryData;
|
|
683
|
+
static Write(model: unknown, options?: ModelReaderWriterOptions): BinaryData;
|
|
684
|
+
static Write<T>(model: T, options: ModelReaderWriterOptions, context: ModelReaderWriterContext): BinaryData;
|
|
685
|
+
static Write<T extends IPersistableModel_1<T>>(model: T, options?: ModelReaderWriterOptions): BinaryData;
|
|
592
686
|
}
|
|
593
687
|
|
|
594
688
|
|