diff --git a/CustomConverters/ShippingZoneMethodSettingsConverter.cs b/CustomConverters/ShippingZoneMethodSettingsConverter.cs new file mode 100644 index 0000000..b6a2498 --- /dev/null +++ b/CustomConverters/ShippingZoneMethodSettingsConverter.cs @@ -0,0 +1,31 @@ +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using WooCommerceNET.WooCommerce.FlexibleShipping; + +namespace WooCommerceNET.CustomConverters +{ + public class ShippingZoneMethodSettingsConverter : JsonConverter + { + public override bool CanConvert(Type objectType) + { + return true; + } + + public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) + { + JToken token = JToken.Load(reader); + if (token.Type == JTokenType.Array) + { + return token.ToObject>(); + } + return token.ToString(); + } + + public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + { + serializer.Serialize(writer, value); + } + } +} diff --git a/RestAPI.cs b/RestAPI.cs index 2127a5e..c0ba74c 100644 --- a/RestAPI.cs +++ b/RestAPI.cs @@ -9,6 +9,7 @@ using System.Runtime.Serialization; using System.Runtime.Serialization.Json; using System.Text; +using System.Text.RegularExpressions; using System.Threading.Tasks; using WooCommerceNET.Base; @@ -172,9 +173,16 @@ public virtual async Task SendHttpClientRequest(string endpoint, Requ if (JWTRequestFilter != null) JWTRequestFilter.Invoke(request); - var buffer = Encoding.UTF8.GetBytes($"username={wc_key}&password={wc_secret}"); + var convKey = ConvertAmpersandsToUTF8Hex(wc_key); + var convSecret = ConvertAmpersandsToUTF8Hex(wc_secret); + + var buffer = Encoding.UTF8.GetBytes($"username={convKey}&password={convSecret}"); Stream dataStream = await request.GetRequestStreamAsync().ConfigureAwait(false); dataStream.Write(buffer, 0, buffer.Length); + dataStream.Close(); + + request.ContentLength = buffer.Length; + WebResponse response = await request.GetResponseAsync().ConfigureAwait(false); Stream resStream = response.GetResponseStream(); string result = await GetStreamContent(resStream, "UTF-8").ConfigureAwait(false); @@ -244,7 +252,12 @@ public virtual async Task SendHttpClientRequest(string endpoint, Requ httpWebRequest.ContentType = "application/x-www-form-urlencoded"; Stream dataStream = await httpWebRequest.GetRequestStreamAsync().ConfigureAwait(false); - FileStream fileStream = new FileStream(parms["path"], FileMode.Open, FileAccess.Read); + + // If the given path is a physical path, open file. If not, read from URL. + var fileStream = parms["source"] == "local" ? + new FileStream(parms["path"], FileMode.Open, FileAccess.Read) : + (new WebClient()).OpenRead(parms["path"]); + byte[] buffer = new byte[4096]; int bytesRead = 0; @@ -462,6 +475,12 @@ public string DateTimeFormat return IsLegacy ? "yyyy-MM-ddTHH:mm:ssZ" : "yyyy-MM-ddTHH:mm:ssK"; } } + + private string ConvertAmpersandsToUTF8Hex(string original) + { + var pattern = new Regex("[&]"); + return pattern.Replace(original, "%26"); + } } public class WP_JWT_Object diff --git a/WooCommerce.NET.csproj b/WooCommerce.NET.csproj index 9cba1d5..64329f6 100644 --- a/WooCommerce.NET.csproj +++ b/WooCommerce.NET.csproj @@ -29,7 +29,7 @@ Changes Doc: https://github.com/XiaoFaye/WooCommerce.NET/blob/master/Changes.md 11. Add UpdateRangeRaw to ignore deserialize return json. #523 true 0.8.3.0 - true + false sn.key.snk License.md true @@ -44,4 +44,8 @@ Changes Doc: https://github.com/XiaoFaye/WooCommerce.NET/blob/master/Changes.md + + + + \ No newline at end of file diff --git a/WooCommerce/FlexibleShipping/ShippingZoneMethodRule.cs b/WooCommerce/FlexibleShipping/ShippingZoneMethodRule.cs new file mode 100644 index 0000000..2d9ae4f --- /dev/null +++ b/WooCommerce/FlexibleShipping/ShippingZoneMethodRule.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; + +namespace WooCommerceNET.WooCommerce.FlexibleShipping +{ + public class ShippingZoneMethodRule + { + public ICollection conditions { get; set; } + public string cost_per_order { get; set; } + } + + public class ShippingZoneMethodRuleCondition + { + public string condition_id { get; set; } + public string min { get; set; } + public string max { get; set; } + } +} diff --git a/WooCommerce/v2/ShippingZone.cs b/WooCommerce/v2/ShippingZone.cs index 23a5597..22b7773 100644 --- a/WooCommerce/v2/ShippingZone.cs +++ b/WooCommerce/v2/ShippingZone.cs @@ -1,5 +1,7 @@ -using System.Collections.Generic; +using Newtonsoft.Json; +using System.Collections.Generic; using System.Runtime.Serialization; +using WooCommerceNET.CustomConverters; namespace WooCommerceNET.WooCommerce.v2 { @@ -165,7 +167,8 @@ public class ShippingZoneMethodSetting /// Setting value. /// [DataMember(EmitDefaultValue = false)] - public string value { get; set; } + [JsonConverter(typeof(ShippingZoneMethodSettingsConverter))] + public object value { get; set; } /// /// Default value for the setting. diff --git a/bin/Debug/WooCommerceNET.0.8.3.nupkg b/bin/Debug/WooCommerceNET.0.8.3.nupkg new file mode 100644 index 0000000..4711e1c Binary files /dev/null and b/bin/Debug/WooCommerceNET.0.8.3.nupkg differ diff --git a/bin/Debug/netstandard2.0/WooCommerce.NET.deps.json b/bin/Debug/netstandard2.0/WooCommerce.NET.deps.json new file mode 100644 index 0000000..7543a29 --- /dev/null +++ b/bin/Debug/netstandard2.0/WooCommerce.NET.deps.json @@ -0,0 +1,63 @@ +{ + "runtimeTarget": { + "name": ".NETStandard,Version=v2.0/", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETStandard,Version=v2.0": {}, + ".NETStandard,Version=v2.0/": { + "WooCommerce.NET/0.8.3": { + "dependencies": { + "NETStandard.Library": "2.0.3", + "Newtonsoft.Json": "13.0.1" + }, + "runtime": { + "WooCommerce.NET.dll": {} + } + }, + "Microsoft.NETCore.Platforms/1.1.0": {}, + "NETStandard.Library/2.0.3": { + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + } + }, + "Newtonsoft.Json/13.0.1": { + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.1.25517" + } + } + } + } + }, + "libraries": { + "WooCommerce.NET/0.8.3": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "serviceable": true, + "sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "path": "microsoft.netcore.platforms/1.1.0", + "hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512" + }, + "NETStandard.Library/2.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "path": "netstandard.library/2.0.3", + "hashPath": "netstandard.library.2.0.3.nupkg.sha512" + }, + "Newtonsoft.Json/13.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "path": "newtonsoft.json/13.0.1", + "hashPath": "newtonsoft.json.13.0.1.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/bin/Debug/netstandard2.0/WooCommerce.NET.dll b/bin/Debug/netstandard2.0/WooCommerce.NET.dll new file mode 100644 index 0000000..d075949 Binary files /dev/null and b/bin/Debug/netstandard2.0/WooCommerce.NET.dll differ diff --git a/bin/Debug/netstandard2.0/WooCommerce.NET.pdb b/bin/Debug/netstandard2.0/WooCommerce.NET.pdb new file mode 100644 index 0000000..dd5d13f Binary files /dev/null and b/bin/Debug/netstandard2.0/WooCommerce.NET.pdb differ diff --git a/obj/Debug/WooCommerceNET.0.8.3.nuspec b/obj/Debug/WooCommerceNET.0.8.3.nuspec new file mode 100644 index 0000000..0d2c02d --- /dev/null +++ b/obj/Debug/WooCommerceNET.0.8.3.nuspec @@ -0,0 +1,41 @@ + + + + WooCommerceNET + 0.8.3 + JamesYang@NZ + true + License.md + https://aka.ms/deprecateLicenseUrl + https://github.com/XiaoFaye/WooCommerce.NET + A .NET Wrapper for WooCommerce/WordPress REST API + WooCommerce.NET is a .NET library for calling WooCommerce/WordPress REST API in .NET applications. + +GitHub: https://github.com/XiaoFaye/WooCommerce.NET +Changes Doc: https://github.com/XiaoFaye/WooCommerce.NET/blob/master/Changes.md + +* v0.8.3 update + 1. Fix error while creating a refund. #476 + 2. Allow authenticate Woocommerce API with JWT (set WCAuthWithJWT to true). #478 + 3. Fix error on retrieving refund. #484 + 4. Fix error on deserialize BatchObject. #523 + 5. Fix error on date format. #524 + 6. Add user-friendly attribute names and values to Metadata. #558 + 7. Change all id field to unsigned 32bit integer to prevent overflow. #560 + 8. Change functions in BaseObject to virtual to support Unit Test. #568 + 9. Add function to delete tax class by slug. #576 + 10. Allow WC Plugins to use WCObject. + 11. Add UpdateRangeRaw to ignore deserialize return json. #523 + Copyright © 2015 - 2021 James Yang@NZ + WooCommerce Wordpress Restful API + + + + + + + + + + + \ No newline at end of file diff --git a/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs b/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs new file mode 100644 index 0000000..45b1ca0 --- /dev/null +++ b/obj/Debug/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")] diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.AssemblyInfo.cs b/obj/Debug/netstandard2.0/WooCommerce.NET.AssemblyInfo.cs new file mode 100644 index 0000000..3328736 --- /dev/null +++ b/obj/Debug/netstandard2.0/WooCommerce.NET.AssemblyInfo.cs @@ -0,0 +1,25 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("JamesYang@NZ")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © 2015 - 2021 James Yang@NZ")] +[assembly: System.Reflection.AssemblyDescriptionAttribute("A .NET Wrapper for WooCommerce/WordPress REST API")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("0.8.3.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.8.3")] +[assembly: System.Reflection.AssemblyProductAttribute("WooCommerce.NET")] +[assembly: System.Reflection.AssemblyTitleAttribute("WooCommerce.NET")] +[assembly: System.Reflection.AssemblyVersionAttribute("0.8.3.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.AssemblyInfoInputs.cache b/obj/Debug/netstandard2.0/WooCommerce.NET.AssemblyInfoInputs.cache new file mode 100644 index 0000000..c987c8b --- /dev/null +++ b/obj/Debug/netstandard2.0/WooCommerce.NET.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +d55f61249a76f3092a08994b10cc7071dc1bdac6 diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/netstandard2.0/WooCommerce.NET.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..f7677a8 --- /dev/null +++ b/obj/Debug/netstandard2.0/WooCommerce.NET.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,3 @@ +is_global = true +build_property.RootNamespace = WooCommerce.NET +build_property.ProjectDir = C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\ diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.assets.cache b/obj/Debug/netstandard2.0/WooCommerce.NET.assets.cache new file mode 100644 index 0000000..7be6e36 Binary files /dev/null and b/obj/Debug/netstandard2.0/WooCommerce.NET.assets.cache differ diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.AssemblyReference.cache b/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.AssemblyReference.cache new file mode 100644 index 0000000..f5e894a Binary files /dev/null and b/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.AssemblyReference.cache differ diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.CoreCompileInputs.cache b/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..76c759c --- /dev/null +++ b/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +3db8ec6cc22cb1364631cfc725ce11ea608aa07f diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.FileListAbsolute.txt b/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..53307bb --- /dev/null +++ b/obj/Debug/netstandard2.0/WooCommerce.NET.csproj.FileListAbsolute.txt @@ -0,0 +1,10 @@ +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.csproj.AssemblyReference.cache +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.AssemblyInfoInputs.cache +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.AssemblyInfo.cs +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.csproj.CoreCompileInputs.cache +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\bin\Debug\netstandard2.0\WooCommerce.NET.deps.json +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\bin\Debug\netstandard2.0\WooCommerce.NET.dll +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\bin\Debug\netstandard2.0\WooCommerce.NET.pdb +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.dll +C:\Users\kamorim\source\repos\L4B\l4b-shop-api\WooCommerce.NET\obj\Debug\netstandard2.0\WooCommerce.NET.pdb diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.dll b/obj/Debug/netstandard2.0/WooCommerce.NET.dll new file mode 100644 index 0000000..d075949 Binary files /dev/null and b/obj/Debug/netstandard2.0/WooCommerce.NET.dll differ diff --git a/obj/Debug/netstandard2.0/WooCommerce.NET.pdb b/obj/Debug/netstandard2.0/WooCommerce.NET.pdb new file mode 100644 index 0000000..dd5d13f Binary files /dev/null and b/obj/Debug/netstandard2.0/WooCommerce.NET.pdb differ diff --git a/obj/WooCommerce.NET.csproj.nuget.dgspec.json b/obj/WooCommerce.NET.csproj.nuget.dgspec.json new file mode 100644 index 0000000..8d1540f --- /dev/null +++ b/obj/WooCommerce.NET.csproj.nuget.dgspec.json @@ -0,0 +1,73 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj": {} + }, + "projects": { + "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj": { + "version": "0.8.3", + "restore": { + "projectUniqueName": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj", + "projectName": "WooCommerceNET", + "projectPath": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj", + "packagesPath": "C:\\Users\\kamorim\\.nuget\\packages\\", + "outputPath": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + ], + "configFilePaths": [ + "C:\\Users\\kamorim\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "netstandard2.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netstandard2.0": { + "targetAlias": "netstandard2.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netstandard2.0": { + "targetAlias": "netstandard2.0", + "dependencies": { + "NETStandard.Library": { + "suppressParent": "All", + "target": "Package", + "version": "[2.0.3, )", + "autoReferenced": true + }, + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.402\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/obj/WooCommerce.NET.csproj.nuget.g.props b/obj/WooCommerce.NET.csproj.nuget.g.props new file mode 100644 index 0000000..b3e385d --- /dev/null +++ b/obj/WooCommerce.NET.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\kamorim\.nuget\packages\;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\ + PackageReference + 5.11.1 + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/obj/WooCommerce.NET.csproj.nuget.g.targets b/obj/WooCommerce.NET.csproj.nuget.g.targets new file mode 100644 index 0000000..8f2d2d6 --- /dev/null +++ b/obj/WooCommerce.NET.csproj.nuget.g.targets @@ -0,0 +1,9 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + + + + \ No newline at end of file diff --git a/obj/project.assets.json b/obj/project.assets.json new file mode 100644 index 0000000..11dd4b9 --- /dev/null +++ b/obj/project.assets.json @@ -0,0 +1,288 @@ +{ + "version": 3, + "targets": { + ".NETStandard,Version=v2.0": { + "Microsoft.NETCore.Platforms/1.1.0": { + "type": "package", + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + } + }, + "NETStandard.Library/2.0.3": { + "type": "package", + "dependencies": { + "Microsoft.NETCore.Platforms": "1.1.0" + }, + "compile": { + "lib/netstandard1.0/_._": {} + }, + "runtime": { + "lib/netstandard1.0/_._": {} + }, + "build": { + "build/netstandard2.0/NETStandard.Library.targets": {} + } + }, + "Newtonsoft.Json/13.0.1": { + "type": "package", + "compile": { + "lib/netstandard2.0/Newtonsoft.Json.dll": {} + }, + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": {} + } + } + } + }, + "libraries": { + "Microsoft.NETCore.Platforms/1.1.0": { + "sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==", + "type": "package", + "path": "microsoft.netcore.platforms/1.1.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "ThirdPartyNotices.txt", + "dotnet_library_license.txt", + "lib/netstandard1.0/_._", + "microsoft.netcore.platforms.1.1.0.nupkg.sha512", + "microsoft.netcore.platforms.nuspec", + "runtime.json" + ] + }, + "NETStandard.Library/2.0.3": { + "sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==", + "type": "package", + "path": "netstandard.library/2.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "build/netstandard2.0/NETStandard.Library.targets", + "build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll", + "build/netstandard2.0/ref/System.AppContext.dll", + "build/netstandard2.0/ref/System.Collections.Concurrent.dll", + "build/netstandard2.0/ref/System.Collections.NonGeneric.dll", + "build/netstandard2.0/ref/System.Collections.Specialized.dll", + "build/netstandard2.0/ref/System.Collections.dll", + "build/netstandard2.0/ref/System.ComponentModel.Composition.dll", + "build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll", + "build/netstandard2.0/ref/System.ComponentModel.Primitives.dll", + "build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll", + "build/netstandard2.0/ref/System.ComponentModel.dll", + "build/netstandard2.0/ref/System.Console.dll", + "build/netstandard2.0/ref/System.Core.dll", + "build/netstandard2.0/ref/System.Data.Common.dll", + "build/netstandard2.0/ref/System.Data.dll", + "build/netstandard2.0/ref/System.Diagnostics.Contracts.dll", + "build/netstandard2.0/ref/System.Diagnostics.Debug.dll", + "build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll", + "build/netstandard2.0/ref/System.Diagnostics.Process.dll", + "build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll", + "build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll", + "build/netstandard2.0/ref/System.Diagnostics.Tools.dll", + "build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll", + "build/netstandard2.0/ref/System.Diagnostics.Tracing.dll", + "build/netstandard2.0/ref/System.Drawing.Primitives.dll", + "build/netstandard2.0/ref/System.Drawing.dll", + "build/netstandard2.0/ref/System.Dynamic.Runtime.dll", + "build/netstandard2.0/ref/System.Globalization.Calendars.dll", + "build/netstandard2.0/ref/System.Globalization.Extensions.dll", + "build/netstandard2.0/ref/System.Globalization.dll", + "build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll", + "build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll", + "build/netstandard2.0/ref/System.IO.Compression.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll", + "build/netstandard2.0/ref/System.IO.FileSystem.dll", + "build/netstandard2.0/ref/System.IO.IsolatedStorage.dll", + "build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll", + "build/netstandard2.0/ref/System.IO.Pipes.dll", + "build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll", + "build/netstandard2.0/ref/System.IO.dll", + "build/netstandard2.0/ref/System.Linq.Expressions.dll", + "build/netstandard2.0/ref/System.Linq.Parallel.dll", + "build/netstandard2.0/ref/System.Linq.Queryable.dll", + "build/netstandard2.0/ref/System.Linq.dll", + "build/netstandard2.0/ref/System.Net.Http.dll", + "build/netstandard2.0/ref/System.Net.NameResolution.dll", + "build/netstandard2.0/ref/System.Net.NetworkInformation.dll", + "build/netstandard2.0/ref/System.Net.Ping.dll", + "build/netstandard2.0/ref/System.Net.Primitives.dll", + "build/netstandard2.0/ref/System.Net.Requests.dll", + "build/netstandard2.0/ref/System.Net.Security.dll", + "build/netstandard2.0/ref/System.Net.Sockets.dll", + "build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll", + "build/netstandard2.0/ref/System.Net.WebSockets.Client.dll", + "build/netstandard2.0/ref/System.Net.WebSockets.dll", + "build/netstandard2.0/ref/System.Net.dll", + "build/netstandard2.0/ref/System.Numerics.dll", + "build/netstandard2.0/ref/System.ObjectModel.dll", + "build/netstandard2.0/ref/System.Reflection.Extensions.dll", + "build/netstandard2.0/ref/System.Reflection.Primitives.dll", + "build/netstandard2.0/ref/System.Reflection.dll", + "build/netstandard2.0/ref/System.Resources.Reader.dll", + "build/netstandard2.0/ref/System.Resources.ResourceManager.dll", + "build/netstandard2.0/ref/System.Resources.Writer.dll", + "build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll", + "build/netstandard2.0/ref/System.Runtime.Extensions.dll", + "build/netstandard2.0/ref/System.Runtime.Handles.dll", + "build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll", + "build/netstandard2.0/ref/System.Runtime.InteropServices.dll", + "build/netstandard2.0/ref/System.Runtime.Numerics.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll", + "build/netstandard2.0/ref/System.Runtime.Serialization.dll", + "build/netstandard2.0/ref/System.Runtime.dll", + "build/netstandard2.0/ref/System.Security.Claims.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll", + "build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll", + "build/netstandard2.0/ref/System.Security.Principal.dll", + "build/netstandard2.0/ref/System.Security.SecureString.dll", + "build/netstandard2.0/ref/System.ServiceModel.Web.dll", + "build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll", + "build/netstandard2.0/ref/System.Text.Encoding.dll", + "build/netstandard2.0/ref/System.Text.RegularExpressions.dll", + "build/netstandard2.0/ref/System.Threading.Overlapped.dll", + "build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll", + "build/netstandard2.0/ref/System.Threading.Tasks.dll", + "build/netstandard2.0/ref/System.Threading.Thread.dll", + "build/netstandard2.0/ref/System.Threading.ThreadPool.dll", + "build/netstandard2.0/ref/System.Threading.Timer.dll", + "build/netstandard2.0/ref/System.Threading.dll", + "build/netstandard2.0/ref/System.Transactions.dll", + "build/netstandard2.0/ref/System.ValueTuple.dll", + "build/netstandard2.0/ref/System.Web.dll", + "build/netstandard2.0/ref/System.Windows.dll", + "build/netstandard2.0/ref/System.Xml.Linq.dll", + "build/netstandard2.0/ref/System.Xml.ReaderWriter.dll", + "build/netstandard2.0/ref/System.Xml.Serialization.dll", + "build/netstandard2.0/ref/System.Xml.XDocument.dll", + "build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll", + "build/netstandard2.0/ref/System.Xml.XPath.dll", + "build/netstandard2.0/ref/System.Xml.XmlDocument.dll", + "build/netstandard2.0/ref/System.Xml.XmlSerializer.dll", + "build/netstandard2.0/ref/System.Xml.dll", + "build/netstandard2.0/ref/System.dll", + "build/netstandard2.0/ref/mscorlib.dll", + "build/netstandard2.0/ref/netstandard.dll", + "build/netstandard2.0/ref/netstandard.xml", + "lib/netstandard1.0/_._", + "netstandard.library.2.0.3.nupkg.sha512", + "netstandard.library.nuspec" + ] + }, + "Newtonsoft.Json/13.0.1": { + "sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "type": "package", + "path": "newtonsoft.json/13.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.1.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + } + }, + "projectFileDependencyGroups": { + ".NETStandard,Version=v2.0": [ + "NETStandard.Library >= 2.0.3", + "Newtonsoft.Json >= 13.0.1" + ] + }, + "packageFolders": { + "C:\\Users\\kamorim\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {} + }, + "project": { + "version": "0.8.3", + "restore": { + "projectUniqueName": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj", + "projectName": "WooCommerceNET", + "projectPath": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj", + "packagesPath": "C:\\Users\\kamorim\\.nuget\\packages\\", + "outputPath": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\" + ], + "configFilePaths": [ + "C:\\Users\\kamorim\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "netstandard2.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "netstandard2.0": { + "targetAlias": "netstandard2.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netstandard2.0": { + "targetAlias": "netstandard2.0", + "dependencies": { + "NETStandard.Library": { + "suppressParent": "All", + "target": "Package", + "version": "[2.0.3, )", + "autoReferenced": true + }, + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.402\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache new file mode 100644 index 0000000..0516752 --- /dev/null +++ b/obj/project.nuget.cache @@ -0,0 +1,12 @@ +{ + "version": 2, + "dgSpecHash": "JxkWNNbx1cMZQDNvypRujiA1Xh4rZQh2kKXGYbdE1tb9qQWKsHRRXARGF/fVQqoZxK0iWL2EK313lEMb6hTynw==", + "success": true, + "projectFilePath": "C:\\Users\\kamorim\\source\\repos\\L4B\\l4b-shop-api\\WooCommerce.NET\\WooCommerce.NET.csproj", + "expectedPackageFiles": [ + "C:\\Users\\kamorim\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512", + "C:\\Users\\kamorim\\.nuget\\packages\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512", + "C:\\Users\\kamorim\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file