mezon-js-protobuf 1.7.41 → 1.7.42

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
@@ -2924,6 +2924,8 @@ export interface App {
2924
2924
  role: number;
2925
2925
  /** about */
2926
2926
  about: string;
2927
+ /** app url */
2928
+ app_url: string;
2927
2929
  }
2928
2930
 
2929
2931
  /** Delete a app. */
@@ -2956,6 +2958,12 @@ export interface AddAppRequest {
2956
2958
  role: number;
2957
2959
  /** Is shadow. */
2958
2960
  is_shadow: boolean;
2961
+ /** App url. */
2962
+ app_url: string;
2963
+ /** app logo */
2964
+ app_logo: string;
2965
+ /** about me */
2966
+ about_me: string;
2959
2967
  }
2960
2968
 
2961
2969
  /** List (and optionally filter) users. */
@@ -2990,18 +2998,6 @@ export interface UpdateAppRequest {
2990
2998
  | undefined;
2991
2999
  /** about the app. */
2992
3000
  about: string;
2993
- }
2994
-
2995
- /** Add a new app */
2996
- export interface AddChannelAppRequest {
2997
- /** The appname. */
2998
- appname: string;
2999
- /** The password. */
3000
- token: string;
3001
- /** Creator of the app. */
3002
- creator_id: string;
3003
- /** Role of this app. */
3004
- role: number;
3005
3001
  /** App url. */
3006
3002
  app_url: string;
3007
3003
  }
@@ -28028,6 +28024,7 @@ function createBaseApp(): App {
28028
28024
  token: "",
28029
28025
  role: 0,
28030
28026
  about: "",
28027
+ app_url: "",
28031
28028
  };
28032
28029
  }
28033
28030
 
@@ -28060,6 +28057,9 @@ export const App = {
28060
28057
  if (message.about !== "") {
28061
28058
  writer.uint32(74).string(message.about);
28062
28059
  }
28060
+ if (message.app_url !== "") {
28061
+ writer.uint32(82).string(message.app_url);
28062
+ }
28063
28063
  return writer;
28064
28064
  },
28065
28065
 
@@ -28133,6 +28133,13 @@ export const App = {
28133
28133
 
28134
28134
  message.about = reader.string();
28135
28135
  continue;
28136
+ case 10:
28137
+ if (tag !== 82) {
28138
+ break;
28139
+ }
28140
+
28141
+ message.app_url = reader.string();
28142
+ continue;
28136
28143
  }
28137
28144
  if ((tag & 7) === 4 || tag === 0) {
28138
28145
  break;
@@ -28153,6 +28160,7 @@ export const App = {
28153
28160
  token: isSet(object.token) ? globalThis.String(object.token) : "",
28154
28161
  role: isSet(object.role) ? globalThis.Number(object.role) : 0,
28155
28162
  about: isSet(object.about) ? globalThis.String(object.about) : "",
28163
+ app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
28156
28164
  };
28157
28165
  },
28158
28166
 
@@ -28185,6 +28193,9 @@ export const App = {
28185
28193
  if (message.about !== "") {
28186
28194
  obj.about = message.about;
28187
28195
  }
28196
+ if (message.app_url !== "") {
28197
+ obj.app_url = message.app_url;
28198
+ }
28188
28199
  return obj;
28189
28200
  },
28190
28201
 
@@ -28202,6 +28213,7 @@ export const App = {
28202
28213
  message.token = object.token ?? "";
28203
28214
  message.role = object.role ?? 0;
28204
28215
  message.about = object.about ?? "";
28216
+ message.app_url = object.app_url ?? "";
28205
28217
  return message;
28206
28218
  },
28207
28219
  };
@@ -28370,7 +28382,7 @@ export const AppList = {
28370
28382
  };
28371
28383
 
28372
28384
  function createBaseAddAppRequest(): AddAppRequest {
28373
- return { appname: "", token: "", creator_id: "", role: 0, is_shadow: false };
28385
+ return { appname: "", token: "", creator_id: "", role: 0, is_shadow: false, app_url: "", app_logo: "", about_me: "" };
28374
28386
  }
28375
28387
 
28376
28388
  export const AddAppRequest = {
@@ -28390,6 +28402,15 @@ export const AddAppRequest = {
28390
28402
  if (message.is_shadow !== false) {
28391
28403
  writer.uint32(40).bool(message.is_shadow);
28392
28404
  }
28405
+ if (message.app_url !== "") {
28406
+ writer.uint32(50).string(message.app_url);
28407
+ }
28408
+ if (message.app_logo !== "") {
28409
+ writer.uint32(58).string(message.app_logo);
28410
+ }
28411
+ if (message.about_me !== "") {
28412
+ writer.uint32(66).string(message.about_me);
28413
+ }
28393
28414
  return writer;
28394
28415
  },
28395
28416
 
@@ -28435,6 +28456,27 @@ export const AddAppRequest = {
28435
28456
 
28436
28457
  message.is_shadow = reader.bool();
28437
28458
  continue;
28459
+ case 6:
28460
+ if (tag !== 50) {
28461
+ break;
28462
+ }
28463
+
28464
+ message.app_url = reader.string();
28465
+ continue;
28466
+ case 7:
28467
+ if (tag !== 58) {
28468
+ break;
28469
+ }
28470
+
28471
+ message.app_logo = reader.string();
28472
+ continue;
28473
+ case 8:
28474
+ if (tag !== 66) {
28475
+ break;
28476
+ }
28477
+
28478
+ message.about_me = reader.string();
28479
+ continue;
28438
28480
  }
28439
28481
  if ((tag & 7) === 4 || tag === 0) {
28440
28482
  break;
@@ -28451,6 +28493,9 @@ export const AddAppRequest = {
28451
28493
  creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
28452
28494
  role: isSet(object.role) ? globalThis.Number(object.role) : 0,
28453
28495
  is_shadow: isSet(object.is_shadow) ? globalThis.Boolean(object.is_shadow) : false,
28496
+ app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
28497
+ app_logo: isSet(object.app_logo) ? globalThis.String(object.app_logo) : "",
28498
+ about_me: isSet(object.about_me) ? globalThis.String(object.about_me) : "",
28454
28499
  };
28455
28500
  },
28456
28501
 
@@ -28471,6 +28516,15 @@ export const AddAppRequest = {
28471
28516
  if (message.is_shadow !== false) {
28472
28517
  obj.is_shadow = message.is_shadow;
28473
28518
  }
28519
+ if (message.app_url !== "") {
28520
+ obj.app_url = message.app_url;
28521
+ }
28522
+ if (message.app_logo !== "") {
28523
+ obj.app_logo = message.app_logo;
28524
+ }
28525
+ if (message.about_me !== "") {
28526
+ obj.about_me = message.about_me;
28527
+ }
28474
28528
  return obj;
28475
28529
  },
28476
28530
 
@@ -28484,6 +28538,9 @@ export const AddAppRequest = {
28484
28538
  message.creator_id = object.creator_id ?? "";
28485
28539
  message.role = object.role ?? 0;
28486
28540
  message.is_shadow = object.is_shadow ?? false;
28541
+ message.app_url = object.app_url ?? "";
28542
+ message.app_logo = object.app_logo ?? "";
28543
+ message.about_me = object.about_me ?? "";
28487
28544
  return message;
28488
28545
  },
28489
28546
  };
@@ -28578,7 +28635,15 @@ export const ListAppsRequest = {
28578
28635
  };
28579
28636
 
28580
28637
  function createBaseUpdateAppRequest(): UpdateAppRequest {
28581
- return { id: "", appname: undefined, metadata: undefined, applogo: undefined, token: undefined, about: "" };
28638
+ return {
28639
+ id: "",
28640
+ appname: undefined,
28641
+ metadata: undefined,
28642
+ applogo: undefined,
28643
+ token: undefined,
28644
+ about: "",
28645
+ app_url: "",
28646
+ };
28582
28647
  }
28583
28648
 
28584
28649
  export const UpdateAppRequest = {
@@ -28601,6 +28666,9 @@ export const UpdateAppRequest = {
28601
28666
  if (message.about !== "") {
28602
28667
  writer.uint32(50).string(message.about);
28603
28668
  }
28669
+ if (message.app_url !== "") {
28670
+ writer.uint32(58).string(message.app_url);
28671
+ }
28604
28672
  return writer;
28605
28673
  },
28606
28674
 
@@ -28653,6 +28721,13 @@ export const UpdateAppRequest = {
28653
28721
 
28654
28722
  message.about = reader.string();
28655
28723
  continue;
28724
+ case 7:
28725
+ if (tag !== 58) {
28726
+ break;
28727
+ }
28728
+
28729
+ message.app_url = reader.string();
28730
+ continue;
28656
28731
  }
28657
28732
  if ((tag & 7) === 4 || tag === 0) {
28658
28733
  break;
@@ -28670,6 +28745,7 @@ export const UpdateAppRequest = {
28670
28745
  applogo: isSet(object.applogo) ? String(object.applogo) : undefined,
28671
28746
  token: isSet(object.token) ? String(object.token) : undefined,
28672
28747
  about: isSet(object.about) ? globalThis.String(object.about) : "",
28748
+ app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
28673
28749
  };
28674
28750
  },
28675
28751
 
@@ -28693,6 +28769,9 @@ export const UpdateAppRequest = {
28693
28769
  if (message.about !== "") {
28694
28770
  obj.about = message.about;
28695
28771
  }
28772
+ if (message.app_url !== "") {
28773
+ obj.app_url = message.app_url;
28774
+ }
28696
28775
  return obj;
28697
28776
  },
28698
28777
 
@@ -28707,124 +28786,6 @@ export const UpdateAppRequest = {
28707
28786
  message.applogo = object.applogo ?? undefined;
28708
28787
  message.token = object.token ?? undefined;
28709
28788
  message.about = object.about ?? "";
28710
- return message;
28711
- },
28712
- };
28713
-
28714
- function createBaseAddChannelAppRequest(): AddChannelAppRequest {
28715
- return { appname: "", token: "", creator_id: "", role: 0, app_url: "" };
28716
- }
28717
-
28718
- export const AddChannelAppRequest = {
28719
- encode(message: AddChannelAppRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
28720
- if (message.appname !== "") {
28721
- writer.uint32(10).string(message.appname);
28722
- }
28723
- if (message.token !== "") {
28724
- writer.uint32(18).string(message.token);
28725
- }
28726
- if (message.creator_id !== "") {
28727
- writer.uint32(26).string(message.creator_id);
28728
- }
28729
- if (message.role !== 0) {
28730
- writer.uint32(32).int32(message.role);
28731
- }
28732
- if (message.app_url !== "") {
28733
- writer.uint32(42).string(message.app_url);
28734
- }
28735
- return writer;
28736
- },
28737
-
28738
- decode(input: _m0.Reader | Uint8Array, length?: number): AddChannelAppRequest {
28739
- const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
28740
- let end = length === undefined ? reader.len : reader.pos + length;
28741
- const message = createBaseAddChannelAppRequest();
28742
- while (reader.pos < end) {
28743
- const tag = reader.uint32();
28744
- switch (tag >>> 3) {
28745
- case 1:
28746
- if (tag !== 10) {
28747
- break;
28748
- }
28749
-
28750
- message.appname = reader.string();
28751
- continue;
28752
- case 2:
28753
- if (tag !== 18) {
28754
- break;
28755
- }
28756
-
28757
- message.token = reader.string();
28758
- continue;
28759
- case 3:
28760
- if (tag !== 26) {
28761
- break;
28762
- }
28763
-
28764
- message.creator_id = reader.string();
28765
- continue;
28766
- case 4:
28767
- if (tag !== 32) {
28768
- break;
28769
- }
28770
-
28771
- message.role = reader.int32();
28772
- continue;
28773
- case 5:
28774
- if (tag !== 42) {
28775
- break;
28776
- }
28777
-
28778
- message.app_url = reader.string();
28779
- continue;
28780
- }
28781
- if ((tag & 7) === 4 || tag === 0) {
28782
- break;
28783
- }
28784
- reader.skipType(tag & 7);
28785
- }
28786
- return message;
28787
- },
28788
-
28789
- fromJSON(object: any): AddChannelAppRequest {
28790
- return {
28791
- appname: isSet(object.appname) ? globalThis.String(object.appname) : "",
28792
- token: isSet(object.token) ? globalThis.String(object.token) : "",
28793
- creator_id: isSet(object.creator_id) ? globalThis.String(object.creator_id) : "",
28794
- role: isSet(object.role) ? globalThis.Number(object.role) : 0,
28795
- app_url: isSet(object.app_url) ? globalThis.String(object.app_url) : "",
28796
- };
28797
- },
28798
-
28799
- toJSON(message: AddChannelAppRequest): unknown {
28800
- const obj: any = {};
28801
- if (message.appname !== "") {
28802
- obj.appname = message.appname;
28803
- }
28804
- if (message.token !== "") {
28805
- obj.token = message.token;
28806
- }
28807
- if (message.creator_id !== "") {
28808
- obj.creator_id = message.creator_id;
28809
- }
28810
- if (message.role !== 0) {
28811
- obj.role = Math.round(message.role);
28812
- }
28813
- if (message.app_url !== "") {
28814
- obj.app_url = message.app_url;
28815
- }
28816
- return obj;
28817
- },
28818
-
28819
- create<I extends Exact<DeepPartial<AddChannelAppRequest>, I>>(base?: I): AddChannelAppRequest {
28820
- return AddChannelAppRequest.fromPartial(base ?? ({} as any));
28821
- },
28822
- fromPartial<I extends Exact<DeepPartial<AddChannelAppRequest>, I>>(object: I): AddChannelAppRequest {
28823
- const message = createBaseAddChannelAppRequest();
28824
- message.appname = object.appname ?? "";
28825
- message.token = object.token ?? "";
28826
- message.creator_id = object.creator_id ?? "";
28827
- message.role = object.role ?? 0;
28828
28789
  message.app_url = object.app_url ?? "";
28829
28790
  return message;
28830
28791
  },
@@ -2311,6 +2311,8 @@ export interface App {
2311
2311
  role: number;
2312
2312
  /** about */
2313
2313
  about: string;
2314
+ /** app url */
2315
+ app_url: string;
2314
2316
  }
2315
2317
  /** Delete a app. */
2316
2318
  export interface AppDeleteRequest {
@@ -2340,6 +2342,12 @@ export interface AddAppRequest {
2340
2342
  role: number;
2341
2343
  /** Is shadow. */
2342
2344
  is_shadow: boolean;
2345
+ /** App url. */
2346
+ app_url: string;
2347
+ /** app logo */
2348
+ app_logo: string;
2349
+ /** about me */
2350
+ about_me: string;
2343
2351
  }
2344
2352
  /** List (and optionally filter) users. */
2345
2353
  export interface ListAppsRequest {
@@ -2364,17 +2372,6 @@ export interface UpdateAppRequest {
2364
2372
  token: string | undefined;
2365
2373
  /** about the app. */
2366
2374
  about: string;
2367
- }
2368
- /** Add a new app */
2369
- export interface AddChannelAppRequest {
2370
- /** The appname. */
2371
- appname: string;
2372
- /** The password. */
2373
- token: string;
2374
- /** Creator of the app. */
2375
- creator_id: string;
2376
- /** Role of this app. */
2377
- role: number;
2378
2375
  /** App url. */
2379
2376
  app_url: string;
2380
2377
  }
@@ -18178,6 +18175,7 @@ export declare const App: {
18178
18175
  token?: string | undefined;
18179
18176
  role?: number | undefined;
18180
18177
  about?: string | undefined;
18178
+ app_url?: string | undefined;
18181
18179
  } & {
18182
18180
  id?: string | undefined;
18183
18181
  appname?: string | undefined;
@@ -18188,6 +18186,7 @@ export declare const App: {
18188
18186
  token?: string | undefined;
18189
18187
  role?: number | undefined;
18190
18188
  about?: string | undefined;
18189
+ app_url?: string | undefined;
18191
18190
  } & { [K in Exclude<keyof I, keyof App>]: never; }>(base?: I | undefined): App;
18192
18191
  fromPartial<I_1 extends {
18193
18192
  id?: string | undefined;
@@ -18199,6 +18198,7 @@ export declare const App: {
18199
18198
  token?: string | undefined;
18200
18199
  role?: number | undefined;
18201
18200
  about?: string | undefined;
18201
+ app_url?: string | undefined;
18202
18202
  } & {
18203
18203
  id?: string | undefined;
18204
18204
  appname?: string | undefined;
@@ -18209,6 +18209,7 @@ export declare const App: {
18209
18209
  token?: string | undefined;
18210
18210
  role?: number | undefined;
18211
18211
  about?: string | undefined;
18212
+ app_url?: string | undefined;
18212
18213
  } & { [K_1 in Exclude<keyof I_1, keyof App>]: never; }>(object: I_1): App;
18213
18214
  };
18214
18215
  export declare const AppDeleteRequest: {
@@ -18247,6 +18248,7 @@ export declare const AppList: {
18247
18248
  token?: string | undefined;
18248
18249
  role?: number | undefined;
18249
18250
  about?: string | undefined;
18251
+ app_url?: string | undefined;
18250
18252
  }[] | undefined;
18251
18253
  total_count?: number | undefined;
18252
18254
  next_cursor?: string | undefined;
@@ -18261,6 +18263,7 @@ export declare const AppList: {
18261
18263
  token?: string | undefined;
18262
18264
  role?: number | undefined;
18263
18265
  about?: string | undefined;
18266
+ app_url?: string | undefined;
18264
18267
  }[] & ({
18265
18268
  id?: string | undefined;
18266
18269
  appname?: string | undefined;
@@ -18271,6 +18274,7 @@ export declare const AppList: {
18271
18274
  token?: string | undefined;
18272
18275
  role?: number | undefined;
18273
18276
  about?: string | undefined;
18277
+ app_url?: string | undefined;
18274
18278
  } & {
18275
18279
  id?: string | undefined;
18276
18280
  appname?: string | undefined;
@@ -18281,6 +18285,7 @@ export declare const AppList: {
18281
18285
  token?: string | undefined;
18282
18286
  role?: number | undefined;
18283
18287
  about?: string | undefined;
18288
+ app_url?: string | undefined;
18284
18289
  } & { [K in Exclude<keyof I["apps"][number], keyof App>]: never; })[] & { [K_1 in Exclude<keyof I["apps"], keyof {
18285
18290
  id?: string | undefined;
18286
18291
  appname?: string | undefined;
@@ -18291,6 +18296,7 @@ export declare const AppList: {
18291
18296
  token?: string | undefined;
18292
18297
  role?: number | undefined;
18293
18298
  about?: string | undefined;
18299
+ app_url?: string | undefined;
18294
18300
  }[]>]: never; }) | undefined;
18295
18301
  total_count?: number | undefined;
18296
18302
  next_cursor?: string | undefined;
@@ -18306,6 +18312,7 @@ export declare const AppList: {
18306
18312
  token?: string | undefined;
18307
18313
  role?: number | undefined;
18308
18314
  about?: string | undefined;
18315
+ app_url?: string | undefined;
18309
18316
  }[] | undefined;
18310
18317
  total_count?: number | undefined;
18311
18318
  next_cursor?: string | undefined;
@@ -18320,6 +18327,7 @@ export declare const AppList: {
18320
18327
  token?: string | undefined;
18321
18328
  role?: number | undefined;
18322
18329
  about?: string | undefined;
18330
+ app_url?: string | undefined;
18323
18331
  }[] & ({
18324
18332
  id?: string | undefined;
18325
18333
  appname?: string | undefined;
@@ -18330,6 +18338,7 @@ export declare const AppList: {
18330
18338
  token?: string | undefined;
18331
18339
  role?: number | undefined;
18332
18340
  about?: string | undefined;
18341
+ app_url?: string | undefined;
18333
18342
  } & {
18334
18343
  id?: string | undefined;
18335
18344
  appname?: string | undefined;
@@ -18340,6 +18349,7 @@ export declare const AppList: {
18340
18349
  token?: string | undefined;
18341
18350
  role?: number | undefined;
18342
18351
  about?: string | undefined;
18352
+ app_url?: string | undefined;
18343
18353
  } & { [K_3 in Exclude<keyof I_1["apps"][number], keyof App>]: never; })[] & { [K_4 in Exclude<keyof I_1["apps"], keyof {
18344
18354
  id?: string | undefined;
18345
18355
  appname?: string | undefined;
@@ -18350,6 +18360,7 @@ export declare const AppList: {
18350
18360
  token?: string | undefined;
18351
18361
  role?: number | undefined;
18352
18362
  about?: string | undefined;
18363
+ app_url?: string | undefined;
18353
18364
  }[]>]: never; }) | undefined;
18354
18365
  total_count?: number | undefined;
18355
18366
  next_cursor?: string | undefined;
@@ -18366,12 +18377,18 @@ export declare const AddAppRequest: {
18366
18377
  creator_id?: string | undefined;
18367
18378
  role?: number | undefined;
18368
18379
  is_shadow?: boolean | undefined;
18380
+ app_url?: string | undefined;
18381
+ app_logo?: string | undefined;
18382
+ about_me?: string | undefined;
18369
18383
  } & {
18370
18384
  appname?: string | undefined;
18371
18385
  token?: string | undefined;
18372
18386
  creator_id?: string | undefined;
18373
18387
  role?: number | undefined;
18374
18388
  is_shadow?: boolean | undefined;
18389
+ app_url?: string | undefined;
18390
+ app_logo?: string | undefined;
18391
+ about_me?: string | undefined;
18375
18392
  } & { [K in Exclude<keyof I, keyof AddAppRequest>]: never; }>(base?: I | undefined): AddAppRequest;
18376
18393
  fromPartial<I_1 extends {
18377
18394
  appname?: string | undefined;
@@ -18379,12 +18396,18 @@ export declare const AddAppRequest: {
18379
18396
  creator_id?: string | undefined;
18380
18397
  role?: number | undefined;
18381
18398
  is_shadow?: boolean | undefined;
18399
+ app_url?: string | undefined;
18400
+ app_logo?: string | undefined;
18401
+ about_me?: string | undefined;
18382
18402
  } & {
18383
18403
  appname?: string | undefined;
18384
18404
  token?: string | undefined;
18385
18405
  creator_id?: string | undefined;
18386
18406
  role?: number | undefined;
18387
18407
  is_shadow?: boolean | undefined;
18408
+ app_url?: string | undefined;
18409
+ app_logo?: string | undefined;
18410
+ about_me?: string | undefined;
18388
18411
  } & { [K_1 in Exclude<keyof I_1, keyof AddAppRequest>]: never; }>(object: I_1): AddAppRequest;
18389
18412
  };
18390
18413
  export declare const ListAppsRequest: {
@@ -18423,6 +18446,7 @@ export declare const UpdateAppRequest: {
18423
18446
  applogo?: string | undefined;
18424
18447
  token?: string | undefined;
18425
18448
  about?: string | undefined;
18449
+ app_url?: string | undefined;
18426
18450
  } & {
18427
18451
  id?: string | undefined;
18428
18452
  appname?: string | undefined;
@@ -18430,6 +18454,7 @@ export declare const UpdateAppRequest: {
18430
18454
  applogo?: string | undefined;
18431
18455
  token?: string | undefined;
18432
18456
  about?: string | undefined;
18457
+ app_url?: string | undefined;
18433
18458
  } & { [K in Exclude<keyof I, keyof UpdateAppRequest>]: never; }>(base?: I | undefined): UpdateAppRequest;
18434
18459
  fromPartial<I_1 extends {
18435
18460
  id?: string | undefined;
@@ -18438,6 +18463,7 @@ export declare const UpdateAppRequest: {
18438
18463
  applogo?: string | undefined;
18439
18464
  token?: string | undefined;
18440
18465
  about?: string | undefined;
18466
+ app_url?: string | undefined;
18441
18467
  } & {
18442
18468
  id?: string | undefined;
18443
18469
  appname?: string | undefined;
@@ -18445,39 +18471,8 @@ export declare const UpdateAppRequest: {
18445
18471
  applogo?: string | undefined;
18446
18472
  token?: string | undefined;
18447
18473
  about?: string | undefined;
18448
- } & { [K_1 in Exclude<keyof I_1, keyof UpdateAppRequest>]: never; }>(object: I_1): UpdateAppRequest;
18449
- };
18450
- export declare const AddChannelAppRequest: {
18451
- encode(message: AddChannelAppRequest, writer?: _m0.Writer): _m0.Writer;
18452
- decode(input: _m0.Reader | Uint8Array, length?: number): AddChannelAppRequest;
18453
- fromJSON(object: any): AddChannelAppRequest;
18454
- toJSON(message: AddChannelAppRequest): unknown;
18455
- create<I extends {
18456
- appname?: string | undefined;
18457
- token?: string | undefined;
18458
- creator_id?: string | undefined;
18459
- role?: number | undefined;
18460
18474
  app_url?: string | undefined;
18461
- } & {
18462
- appname?: string | undefined;
18463
- token?: string | undefined;
18464
- creator_id?: string | undefined;
18465
- role?: number | undefined;
18466
- app_url?: string | undefined;
18467
- } & { [K in Exclude<keyof I, keyof AddChannelAppRequest>]: never; }>(base?: I | undefined): AddChannelAppRequest;
18468
- fromPartial<I_1 extends {
18469
- appname?: string | undefined;
18470
- token?: string | undefined;
18471
- creator_id?: string | undefined;
18472
- role?: number | undefined;
18473
- app_url?: string | undefined;
18474
- } & {
18475
- appname?: string | undefined;
18476
- token?: string | undefined;
18477
- creator_id?: string | undefined;
18478
- role?: number | undefined;
18479
- app_url?: string | undefined;
18480
- } & { [K_1 in Exclude<keyof I_1, keyof AddChannelAppRequest>]: never; }>(object: I_1): AddChannelAppRequest;
18475
+ } & { [K_1 in Exclude<keyof I_1, keyof UpdateAppRequest>]: never; }>(object: I_1): UpdateAppRequest;
18481
18476
  };
18482
18477
  export declare const AppId: {
18483
18478
  encode(message: AppId, writer?: _m0.Writer): _m0.Writer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js-protobuf",
3
- "version": "1.7.41",
3
+ "version": "1.7.42",
4
4
  "description": "Websocket adapter adding protocol buffer support to the Mezon Javascript client.",
5
5
  "main": "dist/mezon-js-protobuf.cjs.js",
6
6
  "module": "dist/mezon-js-protobuf.esm.mjs",