@cratis/chronicle.contracts 19.121.1 → 19.123.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/index.d.ts +3 -3
- package/dist/cjs/generated/index.d.ts.map +1 -1
- package/dist/cjs/generated/observation_reactors.d.ts +38 -0
- package/dist/cjs/generated/observation_reactors.d.ts.map +1 -1
- package/dist/cjs/generated/observation_reactors.js +522 -2
- package/dist/cjs/generated/observation_reactors.js.map +1 -1
- package/dist/cjs/generated/observation_reducers.d.ts +39 -0
- package/dist/cjs/generated/observation_reducers.d.ts.map +1 -1
- package/dist/cjs/generated/observation_reducers.js +538 -2
- package/dist/cjs/generated/observation_reducers.js.map +1 -1
- package/dist/cjs/generated/sequences.d.ts +29 -0
- package/dist/cjs/generated/sequences.d.ts.map +1 -1
- package/dist/cjs/generated/sequences.js +321 -0
- package/dist/cjs/generated/sequences.js.map +1 -1
- package/dist/cjs/index.js +12 -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/index.d.ts +3 -3
- package/dist/esm/generated/index.d.ts.map +1 -1
- package/dist/esm/generated/observation_reactors.d.ts +38 -0
- package/dist/esm/generated/observation_reactors.d.ts.map +1 -1
- package/dist/esm/generated/observation_reactors.js +518 -3
- package/dist/esm/generated/observation_reactors.js.map +1 -1
- package/dist/esm/generated/observation_reducers.d.ts +39 -0
- package/dist/esm/generated/observation_reducers.d.ts.map +1 -1
- package/dist/esm/generated/observation_reducers.js +534 -3
- package/dist/esm/generated/observation_reducers.js.map +1 -1
- package/dist/esm/generated/sequences.d.ts +29 -0
- package/dist/esm/generated/sequences.d.ts.map +1 -1
- package/dist/esm/generated/sequences.js +320 -1
- package/dist/esm/generated/sequences.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/generated/descriptorSet.js +1 -1
- package/dist/generated/descriptorSet.js.map +1 -1
- package/dist/generated/index.d.ts +3 -3
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +3 -3
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/observation_reactors.d.ts +38 -0
- package/dist/generated/observation_reactors.d.ts.map +1 -1
- package/dist/generated/observation_reactors.js +517 -2
- package/dist/generated/observation_reactors.js.map +1 -1
- package/dist/generated/observation_reducers.d.ts +39 -0
- package/dist/generated/observation_reducers.d.ts.map +1 -1
- package/dist/generated/observation_reducers.js +533 -2
- package/dist/generated/observation_reducers.js.map +1 -1
- package/dist/generated/sequences.d.ts +29 -0
- package/dist/generated/sequences.d.ts.map +1 -1
- package/dist/generated/sequences.js +319 -0
- package/dist/generated/sequences.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/generated/descriptorSet.ts +1 -1
- package/generated/index.ts +3 -3
- package/generated/observation_reactors.ts +581 -2
- package/generated/observation_reducers.ts +599 -2
- package/generated/sequences.ts +371 -0
- package/package.json +1 -1
|
@@ -85,10 +85,62 @@ export function eventObservationStateToJSON(object: EventObservationState): stri
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
export enum ObservationOrigin {
|
|
89
|
+
Unknown = 0,
|
|
90
|
+
Live = 1,
|
|
91
|
+
CatchingUp = 2,
|
|
92
|
+
Replaying = 3,
|
|
93
|
+
Retrying = 4,
|
|
94
|
+
UNRECOGNIZED = -1,
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function observationOriginFromJSON(object: any): ObservationOrigin {
|
|
98
|
+
switch (object) {
|
|
99
|
+
case 0:
|
|
100
|
+
case "Unknown":
|
|
101
|
+
return ObservationOrigin.Unknown;
|
|
102
|
+
case 1:
|
|
103
|
+
case "Live":
|
|
104
|
+
return ObservationOrigin.Live;
|
|
105
|
+
case 2:
|
|
106
|
+
case "CatchingUp":
|
|
107
|
+
return ObservationOrigin.CatchingUp;
|
|
108
|
+
case 3:
|
|
109
|
+
case "Replaying":
|
|
110
|
+
return ObservationOrigin.Replaying;
|
|
111
|
+
case 4:
|
|
112
|
+
case "Retrying":
|
|
113
|
+
return ObservationOrigin.Retrying;
|
|
114
|
+
case -1:
|
|
115
|
+
case "UNRECOGNIZED":
|
|
116
|
+
default:
|
|
117
|
+
return ObservationOrigin.UNRECOGNIZED;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function observationOriginToJSON(object: ObservationOrigin): string {
|
|
122
|
+
switch (object) {
|
|
123
|
+
case ObservationOrigin.Unknown:
|
|
124
|
+
return "Unknown";
|
|
125
|
+
case ObservationOrigin.Live:
|
|
126
|
+
return "Live";
|
|
127
|
+
case ObservationOrigin.CatchingUp:
|
|
128
|
+
return "CatchingUp";
|
|
129
|
+
case ObservationOrigin.Replaying:
|
|
130
|
+
return "Replaying";
|
|
131
|
+
case ObservationOrigin.Retrying:
|
|
132
|
+
return "Retrying";
|
|
133
|
+
case ObservationOrigin.UNRECOGNIZED:
|
|
134
|
+
default:
|
|
135
|
+
return "UNRECOGNIZED";
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
88
139
|
export enum ObservationState {
|
|
89
140
|
OBSERVATION_STATE_None = 0,
|
|
90
141
|
Success = 1,
|
|
91
142
|
Failed = 2,
|
|
143
|
+
Deferred = 3,
|
|
92
144
|
UNRECOGNIZED = -1,
|
|
93
145
|
}
|
|
94
146
|
|
|
@@ -103,6 +155,9 @@ export function observationStateFromJSON(object: any): ObservationState {
|
|
|
103
155
|
case 2:
|
|
104
156
|
case "Failed":
|
|
105
157
|
return ObservationState.Failed;
|
|
158
|
+
case 3:
|
|
159
|
+
case "Deferred":
|
|
160
|
+
return ObservationState.Deferred;
|
|
106
161
|
case -1:
|
|
107
162
|
case "UNRECOGNIZED":
|
|
108
163
|
default:
|
|
@@ -118,6 +173,8 @@ export function observationStateToJSON(object: ObservationState): string {
|
|
|
118
173
|
return "Success";
|
|
119
174
|
case ObservationState.Failed:
|
|
120
175
|
return "Failed";
|
|
176
|
+
case ObservationState.Deferred:
|
|
177
|
+
return "Deferred";
|
|
121
178
|
case ObservationState.UNRECOGNIZED:
|
|
122
179
|
default:
|
|
123
180
|
return "UNRECOGNIZED";
|
|
@@ -265,6 +322,23 @@ export interface OneOfRegisterReducerReducerResult {
|
|
|
265
322
|
Value1: ReducerResult | undefined;
|
|
266
323
|
}
|
|
267
324
|
|
|
325
|
+
export interface PageDelivery {
|
|
326
|
+
Enabled: boolean;
|
|
327
|
+
MaxEventsPerPage: number;
|
|
328
|
+
MaxBytesPerPage: number;
|
|
329
|
+
MaxDelayMilliseconds: number;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export interface PartitionResult {
|
|
333
|
+
Partition: string;
|
|
334
|
+
State: ObservationState;
|
|
335
|
+
LastSuccessfulObservation: bigint;
|
|
336
|
+
ExceptionMessages: string[];
|
|
337
|
+
ExceptionStackTrace: string;
|
|
338
|
+
RetryAfterMilliseconds: bigint;
|
|
339
|
+
ReadModelState: string;
|
|
340
|
+
}
|
|
341
|
+
|
|
268
342
|
export interface ReduceOperationMessage {
|
|
269
343
|
Partition: string;
|
|
270
344
|
InitialState: string;
|
|
@@ -272,6 +346,8 @@ export interface ReduceOperationMessage {
|
|
|
272
346
|
ReplayState: ReplayState;
|
|
273
347
|
DeliveryId: bigint;
|
|
274
348
|
DeliverWithinMilliseconds: bigint;
|
|
349
|
+
Partitions: ReducerPartition[];
|
|
350
|
+
Origin: ObservationOrigin;
|
|
275
351
|
}
|
|
276
352
|
|
|
277
353
|
export interface ReducerDefinition {
|
|
@@ -290,6 +366,12 @@ export interface ReducerMessage {
|
|
|
290
366
|
Content: OneOfRegisterReducerReducerResult | undefined;
|
|
291
367
|
}
|
|
292
368
|
|
|
369
|
+
export interface ReducerPartition {
|
|
370
|
+
Partition: string;
|
|
371
|
+
InitialState: string;
|
|
372
|
+
Events: AppendedEvent[];
|
|
373
|
+
}
|
|
374
|
+
|
|
293
375
|
export interface ReducerResult {
|
|
294
376
|
Partition: string;
|
|
295
377
|
State: ObservationState;
|
|
@@ -298,6 +380,8 @@ export interface ReducerResult {
|
|
|
298
380
|
ExceptionStackTrace: string;
|
|
299
381
|
ReadModelState: string;
|
|
300
382
|
DeliveryId: bigint;
|
|
383
|
+
RetryAfterMilliseconds: bigint;
|
|
384
|
+
Partitions: PartitionResult[];
|
|
301
385
|
}
|
|
302
386
|
|
|
303
387
|
export interface RegisterReducer {
|
|
@@ -305,6 +389,7 @@ export interface RegisterReducer {
|
|
|
305
389
|
EventStore: string;
|
|
306
390
|
Namespace: string;
|
|
307
391
|
Reducer: ReducerDefinition | undefined;
|
|
392
|
+
PageDelivery: PageDelivery | undefined;
|
|
308
393
|
}
|
|
309
394
|
|
|
310
395
|
/** Represents a DateTimeOffset value as an ISO 8601 string (e.g., "2024-01-15T12:30:00.0000000+02:00"). */
|
|
@@ -1895,8 +1980,325 @@ export const OneOfRegisterReducerReducerResult: MessageFns<OneOfRegisterReducerR
|
|
|
1895
1980
|
},
|
|
1896
1981
|
};
|
|
1897
1982
|
|
|
1983
|
+
function createBasePageDelivery(): PageDelivery {
|
|
1984
|
+
return { Enabled: false, MaxEventsPerPage: 0, MaxBytesPerPage: 0, MaxDelayMilliseconds: 0 };
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
export const PageDelivery: MessageFns<PageDelivery> = {
|
|
1988
|
+
encode(message: PageDelivery, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
1989
|
+
if (message.Enabled !== false) {
|
|
1990
|
+
writer.uint32(8).bool(message.Enabled);
|
|
1991
|
+
}
|
|
1992
|
+
if (message.MaxEventsPerPage !== 0) {
|
|
1993
|
+
writer.uint32(16).uint32(message.MaxEventsPerPage);
|
|
1994
|
+
}
|
|
1995
|
+
if (message.MaxBytesPerPage !== 0) {
|
|
1996
|
+
writer.uint32(24).uint32(message.MaxBytesPerPage);
|
|
1997
|
+
}
|
|
1998
|
+
if (message.MaxDelayMilliseconds !== 0) {
|
|
1999
|
+
writer.uint32(32).uint32(message.MaxDelayMilliseconds);
|
|
2000
|
+
}
|
|
2001
|
+
return writer;
|
|
2002
|
+
},
|
|
2003
|
+
|
|
2004
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PageDelivery {
|
|
2005
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2006
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2007
|
+
if (previousRecursionDepth >= 100) {
|
|
2008
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2009
|
+
}
|
|
2010
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2011
|
+
try {
|
|
2012
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2013
|
+
const message = createBasePageDelivery();
|
|
2014
|
+
while (reader.pos < end) {
|
|
2015
|
+
const tag = reader.uint32();
|
|
2016
|
+
switch (tag >>> 3) {
|
|
2017
|
+
case 1: {
|
|
2018
|
+
if (tag !== 8) {
|
|
2019
|
+
break;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
message.Enabled = reader.bool();
|
|
2023
|
+
continue;
|
|
2024
|
+
}
|
|
2025
|
+
case 2: {
|
|
2026
|
+
if (tag !== 16) {
|
|
2027
|
+
break;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
message.MaxEventsPerPage = reader.uint32();
|
|
2031
|
+
continue;
|
|
2032
|
+
}
|
|
2033
|
+
case 3: {
|
|
2034
|
+
if (tag !== 24) {
|
|
2035
|
+
break;
|
|
2036
|
+
}
|
|
2037
|
+
|
|
2038
|
+
message.MaxBytesPerPage = reader.uint32();
|
|
2039
|
+
continue;
|
|
2040
|
+
}
|
|
2041
|
+
case 4: {
|
|
2042
|
+
if (tag !== 32) {
|
|
2043
|
+
break;
|
|
2044
|
+
}
|
|
2045
|
+
|
|
2046
|
+
message.MaxDelayMilliseconds = reader.uint32();
|
|
2047
|
+
continue;
|
|
2048
|
+
}
|
|
2049
|
+
}
|
|
2050
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2051
|
+
break;
|
|
2052
|
+
}
|
|
2053
|
+
reader.skip(tag & 7);
|
|
2054
|
+
}
|
|
2055
|
+
return message;
|
|
2056
|
+
} finally {
|
|
2057
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2058
|
+
}
|
|
2059
|
+
},
|
|
2060
|
+
|
|
2061
|
+
fromJSON(object: any): PageDelivery {
|
|
2062
|
+
return {
|
|
2063
|
+
Enabled: isSet(object.Enabled) ? globalThis.Boolean(object.Enabled) : false,
|
|
2064
|
+
MaxEventsPerPage: isSet(object.MaxEventsPerPage) ? globalThis.Number(object.MaxEventsPerPage) : 0,
|
|
2065
|
+
MaxBytesPerPage: isSet(object.MaxBytesPerPage) ? globalThis.Number(object.MaxBytesPerPage) : 0,
|
|
2066
|
+
MaxDelayMilliseconds: isSet(object.MaxDelayMilliseconds) ? globalThis.Number(object.MaxDelayMilliseconds) : 0,
|
|
2067
|
+
};
|
|
2068
|
+
},
|
|
2069
|
+
|
|
2070
|
+
toJSON(message: PageDelivery): unknown {
|
|
2071
|
+
const obj: any = {};
|
|
2072
|
+
if (message.Enabled !== false) {
|
|
2073
|
+
obj.Enabled = message.Enabled;
|
|
2074
|
+
}
|
|
2075
|
+
if (message.MaxEventsPerPage !== 0) {
|
|
2076
|
+
obj.MaxEventsPerPage = Math.round(message.MaxEventsPerPage);
|
|
2077
|
+
}
|
|
2078
|
+
if (message.MaxBytesPerPage !== 0) {
|
|
2079
|
+
obj.MaxBytesPerPage = Math.round(message.MaxBytesPerPage);
|
|
2080
|
+
}
|
|
2081
|
+
if (message.MaxDelayMilliseconds !== 0) {
|
|
2082
|
+
obj.MaxDelayMilliseconds = Math.round(message.MaxDelayMilliseconds);
|
|
2083
|
+
}
|
|
2084
|
+
return obj;
|
|
2085
|
+
},
|
|
2086
|
+
|
|
2087
|
+
create(base?: DeepPartial<PageDelivery>): PageDelivery {
|
|
2088
|
+
return PageDelivery.fromPartial(base ?? {});
|
|
2089
|
+
},
|
|
2090
|
+
fromPartial(object: DeepPartial<PageDelivery>): PageDelivery {
|
|
2091
|
+
const message = createBasePageDelivery();
|
|
2092
|
+
message.Enabled = object.Enabled ?? false;
|
|
2093
|
+
message.MaxEventsPerPage = object.MaxEventsPerPage ?? 0;
|
|
2094
|
+
message.MaxBytesPerPage = object.MaxBytesPerPage ?? 0;
|
|
2095
|
+
message.MaxDelayMilliseconds = object.MaxDelayMilliseconds ?? 0;
|
|
2096
|
+
return message;
|
|
2097
|
+
},
|
|
2098
|
+
};
|
|
2099
|
+
|
|
2100
|
+
function createBasePartitionResult(): PartitionResult {
|
|
2101
|
+
return {
|
|
2102
|
+
Partition: "",
|
|
2103
|
+
State: 0,
|
|
2104
|
+
LastSuccessfulObservation: 0n,
|
|
2105
|
+
ExceptionMessages: [],
|
|
2106
|
+
ExceptionStackTrace: "",
|
|
2107
|
+
RetryAfterMilliseconds: 0n,
|
|
2108
|
+
ReadModelState: "",
|
|
2109
|
+
};
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
export const PartitionResult: MessageFns<PartitionResult> = {
|
|
2113
|
+
encode(message: PartitionResult, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
2114
|
+
if (message.Partition !== "") {
|
|
2115
|
+
writer.uint32(10).string(message.Partition);
|
|
2116
|
+
}
|
|
2117
|
+
if (message.State !== 0) {
|
|
2118
|
+
writer.uint32(16).int32(message.State);
|
|
2119
|
+
}
|
|
2120
|
+
if (message.LastSuccessfulObservation !== 0n) {
|
|
2121
|
+
if (BigInt.asUintN(64, message.LastSuccessfulObservation) !== message.LastSuccessfulObservation) {
|
|
2122
|
+
throw new globalThis.Error(
|
|
2123
|
+
"value provided for field message.LastSuccessfulObservation of type uint64 too large",
|
|
2124
|
+
);
|
|
2125
|
+
}
|
|
2126
|
+
writer.uint32(24).uint64(message.LastSuccessfulObservation);
|
|
2127
|
+
}
|
|
2128
|
+
for (const v of message.ExceptionMessages) {
|
|
2129
|
+
writer.uint32(34).string(v!);
|
|
2130
|
+
}
|
|
2131
|
+
if (message.ExceptionStackTrace !== "") {
|
|
2132
|
+
writer.uint32(42).string(message.ExceptionStackTrace);
|
|
2133
|
+
}
|
|
2134
|
+
if (message.RetryAfterMilliseconds !== 0n) {
|
|
2135
|
+
if (BigInt.asUintN(64, message.RetryAfterMilliseconds) !== message.RetryAfterMilliseconds) {
|
|
2136
|
+
throw new globalThis.Error("value provided for field message.RetryAfterMilliseconds of type uint64 too large");
|
|
2137
|
+
}
|
|
2138
|
+
writer.uint32(48).uint64(message.RetryAfterMilliseconds);
|
|
2139
|
+
}
|
|
2140
|
+
if (message.ReadModelState !== "") {
|
|
2141
|
+
writer.uint32(58).string(message.ReadModelState);
|
|
2142
|
+
}
|
|
2143
|
+
return writer;
|
|
2144
|
+
},
|
|
2145
|
+
|
|
2146
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PartitionResult {
|
|
2147
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2148
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2149
|
+
if (previousRecursionDepth >= 100) {
|
|
2150
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2151
|
+
}
|
|
2152
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2153
|
+
try {
|
|
2154
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2155
|
+
const message = createBasePartitionResult();
|
|
2156
|
+
while (reader.pos < end) {
|
|
2157
|
+
const tag = reader.uint32();
|
|
2158
|
+
switch (tag >>> 3) {
|
|
2159
|
+
case 1: {
|
|
2160
|
+
if (tag !== 10) {
|
|
2161
|
+
break;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2164
|
+
message.Partition = reader.string();
|
|
2165
|
+
continue;
|
|
2166
|
+
}
|
|
2167
|
+
case 2: {
|
|
2168
|
+
if (tag !== 16) {
|
|
2169
|
+
break;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
message.State = reader.int32() as any;
|
|
2173
|
+
continue;
|
|
2174
|
+
}
|
|
2175
|
+
case 3: {
|
|
2176
|
+
if (tag !== 24) {
|
|
2177
|
+
break;
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
message.LastSuccessfulObservation = reader.uint64() as bigint;
|
|
2181
|
+
continue;
|
|
2182
|
+
}
|
|
2183
|
+
case 4: {
|
|
2184
|
+
if (tag !== 34) {
|
|
2185
|
+
break;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
message.ExceptionMessages.push(reader.string());
|
|
2189
|
+
continue;
|
|
2190
|
+
}
|
|
2191
|
+
case 5: {
|
|
2192
|
+
if (tag !== 42) {
|
|
2193
|
+
break;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
message.ExceptionStackTrace = reader.string();
|
|
2197
|
+
continue;
|
|
2198
|
+
}
|
|
2199
|
+
case 6: {
|
|
2200
|
+
if (tag !== 48) {
|
|
2201
|
+
break;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
message.RetryAfterMilliseconds = reader.uint64() as bigint;
|
|
2205
|
+
continue;
|
|
2206
|
+
}
|
|
2207
|
+
case 7: {
|
|
2208
|
+
if (tag !== 58) {
|
|
2209
|
+
break;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
message.ReadModelState = reader.string();
|
|
2213
|
+
continue;
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2217
|
+
break;
|
|
2218
|
+
}
|
|
2219
|
+
reader.skip(tag & 7);
|
|
2220
|
+
}
|
|
2221
|
+
return message;
|
|
2222
|
+
} finally {
|
|
2223
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2224
|
+
}
|
|
2225
|
+
},
|
|
2226
|
+
|
|
2227
|
+
fromJSON(object: any): PartitionResult {
|
|
2228
|
+
return {
|
|
2229
|
+
Partition: isSet(object.Partition) ? globalThis.String(object.Partition) : "",
|
|
2230
|
+
State: isSet(object.State) ? observationStateFromJSON(object.State) : 0,
|
|
2231
|
+
LastSuccessfulObservation: isSet(object.LastSuccessfulObservation)
|
|
2232
|
+
? BigInt(object.LastSuccessfulObservation)
|
|
2233
|
+
: 0n,
|
|
2234
|
+
ExceptionMessages: globalThis.Array.isArray(object?.ExceptionMessages)
|
|
2235
|
+
? object.ExceptionMessages.map((e: any) => globalThis.String(e))
|
|
2236
|
+
: [],
|
|
2237
|
+
ExceptionStackTrace: isSet(object.ExceptionStackTrace) ? globalThis.String(object.ExceptionStackTrace) : "",
|
|
2238
|
+
RetryAfterMilliseconds: isSet(object.RetryAfterMilliseconds) ? BigInt(object.RetryAfterMilliseconds) : 0n,
|
|
2239
|
+
ReadModelState: isSet(object.ReadModelState) ? globalThis.String(object.ReadModelState) : "",
|
|
2240
|
+
};
|
|
2241
|
+
},
|
|
2242
|
+
|
|
2243
|
+
toJSON(message: PartitionResult): unknown {
|
|
2244
|
+
const obj: any = {};
|
|
2245
|
+
if (message.Partition !== "") {
|
|
2246
|
+
obj.Partition = message.Partition;
|
|
2247
|
+
}
|
|
2248
|
+
if (message.State !== 0) {
|
|
2249
|
+
obj.State = observationStateToJSON(message.State);
|
|
2250
|
+
}
|
|
2251
|
+
if (message.LastSuccessfulObservation !== 0n) {
|
|
2252
|
+
obj.LastSuccessfulObservation = message.LastSuccessfulObservation.toString();
|
|
2253
|
+
}
|
|
2254
|
+
if (message.ExceptionMessages?.length) {
|
|
2255
|
+
obj.ExceptionMessages = message.ExceptionMessages;
|
|
2256
|
+
}
|
|
2257
|
+
if (message.ExceptionStackTrace !== "") {
|
|
2258
|
+
obj.ExceptionStackTrace = message.ExceptionStackTrace;
|
|
2259
|
+
}
|
|
2260
|
+
if (message.RetryAfterMilliseconds !== 0n) {
|
|
2261
|
+
obj.RetryAfterMilliseconds = message.RetryAfterMilliseconds.toString();
|
|
2262
|
+
}
|
|
2263
|
+
if (message.ReadModelState !== "") {
|
|
2264
|
+
obj.ReadModelState = message.ReadModelState;
|
|
2265
|
+
}
|
|
2266
|
+
return obj;
|
|
2267
|
+
},
|
|
2268
|
+
|
|
2269
|
+
create(base?: DeepPartial<PartitionResult>): PartitionResult {
|
|
2270
|
+
return PartitionResult.fromPartial(base ?? {});
|
|
2271
|
+
},
|
|
2272
|
+
fromPartial(object: DeepPartial<PartitionResult>): PartitionResult {
|
|
2273
|
+
const message = createBasePartitionResult();
|
|
2274
|
+
message.Partition = object.Partition ?? "";
|
|
2275
|
+
message.State = object.State ?? 0;
|
|
2276
|
+
message.LastSuccessfulObservation =
|
|
2277
|
+
(object.LastSuccessfulObservation !== undefined && object.LastSuccessfulObservation !== null)
|
|
2278
|
+
? BigInt(object.LastSuccessfulObservation)
|
|
2279
|
+
: 0n;
|
|
2280
|
+
message.ExceptionMessages = object.ExceptionMessages?.map((e) => e) || [];
|
|
2281
|
+
message.ExceptionStackTrace = object.ExceptionStackTrace ?? "";
|
|
2282
|
+
message.RetryAfterMilliseconds =
|
|
2283
|
+
(object.RetryAfterMilliseconds !== undefined && object.RetryAfterMilliseconds !== null)
|
|
2284
|
+
? BigInt(object.RetryAfterMilliseconds)
|
|
2285
|
+
: 0n;
|
|
2286
|
+
message.ReadModelState = object.ReadModelState ?? "";
|
|
2287
|
+
return message;
|
|
2288
|
+
},
|
|
2289
|
+
};
|
|
2290
|
+
|
|
1898
2291
|
function createBaseReduceOperationMessage(): ReduceOperationMessage {
|
|
1899
|
-
return {
|
|
2292
|
+
return {
|
|
2293
|
+
Partition: "",
|
|
2294
|
+
InitialState: "",
|
|
2295
|
+
Events: [],
|
|
2296
|
+
ReplayState: 0,
|
|
2297
|
+
DeliveryId: 0n,
|
|
2298
|
+
DeliverWithinMilliseconds: 0n,
|
|
2299
|
+
Partitions: [],
|
|
2300
|
+
Origin: 0,
|
|
2301
|
+
};
|
|
1900
2302
|
}
|
|
1901
2303
|
|
|
1902
2304
|
export const ReduceOperationMessage: MessageFns<ReduceOperationMessage> = {
|
|
@@ -1927,6 +2329,12 @@ export const ReduceOperationMessage: MessageFns<ReduceOperationMessage> = {
|
|
|
1927
2329
|
}
|
|
1928
2330
|
writer.uint32(48).uint64(message.DeliverWithinMilliseconds);
|
|
1929
2331
|
}
|
|
2332
|
+
for (const v of message.Partitions) {
|
|
2333
|
+
ReducerPartition.encode(v!, writer.uint32(58).fork()).join();
|
|
2334
|
+
}
|
|
2335
|
+
if (message.Origin !== 0) {
|
|
2336
|
+
writer.uint32(64).int32(message.Origin);
|
|
2337
|
+
}
|
|
1930
2338
|
return writer;
|
|
1931
2339
|
},
|
|
1932
2340
|
|
|
@@ -1991,6 +2399,22 @@ export const ReduceOperationMessage: MessageFns<ReduceOperationMessage> = {
|
|
|
1991
2399
|
message.DeliverWithinMilliseconds = reader.uint64() as bigint;
|
|
1992
2400
|
continue;
|
|
1993
2401
|
}
|
|
2402
|
+
case 7: {
|
|
2403
|
+
if (tag !== 58) {
|
|
2404
|
+
break;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
message.Partitions.push(ReducerPartition.decode(reader, reader.uint32()));
|
|
2408
|
+
continue;
|
|
2409
|
+
}
|
|
2410
|
+
case 8: {
|
|
2411
|
+
if (tag !== 64) {
|
|
2412
|
+
break;
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
message.Origin = reader.int32() as any;
|
|
2416
|
+
continue;
|
|
2417
|
+
}
|
|
1994
2418
|
}
|
|
1995
2419
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1996
2420
|
break;
|
|
@@ -2013,6 +2437,10 @@ export const ReduceOperationMessage: MessageFns<ReduceOperationMessage> = {
|
|
|
2013
2437
|
DeliverWithinMilliseconds: isSet(object.DeliverWithinMilliseconds)
|
|
2014
2438
|
? BigInt(object.DeliverWithinMilliseconds)
|
|
2015
2439
|
: 0n,
|
|
2440
|
+
Partitions: globalThis.Array.isArray(object?.Partitions)
|
|
2441
|
+
? object.Partitions.map((e: any) => ReducerPartition.fromJSON(e))
|
|
2442
|
+
: [],
|
|
2443
|
+
Origin: isSet(object.Origin) ? observationOriginFromJSON(object.Origin) : 0,
|
|
2016
2444
|
};
|
|
2017
2445
|
},
|
|
2018
2446
|
|
|
@@ -2036,6 +2464,12 @@ export const ReduceOperationMessage: MessageFns<ReduceOperationMessage> = {
|
|
|
2036
2464
|
if (message.DeliverWithinMilliseconds !== 0n) {
|
|
2037
2465
|
obj.DeliverWithinMilliseconds = message.DeliverWithinMilliseconds.toString();
|
|
2038
2466
|
}
|
|
2467
|
+
if (message.Partitions?.length) {
|
|
2468
|
+
obj.Partitions = message.Partitions.map((e) => ReducerPartition.toJSON(e));
|
|
2469
|
+
}
|
|
2470
|
+
if (message.Origin !== 0) {
|
|
2471
|
+
obj.Origin = observationOriginToJSON(message.Origin);
|
|
2472
|
+
}
|
|
2039
2473
|
return obj;
|
|
2040
2474
|
},
|
|
2041
2475
|
|
|
@@ -2055,6 +2489,8 @@ export const ReduceOperationMessage: MessageFns<ReduceOperationMessage> = {
|
|
|
2055
2489
|
(object.DeliverWithinMilliseconds !== undefined && object.DeliverWithinMilliseconds !== null)
|
|
2056
2490
|
? BigInt(object.DeliverWithinMilliseconds)
|
|
2057
2491
|
: 0n;
|
|
2492
|
+
message.Partitions = object.Partitions?.map((e) => ReducerPartition.fromPartial(e)) || [];
|
|
2493
|
+
message.Origin = object.Origin ?? 0;
|
|
2058
2494
|
return message;
|
|
2059
2495
|
},
|
|
2060
2496
|
};
|
|
@@ -2341,6 +2777,107 @@ export const ReducerMessage: MessageFns<ReducerMessage> = {
|
|
|
2341
2777
|
},
|
|
2342
2778
|
};
|
|
2343
2779
|
|
|
2780
|
+
function createBaseReducerPartition(): ReducerPartition {
|
|
2781
|
+
return { Partition: "", InitialState: "", Events: [] };
|
|
2782
|
+
}
|
|
2783
|
+
|
|
2784
|
+
export const ReducerPartition: MessageFns<ReducerPartition> = {
|
|
2785
|
+
encode(message: ReducerPartition, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
|
|
2786
|
+
if (message.Partition !== "") {
|
|
2787
|
+
writer.uint32(10).string(message.Partition);
|
|
2788
|
+
}
|
|
2789
|
+
if (message.InitialState !== "") {
|
|
2790
|
+
writer.uint32(18).string(message.InitialState);
|
|
2791
|
+
}
|
|
2792
|
+
for (const v of message.Events) {
|
|
2793
|
+
AppendedEvent.encode(v!, writer.uint32(26).fork()).join();
|
|
2794
|
+
}
|
|
2795
|
+
return writer;
|
|
2796
|
+
},
|
|
2797
|
+
|
|
2798
|
+
decode(input: BinaryReader | Uint8Array, length?: number): ReducerPartition {
|
|
2799
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2800
|
+
const previousRecursionDepth = (reader as any).__tsProtoDecodeDepth ?? 0;
|
|
2801
|
+
if (previousRecursionDepth >= 100) {
|
|
2802
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2803
|
+
}
|
|
2804
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2805
|
+
try {
|
|
2806
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2807
|
+
const message = createBaseReducerPartition();
|
|
2808
|
+
while (reader.pos < end) {
|
|
2809
|
+
const tag = reader.uint32();
|
|
2810
|
+
switch (tag >>> 3) {
|
|
2811
|
+
case 1: {
|
|
2812
|
+
if (tag !== 10) {
|
|
2813
|
+
break;
|
|
2814
|
+
}
|
|
2815
|
+
|
|
2816
|
+
message.Partition = reader.string();
|
|
2817
|
+
continue;
|
|
2818
|
+
}
|
|
2819
|
+
case 2: {
|
|
2820
|
+
if (tag !== 18) {
|
|
2821
|
+
break;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
message.InitialState = reader.string();
|
|
2825
|
+
continue;
|
|
2826
|
+
}
|
|
2827
|
+
case 3: {
|
|
2828
|
+
if (tag !== 26) {
|
|
2829
|
+
break;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
message.Events.push(AppendedEvent.decode(reader, reader.uint32()));
|
|
2833
|
+
continue;
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2836
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2837
|
+
break;
|
|
2838
|
+
}
|
|
2839
|
+
reader.skip(tag & 7);
|
|
2840
|
+
}
|
|
2841
|
+
return message;
|
|
2842
|
+
} finally {
|
|
2843
|
+
(reader as any).__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2844
|
+
}
|
|
2845
|
+
},
|
|
2846
|
+
|
|
2847
|
+
fromJSON(object: any): ReducerPartition {
|
|
2848
|
+
return {
|
|
2849
|
+
Partition: isSet(object.Partition) ? globalThis.String(object.Partition) : "",
|
|
2850
|
+
InitialState: isSet(object.InitialState) ? globalThis.String(object.InitialState) : "",
|
|
2851
|
+
Events: globalThis.Array.isArray(object?.Events) ? object.Events.map((e: any) => AppendedEvent.fromJSON(e)) : [],
|
|
2852
|
+
};
|
|
2853
|
+
},
|
|
2854
|
+
|
|
2855
|
+
toJSON(message: ReducerPartition): unknown {
|
|
2856
|
+
const obj: any = {};
|
|
2857
|
+
if (message.Partition !== "") {
|
|
2858
|
+
obj.Partition = message.Partition;
|
|
2859
|
+
}
|
|
2860
|
+
if (message.InitialState !== "") {
|
|
2861
|
+
obj.InitialState = message.InitialState;
|
|
2862
|
+
}
|
|
2863
|
+
if (message.Events?.length) {
|
|
2864
|
+
obj.Events = message.Events.map((e) => AppendedEvent.toJSON(e));
|
|
2865
|
+
}
|
|
2866
|
+
return obj;
|
|
2867
|
+
},
|
|
2868
|
+
|
|
2869
|
+
create(base?: DeepPartial<ReducerPartition>): ReducerPartition {
|
|
2870
|
+
return ReducerPartition.fromPartial(base ?? {});
|
|
2871
|
+
},
|
|
2872
|
+
fromPartial(object: DeepPartial<ReducerPartition>): ReducerPartition {
|
|
2873
|
+
const message = createBaseReducerPartition();
|
|
2874
|
+
message.Partition = object.Partition ?? "";
|
|
2875
|
+
message.InitialState = object.InitialState ?? "";
|
|
2876
|
+
message.Events = object.Events?.map((e) => AppendedEvent.fromPartial(e)) || [];
|
|
2877
|
+
return message;
|
|
2878
|
+
},
|
|
2879
|
+
};
|
|
2880
|
+
|
|
2344
2881
|
function createBaseReducerResult(): ReducerResult {
|
|
2345
2882
|
return {
|
|
2346
2883
|
Partition: "",
|
|
@@ -2350,6 +2887,8 @@ function createBaseReducerResult(): ReducerResult {
|
|
|
2350
2887
|
ExceptionStackTrace: "",
|
|
2351
2888
|
ReadModelState: "",
|
|
2352
2889
|
DeliveryId: 0n,
|
|
2890
|
+
RetryAfterMilliseconds: 0n,
|
|
2891
|
+
Partitions: [],
|
|
2353
2892
|
};
|
|
2354
2893
|
}
|
|
2355
2894
|
|
|
@@ -2384,6 +2923,15 @@ export const ReducerResult: MessageFns<ReducerResult> = {
|
|
|
2384
2923
|
}
|
|
2385
2924
|
writer.uint32(56).uint64(message.DeliveryId);
|
|
2386
2925
|
}
|
|
2926
|
+
if (message.RetryAfterMilliseconds !== 0n) {
|
|
2927
|
+
if (BigInt.asUintN(64, message.RetryAfterMilliseconds) !== message.RetryAfterMilliseconds) {
|
|
2928
|
+
throw new globalThis.Error("value provided for field message.RetryAfterMilliseconds of type uint64 too large");
|
|
2929
|
+
}
|
|
2930
|
+
writer.uint32(64).uint64(message.RetryAfterMilliseconds);
|
|
2931
|
+
}
|
|
2932
|
+
for (const v of message.Partitions) {
|
|
2933
|
+
PartitionResult.encode(v!, writer.uint32(74).fork()).join();
|
|
2934
|
+
}
|
|
2387
2935
|
return writer;
|
|
2388
2936
|
},
|
|
2389
2937
|
|
|
@@ -2456,6 +3004,22 @@ export const ReducerResult: MessageFns<ReducerResult> = {
|
|
|
2456
3004
|
message.DeliveryId = reader.uint64() as bigint;
|
|
2457
3005
|
continue;
|
|
2458
3006
|
}
|
|
3007
|
+
case 8: {
|
|
3008
|
+
if (tag !== 64) {
|
|
3009
|
+
break;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
message.RetryAfterMilliseconds = reader.uint64() as bigint;
|
|
3013
|
+
continue;
|
|
3014
|
+
}
|
|
3015
|
+
case 9: {
|
|
3016
|
+
if (tag !== 74) {
|
|
3017
|
+
break;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
message.Partitions.push(PartitionResult.decode(reader, reader.uint32()));
|
|
3021
|
+
continue;
|
|
3022
|
+
}
|
|
2459
3023
|
}
|
|
2460
3024
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2461
3025
|
break;
|
|
@@ -2481,6 +3045,10 @@ export const ReducerResult: MessageFns<ReducerResult> = {
|
|
|
2481
3045
|
ExceptionStackTrace: isSet(object.ExceptionStackTrace) ? globalThis.String(object.ExceptionStackTrace) : "",
|
|
2482
3046
|
ReadModelState: isSet(object.ReadModelState) ? globalThis.String(object.ReadModelState) : "",
|
|
2483
3047
|
DeliveryId: isSet(object.DeliveryId) ? BigInt(object.DeliveryId) : 0n,
|
|
3048
|
+
RetryAfterMilliseconds: isSet(object.RetryAfterMilliseconds) ? BigInt(object.RetryAfterMilliseconds) : 0n,
|
|
3049
|
+
Partitions: globalThis.Array.isArray(object?.Partitions)
|
|
3050
|
+
? object.Partitions.map((e: any) => PartitionResult.fromJSON(e))
|
|
3051
|
+
: [],
|
|
2484
3052
|
};
|
|
2485
3053
|
},
|
|
2486
3054
|
|
|
@@ -2507,6 +3075,12 @@ export const ReducerResult: MessageFns<ReducerResult> = {
|
|
|
2507
3075
|
if (message.DeliveryId !== 0n) {
|
|
2508
3076
|
obj.DeliveryId = message.DeliveryId.toString();
|
|
2509
3077
|
}
|
|
3078
|
+
if (message.RetryAfterMilliseconds !== 0n) {
|
|
3079
|
+
obj.RetryAfterMilliseconds = message.RetryAfterMilliseconds.toString();
|
|
3080
|
+
}
|
|
3081
|
+
if (message.Partitions?.length) {
|
|
3082
|
+
obj.Partitions = message.Partitions.map((e) => PartitionResult.toJSON(e));
|
|
3083
|
+
}
|
|
2510
3084
|
return obj;
|
|
2511
3085
|
},
|
|
2512
3086
|
|
|
@@ -2527,12 +3101,17 @@ export const ReducerResult: MessageFns<ReducerResult> = {
|
|
|
2527
3101
|
message.DeliveryId = (object.DeliveryId !== undefined && object.DeliveryId !== null)
|
|
2528
3102
|
? BigInt(object.DeliveryId)
|
|
2529
3103
|
: 0n;
|
|
3104
|
+
message.RetryAfterMilliseconds =
|
|
3105
|
+
(object.RetryAfterMilliseconds !== undefined && object.RetryAfterMilliseconds !== null)
|
|
3106
|
+
? BigInt(object.RetryAfterMilliseconds)
|
|
3107
|
+
: 0n;
|
|
3108
|
+
message.Partitions = object.Partitions?.map((e) => PartitionResult.fromPartial(e)) || [];
|
|
2530
3109
|
return message;
|
|
2531
3110
|
},
|
|
2532
3111
|
};
|
|
2533
3112
|
|
|
2534
3113
|
function createBaseRegisterReducer(): RegisterReducer {
|
|
2535
|
-
return { ConnectionId: "", EventStore: "", Namespace: "", Reducer: undefined };
|
|
3114
|
+
return { ConnectionId: "", EventStore: "", Namespace: "", Reducer: undefined, PageDelivery: undefined };
|
|
2536
3115
|
}
|
|
2537
3116
|
|
|
2538
3117
|
export const RegisterReducer: MessageFns<RegisterReducer> = {
|
|
@@ -2549,6 +3128,9 @@ export const RegisterReducer: MessageFns<RegisterReducer> = {
|
|
|
2549
3128
|
if (message.Reducer !== undefined) {
|
|
2550
3129
|
ReducerDefinition.encode(message.Reducer, writer.uint32(34).fork()).join();
|
|
2551
3130
|
}
|
|
3131
|
+
if (message.PageDelivery !== undefined) {
|
|
3132
|
+
PageDelivery.encode(message.PageDelivery, writer.uint32(42).fork()).join();
|
|
3133
|
+
}
|
|
2552
3134
|
return writer;
|
|
2553
3135
|
},
|
|
2554
3136
|
|
|
@@ -2597,6 +3179,14 @@ export const RegisterReducer: MessageFns<RegisterReducer> = {
|
|
|
2597
3179
|
message.Reducer = ReducerDefinition.decode(reader, reader.uint32());
|
|
2598
3180
|
continue;
|
|
2599
3181
|
}
|
|
3182
|
+
case 5: {
|
|
3183
|
+
if (tag !== 42) {
|
|
3184
|
+
break;
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
message.PageDelivery = PageDelivery.decode(reader, reader.uint32());
|
|
3188
|
+
continue;
|
|
3189
|
+
}
|
|
2600
3190
|
}
|
|
2601
3191
|
if ((tag & 7) === 4 || tag === 0) {
|
|
2602
3192
|
break;
|
|
@@ -2615,6 +3205,7 @@ export const RegisterReducer: MessageFns<RegisterReducer> = {
|
|
|
2615
3205
|
EventStore: isSet(object.EventStore) ? globalThis.String(object.EventStore) : "",
|
|
2616
3206
|
Namespace: isSet(object.Namespace) ? globalThis.String(object.Namespace) : "",
|
|
2617
3207
|
Reducer: isSet(object.Reducer) ? ReducerDefinition.fromJSON(object.Reducer) : undefined,
|
|
3208
|
+
PageDelivery: isSet(object.PageDelivery) ? PageDelivery.fromJSON(object.PageDelivery) : undefined,
|
|
2618
3209
|
};
|
|
2619
3210
|
},
|
|
2620
3211
|
|
|
@@ -2632,6 +3223,9 @@ export const RegisterReducer: MessageFns<RegisterReducer> = {
|
|
|
2632
3223
|
if (message.Reducer !== undefined) {
|
|
2633
3224
|
obj.Reducer = ReducerDefinition.toJSON(message.Reducer);
|
|
2634
3225
|
}
|
|
3226
|
+
if (message.PageDelivery !== undefined) {
|
|
3227
|
+
obj.PageDelivery = PageDelivery.toJSON(message.PageDelivery);
|
|
3228
|
+
}
|
|
2635
3229
|
return obj;
|
|
2636
3230
|
},
|
|
2637
3231
|
|
|
@@ -2646,6 +3240,9 @@ export const RegisterReducer: MessageFns<RegisterReducer> = {
|
|
|
2646
3240
|
message.Reducer = (object.Reducer !== undefined && object.Reducer !== null)
|
|
2647
3241
|
? ReducerDefinition.fromPartial(object.Reducer)
|
|
2648
3242
|
: undefined;
|
|
3243
|
+
message.PageDelivery = (object.PageDelivery !== undefined && object.PageDelivery !== null)
|
|
3244
|
+
? PageDelivery.fromPartial(object.PageDelivery)
|
|
3245
|
+
: undefined;
|
|
2649
3246
|
return message;
|
|
2650
3247
|
},
|
|
2651
3248
|
};
|