Skip to content

Commit 84ca481

Browse files
committed
Release v1.1.150
1 parent 60bbbdc commit 84ca481

82 files changed

Lines changed: 10381 additions & 2783 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

PassKit.Grpc.DotNet.nuspec

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>PassKit.Grpc.DotNet</id>
55
<title>PassKit gRPC .NET SDK</title>
6-
<version>1.1.144</version>
6+
<version>1.1.150</version>
77
<icon>images/icon.png</icon>
88
<description>
99
.Net SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.
@@ -14,22 +14,22 @@
1414
<language>en</language>
1515
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1616
<authors>PassKit, Inc.</authors>
17-
<copyright>© Copyright PassKit, Inc. 2012-2025</copyright>
17+
<copyright>© Copyright PassKit, Inc. 2012-2026</copyright>
1818
<license type="expression">MIT</license>
1919
<projectUrl>https://passkit.com</projectUrl>
2020
<repository type="git" url="https://github.com/PassKit/passkit-csharp-grpc-dotnet-sdk" />
2121
<tags>PassKit gRPC Apple Wallet Google Pay</tags>
2222
<dependencies>
23-
<group targetFramework=".NETCoreApp6.0">
24-
<dependency id="Google.Protobuf" version="3.31.1" />
23+
<group targetFramework=".NETCoreApp8.0">
24+
<dependency id="Google.Protobuf" version="3.35.0" />
2525
<dependency id="Google.Api.CommonProtos" version="2.17.0" />
26-
<dependency id="Grpc.Net.Client" Version="2.71.0" />
27-
<dependency id="Grpc.Tools" version="2.72.0" />
26+
<dependency id="Grpc.Net.Client" Version="2.80.0" />
27+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
2828
</group>
2929
</dependencies>
3030
</metadata>
3131
<files>
32-
<file src="bin/Release/net6.0/*" target="lib/net6.0" />
32+
<file src="bin/Release/net8.0/*" target="lib/net8.0" />
3333
<file src="src/**" target="src" />
3434
<file src="README.md" target="README.md" />
3535
<file src="images/icon.png" target="icon.png" />

src/csharp-net/PassKit.Grpc/ct/scheduler/Scheduler.cs

Lines changed: 64 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Generated by the protocol buffer compiler. DO NOT EDIT!
33
// source: ct/scheduler/scheduler.proto
44
// </auto-generated>
5-
#pragma warning disable 1591, 0612, 3021
5+
#pragma warning disable 1591, 0612, 3021, 8981
66
#region Designer generated code
77

88
using pb = global::Google.Protobuf;
@@ -116,6 +116,7 @@ public enum JobStatus {
116116
#endregion
117117

118118
#region Messages
119+
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
119120
public sealed partial class SchedulingJob : pb::IMessage<SchedulingJob>
120121
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
121122
, pb::IBufferMessage
@@ -668,7 +669,11 @@ public void MergeFrom(pb::CodedInputStream input) {
668669
#else
669670
uint tag;
670671
while ((tag = input.ReadTag()) != 0) {
671-
switch(tag) {
672+
if ((tag & 7) == 4) {
673+
// Abort on any end group tag.
674+
return;
675+
}
676+
switch(tag) {
672677
default:
673678
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
674679
break;
@@ -753,7 +758,11 @@ public void MergeFrom(pb::CodedInputStream input) {
753758
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
754759
uint tag;
755760
while ((tag = input.ReadTag()) != 0) {
756-
switch(tag) {
761+
if ((tag & 7) == 4) {
762+
// Abort on any end group tag.
763+
return;
764+
}
765+
switch(tag) {
757766
default:
758767
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
759768
break;
@@ -834,6 +843,7 @@ public void MergeFrom(pb::CodedInputStream input) {
834843

835844
}
836845

846+
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
837847
public sealed partial class Schedule : pb::IMessage<Schedule>
838848
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
839849
, pb::IBufferMessage
@@ -947,12 +957,26 @@ public string Timezone {
947957
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
948958
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
949959
public int RepeatCount {
950-
get { return expiryCase_ == ExpiryOneofCase.RepeatCount ? (int) expiry_ : 0; }
960+
get { return HasRepeatCount ? (int) expiry_ : 0; }
951961
set {
952962
expiry_ = value;
953963
expiryCase_ = ExpiryOneofCase.RepeatCount;
954964
}
955965
}
966+
/// <summary>Gets whether the "repeatCount" field is set</summary>
967+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
968+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
969+
public bool HasRepeatCount {
970+
get { return expiryCase_ == ExpiryOneofCase.RepeatCount; }
971+
}
972+
/// <summary> Clears the value of the oneof if it's currently set to "repeatCount" </summary>
973+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
974+
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
975+
public void ClearRepeatCount() {
976+
if (HasRepeatCount) {
977+
ClearExpiry();
978+
}
979+
}
956980

957981
/// <summary>Field number for the "expiryDate" field.</summary>
958982
public const int ExpiryDateFieldNumber = 16;
@@ -1021,7 +1045,7 @@ public override int GetHashCode() {
10211045
if (Schedule_.Length != 0) hash ^= Schedule_.GetHashCode();
10221046
if (Timezone.Length != 0) hash ^= Timezone.GetHashCode();
10231047
if (startsAt_ != null) hash ^= StartsAt.GetHashCode();
1024-
if (expiryCase_ == ExpiryOneofCase.RepeatCount) hash ^= RepeatCount.GetHashCode();
1048+
if (HasRepeatCount) hash ^= RepeatCount.GetHashCode();
10251049
if (expiryCase_ == ExpiryOneofCase.ExpiryDate) hash ^= ExpiryDate.GetHashCode();
10261050
hash ^= (int) expiryCase_;
10271051
if (_unknownFields != null) {
@@ -1054,7 +1078,7 @@ public void WriteTo(pb::CodedOutputStream output) {
10541078
output.WriteRawTag(26);
10551079
output.WriteMessage(StartsAt);
10561080
}
1057-
if (expiryCase_ == ExpiryOneofCase.RepeatCount) {
1081+
if (HasRepeatCount) {
10581082
output.WriteRawTag(120);
10591083
output.WriteSInt32(RepeatCount);
10601084
}
@@ -1084,7 +1108,7 @@ public void WriteTo(pb::CodedOutputStream output) {
10841108
output.WriteRawTag(26);
10851109
output.WriteMessage(StartsAt);
10861110
}
1087-
if (expiryCase_ == ExpiryOneofCase.RepeatCount) {
1111+
if (HasRepeatCount) {
10881112
output.WriteRawTag(120);
10891113
output.WriteSInt32(RepeatCount);
10901114
}
@@ -1111,7 +1135,7 @@ public int CalculateSize() {
11111135
if (startsAt_ != null) {
11121136
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StartsAt);
11131137
}
1114-
if (expiryCase_ == ExpiryOneofCase.RepeatCount) {
1138+
if (HasRepeatCount) {
11151139
size += 1 + pb::CodedOutputStream.ComputeSInt32Size(RepeatCount);
11161140
}
11171141
if (expiryCase_ == ExpiryOneofCase.ExpiryDate) {
@@ -1164,7 +1188,11 @@ public void MergeFrom(pb::CodedInputStream input) {
11641188
#else
11651189
uint tag;
11661190
while ((tag = input.ReadTag()) != 0) {
1167-
switch(tag) {
1191+
if ((tag & 7) == 4) {
1192+
// Abort on any end group tag.
1193+
return;
1194+
}
1195+
switch(tag) {
11681196
default:
11691197
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
11701198
break;
@@ -1207,7 +1235,11 @@ public void MergeFrom(pb::CodedInputStream input) {
12071235
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
12081236
uint tag;
12091237
while ((tag = input.ReadTag()) != 0) {
1210-
switch(tag) {
1238+
if ((tag & 7) == 4) {
1239+
// Abort on any end group tag.
1240+
return;
1241+
}
1242+
switch(tag) {
12111243
default:
12121244
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
12131245
break;
@@ -1246,6 +1278,7 @@ public void MergeFrom(pb::CodedInputStream input) {
12461278

12471279
}
12481280

1281+
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
12491282
public sealed partial class SchedulingJobResponse : pb::IMessage<SchedulingJobResponse>
12501283
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
12511284
, pb::IBufferMessage
@@ -1506,7 +1539,11 @@ public void MergeFrom(pb::CodedInputStream input) {
15061539
#else
15071540
uint tag;
15081541
while ((tag = input.ReadTag()) != 0) {
1509-
switch(tag) {
1542+
if ((tag & 7) == 4) {
1543+
// Abort on any end group tag.
1544+
return;
1545+
}
1546+
switch(tag) {
15101547
default:
15111548
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
15121549
break;
@@ -1543,7 +1580,11 @@ public void MergeFrom(pb::CodedInputStream input) {
15431580
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
15441581
uint tag;
15451582
while ((tag = input.ReadTag()) != 0) {
1546-
switch(tag) {
1583+
if ((tag & 7) == 4) {
1584+
// Abort on any end group tag.
1585+
return;
1586+
}
1587+
switch(tag) {
15471588
default:
15481589
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
15491590
break;
@@ -1576,6 +1617,7 @@ public void MergeFrom(pb::CodedInputStream input) {
15761617

15771618
}
15781619

1620+
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
15791621
public sealed partial class JobHistory : pb::IMessage<JobHistory>
15801622
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
15811623
, pb::IBufferMessage
@@ -1932,7 +1974,11 @@ public void MergeFrom(pb::CodedInputStream input) {
19321974
#else
19331975
uint tag;
19341976
while ((tag = input.ReadTag()) != 0) {
1935-
switch(tag) {
1977+
if ((tag & 7) == 4) {
1978+
// Abort on any end group tag.
1979+
return;
1980+
}
1981+
switch(tag) {
19361982
default:
19371983
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
19381984
break;
@@ -1981,7 +2027,11 @@ public void MergeFrom(pb::CodedInputStream input) {
19812027
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
19822028
uint tag;
19832029
while ((tag = input.ReadTag()) != 0) {
1984-
switch(tag) {
2030+
if ((tag & 7) == 4) {
2031+
// Abort on any end group tag.
2032+
return;
2033+
}
2034+
switch(tag) {
19852035
default:
19862036
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
19872037
break;

src/csharp-net/PassKit.Grpc/io/analytics/ARpc.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Generated by the protocol buffer compiler. DO NOT EDIT!
33
// source: io/analytics/a_rpc.proto
44
// </auto-generated>
5-
#pragma warning disable 1591, 0612, 3021
5+
#pragma warning disable 1591, 0612, 3021, 8981
66
#region Designer generated code
77

88
using pb = global::Google.Protobuf;
@@ -28,11 +28,11 @@ static ARpcReflection() {
2828
"L2FwaS9hbm5vdGF0aW9ucy5wcm90bxoucHJvdG9jLWdlbi1vcGVuYXBpdjIv",
2929
"b3B0aW9ucy9hbm5vdGF0aW9ucy5wcm90bxoZaW8vY29tbW9uL3JlcG9ydGlu",
3030
"Zy5wcm90bzLmAQoJQW5hbHl0aWNzEtgBCgxnZXRBbmFseXRpY3MSFC5pby5B",
31-
"bmFseXRpY3NSZXF1ZXN0GhUuaW8uQW5hbHl0aWNzUmVzcG9uc2UimgGC0+ST",
32-
"AhYSFC9hbmFseXRpY3Mve2NsYXNzSWR9kkF7CglBbmFseXRpY3MSDUdldCBB",
33-
"bmFseXRpY3MaG1JldHJpZXZlcyBhbiBhbmFseXRpY3MgZGF0YUoiCgM0MDMS",
34-
"GwoZVXNlciBsYWNrcyBhdXRob3JpemF0aW9uLkoeCgM0MDQSFwoVUmVjb3Jk",
35-
"IHdhcyBub3QgZm91bmQuQqgHChpjb20ucGFzc2tpdC5ncnBjLkFuYWx5dGlj",
31+
"bmFseXRpY3NSZXF1ZXN0GhUuaW8uQW5hbHl0aWNzUmVzcG9uc2UimgGSQXsK",
32+
"CUFuYWx5dGljcxINR2V0IEFuYWx5dGljcxobUmV0cmlldmVzIGFuIGFuYWx5",
33+
"dGljcyBkYXRhSiIKAzQwMxIbChlVc2VyIGxhY2tzIGF1dGhvcml6YXRpb24u",
34+
"Sh4KAzQwNBIXChVSZWNvcmQgd2FzIG5vdCBmb3VuZC6C0+STAhYSFC9hbmFs",
35+
"eXRpY3Mve2NsYXNzSWR9QqgHChpjb20ucGFzc2tpdC5ncnBjLkFuYWx5dGlj",
3636
"c1ouc3Rhc2gucGFzc2tpdC5jb20vaW8vbW9kZWwvc2RrL2dvL2lvL2FuYWx5",
3737
"dGljc6oCHVBhc3NLaXQuR3JwYy5Eb3ROZXQuQW5hbHl0aWNzkkG4BhLzAQoV",
3838
"UGFzc0tpdCBBbmFseXRpY3MgQVBJEl9UaGUgUGFzc0tpdCBBbmFseXRpY3Mg",

src/csharp-net/PassKit.Grpc/io/analytics/ARpcGrpc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Analytics RPC
88
//
99
// The PassKit Analytics API lets you track the performance of Apple Wallet and Google Pay passes.
10-
#pragma warning disable 0414, 1591
10+
#pragma warning disable 0414, 1591, 8981, 0612
1111
#region Designer generated code
1212

1313
using grpc = global::Grpc.Core;

0 commit comments

Comments
 (0)