mezon-js-protobuf 1.6.34 → 1.6.37

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
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v1.181.2
4
- // protoc v5.28.3
4
+ // protoc v3.21.12
5
5
  // source: api/api.proto
6
6
 
7
7
  /* eslint-disable */
@@ -3722,6 +3722,40 @@ export interface UpdateOnboardingStepRequest {
3722
3722
  onboarding_step: number | undefined;
3723
3723
  }
3724
3724
 
3725
+ export interface CustomDisplay {
3726
+ /** logo link */
3727
+ logo: string;
3728
+ /** splash_screen link */
3729
+ splash_screen: string;
3730
+ }
3731
+
3732
+ export interface WalletLedger {
3733
+ /** change set id */
3734
+ id: string;
3735
+ /** user id */
3736
+ user_id: string;
3737
+ /** create time */
3738
+ create_time:
3739
+ | Date
3740
+ | undefined;
3741
+ /** value */
3742
+ value: number;
3743
+ /** transaction id */
3744
+ transaction_id: string;
3745
+ }
3746
+
3747
+ export interface WalletLedgerList {
3748
+ wallet_ledger: WalletLedger[];
3749
+ prev_cursor: string;
3750
+ next_cursor: string;
3751
+ }
3752
+
3753
+ export interface WalletLedgerListReq {
3754
+ limit: number | undefined;
3755
+ cursor: string;
3756
+ transaction_id: string;
3757
+ }
3758
+
3725
3759
  function createBaseAccount(): Account {
3726
3760
  return {
3727
3761
  user: undefined,
@@ -36021,6 +36055,379 @@ export const UpdateOnboardingStepRequest = {
36021
36055
  },
36022
36056
  };
36023
36057
 
36058
+ function createBaseCustomDisplay(): CustomDisplay {
36059
+ return { logo: "", splash_screen: "" };
36060
+ }
36061
+
36062
+ export const CustomDisplay = {
36063
+ encode(message: CustomDisplay, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
36064
+ if (message.logo !== "") {
36065
+ writer.uint32(10).string(message.logo);
36066
+ }
36067
+ if (message.splash_screen !== "") {
36068
+ writer.uint32(18).string(message.splash_screen);
36069
+ }
36070
+ return writer;
36071
+ },
36072
+
36073
+ decode(input: _m0.Reader | Uint8Array, length?: number): CustomDisplay {
36074
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
36075
+ let end = length === undefined ? reader.len : reader.pos + length;
36076
+ const message = createBaseCustomDisplay();
36077
+ while (reader.pos < end) {
36078
+ const tag = reader.uint32();
36079
+ switch (tag >>> 3) {
36080
+ case 1:
36081
+ if (tag !== 10) {
36082
+ break;
36083
+ }
36084
+
36085
+ message.logo = reader.string();
36086
+ continue;
36087
+ case 2:
36088
+ if (tag !== 18) {
36089
+ break;
36090
+ }
36091
+
36092
+ message.splash_screen = reader.string();
36093
+ continue;
36094
+ }
36095
+ if ((tag & 7) === 4 || tag === 0) {
36096
+ break;
36097
+ }
36098
+ reader.skipType(tag & 7);
36099
+ }
36100
+ return message;
36101
+ },
36102
+
36103
+ fromJSON(object: any): CustomDisplay {
36104
+ return {
36105
+ logo: isSet(object.logo) ? globalThis.String(object.logo) : "",
36106
+ splash_screen: isSet(object.splash_screen) ? globalThis.String(object.splash_screen) : "",
36107
+ };
36108
+ },
36109
+
36110
+ toJSON(message: CustomDisplay): unknown {
36111
+ const obj: any = {};
36112
+ if (message.logo !== "") {
36113
+ obj.logo = message.logo;
36114
+ }
36115
+ if (message.splash_screen !== "") {
36116
+ obj.splash_screen = message.splash_screen;
36117
+ }
36118
+ return obj;
36119
+ },
36120
+
36121
+ create<I extends Exact<DeepPartial<CustomDisplay>, I>>(base?: I): CustomDisplay {
36122
+ return CustomDisplay.fromPartial(base ?? ({} as any));
36123
+ },
36124
+ fromPartial<I extends Exact<DeepPartial<CustomDisplay>, I>>(object: I): CustomDisplay {
36125
+ const message = createBaseCustomDisplay();
36126
+ message.logo = object.logo ?? "";
36127
+ message.splash_screen = object.splash_screen ?? "";
36128
+ return message;
36129
+ },
36130
+ };
36131
+
36132
+ function createBaseWalletLedger(): WalletLedger {
36133
+ return { id: "", user_id: "", create_time: undefined, value: 0, transaction_id: "" };
36134
+ }
36135
+
36136
+ export const WalletLedger = {
36137
+ encode(message: WalletLedger, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
36138
+ if (message.id !== "") {
36139
+ writer.uint32(10).string(message.id);
36140
+ }
36141
+ if (message.user_id !== "") {
36142
+ writer.uint32(18).string(message.user_id);
36143
+ }
36144
+ if (message.create_time !== undefined) {
36145
+ Timestamp.encode(toTimestamp(message.create_time), writer.uint32(26).fork()).ldelim();
36146
+ }
36147
+ if (message.value !== 0) {
36148
+ writer.uint32(32).int32(message.value);
36149
+ }
36150
+ if (message.transaction_id !== "") {
36151
+ writer.uint32(42).string(message.transaction_id);
36152
+ }
36153
+ return writer;
36154
+ },
36155
+
36156
+ decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedger {
36157
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
36158
+ let end = length === undefined ? reader.len : reader.pos + length;
36159
+ const message = createBaseWalletLedger();
36160
+ while (reader.pos < end) {
36161
+ const tag = reader.uint32();
36162
+ switch (tag >>> 3) {
36163
+ case 1:
36164
+ if (tag !== 10) {
36165
+ break;
36166
+ }
36167
+
36168
+ message.id = reader.string();
36169
+ continue;
36170
+ case 2:
36171
+ if (tag !== 18) {
36172
+ break;
36173
+ }
36174
+
36175
+ message.user_id = reader.string();
36176
+ continue;
36177
+ case 3:
36178
+ if (tag !== 26) {
36179
+ break;
36180
+ }
36181
+
36182
+ message.create_time = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
36183
+ continue;
36184
+ case 4:
36185
+ if (tag !== 32) {
36186
+ break;
36187
+ }
36188
+
36189
+ message.value = reader.int32();
36190
+ continue;
36191
+ case 5:
36192
+ if (tag !== 42) {
36193
+ break;
36194
+ }
36195
+
36196
+ message.transaction_id = reader.string();
36197
+ continue;
36198
+ }
36199
+ if ((tag & 7) === 4 || tag === 0) {
36200
+ break;
36201
+ }
36202
+ reader.skipType(tag & 7);
36203
+ }
36204
+ return message;
36205
+ },
36206
+
36207
+ fromJSON(object: any): WalletLedger {
36208
+ return {
36209
+ id: isSet(object.id) ? globalThis.String(object.id) : "",
36210
+ user_id: isSet(object.user_id) ? globalThis.String(object.user_id) : "",
36211
+ create_time: isSet(object.create_time) ? fromJsonTimestamp(object.create_time) : undefined,
36212
+ value: isSet(object.value) ? globalThis.Number(object.value) : 0,
36213
+ transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
36214
+ };
36215
+ },
36216
+
36217
+ toJSON(message: WalletLedger): unknown {
36218
+ const obj: any = {};
36219
+ if (message.id !== "") {
36220
+ obj.id = message.id;
36221
+ }
36222
+ if (message.user_id !== "") {
36223
+ obj.user_id = message.user_id;
36224
+ }
36225
+ if (message.create_time !== undefined) {
36226
+ obj.create_time = message.create_time.toISOString();
36227
+ }
36228
+ if (message.value !== 0) {
36229
+ obj.value = Math.round(message.value);
36230
+ }
36231
+ if (message.transaction_id !== "") {
36232
+ obj.transaction_id = message.transaction_id;
36233
+ }
36234
+ return obj;
36235
+ },
36236
+
36237
+ create<I extends Exact<DeepPartial<WalletLedger>, I>>(base?: I): WalletLedger {
36238
+ return WalletLedger.fromPartial(base ?? ({} as any));
36239
+ },
36240
+ fromPartial<I extends Exact<DeepPartial<WalletLedger>, I>>(object: I): WalletLedger {
36241
+ const message = createBaseWalletLedger();
36242
+ message.id = object.id ?? "";
36243
+ message.user_id = object.user_id ?? "";
36244
+ message.create_time = object.create_time ?? undefined;
36245
+ message.value = object.value ?? 0;
36246
+ message.transaction_id = object.transaction_id ?? "";
36247
+ return message;
36248
+ },
36249
+ };
36250
+
36251
+ function createBaseWalletLedgerList(): WalletLedgerList {
36252
+ return { wallet_ledger: [], prev_cursor: "", next_cursor: "" };
36253
+ }
36254
+
36255
+ export const WalletLedgerList = {
36256
+ encode(message: WalletLedgerList, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
36257
+ for (const v of message.wallet_ledger) {
36258
+ WalletLedger.encode(v!, writer.uint32(10).fork()).ldelim();
36259
+ }
36260
+ if (message.prev_cursor !== "") {
36261
+ writer.uint32(18).string(message.prev_cursor);
36262
+ }
36263
+ if (message.next_cursor !== "") {
36264
+ writer.uint32(26).string(message.next_cursor);
36265
+ }
36266
+ return writer;
36267
+ },
36268
+
36269
+ decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerList {
36270
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
36271
+ let end = length === undefined ? reader.len : reader.pos + length;
36272
+ const message = createBaseWalletLedgerList();
36273
+ while (reader.pos < end) {
36274
+ const tag = reader.uint32();
36275
+ switch (tag >>> 3) {
36276
+ case 1:
36277
+ if (tag !== 10) {
36278
+ break;
36279
+ }
36280
+
36281
+ message.wallet_ledger.push(WalletLedger.decode(reader, reader.uint32()));
36282
+ continue;
36283
+ case 2:
36284
+ if (tag !== 18) {
36285
+ break;
36286
+ }
36287
+
36288
+ message.prev_cursor = reader.string();
36289
+ continue;
36290
+ case 3:
36291
+ if (tag !== 26) {
36292
+ break;
36293
+ }
36294
+
36295
+ message.next_cursor = reader.string();
36296
+ continue;
36297
+ }
36298
+ if ((tag & 7) === 4 || tag === 0) {
36299
+ break;
36300
+ }
36301
+ reader.skipType(tag & 7);
36302
+ }
36303
+ return message;
36304
+ },
36305
+
36306
+ fromJSON(object: any): WalletLedgerList {
36307
+ return {
36308
+ wallet_ledger: globalThis.Array.isArray(object?.wallet_ledger)
36309
+ ? object.wallet_ledger.map((e: any) => WalletLedger.fromJSON(e))
36310
+ : [],
36311
+ prev_cursor: isSet(object.prev_cursor) ? globalThis.String(object.prev_cursor) : "",
36312
+ next_cursor: isSet(object.next_cursor) ? globalThis.String(object.next_cursor) : "",
36313
+ };
36314
+ },
36315
+
36316
+ toJSON(message: WalletLedgerList): unknown {
36317
+ const obj: any = {};
36318
+ if (message.wallet_ledger?.length) {
36319
+ obj.wallet_ledger = message.wallet_ledger.map((e) => WalletLedger.toJSON(e));
36320
+ }
36321
+ if (message.prev_cursor !== "") {
36322
+ obj.prev_cursor = message.prev_cursor;
36323
+ }
36324
+ if (message.next_cursor !== "") {
36325
+ obj.next_cursor = message.next_cursor;
36326
+ }
36327
+ return obj;
36328
+ },
36329
+
36330
+ create<I extends Exact<DeepPartial<WalletLedgerList>, I>>(base?: I): WalletLedgerList {
36331
+ return WalletLedgerList.fromPartial(base ?? ({} as any));
36332
+ },
36333
+ fromPartial<I extends Exact<DeepPartial<WalletLedgerList>, I>>(object: I): WalletLedgerList {
36334
+ const message = createBaseWalletLedgerList();
36335
+ message.wallet_ledger = object.wallet_ledger?.map((e) => WalletLedger.fromPartial(e)) || [];
36336
+ message.prev_cursor = object.prev_cursor ?? "";
36337
+ message.next_cursor = object.next_cursor ?? "";
36338
+ return message;
36339
+ },
36340
+ };
36341
+
36342
+ function createBaseWalletLedgerListReq(): WalletLedgerListReq {
36343
+ return { limit: undefined, cursor: "", transaction_id: "" };
36344
+ }
36345
+
36346
+ export const WalletLedgerListReq = {
36347
+ encode(message: WalletLedgerListReq, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
36348
+ if (message.limit !== undefined) {
36349
+ Int32Value.encode({ value: message.limit! }, writer.uint32(10).fork()).ldelim();
36350
+ }
36351
+ if (message.cursor !== "") {
36352
+ writer.uint32(18).string(message.cursor);
36353
+ }
36354
+ if (message.transaction_id !== "") {
36355
+ writer.uint32(26).string(message.transaction_id);
36356
+ }
36357
+ return writer;
36358
+ },
36359
+
36360
+ decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerListReq {
36361
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
36362
+ let end = length === undefined ? reader.len : reader.pos + length;
36363
+ const message = createBaseWalletLedgerListReq();
36364
+ while (reader.pos < end) {
36365
+ const tag = reader.uint32();
36366
+ switch (tag >>> 3) {
36367
+ case 1:
36368
+ if (tag !== 10) {
36369
+ break;
36370
+ }
36371
+
36372
+ message.limit = Int32Value.decode(reader, reader.uint32()).value;
36373
+ continue;
36374
+ case 2:
36375
+ if (tag !== 18) {
36376
+ break;
36377
+ }
36378
+
36379
+ message.cursor = reader.string();
36380
+ continue;
36381
+ case 3:
36382
+ if (tag !== 26) {
36383
+ break;
36384
+ }
36385
+
36386
+ message.transaction_id = reader.string();
36387
+ continue;
36388
+ }
36389
+ if ((tag & 7) === 4 || tag === 0) {
36390
+ break;
36391
+ }
36392
+ reader.skipType(tag & 7);
36393
+ }
36394
+ return message;
36395
+ },
36396
+
36397
+ fromJSON(object: any): WalletLedgerListReq {
36398
+ return {
36399
+ limit: isSet(object.limit) ? Number(object.limit) : undefined,
36400
+ cursor: isSet(object.cursor) ? globalThis.String(object.cursor) : "",
36401
+ transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
36402
+ };
36403
+ },
36404
+
36405
+ toJSON(message: WalletLedgerListReq): unknown {
36406
+ const obj: any = {};
36407
+ if (message.limit !== undefined) {
36408
+ obj.limit = message.limit;
36409
+ }
36410
+ if (message.cursor !== "") {
36411
+ obj.cursor = message.cursor;
36412
+ }
36413
+ if (message.transaction_id !== "") {
36414
+ obj.transaction_id = message.transaction_id;
36415
+ }
36416
+ return obj;
36417
+ },
36418
+
36419
+ create<I extends Exact<DeepPartial<WalletLedgerListReq>, I>>(base?: I): WalletLedgerListReq {
36420
+ return WalletLedgerListReq.fromPartial(base ?? ({} as any));
36421
+ },
36422
+ fromPartial<I extends Exact<DeepPartial<WalletLedgerListReq>, I>>(object: I): WalletLedgerListReq {
36423
+ const message = createBaseWalletLedgerListReq();
36424
+ message.limit = object.limit ?? undefined;
36425
+ message.cursor = object.cursor ?? "";
36426
+ message.transaction_id = object.transaction_id ?? "";
36427
+ return message;
36428
+ },
36429
+ };
36430
+
36024
36431
  function bytesFromBase64(b64: string): Uint8Array {
36025
36432
  if ((globalThis as any).Buffer) {
36026
36433
  return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
@@ -2989,6 +2989,34 @@ export interface UpdateOnboardingStepRequest {
2989
2989
  /** onboarding step. */
2990
2990
  onboarding_step: number | undefined;
2991
2991
  }
2992
+ export interface CustomDisplay {
2993
+ /** logo link */
2994
+ logo: string;
2995
+ /** splash_screen link */
2996
+ splash_screen: string;
2997
+ }
2998
+ export interface WalletLedger {
2999
+ /** change set id */
3000
+ id: string;
3001
+ /** user id */
3002
+ user_id: string;
3003
+ /** create time */
3004
+ create_time: Date | undefined;
3005
+ /** value */
3006
+ value: number;
3007
+ /** transaction id */
3008
+ transaction_id: string;
3009
+ }
3010
+ export interface WalletLedgerList {
3011
+ wallet_ledger: WalletLedger[];
3012
+ prev_cursor: string;
3013
+ next_cursor: string;
3014
+ }
3015
+ export interface WalletLedgerListReq {
3016
+ limit: number | undefined;
3017
+ cursor: string;
3018
+ transaction_id: string;
3019
+ }
2992
3020
  export declare const Account: {
2993
3021
  encode(message: Account, writer?: _m0.Writer): _m0.Writer;
2994
3022
  decode(input: _m0.Reader | Uint8Array, length?: number): Account;
@@ -20749,6 +20777,166 @@ export declare const UpdateOnboardingStepRequest: {
20749
20777
  onboarding_step?: number | undefined;
20750
20778
  } & { [K_1 in Exclude<keyof I_1, keyof UpdateOnboardingStepRequest>]: never; }>(object: I_1): UpdateOnboardingStepRequest;
20751
20779
  };
20780
+ export declare const CustomDisplay: {
20781
+ encode(message: CustomDisplay, writer?: _m0.Writer): _m0.Writer;
20782
+ decode(input: _m0.Reader | Uint8Array, length?: number): CustomDisplay;
20783
+ fromJSON(object: any): CustomDisplay;
20784
+ toJSON(message: CustomDisplay): unknown;
20785
+ create<I extends {
20786
+ logo?: string | undefined;
20787
+ splash_screen?: string | undefined;
20788
+ } & {
20789
+ logo?: string | undefined;
20790
+ splash_screen?: string | undefined;
20791
+ } & { [K in Exclude<keyof I, keyof CustomDisplay>]: never; }>(base?: I | undefined): CustomDisplay;
20792
+ fromPartial<I_1 extends {
20793
+ logo?: string | undefined;
20794
+ splash_screen?: string | undefined;
20795
+ } & {
20796
+ logo?: string | undefined;
20797
+ splash_screen?: string | undefined;
20798
+ } & { [K_1 in Exclude<keyof I_1, keyof CustomDisplay>]: never; }>(object: I_1): CustomDisplay;
20799
+ };
20800
+ export declare const WalletLedger: {
20801
+ encode(message: WalletLedger, writer?: _m0.Writer): _m0.Writer;
20802
+ decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedger;
20803
+ fromJSON(object: any): WalletLedger;
20804
+ toJSON(message: WalletLedger): unknown;
20805
+ create<I extends {
20806
+ id?: string | undefined;
20807
+ user_id?: string | undefined;
20808
+ create_time?: Date | undefined;
20809
+ value?: number | undefined;
20810
+ transaction_id?: string | undefined;
20811
+ } & {
20812
+ id?: string | undefined;
20813
+ user_id?: string | undefined;
20814
+ create_time?: Date | undefined;
20815
+ value?: number | undefined;
20816
+ transaction_id?: string | undefined;
20817
+ } & { [K in Exclude<keyof I, keyof WalletLedger>]: never; }>(base?: I | undefined): WalletLedger;
20818
+ fromPartial<I_1 extends {
20819
+ id?: string | undefined;
20820
+ user_id?: string | undefined;
20821
+ create_time?: Date | undefined;
20822
+ value?: number | undefined;
20823
+ transaction_id?: string | undefined;
20824
+ } & {
20825
+ id?: string | undefined;
20826
+ user_id?: string | undefined;
20827
+ create_time?: Date | undefined;
20828
+ value?: number | undefined;
20829
+ transaction_id?: string | undefined;
20830
+ } & { [K_1 in Exclude<keyof I_1, keyof WalletLedger>]: never; }>(object: I_1): WalletLedger;
20831
+ };
20832
+ export declare const WalletLedgerList: {
20833
+ encode(message: WalletLedgerList, writer?: _m0.Writer): _m0.Writer;
20834
+ decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerList;
20835
+ fromJSON(object: any): WalletLedgerList;
20836
+ toJSON(message: WalletLedgerList): unknown;
20837
+ create<I extends {
20838
+ wallet_ledger?: {
20839
+ id?: string | undefined;
20840
+ user_id?: string | undefined;
20841
+ create_time?: Date | undefined;
20842
+ value?: number | undefined;
20843
+ transaction_id?: string | undefined;
20844
+ }[] | undefined;
20845
+ prev_cursor?: string | undefined;
20846
+ next_cursor?: string | undefined;
20847
+ } & {
20848
+ wallet_ledger?: ({
20849
+ id?: string | undefined;
20850
+ user_id?: string | undefined;
20851
+ create_time?: Date | undefined;
20852
+ value?: number | undefined;
20853
+ transaction_id?: string | undefined;
20854
+ }[] & ({
20855
+ id?: string | undefined;
20856
+ user_id?: string | undefined;
20857
+ create_time?: Date | undefined;
20858
+ value?: number | undefined;
20859
+ transaction_id?: string | undefined;
20860
+ } & {
20861
+ id?: string | undefined;
20862
+ user_id?: string | undefined;
20863
+ create_time?: Date | undefined;
20864
+ value?: number | undefined;
20865
+ transaction_id?: string | undefined;
20866
+ } & { [K in Exclude<keyof I["wallet_ledger"][number], keyof WalletLedger>]: never; })[] & { [K_1 in Exclude<keyof I["wallet_ledger"], keyof {
20867
+ id?: string | undefined;
20868
+ user_id?: string | undefined;
20869
+ create_time?: Date | undefined;
20870
+ value?: number | undefined;
20871
+ transaction_id?: string | undefined;
20872
+ }[]>]: never; }) | undefined;
20873
+ prev_cursor?: string | undefined;
20874
+ next_cursor?: string | undefined;
20875
+ } & { [K_2 in Exclude<keyof I, keyof WalletLedgerList>]: never; }>(base?: I | undefined): WalletLedgerList;
20876
+ fromPartial<I_1 extends {
20877
+ wallet_ledger?: {
20878
+ id?: string | undefined;
20879
+ user_id?: string | undefined;
20880
+ create_time?: Date | undefined;
20881
+ value?: number | undefined;
20882
+ transaction_id?: string | undefined;
20883
+ }[] | undefined;
20884
+ prev_cursor?: string | undefined;
20885
+ next_cursor?: string | undefined;
20886
+ } & {
20887
+ wallet_ledger?: ({
20888
+ id?: string | undefined;
20889
+ user_id?: string | undefined;
20890
+ create_time?: Date | undefined;
20891
+ value?: number | undefined;
20892
+ transaction_id?: string | undefined;
20893
+ }[] & ({
20894
+ id?: string | undefined;
20895
+ user_id?: string | undefined;
20896
+ create_time?: Date | undefined;
20897
+ value?: number | undefined;
20898
+ transaction_id?: string | undefined;
20899
+ } & {
20900
+ id?: string | undefined;
20901
+ user_id?: string | undefined;
20902
+ create_time?: Date | undefined;
20903
+ value?: number | undefined;
20904
+ transaction_id?: string | undefined;
20905
+ } & { [K_3 in Exclude<keyof I_1["wallet_ledger"][number], keyof WalletLedger>]: never; })[] & { [K_4 in Exclude<keyof I_1["wallet_ledger"], keyof {
20906
+ id?: string | undefined;
20907
+ user_id?: string | undefined;
20908
+ create_time?: Date | undefined;
20909
+ value?: number | undefined;
20910
+ transaction_id?: string | undefined;
20911
+ }[]>]: never; }) | undefined;
20912
+ prev_cursor?: string | undefined;
20913
+ next_cursor?: string | undefined;
20914
+ } & { [K_5 in Exclude<keyof I_1, keyof WalletLedgerList>]: never; }>(object: I_1): WalletLedgerList;
20915
+ };
20916
+ export declare const WalletLedgerListReq: {
20917
+ encode(message: WalletLedgerListReq, writer?: _m0.Writer): _m0.Writer;
20918
+ decode(input: _m0.Reader | Uint8Array, length?: number): WalletLedgerListReq;
20919
+ fromJSON(object: any): WalletLedgerListReq;
20920
+ toJSON(message: WalletLedgerListReq): unknown;
20921
+ create<I extends {
20922
+ limit?: number | undefined;
20923
+ cursor?: string | undefined;
20924
+ transaction_id?: string | undefined;
20925
+ } & {
20926
+ limit?: number | undefined;
20927
+ cursor?: string | undefined;
20928
+ transaction_id?: string | undefined;
20929
+ } & { [K in Exclude<keyof I, keyof WalletLedgerListReq>]: never; }>(base?: I | undefined): WalletLedgerListReq;
20930
+ fromPartial<I_1 extends {
20931
+ limit?: number | undefined;
20932
+ cursor?: string | undefined;
20933
+ transaction_id?: string | undefined;
20934
+ } & {
20935
+ limit?: number | undefined;
20936
+ cursor?: string | undefined;
20937
+ transaction_id?: string | undefined;
20938
+ } & { [K_1 in Exclude<keyof I_1, keyof WalletLedgerListReq>]: never; }>(object: I_1): WalletLedgerListReq;
20939
+ };
20752
20940
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
20753
20941
  export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
20754
20942
  [K in keyof T]?: DeepPartial<T[K]>;