mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-23 11:44:19 +01:00
96 lines
12 KiB
Python
96 lines
12 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: management.proto
|
|
# Protobuf Python Version: 5.29.0
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import runtime_version as _runtime_version
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf.internal import builder as _builder
|
|
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
_runtime_version.Domain.PUBLIC,
|
|
5,
|
|
29,
|
|
0,
|
|
'',
|
|
'management.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10management.proto\x12\x05\x63\x61shu\"\x10\n\x0eGetInfoRequest\"+\n\x0bInfoContact\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0c\n\x04info\x18\x02 \x01(\t\"\xfe\x02\n\x0fGetInfoResponse\x12\x11\n\x04name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06pubkey\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x14\n\x07version\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x1d\n\x10long_description\x18\x05 \x01(\tH\x04\x88\x01\x01\x12#\n\x07\x63ontact\x18\x06 \x03(\x0b\x32\x12.cashu.InfoContact\x12\x11\n\x04motd\x18\x07 \x01(\tH\x05\x88\x01\x01\x12\x15\n\x08icon_url\x18\x08 \x01(\tH\x06\x88\x01\x01\x12\x0c\n\x04urls\x18\t \x03(\t\x12\x11\n\x04time\x18\n \x01(\x03H\x07\x88\x01\x01\x12\x14\n\x07tos_url\x18\x0b \x01(\tH\x08\x88\x01\x01\x42\x07\n\x05_nameB\t\n\x07_pubkeyB\n\n\x08_versionB\x0e\n\x0c_descriptionB\x13\n\x11_long_descriptionB\x07\n\x05_motdB\x0b\n\t_icon_urlB\x07\n\x05_timeB\n\n\x08_tos_url\"\x10\n\x0eUpdateResponse\"!\n\x11UpdateMotdRequest\x12\x0c\n\x04motd\x18\x01 \x01(\t\"/\n\x18UpdateDescriptionRequest\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\"(\n\x14UpdateIconUrlRequest\x12\x10\n\x08icon_url\x18\x01 \x01(\t\"!\n\x11UpdateNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1f\n\x10UpdateUrlRequest\x12\x0b\n\x03url\x18\x01 \x01(\t\"4\n\x14UpdateContactRequest\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0c\n\x04info\x18\x02 \x01(\t\"(\n\x11MintMethodOptions\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\x08\"\xe2\x01\n\x12UpdateNut04Request\x12\x0c\n\x04unit\x18\x01 \x01(\t\x12\x0e\n\x06method\x18\x02 \x01(\t\x12\x15\n\x08\x64isabled\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x17\n\nmin_amount\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x17\n\nmax_amount\x18\x05 \x01(\x04H\x02\x88\x01\x01\x12.\n\x07options\x18\x06 \x01(\x0b\x32\x18.cashu.MintMethodOptionsH\x03\x88\x01\x01\x42\x0b\n\t_disabledB\r\n\x0b_min_amountB\r\n\x0b_max_amountB\n\n\x08_options\"\'\n\x11MeltMethodOptions\x12\x12\n\namountless\x18\x01 \x01(\x08\"\xe2\x01\n\x12UpdateNut05Request\x12\x0c\n\x04unit\x18\x01 \x01(\t\x12\x0e\n\x06method\x18\x02 \x01(\t\x12\x15\n\x08\x64isabled\x18\x03 \x01(\x08H\x00\x88\x01\x01\x12\x17\n\nmin_amount\x18\x04 \x01(\x04H\x01\x88\x01\x01\x12\x17\n\nmax_amount\x18\x05 \x01(\x04H\x02\x88\x01\x01\x12.\n\x07options\x18\x06 \x01(\x0b\x32\x18.cashu.MeltMethodOptionsH\x03\x88\x01\x01\x42\x0b\n\t_disabledB\r\n\x0b_min_amountB\r\n\x0b_max_amountB\n\n\x08_options\"_\n\x15UpdateQuoteTtlRequest\x12\x15\n\x08mint_ttl\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x15\n\x08melt_ttl\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x0b\n\t_mint_ttlB\x0b\n\t_melt_ttl\"\x9f\x02\n\nNut04Quote\x12\r\n\x05quote\x18\x01 \x01(\t\x12\x0e\n\x06method\x18\x02 \x01(\t\x12\x0f\n\x07request\x18\x03 \x01(\t\x12\x13\n\x0b\x63hecking_id\x18\x04 \x01(\t\x12\x0c\n\x04unit\x18\x05 \x01(\t\x12\x0e\n\x06\x61mount\x18\x06 \x01(\x04\x12\x12\n\x05state\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x19\n\x0c\x63reated_time\x18\x08 \x01(\x03H\x01\x88\x01\x01\x12\x16\n\tpaid_time\x18\t \x01(\x03H\x02\x88\x01\x01\x12\x13\n\x06\x65xpiry\x18\n \x01(\x03H\x03\x88\x01\x01\x12\x13\n\x06pubkey\x18\r \x01(\tH\x04\x88\x01\x01\x42\x08\n\x06_stateB\x0f\n\r_created_timeB\x0c\n\n_paid_timeB\t\n\x07_expiryB\t\n\x07_pubkey\"Z\n\x0e\x42lindedMessage\x12\x0e\n\x06\x61mount\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\t\x12\n\n\x02\x42_\x18\x03 \x01(\t\x12\x14\n\x07witness\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\n\n\x08_witness\"\x1c\n\x04\x44LEQ\x12\t\n\x01\x65\x18\x01 \x01(\t\x12\t\n\x01s\x18\x02 \x01(\t\"c\n\x10\x42lindedSignature\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06\x61mount\x18\x02 \x01(\x05\x12\n\n\x02\x43_\x18\x03 \x01(\t\x12\x1e\n\x04\x64leq\x18\x04 \x01(\x0b\x32\x0b.cashu.DLEQH\x00\x88\x01\x01\x42\x07\n\x05_dleq\"\x9c\x03\n\nNut05Quote\x12\r\n\x05quote\x18\x01 \x01(\t\x12\x0e\n\x06method\x18\x02 \x01(\t\x12\x0f\n\x07request\x18\x03 \x01(\t\x12\x13\n\x0b\x63hecking_id\x18\x04 \x01(\t\x12\x0c\n\x04unit\x18\x05 \x01(\t\x12\x0e\n\x06\x61mount\x18\x06 \x01(\x05\x12\x13\n\x0b\x66\x65\x65_reserve\x18\x07 \x01(\x05\x12\r\n\x05state\x18\x08 \x01(\t\x12\x19\n\x0c\x63reated_time\x18\t \x01(\x03H\x00\x88\x01\x01\x12\x16\n\tpaid_time\x18\n \x01(\x03H\x01\x88\x01\x01\x12\x10\n\x08\x66\x65\x65_paid\x18\x0b \x01(\x05\x12\x1d\n\x10payment_preimage\x18\x0c \x01(\tH\x02\x88\x01\x01\x12\x13\n\x06\x65xpiry\x18\r \x01(\x03H\x03\x88\x01\x01\x12&\n\x07outputs\x18\x0e \x03(\x0b\x32\x15.cashu.BlindedMessage\x12\'\n\x06\x63hange\x18\x0f \x03(\x0b\x32\x17.cashu.BlindedSignatureB\x0f\n\r_created_timeB\x0c\n\n_paid_timeB\x13\n\x11_payment_preimageB\t\n\x07_expiry\"(\n\x14GetNut04QuoteRequest\x12\x10\n\x08quote_id\x18\x01 \x01(\t\"9\n\x15GetNut04QuoteResponse\x12 \n\x05quote\x18\x01 \x01(\x0b\x32\x11.cashu.Nut04Quote\"(\n\x14GetNut05QuoteRequest\x12\x10\n\x08quote_id\x18\x01 \x01(\t\"9\n\x15GetNut05QuoteResponse\x12 \n\x05quote\x18\x01 \x01(\x0b\x32\x11.cashu.Nut05Quote\"5\n\x12UpdateQuoteRequest\x12\x10\n\x08quote_id\x18\x01 \x01(\t\x12\r\n\x05state\x18\x02 \x01(\t\"{\n\x17RotateNextKeysetRequest\x12\x0c\n\x04unit\x18\x01 \x01(\t\x12\x16\n\tmax_order\x18\x02 \x01(\rH\x00\x88\x01\x01\x12\x1a\n\rinput_fee_ppk\x18\x03 \x01(\x04H\x01\x88\x01\x01\x42\x0c\n\n_max_orderB\x10\n\x0e_input_fee_ppk\"^\n\x18RotateNextKeysetResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04unit\x18\x02 \x01(\t\x12\x11\n\tmax_order\x18\x03 \x01(\r\x12\x15\n\rinput_fee_ppk\x18\x04 \x01(\x04\"w\n\x19UpdateLightningFeeRequest\x12\x18\n\x0b\x66\x65\x65_percent\x18\x01 \x01(\x01H\x00\x88\x01\x01\x12\x1c\n\x0f\x66\x65\x65_min_reserve\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x0e\n\x0c_fee_percentB\x12\n\x10_fee_min_reserve\"\x9f\x01\n\x17UpdateAuthLimitsRequest\x12\'\n\x1a\x61uth_rate_limit_per_minute\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\"\n\x15\x61uth_max_blind_tokens\x18\x02 \x01(\x04H\x01\x88\x01\x01\x42\x1d\n\x1b_auth_rate_limit_per_minuteB\x18\n\x16_auth_max_blind_tokens2\xa8\x0b\n\x04Mint\x12:\n\x07GetInfo\x12\x15.cashu.GetInfoRequest\x1a\x16.cashu.GetInfoResponse\"\x00\x12?\n\nUpdateMotd\x12\x18.cashu.UpdateMotdRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12R\n\x16UpdateShortDescription\x12\x1f.cashu.UpdateDescriptionRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12Q\n\x15UpdateLongDescription\x12\x1f.cashu.UpdateDescriptionRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12\x45\n\rUpdateIconUrl\x12\x1b.cashu.UpdateIconUrlRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12?\n\nUpdateName\x12\x18.cashu.UpdateNameRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12:\n\x06\x41\x64\x64Url\x12\x17.cashu.UpdateUrlRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12=\n\tRemoveUrl\x12\x17.cashu.UpdateUrlRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12\x42\n\nAddContact\x12\x1b.cashu.UpdateContactRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12\x45\n\rRemoveContact\x12\x1b.cashu.UpdateContactRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12L\n\rGetNut04Quote\x12\x1b.cashu.GetNut04QuoteRequest\x1a\x1c.cashu.GetNut04QuoteResponse\"\x00\x12L\n\rGetNut05Quote\x12\x1b.cashu.GetNut05QuoteRequest\x1a\x1c.cashu.GetNut05QuoteResponse\"\x00\x12\x41\n\x0bUpdateNut04\x12\x19.cashu.UpdateNut04Request\x1a\x15.cashu.UpdateResponse\"\x00\x12\x41\n\x0bUpdateNut05\x12\x19.cashu.UpdateNut05Request\x1a\x15.cashu.UpdateResponse\"\x00\x12G\n\x0eUpdateQuoteTtl\x12\x1c.cashu.UpdateQuoteTtlRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12\x46\n\x10UpdateNut04Quote\x12\x19.cashu.UpdateQuoteRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12\x46\n\x10UpdateNut05Quote\x12\x19.cashu.UpdateQuoteRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12U\n\x10RotateNextKeyset\x12\x1e.cashu.RotateNextKeysetRequest\x1a\x1f.cashu.RotateNextKeysetResponse\"\x00\x12O\n\x12UpdateLightningFee\x12 .cashu.UpdateLightningFeeRequest\x1a\x15.cashu.UpdateResponse\"\x00\x12K\n\x10UpdateAuthLimits\x12\x1e.cashu.UpdateAuthLimitsRequest\x1a\x15.cashu.UpdateResponse\"\x00\x62\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'management_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
DESCRIPTOR._loaded_options = None
|
|
_globals['_GETINFOREQUEST']._serialized_start=27
|
|
_globals['_GETINFOREQUEST']._serialized_end=43
|
|
_globals['_INFOCONTACT']._serialized_start=45
|
|
_globals['_INFOCONTACT']._serialized_end=88
|
|
_globals['_GETINFORESPONSE']._serialized_start=91
|
|
_globals['_GETINFORESPONSE']._serialized_end=473
|
|
_globals['_UPDATERESPONSE']._serialized_start=475
|
|
_globals['_UPDATERESPONSE']._serialized_end=491
|
|
_globals['_UPDATEMOTDREQUEST']._serialized_start=493
|
|
_globals['_UPDATEMOTDREQUEST']._serialized_end=526
|
|
_globals['_UPDATEDESCRIPTIONREQUEST']._serialized_start=528
|
|
_globals['_UPDATEDESCRIPTIONREQUEST']._serialized_end=575
|
|
_globals['_UPDATEICONURLREQUEST']._serialized_start=577
|
|
_globals['_UPDATEICONURLREQUEST']._serialized_end=617
|
|
_globals['_UPDATENAMEREQUEST']._serialized_start=619
|
|
_globals['_UPDATENAMEREQUEST']._serialized_end=652
|
|
_globals['_UPDATEURLREQUEST']._serialized_start=654
|
|
_globals['_UPDATEURLREQUEST']._serialized_end=685
|
|
_globals['_UPDATECONTACTREQUEST']._serialized_start=687
|
|
_globals['_UPDATECONTACTREQUEST']._serialized_end=739
|
|
_globals['_MINTMETHODOPTIONS']._serialized_start=741
|
|
_globals['_MINTMETHODOPTIONS']._serialized_end=781
|
|
_globals['_UPDATENUT04REQUEST']._serialized_start=784
|
|
_globals['_UPDATENUT04REQUEST']._serialized_end=1010
|
|
_globals['_MELTMETHODOPTIONS']._serialized_start=1012
|
|
_globals['_MELTMETHODOPTIONS']._serialized_end=1051
|
|
_globals['_UPDATENUT05REQUEST']._serialized_start=1054
|
|
_globals['_UPDATENUT05REQUEST']._serialized_end=1280
|
|
_globals['_UPDATEQUOTETTLREQUEST']._serialized_start=1282
|
|
_globals['_UPDATEQUOTETTLREQUEST']._serialized_end=1377
|
|
_globals['_NUT04QUOTE']._serialized_start=1380
|
|
_globals['_NUT04QUOTE']._serialized_end=1667
|
|
_globals['_BLINDEDMESSAGE']._serialized_start=1669
|
|
_globals['_BLINDEDMESSAGE']._serialized_end=1759
|
|
_globals['_DLEQ']._serialized_start=1761
|
|
_globals['_DLEQ']._serialized_end=1789
|
|
_globals['_BLINDEDSIGNATURE']._serialized_start=1791
|
|
_globals['_BLINDEDSIGNATURE']._serialized_end=1890
|
|
_globals['_NUT05QUOTE']._serialized_start=1893
|
|
_globals['_NUT05QUOTE']._serialized_end=2305
|
|
_globals['_GETNUT04QUOTEREQUEST']._serialized_start=2307
|
|
_globals['_GETNUT04QUOTEREQUEST']._serialized_end=2347
|
|
_globals['_GETNUT04QUOTERESPONSE']._serialized_start=2349
|
|
_globals['_GETNUT04QUOTERESPONSE']._serialized_end=2406
|
|
_globals['_GETNUT05QUOTEREQUEST']._serialized_start=2408
|
|
_globals['_GETNUT05QUOTEREQUEST']._serialized_end=2448
|
|
_globals['_GETNUT05QUOTERESPONSE']._serialized_start=2450
|
|
_globals['_GETNUT05QUOTERESPONSE']._serialized_end=2507
|
|
_globals['_UPDATEQUOTEREQUEST']._serialized_start=2509
|
|
_globals['_UPDATEQUOTEREQUEST']._serialized_end=2562
|
|
_globals['_ROTATENEXTKEYSETREQUEST']._serialized_start=2564
|
|
_globals['_ROTATENEXTKEYSETREQUEST']._serialized_end=2687
|
|
_globals['_ROTATENEXTKEYSETRESPONSE']._serialized_start=2689
|
|
_globals['_ROTATENEXTKEYSETRESPONSE']._serialized_end=2783
|
|
_globals['_UPDATELIGHTNINGFEEREQUEST']._serialized_start=2785
|
|
_globals['_UPDATELIGHTNINGFEEREQUEST']._serialized_end=2904
|
|
_globals['_UPDATEAUTHLIMITSREQUEST']._serialized_start=2907
|
|
_globals['_UPDATEAUTHLIMITSREQUEST']._serialized_end=3066
|
|
_globals['_MINT']._serialized_start=3069
|
|
_globals['_MINT']._serialized_end=4517
|
|
# @@protoc_insertion_point(module_scope)
|