mezon-js-protobuf 1.4.16 → 1.4.19

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/api/api.ts CHANGED
@@ -1201,7 +1201,7 @@ export interface Notification {
1201
1201
  /** ID of channel */
1202
1202
  channel_id: string;
1203
1203
  /** mode of */
1204
- channel_mode: string;
1204
+ channel_type: string;
1205
1205
  }
1206
1206
 
1207
1207
  /** A collection of zero or more notifications. */
@@ -2006,6 +2006,16 @@ export interface NotificationUserChannel {
2006
2006
  time_mute: Date | undefined;
2007
2007
  }
2008
2008
 
2009
+ /** Notification channel */
2010
+ export interface NotifiReactMessage {
2011
+ /** Notification id */
2012
+ id: string;
2013
+ /** */
2014
+ user_id: string;
2015
+ /** */
2016
+ channel_id: string;
2017
+ }
2018
+
2009
2019
  /** */
2010
2020
  export interface DefaultNotificationClan {
2011
2021
  /** */
@@ -8651,7 +8661,7 @@ function createBaseNotification(): Notification {
8651
8661
  persistent: false,
8652
8662
  clan_id: "",
8653
8663
  channel_id: "",
8654
- channel_mode: "",
8664
+ channel_type: "",
8655
8665
  };
8656
8666
  }
8657
8667
 
@@ -8684,8 +8694,8 @@ export const Notification = {
8684
8694
  if (message.channel_id !== "") {
8685
8695
  writer.uint32(74).string(message.channel_id);
8686
8696
  }
8687
- if (message.channel_mode !== "") {
8688
- writer.uint32(82).string(message.channel_mode);
8697
+ if (message.channel_type !== "") {
8698
+ writer.uint32(82).string(message.channel_type);
8689
8699
  }
8690
8700
  return writer;
8691
8701
  },
@@ -8725,7 +8735,7 @@ export const Notification = {
8725
8735
  message.channel_id = reader.string();
8726
8736
  break;
8727
8737
  case 10:
8728
- message.channel_mode = reader.string();
8738
+ message.channel_type = reader.string();
8729
8739
  break;
8730
8740
  default:
8731
8741
  reader.skipType(tag & 7);
@@ -8746,7 +8756,7 @@ export const Notification = {
8746
8756
  persistent: isSet(object.persistent) ? Boolean(object.persistent) : false,
8747
8757
  clan_id: isSet(object.clan_id) ? String(object.clan_id) : "",
8748
8758
  channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
8749
- channel_mode: isSet(object.channel_mode) ? String(object.channel_mode) : "",
8759
+ channel_type: isSet(object.channel_type) ? String(object.channel_type) : "",
8750
8760
  };
8751
8761
  },
8752
8762
 
@@ -8761,7 +8771,7 @@ export const Notification = {
8761
8771
  message.persistent !== undefined && (obj.persistent = message.persistent);
8762
8772
  message.clan_id !== undefined && (obj.clan_id = message.clan_id);
8763
8773
  message.channel_id !== undefined && (obj.channel_id = message.channel_id);
8764
- message.channel_mode !== undefined && (obj.channel_mode = message.channel_mode);
8774
+ message.channel_type !== undefined && (obj.channel_type = message.channel_type);
8765
8775
  return obj;
8766
8776
  },
8767
8777
 
@@ -8780,7 +8790,7 @@ export const Notification = {
8780
8790
  message.persistent = object.persistent ?? false;
8781
8791
  message.clan_id = object.clan_id ?? "";
8782
8792
  message.channel_id = object.channel_id ?? "";
8783
- message.channel_mode = object.channel_mode ?? "";
8793
+ message.channel_type = object.channel_type ?? "";
8784
8794
  return message;
8785
8795
  },
8786
8796
  };
@@ -13996,6 +14006,77 @@ export const NotificationUserChannel = {
13996
14006
  },
13997
14007
  };
13998
14008
 
14009
+ function createBaseNotifiReactMessage(): NotifiReactMessage {
14010
+ return { id: "", user_id: "", channel_id: "" };
14011
+ }
14012
+
14013
+ export const NotifiReactMessage = {
14014
+ encode(message: NotifiReactMessage, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
14015
+ if (message.id !== "") {
14016
+ writer.uint32(10).string(message.id);
14017
+ }
14018
+ if (message.user_id !== "") {
14019
+ writer.uint32(18).string(message.user_id);
14020
+ }
14021
+ if (message.channel_id !== "") {
14022
+ writer.uint32(26).string(message.channel_id);
14023
+ }
14024
+ return writer;
14025
+ },
14026
+
14027
+ decode(input: _m0.Reader | Uint8Array, length?: number): NotifiReactMessage {
14028
+ const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
14029
+ let end = length === undefined ? reader.len : reader.pos + length;
14030
+ const message = createBaseNotifiReactMessage();
14031
+ while (reader.pos < end) {
14032
+ const tag = reader.uint32();
14033
+ switch (tag >>> 3) {
14034
+ case 1:
14035
+ message.id = reader.string();
14036
+ break;
14037
+ case 2:
14038
+ message.user_id = reader.string();
14039
+ break;
14040
+ case 3:
14041
+ message.channel_id = reader.string();
14042
+ break;
14043
+ default:
14044
+ reader.skipType(tag & 7);
14045
+ break;
14046
+ }
14047
+ }
14048
+ return message;
14049
+ },
14050
+
14051
+ fromJSON(object: any): NotifiReactMessage {
14052
+ return {
14053
+ id: isSet(object.id) ? String(object.id) : "",
14054
+ user_id: isSet(object.user_id) ? String(object.user_id) : "",
14055
+ channel_id: isSet(object.channel_id) ? String(object.channel_id) : "",
14056
+ };
14057
+ },
14058
+
14059
+ toJSON(message: NotifiReactMessage): unknown {
14060
+ const obj: any = {};
14061
+ message.id !== undefined && (obj.id = message.id);
14062
+ message.user_id !== undefined && (obj.user_id = message.user_id);
14063
+ message.channel_id !== undefined && (obj.channel_id = message.channel_id);
14064
+ return obj;
14065
+ },
14066
+
14067
+ create<I extends Exact<DeepPartial<NotifiReactMessage>, I>>(base?: I): NotifiReactMessage {
14068
+ return NotifiReactMessage.fromPartial(base ?? {});
14069
+ },
14070
+
14071
+ fromPartial<I extends Exact<DeepPartial<NotifiReactMessage>, I>>(object: I): NotifiReactMessage {
14072
+ const message = createBaseNotifiReactMessage();
14073
+ message.id = object.id ?? "";
14074
+ message.user_id = object.user_id ?? "";
14075
+ message.channel_id = object.channel_id ?? "";
14076
+ return message;
14077
+ },
14078
+ };
14079
+
13999
14080
  function createBaseDefaultNotificationClan(): DefaultNotificationClan {
14000
14081
  return { clan_id: "" };
14001
14082
  }
@@ -853,7 +853,7 @@ export interface Notification {
853
853
  /** ID of channel */
854
854
  channel_id: string;
855
855
  /** mode of */
856
- channel_mode: string;
856
+ channel_type: string;
857
857
  }
858
858
  /** A collection of zero or more notifications. */
859
859
  export interface NotificationList {
@@ -1504,6 +1504,15 @@ export interface NotificationUserChannel {
1504
1504
  /** */
1505
1505
  time_mute: Date | undefined;
1506
1506
  }
1507
+ /** Notification channel */
1508
+ export interface NotifiReactMessage {
1509
+ /** Notification id */
1510
+ id: string;
1511
+ /** */
1512
+ user_id: string;
1513
+ /** */
1514
+ channel_id: string;
1515
+ }
1507
1516
  /** */
1508
1517
  export interface DefaultNotificationClan {
1509
1518
  /** */
@@ -6583,7 +6592,7 @@ export declare const Notification: {
6583
6592
  persistent?: boolean | undefined;
6584
6593
  clan_id?: string | undefined;
6585
6594
  channel_id?: string | undefined;
6586
- channel_mode?: string | undefined;
6595
+ channel_type?: string | undefined;
6587
6596
  } & {
6588
6597
  id?: string | undefined;
6589
6598
  subject?: string | undefined;
@@ -6594,7 +6603,7 @@ export declare const Notification: {
6594
6603
  persistent?: boolean | undefined;
6595
6604
  clan_id?: string | undefined;
6596
6605
  channel_id?: string | undefined;
6597
- channel_mode?: string | undefined;
6606
+ channel_type?: string | undefined;
6598
6607
  } & { [K in Exclude<keyof I, keyof Notification>]: never; }>(base?: I | undefined): Notification;
6599
6608
  fromPartial<I_1 extends {
6600
6609
  id?: string | undefined;
@@ -6606,7 +6615,7 @@ export declare const Notification: {
6606
6615
  persistent?: boolean | undefined;
6607
6616
  clan_id?: string | undefined;
6608
6617
  channel_id?: string | undefined;
6609
- channel_mode?: string | undefined;
6618
+ channel_type?: string | undefined;
6610
6619
  } & {
6611
6620
  id?: string | undefined;
6612
6621
  subject?: string | undefined;
@@ -6617,7 +6626,7 @@ export declare const Notification: {
6617
6626
  persistent?: boolean | undefined;
6618
6627
  clan_id?: string | undefined;
6619
6628
  channel_id?: string | undefined;
6620
- channel_mode?: string | undefined;
6629
+ channel_type?: string | undefined;
6621
6630
  } & { [K_1 in Exclude<keyof I_1, keyof Notification>]: never; }>(object: I_1): Notification;
6622
6631
  };
6623
6632
  export declare const NotificationList: {
@@ -6636,7 +6645,7 @@ export declare const NotificationList: {
6636
6645
  persistent?: boolean | undefined;
6637
6646
  clan_id?: string | undefined;
6638
6647
  channel_id?: string | undefined;
6639
- channel_mode?: string | undefined;
6648
+ channel_type?: string | undefined;
6640
6649
  }[] | undefined;
6641
6650
  cacheable_cursor?: string | undefined;
6642
6651
  } & {
@@ -6650,7 +6659,7 @@ export declare const NotificationList: {
6650
6659
  persistent?: boolean | undefined;
6651
6660
  clan_id?: string | undefined;
6652
6661
  channel_id?: string | undefined;
6653
- channel_mode?: string | undefined;
6662
+ channel_type?: string | undefined;
6654
6663
  }[] & ({
6655
6664
  id?: string | undefined;
6656
6665
  subject?: string | undefined;
@@ -6661,7 +6670,7 @@ export declare const NotificationList: {
6661
6670
  persistent?: boolean | undefined;
6662
6671
  clan_id?: string | undefined;
6663
6672
  channel_id?: string | undefined;
6664
- channel_mode?: string | undefined;
6673
+ channel_type?: string | undefined;
6665
6674
  } & {
6666
6675
  id?: string | undefined;
6667
6676
  subject?: string | undefined;
@@ -6672,7 +6681,7 @@ export declare const NotificationList: {
6672
6681
  persistent?: boolean | undefined;
6673
6682
  clan_id?: string | undefined;
6674
6683
  channel_id?: string | undefined;
6675
- channel_mode?: string | undefined;
6684
+ channel_type?: string | undefined;
6676
6685
  } & { [K in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_1 in Exclude<keyof I["notifications"], keyof {
6677
6686
  id?: string | undefined;
6678
6687
  subject?: string | undefined;
@@ -6683,7 +6692,7 @@ export declare const NotificationList: {
6683
6692
  persistent?: boolean | undefined;
6684
6693
  clan_id?: string | undefined;
6685
6694
  channel_id?: string | undefined;
6686
- channel_mode?: string | undefined;
6695
+ channel_type?: string | undefined;
6687
6696
  }[]>]: never; }) | undefined;
6688
6697
  cacheable_cursor?: string | undefined;
6689
6698
  } & { [K_2 in Exclude<keyof I, keyof NotificationList>]: never; }>(base?: I | undefined): NotificationList;
@@ -6698,7 +6707,7 @@ export declare const NotificationList: {
6698
6707
  persistent?: boolean | undefined;
6699
6708
  clan_id?: string | undefined;
6700
6709
  channel_id?: string | undefined;
6701
- channel_mode?: string | undefined;
6710
+ channel_type?: string | undefined;
6702
6711
  }[] | undefined;
6703
6712
  cacheable_cursor?: string | undefined;
6704
6713
  } & {
@@ -6712,7 +6721,7 @@ export declare const NotificationList: {
6712
6721
  persistent?: boolean | undefined;
6713
6722
  clan_id?: string | undefined;
6714
6723
  channel_id?: string | undefined;
6715
- channel_mode?: string | undefined;
6724
+ channel_type?: string | undefined;
6716
6725
  }[] & ({
6717
6726
  id?: string | undefined;
6718
6727
  subject?: string | undefined;
@@ -6723,7 +6732,7 @@ export declare const NotificationList: {
6723
6732
  persistent?: boolean | undefined;
6724
6733
  clan_id?: string | undefined;
6725
6734
  channel_id?: string | undefined;
6726
- channel_mode?: string | undefined;
6735
+ channel_type?: string | undefined;
6727
6736
  } & {
6728
6737
  id?: string | undefined;
6729
6738
  subject?: string | undefined;
@@ -6734,7 +6743,7 @@ export declare const NotificationList: {
6734
6743
  persistent?: boolean | undefined;
6735
6744
  clan_id?: string | undefined;
6736
6745
  channel_id?: string | undefined;
6737
- channel_mode?: string | undefined;
6746
+ channel_type?: string | undefined;
6738
6747
  } & { [K_3 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_4 in Exclude<keyof I_1["notifications"], keyof {
6739
6748
  id?: string | undefined;
6740
6749
  subject?: string | undefined;
@@ -6745,7 +6754,7 @@ export declare const NotificationList: {
6745
6754
  persistent?: boolean | undefined;
6746
6755
  clan_id?: string | undefined;
6747
6756
  channel_id?: string | undefined;
6748
- channel_mode?: string | undefined;
6757
+ channel_type?: string | undefined;
6749
6758
  }[]>]: never; }) | undefined;
6750
6759
  cacheable_cursor?: string | undefined;
6751
6760
  } & { [K_5 in Exclude<keyof I_1, keyof NotificationList>]: never; }>(object: I_1): NotificationList;
@@ -10018,6 +10027,30 @@ export declare const NotificationUserChannel: {
10018
10027
  time_mute?: Date | undefined;
10019
10028
  } & { [K_1 in Exclude<keyof I_1, keyof NotificationUserChannel>]: never; }>(object: I_1): NotificationUserChannel;
10020
10029
  };
10030
+ export declare const NotifiReactMessage: {
10031
+ encode(message: NotifiReactMessage, writer?: _m0.Writer): _m0.Writer;
10032
+ decode(input: _m0.Reader | Uint8Array, length?: number): NotifiReactMessage;
10033
+ fromJSON(object: any): NotifiReactMessage;
10034
+ toJSON(message: NotifiReactMessage): unknown;
10035
+ create<I extends {
10036
+ id?: string | undefined;
10037
+ user_id?: string | undefined;
10038
+ channel_id?: string | undefined;
10039
+ } & {
10040
+ id?: string | undefined;
10041
+ user_id?: string | undefined;
10042
+ channel_id?: string | undefined;
10043
+ } & { [K in Exclude<keyof I, keyof NotifiReactMessage>]: never; }>(base?: I | undefined): NotifiReactMessage;
10044
+ fromPartial<I_1 extends {
10045
+ id?: string | undefined;
10046
+ user_id?: string | undefined;
10047
+ channel_id?: string | undefined;
10048
+ } & {
10049
+ id?: string | undefined;
10050
+ user_id?: string | undefined;
10051
+ channel_id?: string | undefined;
10052
+ } & { [K_1 in Exclude<keyof I_1, keyof NotifiReactMessage>]: never; }>(object: I_1): NotifiReactMessage;
10053
+ };
10021
10054
  export declare const DefaultNotificationClan: {
10022
10055
  encode(message: DefaultNotificationClan, writer?: _m0.Writer): _m0.Writer;
10023
10056
  decode(input: _m0.Reader | Uint8Array, length?: number): DefaultNotificationClan;
@@ -1,17 +1,19 @@
1
1
  import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "google.protobuf";
3
3
  /**
4
- * A Timestamp represents a point in time independent of any time zone
5
- * or calendar, represented as seconds and fractions of seconds at
6
- * nanosecond resolution in UTC Epoch time. It is encoded using the
7
- * Proleptic Gregorian Calendar which extends the Gregorian calendar
8
- * backwards to year one. It is encoded assuming all minutes are 60
9
- * seconds long, i.e. leap seconds are "smeared" so that no leap second
10
- * table is needed for interpretation. Range is from
11
- * 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
12
- * By restricting to that range, we ensure that we can convert to
13
- * and from RFC 3339 date strings.
14
- * See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
4
+ * A Timestamp represents a point in time independent of any time zone or local
5
+ * calendar, encoded as a count of seconds and fractions of seconds at
6
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
7
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
8
+ * Gregorian calendar backwards to year one.
9
+ *
10
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
11
+ * second table is needed for interpretation, using a [24-hour linear
12
+ * smear](https://developers.google.com/time/smear).
13
+ *
14
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
15
+ * restricting to that range, we ensure that we can convert to and from [RFC
16
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
15
17
  *
16
18
  * # Examples
17
19
  *
@@ -49,7 +51,15 @@ export declare const protobufPackage = "google.protobuf";
49
51
  * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
50
52
  * .setNanos((int) ((millis % 1000) * 1000000)).build();
51
53
  *
52
- * Example 5: Compute Timestamp from current time in Python.
54
+ * Example 5: Compute Timestamp from Java `Instant.now()`.
55
+ *
56
+ * Instant now = Instant.now();
57
+ *
58
+ * Timestamp timestamp =
59
+ * Timestamp.newBuilder().setSeconds(now.getEpochSecond())
60
+ * .setNanos(now.getNano()).build();
61
+ *
62
+ * Example 6: Compute Timestamp from current time in Python.
53
63
  *
54
64
  * timestamp = Timestamp()
55
65
  * timestamp.GetCurrentTime()
@@ -71,12 +81,14 @@ export declare const protobufPackage = "google.protobuf";
71
81
  * 01:30 UTC on January 15, 2017.
72
82
  *
73
83
  * In JavaScript, one can convert a Date object to this format using the
74
- * standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
84
+ * standard
85
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
75
86
  * method. In Python, a standard `datetime.datetime` object can be converted
76
- * to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
77
- * with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
78
- * can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
79
- * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
87
+ * to this format using
88
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
89
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
90
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
91
+ * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
80
92
  * ) to obtain a formatter capable of generating timestamps in this format.
81
93
  */
82
94
  export interface Timestamp {
@@ -842,7 +842,7 @@ export declare const Envelope: {
842
842
  persistent?: boolean | undefined;
843
843
  clan_id?: string | undefined;
844
844
  channel_id?: string | undefined;
845
- channel_mode?: string | undefined;
845
+ channel_type?: string | undefined;
846
846
  }[] | undefined;
847
847
  } | undefined;
848
848
  rpc?: {
@@ -1504,7 +1504,7 @@ export declare const Envelope: {
1504
1504
  persistent?: boolean | undefined;
1505
1505
  clan_id?: string | undefined;
1506
1506
  channel_id?: string | undefined;
1507
- channel_mode?: string | undefined;
1507
+ channel_type?: string | undefined;
1508
1508
  }[] | undefined;
1509
1509
  } & {
1510
1510
  notifications?: ({
@@ -1517,7 +1517,7 @@ export declare const Envelope: {
1517
1517
  persistent?: boolean | undefined;
1518
1518
  clan_id?: string | undefined;
1519
1519
  channel_id?: string | undefined;
1520
- channel_mode?: string | undefined;
1520
+ channel_type?: string | undefined;
1521
1521
  }[] & ({
1522
1522
  id?: string | undefined;
1523
1523
  subject?: string | undefined;
@@ -1528,7 +1528,7 @@ export declare const Envelope: {
1528
1528
  persistent?: boolean | undefined;
1529
1529
  clan_id?: string | undefined;
1530
1530
  channel_id?: string | undefined;
1531
- channel_mode?: string | undefined;
1531
+ channel_type?: string | undefined;
1532
1532
  } & {
1533
1533
  id?: string | undefined;
1534
1534
  subject?: string | undefined;
@@ -1539,7 +1539,7 @@ export declare const Envelope: {
1539
1539
  persistent?: boolean | undefined;
1540
1540
  clan_id?: string | undefined;
1541
1541
  channel_id?: string | undefined;
1542
- channel_mode?: string | undefined;
1542
+ channel_type?: string | undefined;
1543
1543
  } & { [K_24 in Exclude<keyof I["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_25 in Exclude<keyof I["notifications"]["notifications"], keyof {
1544
1544
  id?: string | undefined;
1545
1545
  subject?: string | undefined;
@@ -1550,7 +1550,7 @@ export declare const Envelope: {
1550
1550
  persistent?: boolean | undefined;
1551
1551
  clan_id?: string | undefined;
1552
1552
  channel_id?: string | undefined;
1553
- channel_mode?: string | undefined;
1553
+ channel_type?: string | undefined;
1554
1554
  }[]>]: never; }) | undefined;
1555
1555
  } & { [K_26 in Exclude<keyof I["notifications"], "notifications">]: never; }) | undefined;
1556
1556
  rpc?: ({
@@ -2439,7 +2439,7 @@ export declare const Envelope: {
2439
2439
  persistent?: boolean | undefined;
2440
2440
  clan_id?: string | undefined;
2441
2441
  channel_id?: string | undefined;
2442
- channel_mode?: string | undefined;
2442
+ channel_type?: string | undefined;
2443
2443
  }[] | undefined;
2444
2444
  } | undefined;
2445
2445
  rpc?: {
@@ -3101,7 +3101,7 @@ export declare const Envelope: {
3101
3101
  persistent?: boolean | undefined;
3102
3102
  clan_id?: string | undefined;
3103
3103
  channel_id?: string | undefined;
3104
- channel_mode?: string | undefined;
3104
+ channel_type?: string | undefined;
3105
3105
  }[] | undefined;
3106
3106
  } & {
3107
3107
  notifications?: ({
@@ -3114,7 +3114,7 @@ export declare const Envelope: {
3114
3114
  persistent?: boolean | undefined;
3115
3115
  clan_id?: string | undefined;
3116
3116
  channel_id?: string | undefined;
3117
- channel_mode?: string | undefined;
3117
+ channel_type?: string | undefined;
3118
3118
  }[] & ({
3119
3119
  id?: string | undefined;
3120
3120
  subject?: string | undefined;
@@ -3125,7 +3125,7 @@ export declare const Envelope: {
3125
3125
  persistent?: boolean | undefined;
3126
3126
  clan_id?: string | undefined;
3127
3127
  channel_id?: string | undefined;
3128
- channel_mode?: string | undefined;
3128
+ channel_type?: string | undefined;
3129
3129
  } & {
3130
3130
  id?: string | undefined;
3131
3131
  subject?: string | undefined;
@@ -3136,7 +3136,7 @@ export declare const Envelope: {
3136
3136
  persistent?: boolean | undefined;
3137
3137
  clan_id?: string | undefined;
3138
3138
  channel_id?: string | undefined;
3139
- channel_mode?: string | undefined;
3139
+ channel_type?: string | undefined;
3140
3140
  } & { [K_115 in Exclude<keyof I_1["notifications"]["notifications"][number], keyof Notification>]: never; })[] & { [K_116 in Exclude<keyof I_1["notifications"]["notifications"], keyof {
3141
3141
  id?: string | undefined;
3142
3142
  subject?: string | undefined;
@@ -3147,7 +3147,7 @@ export declare const Envelope: {
3147
3147
  persistent?: boolean | undefined;
3148
3148
  clan_id?: string | undefined;
3149
3149
  channel_id?: string | undefined;
3150
- channel_mode?: string | undefined;
3150
+ channel_type?: string | undefined;
3151
3151
  }[]>]: never; }) | undefined;
3152
3152
  } & { [K_117 in Exclude<keyof I_1["notifications"], "notifications">]: never; }) | undefined;
3153
3153
  rpc?: ({
@@ -4736,7 +4736,7 @@ export declare const Notifications: {
4736
4736
  persistent?: boolean | undefined;
4737
4737
  clan_id?: string | undefined;
4738
4738
  channel_id?: string | undefined;
4739
- channel_mode?: string | undefined;
4739
+ channel_type?: string | undefined;
4740
4740
  }[] | undefined;
4741
4741
  } & {
4742
4742
  notifications?: ({
@@ -4749,7 +4749,7 @@ export declare const Notifications: {
4749
4749
  persistent?: boolean | undefined;
4750
4750
  clan_id?: string | undefined;
4751
4751
  channel_id?: string | undefined;
4752
- channel_mode?: string | undefined;
4752
+ channel_type?: string | undefined;
4753
4753
  }[] & ({
4754
4754
  id?: string | undefined;
4755
4755
  subject?: string | undefined;
@@ -4760,7 +4760,7 @@ export declare const Notifications: {
4760
4760
  persistent?: boolean | undefined;
4761
4761
  clan_id?: string | undefined;
4762
4762
  channel_id?: string | undefined;
4763
- channel_mode?: string | undefined;
4763
+ channel_type?: string | undefined;
4764
4764
  } & {
4765
4765
  id?: string | undefined;
4766
4766
  subject?: string | undefined;
@@ -4771,7 +4771,7 @@ export declare const Notifications: {
4771
4771
  persistent?: boolean | undefined;
4772
4772
  clan_id?: string | undefined;
4773
4773
  channel_id?: string | undefined;
4774
- channel_mode?: string | undefined;
4774
+ channel_type?: string | undefined;
4775
4775
  } & { [K in Exclude<keyof I["notifications"][number], keyof Notification>]: never; })[] & { [K_1 in Exclude<keyof I["notifications"], keyof {
4776
4776
  id?: string | undefined;
4777
4777
  subject?: string | undefined;
@@ -4782,7 +4782,7 @@ export declare const Notifications: {
4782
4782
  persistent?: boolean | undefined;
4783
4783
  clan_id?: string | undefined;
4784
4784
  channel_id?: string | undefined;
4785
- channel_mode?: string | undefined;
4785
+ channel_type?: string | undefined;
4786
4786
  }[]>]: never; }) | undefined;
4787
4787
  } & { [K_2 in Exclude<keyof I, "notifications">]: never; }>(base?: I | undefined): Notifications;
4788
4788
  fromPartial<I_1 extends {
@@ -4796,7 +4796,7 @@ export declare const Notifications: {
4796
4796
  persistent?: boolean | undefined;
4797
4797
  clan_id?: string | undefined;
4798
4798
  channel_id?: string | undefined;
4799
- channel_mode?: string | undefined;
4799
+ channel_type?: string | undefined;
4800
4800
  }[] | undefined;
4801
4801
  } & {
4802
4802
  notifications?: ({
@@ -4809,7 +4809,7 @@ export declare const Notifications: {
4809
4809
  persistent?: boolean | undefined;
4810
4810
  clan_id?: string | undefined;
4811
4811
  channel_id?: string | undefined;
4812
- channel_mode?: string | undefined;
4812
+ channel_type?: string | undefined;
4813
4813
  }[] & ({
4814
4814
  id?: string | undefined;
4815
4815
  subject?: string | undefined;
@@ -4820,7 +4820,7 @@ export declare const Notifications: {
4820
4820
  persistent?: boolean | undefined;
4821
4821
  clan_id?: string | undefined;
4822
4822
  channel_id?: string | undefined;
4823
- channel_mode?: string | undefined;
4823
+ channel_type?: string | undefined;
4824
4824
  } & {
4825
4825
  id?: string | undefined;
4826
4826
  subject?: string | undefined;
@@ -4831,7 +4831,7 @@ export declare const Notifications: {
4831
4831
  persistent?: boolean | undefined;
4832
4832
  clan_id?: string | undefined;
4833
4833
  channel_id?: string | undefined;
4834
- channel_mode?: string | undefined;
4834
+ channel_type?: string | undefined;
4835
4835
  } & { [K_3 in Exclude<keyof I_1["notifications"][number], keyof Notification>]: never; })[] & { [K_4 in Exclude<keyof I_1["notifications"], keyof {
4836
4836
  id?: string | undefined;
4837
4837
  subject?: string | undefined;
@@ -4842,7 +4842,7 @@ export declare const Notifications: {
4842
4842
  persistent?: boolean | undefined;
4843
4843
  clan_id?: string | undefined;
4844
4844
  channel_id?: string | undefined;
4845
- channel_mode?: string | undefined;
4845
+ channel_type?: string | undefined;
4846
4846
  }[]>]: never; }) | undefined;
4847
4847
  } & { [K_5 in Exclude<keyof I_1, "notifications">]: never; }>(object: I_1): Notifications;
4848
4848
  };