@cratis/chronicle.contracts 19.163.0 → 19.164.0
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/dist/cjs/generated/descriptorSet.js +1 -1
- package/dist/cjs/generated/descriptorSet.js.map +1 -1
- package/dist/cjs/generated/federation.d.ts +38 -0
- package/dist/cjs/generated/federation.d.ts.map +1 -1
- package/dist/cjs/generated/federation.js +510 -0
- package/dist/cjs/generated/federation.js.map +1 -1
- package/dist/cjs/generated/index.d.ts +1 -1
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/generated/descriptorSet.js +1 -1
- package/dist/esm/generated/descriptorSet.js.map +1 -1
- package/dist/esm/generated/federation.d.ts +38 -0
- package/dist/esm/generated/federation.d.ts.map +1 -1
- package/dist/esm/generated/federation.js +509 -1
- package/dist/esm/generated/federation.js.map +1 -1
- package/dist/esm/generated/index.d.ts +1 -1
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/generated/descriptorSet.js +1 -1
- package/dist/generated/descriptorSet.js.map +1 -1
- package/dist/generated/federation.d.ts +38 -0
- package/dist/generated/federation.d.ts.map +1 -1
- package/dist/generated/federation.js +508 -0
- package/dist/generated/federation.js.map +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/descriptorSet.ts +1 -1
- package/generated/federation.ts +587 -0
- package/generated/index.ts +1 -1
- package/package.json +1 -1
|
@@ -1844,6 +1844,9 @@ function createBaseFederationEnrollmentStatusResponse() {
|
|
|
1844
1844
|
Endpoint: "",
|
|
1845
1845
|
AuthorityFingerprint: "",
|
|
1846
1846
|
Expired: false,
|
|
1847
|
+
Connected: false,
|
|
1848
|
+
LastExchange: undefined,
|
|
1849
|
+
LastError: "",
|
|
1847
1850
|
};
|
|
1848
1851
|
}
|
|
1849
1852
|
const FederationEnrollmentStatusResponse = {
|
|
@@ -1872,6 +1875,15 @@ const FederationEnrollmentStatusResponse = {
|
|
|
1872
1875
|
if (message.Expired !== false) {
|
|
1873
1876
|
writer.uint32(64).bool(message.Expired);
|
|
1874
1877
|
}
|
|
1878
|
+
if (message.Connected !== false) {
|
|
1879
|
+
writer.uint32(72).bool(message.Connected);
|
|
1880
|
+
}
|
|
1881
|
+
if (message.LastExchange !== undefined) {
|
|
1882
|
+
SerializableDateTimeOffset.encode(message.LastExchange, writer.uint32(82).fork()).join();
|
|
1883
|
+
}
|
|
1884
|
+
if (message.LastError !== "") {
|
|
1885
|
+
writer.uint32(90).string(message.LastError);
|
|
1886
|
+
}
|
|
1875
1887
|
return writer;
|
|
1876
1888
|
},
|
|
1877
1889
|
decode(input, length) {
|
|
@@ -1943,6 +1955,27 @@ const FederationEnrollmentStatusResponse = {
|
|
|
1943
1955
|
message.Expired = reader.bool();
|
|
1944
1956
|
continue;
|
|
1945
1957
|
}
|
|
1958
|
+
case 9: {
|
|
1959
|
+
if (tag !== 72) {
|
|
1960
|
+
break;
|
|
1961
|
+
}
|
|
1962
|
+
message.Connected = reader.bool();
|
|
1963
|
+
continue;
|
|
1964
|
+
}
|
|
1965
|
+
case 10: {
|
|
1966
|
+
if (tag !== 82) {
|
|
1967
|
+
break;
|
|
1968
|
+
}
|
|
1969
|
+
message.LastExchange = SerializableDateTimeOffset.decode(reader, reader.uint32());
|
|
1970
|
+
continue;
|
|
1971
|
+
}
|
|
1972
|
+
case 11: {
|
|
1973
|
+
if (tag !== 90) {
|
|
1974
|
+
break;
|
|
1975
|
+
}
|
|
1976
|
+
message.LastError = reader.string();
|
|
1977
|
+
continue;
|
|
1978
|
+
}
|
|
1946
1979
|
}
|
|
1947
1980
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1948
1981
|
break;
|
|
@@ -1965,6 +1998,9 @@ const FederationEnrollmentStatusResponse = {
|
|
|
1965
1998
|
Endpoint: isSet(object.Endpoint) ? globalThis.String(object.Endpoint) : "",
|
|
1966
1999
|
AuthorityFingerprint: isSet(object.AuthorityFingerprint) ? globalThis.String(object.AuthorityFingerprint) : "",
|
|
1967
2000
|
Expired: isSet(object.Expired) ? globalThis.Boolean(object.Expired) : false,
|
|
2001
|
+
Connected: isSet(object.Connected) ? globalThis.Boolean(object.Connected) : false,
|
|
2002
|
+
LastExchange: isSet(object.LastExchange) ? SerializableDateTimeOffset.fromJSON(object.LastExchange) : undefined,
|
|
2003
|
+
LastError: isSet(object.LastError) ? globalThis.String(object.LastError) : "",
|
|
1968
2004
|
};
|
|
1969
2005
|
},
|
|
1970
2006
|
toJSON(message) {
|
|
@@ -1993,6 +2029,15 @@ const FederationEnrollmentStatusResponse = {
|
|
|
1993
2029
|
if (message.Expired !== false) {
|
|
1994
2030
|
obj.Expired = message.Expired;
|
|
1995
2031
|
}
|
|
2032
|
+
if (message.Connected !== false) {
|
|
2033
|
+
obj.Connected = message.Connected;
|
|
2034
|
+
}
|
|
2035
|
+
if (message.LastExchange !== undefined) {
|
|
2036
|
+
obj.LastExchange = SerializableDateTimeOffset.toJSON(message.LastExchange);
|
|
2037
|
+
}
|
|
2038
|
+
if (message.LastError !== "") {
|
|
2039
|
+
obj.LastError = message.LastError;
|
|
2040
|
+
}
|
|
1996
2041
|
return obj;
|
|
1997
2042
|
},
|
|
1998
2043
|
create(base) {
|
|
@@ -2012,6 +2057,11 @@ const FederationEnrollmentStatusResponse = {
|
|
|
2012
2057
|
message.Endpoint = object.Endpoint ?? "";
|
|
2013
2058
|
message.AuthorityFingerprint = object.AuthorityFingerprint ?? "";
|
|
2014
2059
|
message.Expired = object.Expired ?? false;
|
|
2060
|
+
message.Connected = object.Connected ?? false;
|
|
2061
|
+
message.LastExchange = (object.LastExchange !== undefined && object.LastExchange !== null)
|
|
2062
|
+
? SerializableDateTimeOffset.fromPartial(object.LastExchange)
|
|
2063
|
+
: undefined;
|
|
2064
|
+
message.LastError = object.LastError ?? "";
|
|
2015
2065
|
return message;
|
|
2016
2066
|
},
|
|
2017
2067
|
};
|
|
@@ -2707,6 +2757,303 @@ const FederationPolicyResponse = {
|
|
|
2707
2757
|
return message;
|
|
2708
2758
|
},
|
|
2709
2759
|
};
|
|
2760
|
+
function createBaseFederationSubjectLinkResponse() {
|
|
2761
|
+
return {
|
|
2762
|
+
Subject: "",
|
|
2763
|
+
Connected: false,
|
|
2764
|
+
LastActivity: undefined,
|
|
2765
|
+
OutboundLastPull: undefined,
|
|
2766
|
+
OutboundEvents: 0n,
|
|
2767
|
+
OutboundBytes: 0n,
|
|
2768
|
+
OutboundThrottled: 0n,
|
|
2769
|
+
InboundState: "",
|
|
2770
|
+
InboundLastReceived: undefined,
|
|
2771
|
+
InboundEvents: 0n,
|
|
2772
|
+
InboundBytes: 0n,
|
|
2773
|
+
InboundLag: 0n,
|
|
2774
|
+
LastError: "",
|
|
2775
|
+
};
|
|
2776
|
+
}
|
|
2777
|
+
const FederationSubjectLinkResponse = {
|
|
2778
|
+
encode(message, writer = new BinaryWriter()) {
|
|
2779
|
+
if (message.Subject !== "") {
|
|
2780
|
+
writer.uint32(10).string(message.Subject);
|
|
2781
|
+
}
|
|
2782
|
+
if (message.Connected !== false) {
|
|
2783
|
+
writer.uint32(16).bool(message.Connected);
|
|
2784
|
+
}
|
|
2785
|
+
if (message.LastActivity !== undefined) {
|
|
2786
|
+
SerializableDateTimeOffset.encode(message.LastActivity, writer.uint32(26).fork()).join();
|
|
2787
|
+
}
|
|
2788
|
+
if (message.OutboundLastPull !== undefined) {
|
|
2789
|
+
SerializableDateTimeOffset.encode(message.OutboundLastPull, writer.uint32(34).fork()).join();
|
|
2790
|
+
}
|
|
2791
|
+
if (message.OutboundEvents !== 0n) {
|
|
2792
|
+
if (BigInt.asUintN(64, message.OutboundEvents) !== message.OutboundEvents) {
|
|
2793
|
+
throw new globalThis.Error("value provided for field message.OutboundEvents of type uint64 too large");
|
|
2794
|
+
}
|
|
2795
|
+
writer.uint32(40).uint64(message.OutboundEvents);
|
|
2796
|
+
}
|
|
2797
|
+
if (message.OutboundBytes !== 0n) {
|
|
2798
|
+
if (BigInt.asUintN(64, message.OutboundBytes) !== message.OutboundBytes) {
|
|
2799
|
+
throw new globalThis.Error("value provided for field message.OutboundBytes of type uint64 too large");
|
|
2800
|
+
}
|
|
2801
|
+
writer.uint32(48).uint64(message.OutboundBytes);
|
|
2802
|
+
}
|
|
2803
|
+
if (message.OutboundThrottled !== 0n) {
|
|
2804
|
+
if (BigInt.asUintN(64, message.OutboundThrottled) !== message.OutboundThrottled) {
|
|
2805
|
+
throw new globalThis.Error("value provided for field message.OutboundThrottled of type uint64 too large");
|
|
2806
|
+
}
|
|
2807
|
+
writer.uint32(56).uint64(message.OutboundThrottled);
|
|
2808
|
+
}
|
|
2809
|
+
if (message.InboundState !== "") {
|
|
2810
|
+
writer.uint32(66).string(message.InboundState);
|
|
2811
|
+
}
|
|
2812
|
+
if (message.InboundLastReceived !== undefined) {
|
|
2813
|
+
SerializableDateTimeOffset.encode(message.InboundLastReceived, writer.uint32(74).fork()).join();
|
|
2814
|
+
}
|
|
2815
|
+
if (message.InboundEvents !== 0n) {
|
|
2816
|
+
if (BigInt.asUintN(64, message.InboundEvents) !== message.InboundEvents) {
|
|
2817
|
+
throw new globalThis.Error("value provided for field message.InboundEvents of type uint64 too large");
|
|
2818
|
+
}
|
|
2819
|
+
writer.uint32(80).uint64(message.InboundEvents);
|
|
2820
|
+
}
|
|
2821
|
+
if (message.InboundBytes !== 0n) {
|
|
2822
|
+
if (BigInt.asUintN(64, message.InboundBytes) !== message.InboundBytes) {
|
|
2823
|
+
throw new globalThis.Error("value provided for field message.InboundBytes of type uint64 too large");
|
|
2824
|
+
}
|
|
2825
|
+
writer.uint32(88).uint64(message.InboundBytes);
|
|
2826
|
+
}
|
|
2827
|
+
if (message.InboundLag !== 0n) {
|
|
2828
|
+
if (BigInt.asUintN(64, message.InboundLag) !== message.InboundLag) {
|
|
2829
|
+
throw new globalThis.Error("value provided for field message.InboundLag of type uint64 too large");
|
|
2830
|
+
}
|
|
2831
|
+
writer.uint32(96).uint64(message.InboundLag);
|
|
2832
|
+
}
|
|
2833
|
+
if (message.LastError !== "") {
|
|
2834
|
+
writer.uint32(106).string(message.LastError);
|
|
2835
|
+
}
|
|
2836
|
+
return writer;
|
|
2837
|
+
},
|
|
2838
|
+
decode(input, length) {
|
|
2839
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2840
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2841
|
+
if (previousRecursionDepth >= 100) {
|
|
2842
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2843
|
+
}
|
|
2844
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2845
|
+
try {
|
|
2846
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2847
|
+
const message = createBaseFederationSubjectLinkResponse();
|
|
2848
|
+
while (reader.pos < end) {
|
|
2849
|
+
const tag = reader.uint32();
|
|
2850
|
+
switch (tag >>> 3) {
|
|
2851
|
+
case 1: {
|
|
2852
|
+
if (tag !== 10) {
|
|
2853
|
+
break;
|
|
2854
|
+
}
|
|
2855
|
+
message.Subject = reader.string();
|
|
2856
|
+
continue;
|
|
2857
|
+
}
|
|
2858
|
+
case 2: {
|
|
2859
|
+
if (tag !== 16) {
|
|
2860
|
+
break;
|
|
2861
|
+
}
|
|
2862
|
+
message.Connected = reader.bool();
|
|
2863
|
+
continue;
|
|
2864
|
+
}
|
|
2865
|
+
case 3: {
|
|
2866
|
+
if (tag !== 26) {
|
|
2867
|
+
break;
|
|
2868
|
+
}
|
|
2869
|
+
message.LastActivity = SerializableDateTimeOffset.decode(reader, reader.uint32());
|
|
2870
|
+
continue;
|
|
2871
|
+
}
|
|
2872
|
+
case 4: {
|
|
2873
|
+
if (tag !== 34) {
|
|
2874
|
+
break;
|
|
2875
|
+
}
|
|
2876
|
+
message.OutboundLastPull = SerializableDateTimeOffset.decode(reader, reader.uint32());
|
|
2877
|
+
continue;
|
|
2878
|
+
}
|
|
2879
|
+
case 5: {
|
|
2880
|
+
if (tag !== 40) {
|
|
2881
|
+
break;
|
|
2882
|
+
}
|
|
2883
|
+
message.OutboundEvents = reader.uint64();
|
|
2884
|
+
continue;
|
|
2885
|
+
}
|
|
2886
|
+
case 6: {
|
|
2887
|
+
if (tag !== 48) {
|
|
2888
|
+
break;
|
|
2889
|
+
}
|
|
2890
|
+
message.OutboundBytes = reader.uint64();
|
|
2891
|
+
continue;
|
|
2892
|
+
}
|
|
2893
|
+
case 7: {
|
|
2894
|
+
if (tag !== 56) {
|
|
2895
|
+
break;
|
|
2896
|
+
}
|
|
2897
|
+
message.OutboundThrottled = reader.uint64();
|
|
2898
|
+
continue;
|
|
2899
|
+
}
|
|
2900
|
+
case 8: {
|
|
2901
|
+
if (tag !== 66) {
|
|
2902
|
+
break;
|
|
2903
|
+
}
|
|
2904
|
+
message.InboundState = reader.string();
|
|
2905
|
+
continue;
|
|
2906
|
+
}
|
|
2907
|
+
case 9: {
|
|
2908
|
+
if (tag !== 74) {
|
|
2909
|
+
break;
|
|
2910
|
+
}
|
|
2911
|
+
message.InboundLastReceived = SerializableDateTimeOffset.decode(reader, reader.uint32());
|
|
2912
|
+
continue;
|
|
2913
|
+
}
|
|
2914
|
+
case 10: {
|
|
2915
|
+
if (tag !== 80) {
|
|
2916
|
+
break;
|
|
2917
|
+
}
|
|
2918
|
+
message.InboundEvents = reader.uint64();
|
|
2919
|
+
continue;
|
|
2920
|
+
}
|
|
2921
|
+
case 11: {
|
|
2922
|
+
if (tag !== 88) {
|
|
2923
|
+
break;
|
|
2924
|
+
}
|
|
2925
|
+
message.InboundBytes = reader.uint64();
|
|
2926
|
+
continue;
|
|
2927
|
+
}
|
|
2928
|
+
case 12: {
|
|
2929
|
+
if (tag !== 96) {
|
|
2930
|
+
break;
|
|
2931
|
+
}
|
|
2932
|
+
message.InboundLag = reader.uint64();
|
|
2933
|
+
continue;
|
|
2934
|
+
}
|
|
2935
|
+
case 13: {
|
|
2936
|
+
if (tag !== 106) {
|
|
2937
|
+
break;
|
|
2938
|
+
}
|
|
2939
|
+
message.LastError = reader.string();
|
|
2940
|
+
continue;
|
|
2941
|
+
}
|
|
2942
|
+
}
|
|
2943
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2944
|
+
break;
|
|
2945
|
+
}
|
|
2946
|
+
reader.skip(tag & 7);
|
|
2947
|
+
}
|
|
2948
|
+
return message;
|
|
2949
|
+
}
|
|
2950
|
+
finally {
|
|
2951
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
fromJSON(object) {
|
|
2955
|
+
return {
|
|
2956
|
+
Subject: isSet(object.Subject) ? globalThis.String(object.Subject) : "",
|
|
2957
|
+
Connected: isSet(object.Connected) ? globalThis.Boolean(object.Connected) : false,
|
|
2958
|
+
LastActivity: isSet(object.LastActivity) ? SerializableDateTimeOffset.fromJSON(object.LastActivity) : undefined,
|
|
2959
|
+
OutboundLastPull: isSet(object.OutboundLastPull)
|
|
2960
|
+
? SerializableDateTimeOffset.fromJSON(object.OutboundLastPull)
|
|
2961
|
+
: undefined,
|
|
2962
|
+
OutboundEvents: isSet(object.OutboundEvents) ? BigInt(object.OutboundEvents) : 0n,
|
|
2963
|
+
OutboundBytes: isSet(object.OutboundBytes) ? BigInt(object.OutboundBytes) : 0n,
|
|
2964
|
+
OutboundThrottled: isSet(object.OutboundThrottled) ? BigInt(object.OutboundThrottled) : 0n,
|
|
2965
|
+
InboundState: isSet(object.InboundState) ? globalThis.String(object.InboundState) : "",
|
|
2966
|
+
InboundLastReceived: isSet(object.InboundLastReceived)
|
|
2967
|
+
? SerializableDateTimeOffset.fromJSON(object.InboundLastReceived)
|
|
2968
|
+
: undefined,
|
|
2969
|
+
InboundEvents: isSet(object.InboundEvents) ? BigInt(object.InboundEvents) : 0n,
|
|
2970
|
+
InboundBytes: isSet(object.InboundBytes) ? BigInt(object.InboundBytes) : 0n,
|
|
2971
|
+
InboundLag: isSet(object.InboundLag) ? BigInt(object.InboundLag) : 0n,
|
|
2972
|
+
LastError: isSet(object.LastError) ? globalThis.String(object.LastError) : "",
|
|
2973
|
+
};
|
|
2974
|
+
},
|
|
2975
|
+
toJSON(message) {
|
|
2976
|
+
const obj = {};
|
|
2977
|
+
if (message.Subject !== "") {
|
|
2978
|
+
obj.Subject = message.Subject;
|
|
2979
|
+
}
|
|
2980
|
+
if (message.Connected !== false) {
|
|
2981
|
+
obj.Connected = message.Connected;
|
|
2982
|
+
}
|
|
2983
|
+
if (message.LastActivity !== undefined) {
|
|
2984
|
+
obj.LastActivity = SerializableDateTimeOffset.toJSON(message.LastActivity);
|
|
2985
|
+
}
|
|
2986
|
+
if (message.OutboundLastPull !== undefined) {
|
|
2987
|
+
obj.OutboundLastPull = SerializableDateTimeOffset.toJSON(message.OutboundLastPull);
|
|
2988
|
+
}
|
|
2989
|
+
if (message.OutboundEvents !== 0n) {
|
|
2990
|
+
obj.OutboundEvents = message.OutboundEvents.toString();
|
|
2991
|
+
}
|
|
2992
|
+
if (message.OutboundBytes !== 0n) {
|
|
2993
|
+
obj.OutboundBytes = message.OutboundBytes.toString();
|
|
2994
|
+
}
|
|
2995
|
+
if (message.OutboundThrottled !== 0n) {
|
|
2996
|
+
obj.OutboundThrottled = message.OutboundThrottled.toString();
|
|
2997
|
+
}
|
|
2998
|
+
if (message.InboundState !== "") {
|
|
2999
|
+
obj.InboundState = message.InboundState;
|
|
3000
|
+
}
|
|
3001
|
+
if (message.InboundLastReceived !== undefined) {
|
|
3002
|
+
obj.InboundLastReceived = SerializableDateTimeOffset.toJSON(message.InboundLastReceived);
|
|
3003
|
+
}
|
|
3004
|
+
if (message.InboundEvents !== 0n) {
|
|
3005
|
+
obj.InboundEvents = message.InboundEvents.toString();
|
|
3006
|
+
}
|
|
3007
|
+
if (message.InboundBytes !== 0n) {
|
|
3008
|
+
obj.InboundBytes = message.InboundBytes.toString();
|
|
3009
|
+
}
|
|
3010
|
+
if (message.InboundLag !== 0n) {
|
|
3011
|
+
obj.InboundLag = message.InboundLag.toString();
|
|
3012
|
+
}
|
|
3013
|
+
if (message.LastError !== "") {
|
|
3014
|
+
obj.LastError = message.LastError;
|
|
3015
|
+
}
|
|
3016
|
+
return obj;
|
|
3017
|
+
},
|
|
3018
|
+
create(base) {
|
|
3019
|
+
return FederationSubjectLinkResponse.fromPartial(base ?? {});
|
|
3020
|
+
},
|
|
3021
|
+
fromPartial(object) {
|
|
3022
|
+
const message = createBaseFederationSubjectLinkResponse();
|
|
3023
|
+
message.Subject = object.Subject ?? "";
|
|
3024
|
+
message.Connected = object.Connected ?? false;
|
|
3025
|
+
message.LastActivity = (object.LastActivity !== undefined && object.LastActivity !== null)
|
|
3026
|
+
? SerializableDateTimeOffset.fromPartial(object.LastActivity)
|
|
3027
|
+
: undefined;
|
|
3028
|
+
message.OutboundLastPull = (object.OutboundLastPull !== undefined && object.OutboundLastPull !== null)
|
|
3029
|
+
? SerializableDateTimeOffset.fromPartial(object.OutboundLastPull)
|
|
3030
|
+
: undefined;
|
|
3031
|
+
message.OutboundEvents = (object.OutboundEvents !== undefined && object.OutboundEvents !== null)
|
|
3032
|
+
? BigInt(object.OutboundEvents)
|
|
3033
|
+
: 0n;
|
|
3034
|
+
message.OutboundBytes = (object.OutboundBytes !== undefined && object.OutboundBytes !== null)
|
|
3035
|
+
? BigInt(object.OutboundBytes)
|
|
3036
|
+
: 0n;
|
|
3037
|
+
message.OutboundThrottled = (object.OutboundThrottled !== undefined && object.OutboundThrottled !== null)
|
|
3038
|
+
? BigInt(object.OutboundThrottled)
|
|
3039
|
+
: 0n;
|
|
3040
|
+
message.InboundState = object.InboundState ?? "";
|
|
3041
|
+
message.InboundLastReceived = (object.InboundLastReceived !== undefined && object.InboundLastReceived !== null)
|
|
3042
|
+
? SerializableDateTimeOffset.fromPartial(object.InboundLastReceived)
|
|
3043
|
+
: undefined;
|
|
3044
|
+
message.InboundEvents = (object.InboundEvents !== undefined && object.InboundEvents !== null)
|
|
3045
|
+
? BigInt(object.InboundEvents)
|
|
3046
|
+
: 0n;
|
|
3047
|
+
message.InboundBytes = (object.InboundBytes !== undefined && object.InboundBytes !== null)
|
|
3048
|
+
? BigInt(object.InboundBytes)
|
|
3049
|
+
: 0n;
|
|
3050
|
+
message.InboundLag = (object.InboundLag !== undefined && object.InboundLag !== null)
|
|
3051
|
+
? BigInt(object.InboundLag)
|
|
3052
|
+
: 0n;
|
|
3053
|
+
message.LastError = object.LastError ?? "";
|
|
3054
|
+
return message;
|
|
3055
|
+
},
|
|
3056
|
+
};
|
|
2710
3057
|
function createBasePullRequest() {
|
|
2711
3058
|
return { EventStore: "", Namespace: "", FromSequenceNumber: 0n, Limit: 0, EventTypes: [] };
|
|
2712
3059
|
}
|
|
@@ -3908,6 +4255,159 @@ const QueryResultIEnumerableFederationPolicyResponse = {
|
|
|
3908
4255
|
return message;
|
|
3909
4256
|
},
|
|
3910
4257
|
};
|
|
4258
|
+
function createBaseQueryResultIEnumerableFederationSubjectLinkResponse() {
|
|
4259
|
+
return {
|
|
4260
|
+
CorrelationId: undefined,
|
|
4261
|
+
IsAuthorized: false,
|
|
4262
|
+
ValidationResults: [],
|
|
4263
|
+
ExceptionMessages: [],
|
|
4264
|
+
ExceptionStackTrace: "",
|
|
4265
|
+
Data: [],
|
|
4266
|
+
};
|
|
4267
|
+
}
|
|
4268
|
+
const QueryResultIEnumerableFederationSubjectLinkResponse = {
|
|
4269
|
+
encode(message, writer = new BinaryWriter()) {
|
|
4270
|
+
if (message.CorrelationId !== undefined) {
|
|
4271
|
+
Guid.encode(message.CorrelationId, writer.uint32(10).fork()).join();
|
|
4272
|
+
}
|
|
4273
|
+
if (message.IsAuthorized !== false) {
|
|
4274
|
+
writer.uint32(16).bool(message.IsAuthorized);
|
|
4275
|
+
}
|
|
4276
|
+
for (const v of message.ValidationResults) {
|
|
4277
|
+
ValidationResult.encode(v, writer.uint32(26).fork()).join();
|
|
4278
|
+
}
|
|
4279
|
+
for (const v of message.ExceptionMessages) {
|
|
4280
|
+
writer.uint32(34).string(v);
|
|
4281
|
+
}
|
|
4282
|
+
if (message.ExceptionStackTrace !== "") {
|
|
4283
|
+
writer.uint32(42).string(message.ExceptionStackTrace);
|
|
4284
|
+
}
|
|
4285
|
+
for (const v of message.Data) {
|
|
4286
|
+
FederationSubjectLinkResponse.encode(v, writer.uint32(50).fork()).join();
|
|
4287
|
+
}
|
|
4288
|
+
return writer;
|
|
4289
|
+
},
|
|
4290
|
+
decode(input, length) {
|
|
4291
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4292
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
4293
|
+
if (previousRecursionDepth >= 100) {
|
|
4294
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
4295
|
+
}
|
|
4296
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
4297
|
+
try {
|
|
4298
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4299
|
+
const message = createBaseQueryResultIEnumerableFederationSubjectLinkResponse();
|
|
4300
|
+
while (reader.pos < end) {
|
|
4301
|
+
const tag = reader.uint32();
|
|
4302
|
+
switch (tag >>> 3) {
|
|
4303
|
+
case 1: {
|
|
4304
|
+
if (tag !== 10) {
|
|
4305
|
+
break;
|
|
4306
|
+
}
|
|
4307
|
+
message.CorrelationId = Guid.decode(reader, reader.uint32());
|
|
4308
|
+
continue;
|
|
4309
|
+
}
|
|
4310
|
+
case 2: {
|
|
4311
|
+
if (tag !== 16) {
|
|
4312
|
+
break;
|
|
4313
|
+
}
|
|
4314
|
+
message.IsAuthorized = reader.bool();
|
|
4315
|
+
continue;
|
|
4316
|
+
}
|
|
4317
|
+
case 3: {
|
|
4318
|
+
if (tag !== 26) {
|
|
4319
|
+
break;
|
|
4320
|
+
}
|
|
4321
|
+
message.ValidationResults.push(ValidationResult.decode(reader, reader.uint32()));
|
|
4322
|
+
continue;
|
|
4323
|
+
}
|
|
4324
|
+
case 4: {
|
|
4325
|
+
if (tag !== 34) {
|
|
4326
|
+
break;
|
|
4327
|
+
}
|
|
4328
|
+
message.ExceptionMessages.push(reader.string());
|
|
4329
|
+
continue;
|
|
4330
|
+
}
|
|
4331
|
+
case 5: {
|
|
4332
|
+
if (tag !== 42) {
|
|
4333
|
+
break;
|
|
4334
|
+
}
|
|
4335
|
+
message.ExceptionStackTrace = reader.string();
|
|
4336
|
+
continue;
|
|
4337
|
+
}
|
|
4338
|
+
case 6: {
|
|
4339
|
+
if (tag !== 50) {
|
|
4340
|
+
break;
|
|
4341
|
+
}
|
|
4342
|
+
message.Data.push(FederationSubjectLinkResponse.decode(reader, reader.uint32()));
|
|
4343
|
+
continue;
|
|
4344
|
+
}
|
|
4345
|
+
}
|
|
4346
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4347
|
+
break;
|
|
4348
|
+
}
|
|
4349
|
+
reader.skip(tag & 7);
|
|
4350
|
+
}
|
|
4351
|
+
return message;
|
|
4352
|
+
}
|
|
4353
|
+
finally {
|
|
4354
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
4355
|
+
}
|
|
4356
|
+
},
|
|
4357
|
+
fromJSON(object) {
|
|
4358
|
+
return {
|
|
4359
|
+
CorrelationId: isSet(object.CorrelationId) ? Guid.fromJSON(object.CorrelationId) : undefined,
|
|
4360
|
+
IsAuthorized: isSet(object.IsAuthorized) ? globalThis.Boolean(object.IsAuthorized) : false,
|
|
4361
|
+
ValidationResults: globalThis.Array.isArray(object?.ValidationResults)
|
|
4362
|
+
? object.ValidationResults.map((e) => ValidationResult.fromJSON(e))
|
|
4363
|
+
: [],
|
|
4364
|
+
ExceptionMessages: globalThis.Array.isArray(object?.ExceptionMessages)
|
|
4365
|
+
? object.ExceptionMessages.map((e) => globalThis.String(e))
|
|
4366
|
+
: [],
|
|
4367
|
+
ExceptionStackTrace: isSet(object.ExceptionStackTrace) ? globalThis.String(object.ExceptionStackTrace) : "",
|
|
4368
|
+
Data: globalThis.Array.isArray(object?.Data)
|
|
4369
|
+
? object.Data.map((e) => FederationSubjectLinkResponse.fromJSON(e))
|
|
4370
|
+
: [],
|
|
4371
|
+
};
|
|
4372
|
+
},
|
|
4373
|
+
toJSON(message) {
|
|
4374
|
+
const obj = {};
|
|
4375
|
+
if (message.CorrelationId !== undefined) {
|
|
4376
|
+
obj.CorrelationId = Guid.toJSON(message.CorrelationId);
|
|
4377
|
+
}
|
|
4378
|
+
if (message.IsAuthorized !== false) {
|
|
4379
|
+
obj.IsAuthorized = message.IsAuthorized;
|
|
4380
|
+
}
|
|
4381
|
+
if (message.ValidationResults?.length) {
|
|
4382
|
+
obj.ValidationResults = message.ValidationResults.map((e) => ValidationResult.toJSON(e));
|
|
4383
|
+
}
|
|
4384
|
+
if (message.ExceptionMessages?.length) {
|
|
4385
|
+
obj.ExceptionMessages = message.ExceptionMessages;
|
|
4386
|
+
}
|
|
4387
|
+
if (message.ExceptionStackTrace !== "") {
|
|
4388
|
+
obj.ExceptionStackTrace = message.ExceptionStackTrace;
|
|
4389
|
+
}
|
|
4390
|
+
if (message.Data?.length) {
|
|
4391
|
+
obj.Data = message.Data.map((e) => FederationSubjectLinkResponse.toJSON(e));
|
|
4392
|
+
}
|
|
4393
|
+
return obj;
|
|
4394
|
+
},
|
|
4395
|
+
create(base) {
|
|
4396
|
+
return QueryResultIEnumerableFederationSubjectLinkResponse.fromPartial(base ?? {});
|
|
4397
|
+
},
|
|
4398
|
+
fromPartial(object) {
|
|
4399
|
+
const message = createBaseQueryResultIEnumerableFederationSubjectLinkResponse();
|
|
4400
|
+
message.CorrelationId = (object.CorrelationId !== undefined && object.CorrelationId !== null)
|
|
4401
|
+
? Guid.fromPartial(object.CorrelationId)
|
|
4402
|
+
: undefined;
|
|
4403
|
+
message.IsAuthorized = object.IsAuthorized ?? false;
|
|
4404
|
+
message.ValidationResults = object.ValidationResults?.map((e) => ValidationResult.fromPartial(e)) || [];
|
|
4405
|
+
message.ExceptionMessages = object.ExceptionMessages?.map((e) => e) || [];
|
|
4406
|
+
message.ExceptionStackTrace = object.ExceptionStackTrace ?? "";
|
|
4407
|
+
message.Data = object.Data?.map((e) => FederationSubjectLinkResponse.fromPartial(e)) || [];
|
|
4408
|
+
return message;
|
|
4409
|
+
},
|
|
4410
|
+
};
|
|
3911
4411
|
function createBaseRedeemFederationEnrollmentRequest() {
|
|
3912
4412
|
return { Code: "" };
|
|
3913
4413
|
}
|
|
@@ -5234,6 +5734,14 @@ const FederationDefinition = {
|
|
|
5234
5734
|
responseStream: false,
|
|
5235
5735
|
options: {},
|
|
5236
5736
|
},
|
|
5737
|
+
allSubjectLinks: {
|
|
5738
|
+
name: "AllSubjectLinks",
|
|
5739
|
+
requestType: Empty,
|
|
5740
|
+
requestStream: false,
|
|
5741
|
+
responseType: QueryResultIEnumerableFederationSubjectLinkResponse,
|
|
5742
|
+
responseStream: false,
|
|
5743
|
+
options: {},
|
|
5744
|
+
},
|
|
5237
5745
|
bindFederationPeer: {
|
|
5238
5746
|
name: "BindFederationPeer",
|
|
5239
5747
|
requestType: BindFederationPeerRequest,
|
|
@@ -5372,5 +5880,5 @@ function isSet(value) {
|
|
|
5372
5880
|
return value !== null && value !== undefined;
|
|
5373
5881
|
}
|
|
5374
5882
|
|
|
5375
|
-
export { BindFederationPeerRequest, CommandResult, CommandResultCreateFederationEnrollmentResponse, CommandResultRedeemFederationEnrollmentResponse, CreateFederationEnrollmentRequest, CreateFederationEnrollmentResponse, FederatedEvent, FederatedEventBatchResponse, FederationBindingResponse, FederationDefinition, FederationDirection, FederationEnrollmentResponse, FederationEnrollmentStatusResponse, FederationGrantInformationResponse, FederationIssuedCertificateResponse, FederationPolicyEntry, FederationPolicyResponse, FederationPolicyStatus, FederationPullDefinition, FederationServeDefinition, PullRequest, QueryResultFederatedEventBatchResponse, QueryResultFederationEnrollmentStatusResponse, QueryResultIEnumerableFederationBindingResponse, QueryResultIEnumerableFederationEnrollmentResponse, QueryResultIEnumerableFederationGrantInformationResponse, QueryResultIEnumerableFederationIssuedCertificateResponse, QueryResultIEnumerableFederationPolicyResponse, RedeemFederationEnrollmentRequest, RedeemFederationEnrollmentResponse, ResumeFederationPolicyRequest, RevokeFederationEnrollmentRequest, RevokeFederationLinkRequest, RevokeFederationPolicyDirectionRequest, RevokeFederationPolicyRequest, SerializableDateTimeOffset, ServeBatch, ServePullRequest, SetFederationGrantRequest, SetFederationPolicyRequest, SuspendFederationPolicyRequest, UnbindFederationPeerRequest, ValidationResult, ValidationResultSeverity, federationDirectionFromJSON, federationDirectionToJSON, federationPolicyStatusFromJSON, federationPolicyStatusToJSON, validationResultSeverityFromJSON, validationResultSeverityToJSON };
|
|
5883
|
+
export { BindFederationPeerRequest, CommandResult, CommandResultCreateFederationEnrollmentResponse, CommandResultRedeemFederationEnrollmentResponse, CreateFederationEnrollmentRequest, CreateFederationEnrollmentResponse, FederatedEvent, FederatedEventBatchResponse, FederationBindingResponse, FederationDefinition, FederationDirection, FederationEnrollmentResponse, FederationEnrollmentStatusResponse, FederationGrantInformationResponse, FederationIssuedCertificateResponse, FederationPolicyEntry, FederationPolicyResponse, FederationPolicyStatus, FederationPullDefinition, FederationServeDefinition, FederationSubjectLinkResponse, PullRequest, QueryResultFederatedEventBatchResponse, QueryResultFederationEnrollmentStatusResponse, QueryResultIEnumerableFederationBindingResponse, QueryResultIEnumerableFederationEnrollmentResponse, QueryResultIEnumerableFederationGrantInformationResponse, QueryResultIEnumerableFederationIssuedCertificateResponse, QueryResultIEnumerableFederationPolicyResponse, QueryResultIEnumerableFederationSubjectLinkResponse, RedeemFederationEnrollmentRequest, RedeemFederationEnrollmentResponse, ResumeFederationPolicyRequest, RevokeFederationEnrollmentRequest, RevokeFederationLinkRequest, RevokeFederationPolicyDirectionRequest, RevokeFederationPolicyRequest, SerializableDateTimeOffset, ServeBatch, ServePullRequest, SetFederationGrantRequest, SetFederationPolicyRequest, SuspendFederationPolicyRequest, UnbindFederationPeerRequest, ValidationResult, ValidationResultSeverity, federationDirectionFromJSON, federationDirectionToJSON, federationPolicyStatusFromJSON, federationPolicyStatusToJSON, validationResultSeverityFromJSON, validationResultSeverityToJSON };
|
|
5376
5884
|
//# sourceMappingURL=federation.js.map
|