@metagptx/wallet 1.0.0

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.
Files changed (38) hide show
  1. package/README.md +74 -0
  2. package/dist/google/api/annotations_pb.d.ts +14 -0
  3. package/dist/google/api/annotations_pb.d.ts.map +1 -0
  4. package/dist/google/api/annotations_pb.js +26 -0
  5. package/dist/google/api/http_pb.d.ts +441 -0
  6. package/dist/google/api/http_pb.d.ts.map +1 -0
  7. package/dist/google/api/http_pb.js +33 -0
  8. package/dist/index.d.ts +9 -0
  9. package/dist/index.d.ts.map +1 -0
  10. package/dist/index.js +14 -0
  11. package/dist/v1/account/quota_service_pb.d.ts +603 -0
  12. package/dist/v1/account/quota_service_pb.d.ts.map +1 -0
  13. package/dist/v1/account/quota_service_pb.js +117 -0
  14. package/dist/v1/common/base_pb.d.ts +38 -0
  15. package/dist/v1/common/base_pb.d.ts.map +1 -0
  16. package/dist/v1/common/base_pb.js +14 -0
  17. package/dist/v1/common/code_pb.d.ts +69 -0
  18. package/dist/v1/common/code_pb.d.ts.map +1 -0
  19. package/dist/v1/common/code_pb.js +72 -0
  20. package/dist/v1/common/enums_pb.d.ts +76 -0
  21. package/dist/v1/common/enums_pb.d.ts.map +1 -0
  22. package/dist/v1/common/enums_pb.js +80 -0
  23. package/dist/v1/server_pb.d.ts +67 -0
  24. package/dist/v1/server_pb.d.ts.map +1 -0
  25. package/dist/v1/server_pb.js +41 -0
  26. package/dist/v1/topup/order_service_pb.d.ts +585 -0
  27. package/dist/v1/topup/order_service_pb.d.ts.map +1 -0
  28. package/dist/v1/topup/order_service_pb.js +171 -0
  29. package/package.json +42 -0
  30. package/src/google/api/annotations_pb.ts +39 -0
  31. package/src/google/api/http_pb.ts +474 -0
  32. package/src/index.ts +21 -0
  33. package/src/v1/account/quota_service_pb.ts +713 -0
  34. package/src/v1/common/base_pb.ts +51 -0
  35. package/src/v1/common/code_pb.ts +89 -0
  36. package/src/v1/common/enums_pb.ts +95 -0
  37. package/src/v1/server_pb.ts +87 -0
  38. package/src/v1/topup/order_service_pb.ts +695 -0
@@ -0,0 +1,603 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { Code } from "../common/code_pb";
3
+ import type { AccountType, QuotaCategory } from "../common/enums_pb";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file v1/account/quota_service.proto.
7
+ */
8
+ export declare const file_v1_account_quota_service: GenFile;
9
+ /**
10
+ * @generated from message mgx.wallet.v1.account.DecreaseRequest
11
+ */
12
+ export type DecreaseRequest = Message<"mgx.wallet.v1.account.DecreaseRequest"> & {
13
+ /**
14
+ * User ID
15
+ *
16
+ * @generated from field: int64 user_id = 1;
17
+ */
18
+ userId: bigint;
19
+ /**
20
+ * Quota to deduct,actual_quota = quota / 10^scale
21
+ *
22
+ * @generated from field: int64 quota = 2;
23
+ */
24
+ quota: bigint;
25
+ /**
26
+ * The number of decimal places for the quota, actual_quota = quota / 10^scale,scale is in [0 ~ 6]
27
+ *
28
+ * @generated from field: optional int32 scale = 3;
29
+ */
30
+ scale?: number;
31
+ /**
32
+ * Caller: oneapi / infra
33
+ *
34
+ * @generated from field: string biz_name = 4;
35
+ */
36
+ bizName: string;
37
+ /**
38
+ * Quota category (Cloud/AI/General), determines which account to deduct
39
+ *
40
+ * @generated from field: mgx.wallet.v1.common.QuotaCategory category = 5;
41
+ */
42
+ category: QuotaCategory;
43
+ /**
44
+ * Optional, billing item (defined by caller, e.g., Lambda/gpt-4)
45
+ *
46
+ * @generated from field: string item = 6;
47
+ */
48
+ item: string;
49
+ /**
50
+ * Business order number (forms idempotent key with biz_name)
51
+ *
52
+ * @generated from field: string biz_no = 7;
53
+ */
54
+ bizNo: string;
55
+ /**
56
+ * Chat ID, used for per-chat usage statistics
57
+ *
58
+ * @generated from field: string chat_id = 8;
59
+ */
60
+ chatId: string;
61
+ /**
62
+ * Whether overdraft is allowed
63
+ *
64
+ * @generated from field: optional bool allow_overdraft = 9;
65
+ */
66
+ allowOverdraft?: boolean;
67
+ };
68
+ /**
69
+ * Describes the message mgx.wallet.v1.account.DecreaseRequest.
70
+ * Use `create(DecreaseRequestSchema)` to create a new message.
71
+ */
72
+ export declare const DecreaseRequestSchema: GenMessage<DecreaseRequest>;
73
+ /**
74
+ * @generated from message mgx.wallet.v1.account.DecreaseResponse
75
+ */
76
+ export type DecreaseResponse = Message<"mgx.wallet.v1.account.DecreaseResponse"> & {
77
+ /**
78
+ * Response code
79
+ *
80
+ * @generated from field: optional mgx.wallet.v1.common.Code code = 1;
81
+ */
82
+ code?: Code;
83
+ /**
84
+ * Message
85
+ *
86
+ * @generated from field: optional string message = 2;
87
+ */
88
+ message?: string;
89
+ /**
90
+ * Response data
91
+ *
92
+ * @generated from field: mgx.wallet.v1.account.DecreaseResponse.Data data = 3;
93
+ */
94
+ data?: DecreaseResponse_Data;
95
+ };
96
+ /**
97
+ * Describes the message mgx.wallet.v1.account.DecreaseResponse.
98
+ * Use `create(DecreaseResponseSchema)` to create a new message.
99
+ */
100
+ export declare const DecreaseResponseSchema: GenMessage<DecreaseResponse>;
101
+ /**
102
+ * @generated from message mgx.wallet.v1.account.DecreaseResponse.Data
103
+ */
104
+ export type DecreaseResponse_Data = Message<"mgx.wallet.v1.account.DecreaseResponse.Data"> & {
105
+ /**
106
+ * Business order number
107
+ *
108
+ * @generated from field: string biz_no = 1;
109
+ */
110
+ bizNo: string;
111
+ /**
112
+ * Ledger details (multiple accounts)
113
+ *
114
+ * @generated from field: repeated mgx.wallet.v1.account.LedgerDetail ledger_details = 2;
115
+ */
116
+ ledgerDetails: LedgerDetail[];
117
+ /**
118
+ * Whether monthly limit is reached
119
+ *
120
+ * @generated from field: optional bool monthly_limit_reached = 3;
121
+ */
122
+ monthlyLimitReached?: boolean;
123
+ /**
124
+ * Monthly limit action: pause / notify_only
125
+ *
126
+ * @generated from field: mgx.wallet.v1.account.MonthlyLimitAction monthly_limit_action = 4;
127
+ */
128
+ monthlyLimitAction: MonthlyLimitAction;
129
+ };
130
+ /**
131
+ * Describes the message mgx.wallet.v1.account.DecreaseResponse.Data.
132
+ * Use `create(DecreaseResponse_DataSchema)` to create a new message.
133
+ */
134
+ export declare const DecreaseResponse_DataSchema: GenMessage<DecreaseResponse_Data>;
135
+ /**
136
+ * @generated from message mgx.wallet.v1.account.LedgerDetail
137
+ */
138
+ export type LedgerDetail = Message<"mgx.wallet.v1.account.LedgerDetail"> & {
139
+ /**
140
+ * Ledger ID
141
+ *
142
+ * @generated from field: int64 ledger_id = 1;
143
+ */
144
+ ledgerId: bigint;
145
+ /**
146
+ * Account type
147
+ *
148
+ * @generated from field: mgx.wallet.v1.common.AccountType account_type = 2;
149
+ */
150
+ accountType: AccountType;
151
+ /**
152
+ * Quota change
153
+ *
154
+ * @generated from field: optional int64 quota = 3;
155
+ */
156
+ quota?: bigint;
157
+ /**
158
+ * Account balance after operation
159
+ *
160
+ * @generated from field: optional int64 balance_after = 4;
161
+ */
162
+ balanceAfter?: bigint;
163
+ };
164
+ /**
165
+ * Describes the message mgx.wallet.v1.account.LedgerDetail.
166
+ * Use `create(LedgerDetailSchema)` to create a new message.
167
+ */
168
+ export declare const LedgerDetailSchema: GenMessage<LedgerDetail>;
169
+ /**
170
+ * @generated from message mgx.wallet.v1.account.GetBalanceRequest
171
+ */
172
+ export type GetBalanceRequest = Message<"mgx.wallet.v1.account.GetBalanceRequest"> & {
173
+ /**
174
+ * User ID
175
+ *
176
+ * @generated from field: int64 user_id = 1;
177
+ */
178
+ userId: bigint;
179
+ /**
180
+ * Optional, empty = return all accounts
181
+ *
182
+ * @generated from field: mgx.wallet.v1.common.AccountType account_type = 2;
183
+ */
184
+ accountType: AccountType;
185
+ /**
186
+ * Optional, quota category, e.g., Cloud/AI/General
187
+ *
188
+ * @generated from field: mgx.wallet.v1.common.QuotaCategory category = 3;
189
+ */
190
+ category: QuotaCategory;
191
+ };
192
+ /**
193
+ * Describes the message mgx.wallet.v1.account.GetBalanceRequest.
194
+ * Use `create(GetBalanceRequestSchema)` to create a new message.
195
+ */
196
+ export declare const GetBalanceRequestSchema: GenMessage<GetBalanceRequest>;
197
+ /**
198
+ * @generated from message mgx.wallet.v1.account.GetBalanceResponse
199
+ */
200
+ export type GetBalanceResponse = Message<"mgx.wallet.v1.account.GetBalanceResponse"> & {
201
+ /**
202
+ * Response code
203
+ *
204
+ * @generated from field: optional mgx.wallet.v1.common.Code code = 1;
205
+ */
206
+ code?: Code;
207
+ /**
208
+ * Message
209
+ *
210
+ * @generated from field: optional string message = 2;
211
+ */
212
+ message?: string;
213
+ /**
214
+ * Response data
215
+ *
216
+ * @generated from field: mgx.wallet.v1.account.GetBalanceResponse.Data data = 3;
217
+ */
218
+ data?: GetBalanceResponse_Data;
219
+ };
220
+ /**
221
+ * Describes the message mgx.wallet.v1.account.GetBalanceResponse.
222
+ * Use `create(GetBalanceResponseSchema)` to create a new message.
223
+ */
224
+ export declare const GetBalanceResponseSchema: GenMessage<GetBalanceResponse>;
225
+ /**
226
+ * @generated from message mgx.wallet.v1.account.GetBalanceResponse.Data
227
+ */
228
+ export type GetBalanceResponse_Data = Message<"mgx.wallet.v1.account.GetBalanceResponse.Data"> & {
229
+ /**
230
+ * Account balances (balance, bonus_cloud, bonus_ai)
231
+ *
232
+ * @generated from field: repeated mgx.wallet.v1.account.AccountBalance accounts_balance = 1;
233
+ */
234
+ accountsBalance: AccountBalance[];
235
+ /**
236
+ * Available quota per category: bonus_* + max(0, balance)
237
+ *
238
+ * @generated from field: repeated mgx.wallet.v1.account.CategoryAvailableQuota available_by_category = 2;
239
+ */
240
+ availableByCategory: CategoryAvailableQuota[];
241
+ /**
242
+ * Whether monthly limit is reached
243
+ *
244
+ * @generated from field: optional bool monthly_limit_reached = 3;
245
+ */
246
+ monthlyLimitReached?: boolean;
247
+ /**
248
+ * 1:pause, 2:notify_only
249
+ *
250
+ * @generated from field: mgx.wallet.v1.account.MonthlyLimitAction monthly_limit_action = 4;
251
+ */
252
+ monthlyLimitAction: MonthlyLimitAction;
253
+ };
254
+ /**
255
+ * Describes the message mgx.wallet.v1.account.GetBalanceResponse.Data.
256
+ * Use `create(GetBalanceResponse_DataSchema)` to create a new message.
257
+ */
258
+ export declare const GetBalanceResponse_DataSchema: GenMessage<GetBalanceResponse_Data>;
259
+ /**
260
+ * CategoryAvailableQuota available quota per category (not account balance; for GetBalanceResponse.available_by_category)
261
+ *
262
+ * @generated from message mgx.wallet.v1.account.CategoryAvailableQuota
263
+ */
264
+ export type CategoryAvailableQuota = Message<"mgx.wallet.v1.account.CategoryAvailableQuota"> & {
265
+ /**
266
+ * Category (Cloud/AI/General)
267
+ *
268
+ * @generated from field: mgx.wallet.v1.common.QuotaCategory category = 1;
269
+ */
270
+ category: QuotaCategory;
271
+ /**
272
+ * Available quota for this category
273
+ *
274
+ * @generated from field: optional int64 quota = 2;
275
+ */
276
+ quota?: bigint;
277
+ /**
278
+ * Formatted amount, e.g. "20.00"
279
+ *
280
+ * @generated from field: string amount = 3;
281
+ */
282
+ amount: string;
283
+ /**
284
+ * Currency, e.g. USD
285
+ *
286
+ * @generated from field: string currency = 4;
287
+ */
288
+ currency: string;
289
+ };
290
+ /**
291
+ * Describes the message mgx.wallet.v1.account.CategoryAvailableQuota.
292
+ * Use `create(CategoryAvailableQuotaSchema)` to create a new message.
293
+ */
294
+ export declare const CategoryAvailableQuotaSchema: GenMessage<CategoryAvailableQuota>;
295
+ /**
296
+ * @generated from message mgx.wallet.v1.account.AccountBalance
297
+ */
298
+ export type AccountBalance = Message<"mgx.wallet.v1.account.AccountBalance"> & {
299
+ /**
300
+ * Account type
301
+ *
302
+ * @generated from field: mgx.wallet.v1.common.AccountType account_type = 1;
303
+ */
304
+ accountType: AccountType;
305
+ /**
306
+ * Quota
307
+ *
308
+ * @generated from field: optional int64 quota = 2;
309
+ */
310
+ quota?: bigint;
311
+ /**
312
+ * Amount corresponding to quota
313
+ *
314
+ * @generated from field: string amount = 3;
315
+ */
316
+ amount: string;
317
+ /**
318
+ * Currency, e.g. USD
319
+ *
320
+ * @generated from field: string currency = 4;
321
+ */
322
+ currency: string;
323
+ };
324
+ /**
325
+ * Describes the message mgx.wallet.v1.account.AccountBalance.
326
+ * Use `create(AccountBalanceSchema)` to create a new message.
327
+ */
328
+ export declare const AccountBalanceSchema: GenMessage<AccountBalance>;
329
+ /**
330
+ * @generated from message mgx.wallet.v1.account.GetUsageStatsRequest
331
+ */
332
+ export type GetUsageStatsRequest = Message<"mgx.wallet.v1.account.GetUsageStatsRequest"> & {
333
+ /**
334
+ * User ID
335
+ *
336
+ * @generated from field: int64 user_id = 1;
337
+ */
338
+ userId: bigint;
339
+ /**
340
+ * Optional, chat ID filter
341
+ *
342
+ * @generated from field: string chat_id = 2;
343
+ */
344
+ chatId: string;
345
+ /**
346
+ * Optional, quota category filter (Cloud/AI/General)
347
+ *
348
+ * @generated from field: mgx.wallet.v1.common.QuotaCategory category = 3;
349
+ */
350
+ category: QuotaCategory;
351
+ /**
352
+ * Optional, statistics date (YYYY-MM-DD), empty = total, specified = daily
353
+ *
354
+ * @generated from field: string stat_date = 4;
355
+ */
356
+ statDate: string;
357
+ /**
358
+ * Optional, page number, default 1
359
+ *
360
+ * @generated from field: int32 page = 5;
361
+ */
362
+ page: number;
363
+ /**
364
+ * Optional, page size, default 20
365
+ *
366
+ * @generated from field: int32 page_size = 6;
367
+ */
368
+ pageSize: number;
369
+ };
370
+ /**
371
+ * Describes the message mgx.wallet.v1.account.GetUsageStatsRequest.
372
+ * Use `create(GetUsageStatsRequestSchema)` to create a new message.
373
+ */
374
+ export declare const GetUsageStatsRequestSchema: GenMessage<GetUsageStatsRequest>;
375
+ /**
376
+ * @generated from message mgx.wallet.v1.account.GetUsageStatsResponse
377
+ */
378
+ export type GetUsageStatsResponse = Message<"mgx.wallet.v1.account.GetUsageStatsResponse"> & {
379
+ /**
380
+ * Response code
381
+ *
382
+ * @generated from field: optional mgx.wallet.v1.common.Code code = 1;
383
+ */
384
+ code?: Code;
385
+ /**
386
+ * Message
387
+ *
388
+ * @generated from field: optional string message = 2;
389
+ */
390
+ message?: string;
391
+ /**
392
+ * Response data
393
+ *
394
+ * @generated from field: mgx.wallet.v1.account.GetUsageStatsResponse.Data data = 3;
395
+ */
396
+ data?: GetUsageStatsResponse_Data;
397
+ };
398
+ /**
399
+ * Describes the message mgx.wallet.v1.account.GetUsageStatsResponse.
400
+ * Use `create(GetUsageStatsResponseSchema)` to create a new message.
401
+ */
402
+ export declare const GetUsageStatsResponseSchema: GenMessage<GetUsageStatsResponse>;
403
+ /**
404
+ * @generated from message mgx.wallet.v1.account.GetUsageStatsResponse.Data
405
+ */
406
+ export type GetUsageStatsResponse_Data = Message<"mgx.wallet.v1.account.GetUsageStatsResponse.Data"> & {
407
+ /**
408
+ * Total quota (sum of all items)
409
+ *
410
+ * @generated from field: optional int64 total_quota = 1;
411
+ */
412
+ totalQuota?: bigint;
413
+ /**
414
+ * Total amount (USD), converted by backend: quota / 500000
415
+ *
416
+ * @generated from field: string total_amount = 2;
417
+ */
418
+ totalAmount: string;
419
+ /**
420
+ * Currency, e.g. USD
421
+ *
422
+ * @generated from field: string currency = 3;
423
+ */
424
+ currency: string;
425
+ /**
426
+ * Usage summary by category
427
+ *
428
+ * @generated from field: repeated mgx.wallet.v1.account.CategoryUsage summary_by_category = 4;
429
+ */
430
+ summaryByCategory: CategoryUsage[];
431
+ /**
432
+ * Details by chat_id (each item includes usage for all categories)
433
+ *
434
+ * @generated from field: repeated mgx.wallet.v1.account.UsageItem items = 5;
435
+ */
436
+ items: UsageItem[];
437
+ /**
438
+ * Total count of items
439
+ *
440
+ * @generated from field: optional int64 total = 6;
441
+ */
442
+ total?: bigint;
443
+ /**
444
+ * Current page number of items
445
+ *
446
+ * @generated from field: int32 page = 7;
447
+ */
448
+ page: number;
449
+ /**
450
+ * Page size of items
451
+ *
452
+ * @generated from field: int32 page_size = 8;
453
+ */
454
+ pageSize: number;
455
+ };
456
+ /**
457
+ * Describes the message mgx.wallet.v1.account.GetUsageStatsResponse.Data.
458
+ * Use `create(GetUsageStatsResponse_DataSchema)` to create a new message.
459
+ */
460
+ export declare const GetUsageStatsResponse_DataSchema: GenMessage<GetUsageStatsResponse_Data>;
461
+ /**
462
+ * @generated from message mgx.wallet.v1.account.CategoryUsage
463
+ */
464
+ export type CategoryUsage = Message<"mgx.wallet.v1.account.CategoryUsage"> & {
465
+ /**
466
+ * Quota category (Cloud/AI/General)
467
+ *
468
+ * @generated from field: mgx.wallet.v1.common.QuotaCategory category = 1;
469
+ */
470
+ category: QuotaCategory;
471
+ /**
472
+ * Quota consumed in this category
473
+ *
474
+ * @generated from field: optional int64 quota = 2;
475
+ */
476
+ quota?: bigint;
477
+ /**
478
+ * Amount in this category
479
+ *
480
+ * @generated from field: string amount = 3;
481
+ */
482
+ amount: string;
483
+ /**
484
+ * Currency, e.g. USD
485
+ *
486
+ * @generated from field: string currency = 4;
487
+ */
488
+ currency: string;
489
+ };
490
+ /**
491
+ * Describes the message mgx.wallet.v1.account.CategoryUsage.
492
+ * Use `create(CategoryUsageSchema)` to create a new message.
493
+ */
494
+ export declare const CategoryUsageSchema: GenMessage<CategoryUsage>;
495
+ /**
496
+ * UsageItem: one per chat_id, with usage for all categories (Cloud/AI/General) in that chat.
497
+ *
498
+ * @generated from message mgx.wallet.v1.account.UsageItem
499
+ */
500
+ export type UsageItem = Message<"mgx.wallet.v1.account.UsageItem"> & {
501
+ /**
502
+ * Chat ID
503
+ *
504
+ * @generated from field: string chat_id = 1;
505
+ */
506
+ chatId: string;
507
+ /**
508
+ * Chat name, only used for display
509
+ *
510
+ * @generated from field: optional string chat_name = 2;
511
+ */
512
+ chatName?: string;
513
+ /**
514
+ * Total quota consumed in this chat (sum of all categories)
515
+ *
516
+ * @generated from field: optional int64 quota = 3;
517
+ */
518
+ quota?: bigint;
519
+ /**
520
+ * Total amount in this chat
521
+ *
522
+ * @generated from field: string amount = 4;
523
+ */
524
+ amount: string;
525
+ /**
526
+ * Currency, e.g. USD
527
+ *
528
+ * @generated from field: string currency = 5;
529
+ */
530
+ currency: string;
531
+ /**
532
+ * Usage per category (Cloud/AI/General) for this chat
533
+ *
534
+ * @generated from field: repeated mgx.wallet.v1.account.CategoryUsage usage_by_category = 6;
535
+ */
536
+ usageByCategory: CategoryUsage[];
537
+ };
538
+ /**
539
+ * Describes the message mgx.wallet.v1.account.UsageItem.
540
+ * Use `create(UsageItemSchema)` to create a new message.
541
+ */
542
+ export declare const UsageItemSchema: GenMessage<UsageItem>;
543
+ /**
544
+ * Monthly limit action enumeration
545
+ *
546
+ * @generated from enum mgx.wallet.v1.account.MonthlyLimitAction
547
+ */
548
+ export declare enum MonthlyLimitAction {
549
+ /**
550
+ * Default value, unspecified
551
+ *
552
+ * @generated from enum value: MONTHLY_LIMIT_ACTION_UNSPECIFIED = 0;
553
+ */
554
+ UNSPECIFIED = 0,
555
+ /**
556
+ * Pause usage
557
+ *
558
+ * @generated from enum value: MONTHLY_LIMIT_ACTION_PAUSE = 1;
559
+ */
560
+ PAUSE = 1,
561
+ /**
562
+ * Notify only
563
+ *
564
+ * @generated from enum value: MONTHLY_LIMIT_ACTION_NOTIFY_ONLY = 2;
565
+ */
566
+ NOTIFY_ONLY = 2
567
+ }
568
+ /**
569
+ * Describes the enum mgx.wallet.v1.account.MonthlyLimitAction.
570
+ */
571
+ export declare const MonthlyLimitActionSchema: GenEnum<MonthlyLimitAction>;
572
+ /**
573
+ * Core service definition
574
+ *
575
+ * @generated from service mgx.wallet.v1.account.QuotaService
576
+ */
577
+ export declare const QuotaService: GenService<{
578
+ /**
579
+ * @generated from rpc mgx.wallet.v1.account.QuotaService.Decrease
580
+ */
581
+ decrease: {
582
+ methodKind: "unary";
583
+ input: typeof DecreaseRequestSchema;
584
+ output: typeof DecreaseResponseSchema;
585
+ };
586
+ /**
587
+ * @generated from rpc mgx.wallet.v1.account.QuotaService.GetBalance
588
+ */
589
+ getBalance: {
590
+ methodKind: "unary";
591
+ input: typeof GetBalanceRequestSchema;
592
+ output: typeof GetBalanceResponseSchema;
593
+ };
594
+ /**
595
+ * @generated from rpc mgx.wallet.v1.account.QuotaService.GetUsageStats
596
+ */
597
+ getUsageStats: {
598
+ methodKind: "unary";
599
+ input: typeof GetUsageStatsRequestSchema;
600
+ output: typeof GetUsageStatsResponseSchema;
601
+ };
602
+ }>;
603
+ //# sourceMappingURL=quota_service_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quota_service_pb.d.ts","sourceRoot":"","sources":["../../../src/v1/account/quota_service_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAG7F,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAErE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,6BAA6B,EAAE,OAC47I,CAAC;AAEz+I;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,uCAAuC,CAAC,GAAG;IAC/E;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,QAAQ,EAAE,aAAa,CAAC;IAExB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF;;;GAGG;AACH,eAA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