@sentio/runtime 3.0.0-rc-next.5 → 3.0.0-rc.10

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.
@@ -2883,6 +2883,13 @@ var NotificationType;
2883
2883
  NotificationType2[NotificationType2["BILLING_USAGE"] = 304] = "BILLING_USAGE";
2884
2884
  NotificationType2[NotificationType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2885
2885
  })(NotificationType || (NotificationType = {}));
2886
+ var ChatType;
2887
+ (function(ChatType2) {
2888
+ ChatType2[ChatType2["CHAT_TYPE_UNSPECIFIED"] = 0] = "CHAT_TYPE_UNSPECIFIED";
2889
+ ChatType2[ChatType2["CHAT_TYPE_CHAT"] = 1] = "CHAT_TYPE_CHAT";
2890
+ ChatType2[ChatType2["CHAT_TYPE_ACTION"] = 2] = "CHAT_TYPE_ACTION";
2891
+ ChatType2[ChatType2["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
2892
+ })(ChatType || (ChatType = {}));
2886
2893
  var UsageTracker_CustomSkus_SkuOp;
2887
2894
  (function(UsageTracker_CustomSkus_SkuOp2) {
2888
2895
  UsageTracker_CustomSkus_SkuOp2[UsageTracker_CustomSkus_SkuOp2["MIN"] = 0] = "MIN";
@@ -9796,13 +9803,16 @@ var EntityUpdateData_FieldsEntry = {
9796
9803
  }
9797
9804
  };
9798
9805
  function createBaseTPLRequest() {
9799
- return { templates: [] };
9806
+ return { templates: [], remove: false };
9800
9807
  }
9801
9808
  var TPLRequest = {
9802
9809
  encode(message, writer = import_minimal6.default.Writer.create()) {
9803
9810
  for (const v of message.templates) {
9804
9811
  TemplateInstance.encode(v, writer.uint32(10).fork()).ldelim();
9805
9812
  }
9813
+ if (message.remove !== false) {
9814
+ writer.uint32(16).bool(message.remove);
9815
+ }
9806
9816
  return writer;
9807
9817
  },
9808
9818
  decode(input, length) {
@@ -9818,6 +9828,12 @@ var TPLRequest = {
9818
9828
  }
9819
9829
  message.templates.push(TemplateInstance.decode(reader, reader.uint32()));
9820
9830
  continue;
9831
+ case 2:
9832
+ if (tag !== 16) {
9833
+ break;
9834
+ }
9835
+ message.remove = reader.bool();
9836
+ continue;
9821
9837
  }
9822
9838
  if ((tag & 7) === 4 || tag === 0) {
9823
9839
  break;
@@ -9828,7 +9844,8 @@ var TPLRequest = {
9828
9844
  },
9829
9845
  fromJSON(object) {
9830
9846
  return {
9831
- templates: globalThis.Array.isArray(object?.templates) ? object.templates.map((e) => TemplateInstance.fromJSON(e)) : []
9847
+ templates: globalThis.Array.isArray(object?.templates) ? object.templates.map((e) => TemplateInstance.fromJSON(e)) : [],
9848
+ remove: isSet4(object.remove) ? globalThis.Boolean(object.remove) : false
9832
9849
  };
9833
9850
  },
9834
9851
  toJSON(message) {
@@ -9836,6 +9853,9 @@ var TPLRequest = {
9836
9853
  if (message.templates?.length) {
9837
9854
  obj.templates = message.templates.map((e) => TemplateInstance.toJSON(e));
9838
9855
  }
9856
+ if (message.remove !== false) {
9857
+ obj.remove = message.remove;
9858
+ }
9839
9859
  return obj;
9840
9860
  },
9841
9861
  create(base) {
@@ -9844,6 +9864,7 @@ var TPLRequest = {
9844
9864
  fromPartial(object) {
9845
9865
  const message = createBaseTPLRequest();
9846
9866
  message.templates = object.templates?.map((e) => TemplateInstance.fromPartial(e)) || [];
9867
+ message.remove = object.remove ?? false;
9847
9868
  return message;
9848
9869
  }
9849
9870
  };
@@ -25770,4 +25791,4 @@ long/index.js:
25770
25791
  * SPDX-License-Identifier: Apache-2.0
25771
25792
  *)
25772
25793
  */
25773
- //# sourceMappingURL=chunk-OFR7W4ZG.js.map
25794
+ //# sourceMappingURL=chunk-ROBPWJIE.js.map