@sentio/protos 1.37.5-rc.5 → 1.37.5-rc.7
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.
|
@@ -339,7 +339,9 @@ export interface LogResult {
|
|
|
339
339
|
export interface EventTrackingResult {
|
|
340
340
|
metadata: RecordMetaData | undefined;
|
|
341
341
|
distinctEntityId: string;
|
|
342
|
-
attributes:
|
|
342
|
+
attributes: {
|
|
343
|
+
[key: string]: any;
|
|
344
|
+
} | undefined;
|
|
343
345
|
runtimeInfo: RuntimeInfo | undefined;
|
|
344
346
|
}
|
|
345
347
|
export interface ExportResult {
|
|
@@ -3754,7 +3754,7 @@ exports.LogResult = {
|
|
|
3754
3754
|
},
|
|
3755
3755
|
};
|
|
3756
3756
|
function createBaseEventTrackingResult() {
|
|
3757
|
-
return { metadata: undefined, distinctEntityId: '', attributes:
|
|
3757
|
+
return { metadata: undefined, distinctEntityId: '', attributes: undefined, runtimeInfo: undefined };
|
|
3758
3758
|
}
|
|
3759
3759
|
exports.EventTrackingResult = {
|
|
3760
3760
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -3764,8 +3764,8 @@ exports.EventTrackingResult = {
|
|
|
3764
3764
|
if (message.distinctEntityId !== '') {
|
|
3765
3765
|
writer.uint32(18).string(message.distinctEntityId);
|
|
3766
3766
|
}
|
|
3767
|
-
if (message.attributes !==
|
|
3768
|
-
writer.uint32(
|
|
3767
|
+
if (message.attributes !== undefined) {
|
|
3768
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.attributes), writer.uint32(50).fork()).ldelim();
|
|
3769
3769
|
}
|
|
3770
3770
|
if (message.runtimeInfo !== undefined) {
|
|
3771
3771
|
exports.RuntimeInfo.encode(message.runtimeInfo, writer.uint32(42).fork()).ldelim();
|
|
@@ -3785,8 +3785,8 @@ exports.EventTrackingResult = {
|
|
|
3785
3785
|
case 2:
|
|
3786
3786
|
message.distinctEntityId = reader.string();
|
|
3787
3787
|
break;
|
|
3788
|
-
case
|
|
3789
|
-
message.attributes = reader.
|
|
3788
|
+
case 6:
|
|
3789
|
+
message.attributes = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
3790
3790
|
break;
|
|
3791
3791
|
case 5:
|
|
3792
3792
|
message.runtimeInfo = exports.RuntimeInfo.decode(reader, reader.uint32());
|
|
@@ -3802,7 +3802,7 @@ exports.EventTrackingResult = {
|
|
|
3802
3802
|
return {
|
|
3803
3803
|
metadata: isSet(object.metadata) ? exports.RecordMetaData.fromJSON(object.metadata) : undefined,
|
|
3804
3804
|
distinctEntityId: isSet(object.distinctEntityId) ? String(object.distinctEntityId) : '',
|
|
3805
|
-
attributes:
|
|
3805
|
+
attributes: isObject(object.attributes) ? object.attributes : undefined,
|
|
3806
3806
|
runtimeInfo: isSet(object.runtimeInfo) ? exports.RuntimeInfo.fromJSON(object.runtimeInfo) : undefined,
|
|
3807
3807
|
};
|
|
3808
3808
|
},
|
|
@@ -3823,7 +3823,7 @@ exports.EventTrackingResult = {
|
|
|
3823
3823
|
? exports.RecordMetaData.fromPartial(object.metadata)
|
|
3824
3824
|
: undefined;
|
|
3825
3825
|
message.distinctEntityId = object.distinctEntityId ?? '';
|
|
3826
|
-
message.attributes = object.attributes ??
|
|
3826
|
+
message.attributes = object.attributes ?? undefined;
|
|
3827
3827
|
message.runtimeInfo =
|
|
3828
3828
|
object.runtimeInfo !== undefined && object.runtimeInfo !== null
|
|
3829
3829
|
? exports.RuntimeInfo.fromPartial(object.runtimeInfo)
|