@polyester/sdk 0.19.3 → 0.20.1
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/CHANGELOG.md +26 -0
- package/dist/gen/auth/v1/api_keys_pb.d.ts +3 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/auth_pb.d.ts +49 -5
- package/dist/gen/auth/v1/auth_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/auth_pb.js +21 -3
- package/dist/gen/auth/v1/auth_pb.js.map +1 -1
- package/dist/gen/auth/v1/profile_pb.d.ts +7 -0
- package/dist/gen/auth/v1/profile_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/profile_pb.js +1 -1
- package/dist/gen/auth/v1/profile_pb.js.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.d.ts +4 -2
- package/dist/gen/auth/v1/social_verification_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.d.ts +4 -2
- package/dist/gen/auth/v1/subaccounts_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
- package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +4 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.d.ts.map +1 -1
- package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +290 -2
- package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js +288 -9
- package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
- package/dist/gen/index.d.ts +10 -10
- package/dist/gen/index.js +7 -7
- package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +1 -1
- package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +5 -3
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +14 -6
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +7 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_read_pb.d.ts +1 -1
- package/dist/gen/orders/v1/orders_read_pb.js +2 -2
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +200 -2
- package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
- package/dist/gen/transfer/v1/internal_transfer_pb.js +193 -4
- package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +47 -2
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -2
- package/dist/services/auth/auth.d.ts +7 -0
- package/dist/services/auth/auth.d.ts.map +1 -1
- package/dist/services/auth/auth.js +9 -0
- package/dist/services/auth/auth.js.map +1 -1
- package/dist/services/auth/profile/profile.js +1 -1
- package/dist/services/auth/profile/profile.schemas.d.ts +1 -0
- package/dist/services/auth/profile/profile.schemas.d.ts.map +1 -1
- package/dist/services/auth/profile/profile.schemas.js +2 -1
- package/dist/services/auth/profile/profile.schemas.js.map +1 -1
- package/dist/services/balances/balances.js +1 -1
- package/dist/services/balances/balances.schemas.js +1 -1
- package/dist/services/candles/candles.schemas.d.ts +10 -10
- package/dist/services/heatmap/heatmap.schemas.d.ts +9 -9
- package/dist/services/internal-transfers/internal-transfers.js +1 -1
- package/dist/services/market-overview/market-overview.js +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +3 -3
- package/dist/services/market-overview/market-overview.schemas.js +1 -1
- package/dist/services/orders/index.d.ts +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +34 -34
- package/dist/services/orders/orders-batch.schemas.js +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +7 -7
- package/dist/services/orders/orders-input.schemas.js +2 -2
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-output.schemas.d.ts +6 -6
- package/dist/services/orders/orders.d.ts +1 -1
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +5 -3
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/orders/orders.schemas.d.ts +1 -1
- package/dist/services/orders/orders.types.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.d.ts +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
- package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
- package/dist/services/transfers/transfers.js +1 -1
- package/dist/services/transfers/transfers.schemas.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +25 -4
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +38 -2
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +3 -26
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +77 -2
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +36 -25
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/shared/connect-error-mapping.d.ts.map +1 -1
- package/dist/shared/connect-error-mapping.js +50 -50
- package/dist/shared/connect-error-mapping.js.map +1 -1
- package/dist/shared/error-detail.d.ts +37 -0
- package/dist/shared/error-detail.d.ts.map +1 -0
- package/dist/shared/error-detail.js +106 -0
- package/dist/shared/error-detail.js.map +1 -0
- package/dist/shared/errors.d.ts +11 -6
- package/dist/shared/errors.d.ts.map +1 -1
- package/dist/shared/errors.js +3 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +1 -15
- package/dist/utils/errors.js.map +1 -1
- package/dist/wired-services.js +5 -5
- package/package.json +1 -1
- package/dist/utils/connect-order-errors.d.ts +0 -15
- package/dist/utils/connect-order-errors.d.ts.map +0 -1
- package/dist/utils/connect-order-errors.js +0 -41
- package/dist/utils/connect-order-errors.js.map +0 -1
|
@@ -132,7 +132,10 @@ declare const ListDepositAddressesResponseSchema: GenMessage<ListDepositAddresse
|
|
|
132
132
|
declare const DepositAddressService: GenService<{
|
|
133
133
|
/**
|
|
134
134
|
* Create or return the assigned deposit address for one target and source
|
|
135
|
-
* chain.
|
|
135
|
+
* chain. The acting caller's root account must have accepted the current
|
|
136
|
+
* terms, including requests using an API key or targeting a shared subaccount.
|
|
137
|
+
* Otherwise FailedPrecondition is returned. Listing and using existing deposit
|
|
138
|
+
* addresses remain available without acceptance.
|
|
136
139
|
*
|
|
137
140
|
* @generated from rpc chain.deposit.v1.DepositAddressService.CreateDepositAddress
|
|
138
141
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deposit_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/deposit/v1/deposit_pb.ts"],"mappings":";;;;;;;;cAWa,+BAA+B;;;;;;KAQhC,iBAAiB;;;;;;EAM3B;;;;;;EAOA;;;;;;cAOW,sBAAsB,WAAW;;;;;;;KASlC,8BAA8B;;;;;;;EAOxC;;;;;;EAOA;;;;;;cAOW,mCAAmC,WAAW;;;;;;;KAS/C,+BAA+B;;;;;;EAMzC,iBAAiB;;;;;;cAON,oCAAoC,WAAW;;;;;;;KAShD,8BAA8B;;;;;;;EAOxC;;;;;;;;EASA;;;;;;cAOW,mCAAmC,WAAW;;;;;;;KAS/C,+BAA+B;;;;;;EAMzC,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;cAS/C,uBAAuB
|
|
1
|
+
{"version":3,"file":"deposit_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/deposit/v1/deposit_pb.ts"],"mappings":";;;;;;;;cAWa,+BAA+B;;;;;;KAQhC,iBAAiB;;;;;;EAM3B;;;;;;EAOA;;;;;;cAOW,sBAAsB,WAAW;;;;;;;KASlC,8BAA8B;;;;;;;EAOxC;;;;;;EAOA;;;;;;cAOW,mCAAmC,WAAW;;;;;;;KAS/C,+BAA+B;;;;;;EAMzC,iBAAiB;;;;;;cAON,oCAAoC,WAAW;;;;;;;KAShD,8BAA8B;;;;;;;EAOxC;;;;;;;;EASA;;;;;;cAOW,mCAAmC,WAAW;;;;;;;KAS/C,+BAA+B;;;;;;EAMzC,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;cAS/C,uBAAuB;;;;;;;;;;EAUlC;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;EAQjB;IACE;IACA,cAAc;IACd,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deposit_pb.js","names":[],"sources":["../../../../../src/gen/chain/deposit/v1/deposit_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/deposit/v1/deposit.proto (package chain.deposit.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/deposit/v1/deposit.proto.\n */\nexport const file_chain_deposit_v1_deposit: GenFile = /*@__PURE__*/\n fileDesc(\"Ch5jaGFpbi9kZXBvc2l0L3YxL2RlcG9zaXQucHJvdG8SEGNoYWluLmRlcG9zaXQudjEiOwoORGVwb3NpdEFkZHJlc3MSEAoIY2hhaW5faWQYASABKA0SFwoPZGVwb3NpdF9hZGRyZXNzGAIgASgJIkoKG0NyZWF0ZURlcG9zaXRBZGRyZXNzUmVxdWVzdBIXCg1zdWJhY2NvdW50X2lkGAEgASgGQgASEgoIY2hhaW5faWQYAiABKA1CACJZChxDcmVhdGVEZXBvc2l0QWRkcmVzc1Jlc3BvbnNlEjkKD2RlcG9zaXRfYWRkcmVzcxgBIAEoCzIgLmNoYWluLmRlcG9zaXQudjEuRGVwb3NpdEFkZHJlc3MiSgobTGlzdERlcG9zaXRBZGRyZXNzZXNSZXF1ZXN0EhcKDXN1YmFjY291bnRfaWQYASABKAZCABISCghjaGFpbl9pZBgCIAEoDUIAIlsKHExpc3REZXBvc2l0QWRkcmVzc2VzUmVzcG9uc2USOwoRZGVwb3NpdF9hZGRyZXNzZXMYASADKAsyIC5jaGFpbi5kZXBvc2l0LnYxLkRlcG9zaXRBZGRyZXNzMokCChVEZXBvc2l0QWRkcmVzc1NlcnZpY2USdwoUQ3JlYXRlRGVwb3NpdEFkZHJlc3MSLS5jaGFpbi5kZXBvc2l0LnYxLkNyZWF0ZURlcG9zaXRBZGRyZXNzUmVxdWVzdBouLmNoYWluLmRlcG9zaXQudjEuQ3JlYXRlRGVwb3NpdEFkZHJlc3NSZXNwb25zZSIAEncKFExpc3REZXBvc2l0QWRkcmVzc2VzEi0uY2hhaW4uZGVwb3NpdC52MS5MaXN0RGVwb3NpdEFkZHJlc3Nlc1JlcXVlc3QaLi5jaGFpbi5kZXBvc2l0LnYxLkxpc3REZXBvc2l0QWRkcmVzc2VzUmVzcG9uc2UiAEJNWktnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL2RlcG9zaXQvdjE7Y2hhaW5kZXBvc2l0djFiBnByb3RvMw==\");\n\n/**\n * DepositAddress describes one assigned deposit address for one external chain.\n *\n * @generated from message chain.deposit.v1.DepositAddress\n */\nexport type DepositAddress = Message<\"chain.deposit.v1.DepositAddress\"> & {\n /**\n * PolyChain-registered source chain id used across deposit flows.\n *\n * @generated from field: uint32 chain_id = 1;\n */\n chainId: number;\n\n /**\n * Assigned external-chain deposit address for the selected account target.\n *\n * @generated from field: string deposit_address = 2;\n */\n depositAddress: string;\n};\n\n/**\n * Describes the message chain.deposit.v1.DepositAddress.\n * Use `create(DepositAddressSchema)` to create a new message.\n */\nexport const DepositAddressSchema: GenMessage<DepositAddress> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 0);\n\n/**\n * CreateDepositAddressRequest creates or returns the deposit address for one\n * selected account target and chain.\n *\n * @generated from message chain.deposit.v1.CreateDepositAddressRequest\n */\nexport type CreateDepositAddressRequest = Message<\"chain.deposit.v1.CreateDepositAddressRequest\"> & {\n /**\n * Optional subaccount public id. When omitted, the authenticated caller's\n * root account is used as the target account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * PolyChain-registered source chain id to assign the deposit address for.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n};\n\n/**\n * Describes the message chain.deposit.v1.CreateDepositAddressRequest.\n * Use `create(CreateDepositAddressRequestSchema)` to create a new message.\n */\nexport const CreateDepositAddressRequestSchema: GenMessage<CreateDepositAddressRequest> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 1);\n\n/**\n * CreateDepositAddressResponse returns the assigned deposit address for the\n * requested target and chain.\n *\n * @generated from message chain.deposit.v1.CreateDepositAddressResponse\n */\nexport type CreateDepositAddressResponse = Message<\"chain.deposit.v1.CreateDepositAddressResponse\"> & {\n /**\n * Assigned deposit address for the requested target and chain.\n *\n * @generated from field: chain.deposit.v1.DepositAddress deposit_address = 1;\n */\n depositAddress?: DepositAddress | undefined;\n};\n\n/**\n * Describes the message chain.deposit.v1.CreateDepositAddressResponse.\n * Use `create(CreateDepositAddressResponseSchema)` to create a new message.\n */\nexport const CreateDepositAddressResponseSchema: GenMessage<CreateDepositAddressResponse> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 2);\n\n/**\n * ListDepositAddressesRequest lists known deposit addresses for one selected\n * account target.\n *\n * @generated from message chain.deposit.v1.ListDepositAddressesRequest\n */\nexport type ListDepositAddressesRequest = Message<\"chain.deposit.v1.ListDepositAddressesRequest\"> & {\n /**\n * Optional subaccount public id. When omitted, the authenticated caller's\n * root account is used as the target account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Optional PolyChain-registered source chain id filter. When omitted, the\n * response returns all known deposit addresses for the selected target,\n * ordered by ascending chain id.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n};\n\n/**\n * Describes the message chain.deposit.v1.ListDepositAddressesRequest.\n * Use `create(ListDepositAddressesRequestSchema)` to create a new message.\n */\nexport const ListDepositAddressesRequestSchema: GenMessage<ListDepositAddressesRequest> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 3);\n\n/**\n * ListDepositAddressesResponse returns the known deposit addresses for the\n * selected target, ordered by ascending chain id.\n *\n * @generated from message chain.deposit.v1.ListDepositAddressesResponse\n */\nexport type ListDepositAddressesResponse = Message<\"chain.deposit.v1.ListDepositAddressesResponse\"> & {\n /**\n * Known deposit addresses for the selected target.\n *\n * @generated from field: repeated chain.deposit.v1.DepositAddress deposit_addresses = 1;\n */\n depositAddresses: DepositAddress[];\n};\n\n/**\n * Describes the message chain.deposit.v1.ListDepositAddressesResponse.\n * Use `create(ListDepositAddressesResponseSchema)` to create a new message.\n */\nexport const ListDepositAddressesResponseSchema: GenMessage<ListDepositAddressesResponse> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 4);\n\n/**\n * DepositAddressService manages deposit addresses for root accounts and\n * subaccounts.\n *\n * @generated from service chain.deposit.v1.DepositAddressService\n */\nexport const DepositAddressService: GenService<{\n /**\n * Create or return the assigned deposit address for one target and source\n * chain.\n *\n * @generated from rpc chain.deposit.v1.DepositAddressService.CreateDepositAddress\n */\n createDepositAddress: {\n methodKind: \"unary\";\n input: typeof CreateDepositAddressRequestSchema;\n output: typeof CreateDepositAddressResponseSchema;\n },\n /**\n * List known deposit addresses for one target. Results are served from\n * Polyester-owned state rather than a live upstream read.\n *\n * @generated from rpc chain.deposit.v1.DepositAddressService.ListDepositAddresses\n */\n listDepositAddresses: {\n methodKind: \"unary\";\n input: typeof ListDepositAddressesRequestSchema;\n output: typeof ListDepositAddressesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_deposit_v1_deposit, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;AAWA,MAAa,gCACX,uBAAS,kjCAAkjC;;;;;AA2B7jC,MAAa,uBACX,0BAAY,+BAA+B,CAAC;;;;;AA6B9C,MAAa,oCACX,0BAAY,+BAA+B,CAAC;;;;;AAqB9C,MAAa,qCACX,0BAAY,+BAA+B,CAAC;;;;;AA+B9C,MAAa,oCACX,0BAAY,+BAA+B,CAAC;;;;;AAqB9C,MAAa,qCACX,0BAAY,+BAA+B,CAAC;;;;;;;AAQ9C,MAAa,
|
|
1
|
+
{"version":3,"file":"deposit_pb.js","names":[],"sources":["../../../../../src/gen/chain/deposit/v1/deposit_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file chain/deposit/v1/deposit.proto (package chain.deposit.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file chain/deposit/v1/deposit.proto.\n */\nexport const file_chain_deposit_v1_deposit: GenFile = /*@__PURE__*/\n fileDesc(\"Ch5jaGFpbi9kZXBvc2l0L3YxL2RlcG9zaXQucHJvdG8SEGNoYWluLmRlcG9zaXQudjEiOwoORGVwb3NpdEFkZHJlc3MSEAoIY2hhaW5faWQYASABKA0SFwoPZGVwb3NpdF9hZGRyZXNzGAIgASgJIkoKG0NyZWF0ZURlcG9zaXRBZGRyZXNzUmVxdWVzdBIXCg1zdWJhY2NvdW50X2lkGAEgASgGQgASEgoIY2hhaW5faWQYAiABKA1CACJZChxDcmVhdGVEZXBvc2l0QWRkcmVzc1Jlc3BvbnNlEjkKD2RlcG9zaXRfYWRkcmVzcxgBIAEoCzIgLmNoYWluLmRlcG9zaXQudjEuRGVwb3NpdEFkZHJlc3MiSgobTGlzdERlcG9zaXRBZGRyZXNzZXNSZXF1ZXN0EhcKDXN1YmFjY291bnRfaWQYASABKAZCABISCghjaGFpbl9pZBgCIAEoDUIAIlsKHExpc3REZXBvc2l0QWRkcmVzc2VzUmVzcG9uc2USOwoRZGVwb3NpdF9hZGRyZXNzZXMYASADKAsyIC5jaGFpbi5kZXBvc2l0LnYxLkRlcG9zaXRBZGRyZXNzMokCChVEZXBvc2l0QWRkcmVzc1NlcnZpY2USdwoUQ3JlYXRlRGVwb3NpdEFkZHJlc3MSLS5jaGFpbi5kZXBvc2l0LnYxLkNyZWF0ZURlcG9zaXRBZGRyZXNzUmVxdWVzdBouLmNoYWluLmRlcG9zaXQudjEuQ3JlYXRlRGVwb3NpdEFkZHJlc3NSZXNwb25zZSIAEncKFExpc3REZXBvc2l0QWRkcmVzc2VzEi0uY2hhaW4uZGVwb3NpdC52MS5MaXN0RGVwb3NpdEFkZHJlc3Nlc1JlcXVlc3QaLi5jaGFpbi5kZXBvc2l0LnYxLkxpc3REZXBvc2l0QWRkcmVzc2VzUmVzcG9uc2UiAEJNWktnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2NoYWluL2RlcG9zaXQvdjE7Y2hhaW5kZXBvc2l0djFiBnByb3RvMw==\");\n\n/**\n * DepositAddress describes one assigned deposit address for one external chain.\n *\n * @generated from message chain.deposit.v1.DepositAddress\n */\nexport type DepositAddress = Message<\"chain.deposit.v1.DepositAddress\"> & {\n /**\n * PolyChain-registered source chain id used across deposit flows.\n *\n * @generated from field: uint32 chain_id = 1;\n */\n chainId: number;\n\n /**\n * Assigned external-chain deposit address for the selected account target.\n *\n * @generated from field: string deposit_address = 2;\n */\n depositAddress: string;\n};\n\n/**\n * Describes the message chain.deposit.v1.DepositAddress.\n * Use `create(DepositAddressSchema)` to create a new message.\n */\nexport const DepositAddressSchema: GenMessage<DepositAddress> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 0);\n\n/**\n * CreateDepositAddressRequest creates or returns the deposit address for one\n * selected account target and chain.\n *\n * @generated from message chain.deposit.v1.CreateDepositAddressRequest\n */\nexport type CreateDepositAddressRequest = Message<\"chain.deposit.v1.CreateDepositAddressRequest\"> & {\n /**\n * Optional subaccount public id. When omitted, the authenticated caller's\n * root account is used as the target account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * PolyChain-registered source chain id to assign the deposit address for.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n};\n\n/**\n * Describes the message chain.deposit.v1.CreateDepositAddressRequest.\n * Use `create(CreateDepositAddressRequestSchema)` to create a new message.\n */\nexport const CreateDepositAddressRequestSchema: GenMessage<CreateDepositAddressRequest> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 1);\n\n/**\n * CreateDepositAddressResponse returns the assigned deposit address for the\n * requested target and chain.\n *\n * @generated from message chain.deposit.v1.CreateDepositAddressResponse\n */\nexport type CreateDepositAddressResponse = Message<\"chain.deposit.v1.CreateDepositAddressResponse\"> & {\n /**\n * Assigned deposit address for the requested target and chain.\n *\n * @generated from field: chain.deposit.v1.DepositAddress deposit_address = 1;\n */\n depositAddress?: DepositAddress | undefined;\n};\n\n/**\n * Describes the message chain.deposit.v1.CreateDepositAddressResponse.\n * Use `create(CreateDepositAddressResponseSchema)` to create a new message.\n */\nexport const CreateDepositAddressResponseSchema: GenMessage<CreateDepositAddressResponse> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 2);\n\n/**\n * ListDepositAddressesRequest lists known deposit addresses for one selected\n * account target.\n *\n * @generated from message chain.deposit.v1.ListDepositAddressesRequest\n */\nexport type ListDepositAddressesRequest = Message<\"chain.deposit.v1.ListDepositAddressesRequest\"> & {\n /**\n * Optional subaccount public id. When omitted, the authenticated caller's\n * root account is used as the target account.\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Optional PolyChain-registered source chain id filter. When omitted, the\n * response returns all known deposit addresses for the selected target,\n * ordered by ascending chain id.\n *\n * @generated from field: uint32 chain_id = 2;\n */\n chainId: number;\n};\n\n/**\n * Describes the message chain.deposit.v1.ListDepositAddressesRequest.\n * Use `create(ListDepositAddressesRequestSchema)` to create a new message.\n */\nexport const ListDepositAddressesRequestSchema: GenMessage<ListDepositAddressesRequest> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 3);\n\n/**\n * ListDepositAddressesResponse returns the known deposit addresses for the\n * selected target, ordered by ascending chain id.\n *\n * @generated from message chain.deposit.v1.ListDepositAddressesResponse\n */\nexport type ListDepositAddressesResponse = Message<\"chain.deposit.v1.ListDepositAddressesResponse\"> & {\n /**\n * Known deposit addresses for the selected target.\n *\n * @generated from field: repeated chain.deposit.v1.DepositAddress deposit_addresses = 1;\n */\n depositAddresses: DepositAddress[];\n};\n\n/**\n * Describes the message chain.deposit.v1.ListDepositAddressesResponse.\n * Use `create(ListDepositAddressesResponseSchema)` to create a new message.\n */\nexport const ListDepositAddressesResponseSchema: GenMessage<ListDepositAddressesResponse> = /*@__PURE__*/\n messageDesc(file_chain_deposit_v1_deposit, 4);\n\n/**\n * DepositAddressService manages deposit addresses for root accounts and\n * subaccounts.\n *\n * @generated from service chain.deposit.v1.DepositAddressService\n */\nexport const DepositAddressService: GenService<{\n /**\n * Create or return the assigned deposit address for one target and source\n * chain. The acting caller's root account must have accepted the current\n * terms, including requests using an API key or targeting a shared subaccount.\n * Otherwise FailedPrecondition is returned. Listing and using existing deposit\n * addresses remain available without acceptance.\n *\n * @generated from rpc chain.deposit.v1.DepositAddressService.CreateDepositAddress\n */\n createDepositAddress: {\n methodKind: \"unary\";\n input: typeof CreateDepositAddressRequestSchema;\n output: typeof CreateDepositAddressResponseSchema;\n },\n /**\n * List known deposit addresses for one target. Results are served from\n * Polyester-owned state rather than a live upstream read.\n *\n * @generated from rpc chain.deposit.v1.DepositAddressService.ListDepositAddresses\n */\n listDepositAddresses: {\n methodKind: \"unary\";\n input: typeof ListDepositAddressesRequestSchema;\n output: typeof ListDepositAddressesResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_chain_deposit_v1_deposit, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;AAWA,MAAa,gCACX,uBAAS,kjCAAkjC;;;;;AA2B7jC,MAAa,uBACX,0BAAY,+BAA+B,CAAC;;;;;AA6B9C,MAAa,oCACX,0BAAY,+BAA+B,CAAC;;;;;AAqB9C,MAAa,qCACX,0BAAY,+BAA+B,CAAC;;;;;AA+B9C,MAAa,oCACX,0BAAY,+BAA+B,CAAC;;;;;AAqB9C,MAAa,qCACX,0BAAY,+BAA+B,CAAC;;;;;;;AAQ9C,MAAa,wBA2BX,0BAAY,+BAA+B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { U128 } from "../../../polyester/type/v1/u128_pb.js";
|
|
|
2
2
|
import { Message } from "@bufbuild/protobuf";
|
|
3
3
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
4
4
|
declare namespace withdraw_pb_d_exports {
|
|
5
|
-
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
|
|
5
|
+
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file chain/withdraw/v1/withdraw.proto.
|
|
@@ -48,6 +48,24 @@ type CreateWalletTradingWithdrawResponse = Message<"chain.withdraw.v1.CreateWall
|
|
|
48
48
|
* Use `create(CreateWalletTradingWithdrawResponseSchema)` to create a new message.
|
|
49
49
|
*/
|
|
50
50
|
declare const CreateWalletTradingWithdrawResponseSchema: GenMessage<CreateWalletTradingWithdrawResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* ErrorDetail is attached to ConnectRPC errors for structured error handling.
|
|
53
|
+
*
|
|
54
|
+
* @generated from message chain.withdraw.v1.ErrorDetail
|
|
55
|
+
*/
|
|
56
|
+
type ErrorDetail = Message<"chain.withdraw.v1.ErrorDetail"> & {
|
|
57
|
+
/**
|
|
58
|
+
* Stable error code matching the REST problem+json code field.
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: chain.withdraw.v1.ErrorCode code = 1;
|
|
61
|
+
*/
|
|
62
|
+
code: ErrorCode;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message chain.withdraw.v1.ErrorDetail.
|
|
66
|
+
* Use `create(ErrorDetailSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
declare const ErrorDetailSchema: GenMessage<ErrorDetail>;
|
|
51
69
|
/**
|
|
52
70
|
* TradingWithdrawIntentPayload is the client-signed typed withdraw request.
|
|
53
71
|
* Account scope and backend intent ids are derived server-side.
|
|
@@ -243,6 +261,276 @@ type ValidateWithdrawDestinationResponse = Message<"chain.withdraw.v1.ValidateWi
|
|
|
243
261
|
* Use `create(ValidateWithdrawDestinationResponseSchema)` to create a new message.
|
|
244
262
|
*/
|
|
245
263
|
declare const ValidateWithdrawDestinationResponseSchema: GenMessage<ValidateWithdrawDestinationResponse>;
|
|
264
|
+
/**
|
|
265
|
+
* ErrorCode identifies stable, machine-readable Withdraw API errors.
|
|
266
|
+
* Values mirror the REST problem+json code field.
|
|
267
|
+
*
|
|
268
|
+
* @generated from enum chain.withdraw.v1.ErrorCode
|
|
269
|
+
*/
|
|
270
|
+
declare enum ErrorCode {
|
|
271
|
+
/**
|
|
272
|
+
* No domain error code was provided.
|
|
273
|
+
*
|
|
274
|
+
* @generated from enum value: ERROR_CODE_UNSPECIFIED = 0;
|
|
275
|
+
*/
|
|
276
|
+
UNSPECIFIED = 0,
|
|
277
|
+
/**
|
|
278
|
+
* The source account does not have enough available Trading balance.
|
|
279
|
+
*
|
|
280
|
+
* @generated from enum value: ERROR_CODE_INSUFFICIENT_FUNDS = 1;
|
|
281
|
+
*/
|
|
282
|
+
INSUFFICIENT_FUNDS = 1,
|
|
283
|
+
/**
|
|
284
|
+
* Request payload or one of its fields is invalid.
|
|
285
|
+
*
|
|
286
|
+
* @generated from enum value: ERROR_CODE_INVALID_REQUEST = 2;
|
|
287
|
+
*/
|
|
288
|
+
INVALID_REQUEST = 2,
|
|
289
|
+
/**
|
|
290
|
+
* Caller is not authenticated.
|
|
291
|
+
*
|
|
292
|
+
* @generated from enum value: ERROR_CODE_UNAUTHENTICATED = 3;
|
|
293
|
+
*/
|
|
294
|
+
UNAUTHENTICATED = 3,
|
|
295
|
+
/**
|
|
296
|
+
* Caller is not permitted to perform the withdraw operation.
|
|
297
|
+
*
|
|
298
|
+
* @generated from enum value: ERROR_CODE_PERMISSION_DENIED = 4;
|
|
299
|
+
*/
|
|
300
|
+
PERMISSION_DENIED = 4,
|
|
301
|
+
/**
|
|
302
|
+
* Request exceeded the applicable admission rate limit.
|
|
303
|
+
*
|
|
304
|
+
* @generated from enum value: ERROR_CODE_RATE_LIMIT_EXCEEDED = 5;
|
|
305
|
+
*/
|
|
306
|
+
RATE_LIMIT_EXCEEDED = 5,
|
|
307
|
+
/**
|
|
308
|
+
* A required dependency is temporarily unavailable.
|
|
309
|
+
*
|
|
310
|
+
* @generated from enum value: ERROR_CODE_SERVICE_UNAVAILABLE = 6;
|
|
311
|
+
*/
|
|
312
|
+
SERVICE_UNAVAILABLE = 6,
|
|
313
|
+
/**
|
|
314
|
+
* The request failed because of an unexpected server error.
|
|
315
|
+
*
|
|
316
|
+
* @generated from enum value: ERROR_CODE_INTERNAL_ERROR = 7;
|
|
317
|
+
*/
|
|
318
|
+
INTERNAL_ERROR = 7,
|
|
319
|
+
/**
|
|
320
|
+
* The selected subaccount identifier is invalid.
|
|
321
|
+
*
|
|
322
|
+
* @generated from enum value: ERROR_CODE_INVALID_SUBACCOUNT_ID = 8;
|
|
323
|
+
*/
|
|
324
|
+
INVALID_SUBACCOUNT_ID = 8,
|
|
325
|
+
/**
|
|
326
|
+
* The selected subaccount does not exist.
|
|
327
|
+
*
|
|
328
|
+
* @generated from enum value: ERROR_CODE_SUBACCOUNT_NOT_FOUND = 9;
|
|
329
|
+
*/
|
|
330
|
+
SUBACCOUNT_NOT_FOUND = 9,
|
|
331
|
+
/**
|
|
332
|
+
* The requested withdraw action is invalid for this endpoint.
|
|
333
|
+
*
|
|
334
|
+
* @generated from enum value: ERROR_CODE_INVALID_ACTION = 10;
|
|
335
|
+
*/
|
|
336
|
+
INVALID_ACTION = 10,
|
|
337
|
+
/**
|
|
338
|
+
* The requested ledger is not supported for withdrawals.
|
|
339
|
+
*
|
|
340
|
+
* @generated from enum value: ERROR_CODE_UNSUPPORTED_LEDGER = 11;
|
|
341
|
+
*/
|
|
342
|
+
UNSUPPORTED_LEDGER = 11,
|
|
343
|
+
/**
|
|
344
|
+
* The requested asset or withdraw route is not supported.
|
|
345
|
+
*
|
|
346
|
+
* @generated from enum value: ERROR_CODE_UNSUPPORTED_ASSET = 12;
|
|
347
|
+
*/
|
|
348
|
+
UNSUPPORTED_ASSET = 12,
|
|
349
|
+
/**
|
|
350
|
+
* The withdraw amount is invalid.
|
|
351
|
+
*
|
|
352
|
+
* @generated from enum value: ERROR_CODE_INVALID_AMOUNT = 13;
|
|
353
|
+
*/
|
|
354
|
+
INVALID_AMOUNT = 13,
|
|
355
|
+
/**
|
|
356
|
+
* The destination chain is invalid.
|
|
357
|
+
*
|
|
358
|
+
* @generated from enum value: ERROR_CODE_INVALID_DESTINATION_CHAIN = 14;
|
|
359
|
+
*/
|
|
360
|
+
INVALID_DESTINATION_CHAIN = 14,
|
|
361
|
+
/**
|
|
362
|
+
* The destination address is invalid.
|
|
363
|
+
*
|
|
364
|
+
* @generated from enum value: ERROR_CODE_INVALID_DESTINATION_ADDRESS = 15;
|
|
365
|
+
*/
|
|
366
|
+
INVALID_DESTINATION_ADDRESS = 15,
|
|
367
|
+
/**
|
|
368
|
+
* The external destination is not whitelisted.
|
|
369
|
+
*
|
|
370
|
+
* @generated from enum value: ERROR_CODE_EXTERNAL_DESTINATION_NOT_WHITELISTED = 16;
|
|
371
|
+
*/
|
|
372
|
+
EXTERNAL_DESTINATION_NOT_WHITELISTED = 16,
|
|
373
|
+
/**
|
|
374
|
+
* The internal funding recipient is not whitelisted.
|
|
375
|
+
*
|
|
376
|
+
* @generated from enum value: ERROR_CODE_INTERNAL_RECIPIENT_NOT_WHITELISTED = 17;
|
|
377
|
+
*/
|
|
378
|
+
INTERNAL_RECIPIENT_NOT_WHITELISTED = 17,
|
|
379
|
+
/**
|
|
380
|
+
* The withdraw amount is below the configured minimum including fees.
|
|
381
|
+
*
|
|
382
|
+
* @generated from enum value: ERROR_CODE_AMOUNT_BELOW_MINIMUM = 18;
|
|
383
|
+
*/
|
|
384
|
+
AMOUNT_BELOW_MINIMUM = 18,
|
|
385
|
+
/**
|
|
386
|
+
* The withdraw amount exceeds the available zipped-asset supply.
|
|
387
|
+
*
|
|
388
|
+
* @generated from enum value: ERROR_CODE_AMOUNT_EXCEEDS_SUPPLY = 19;
|
|
389
|
+
*/
|
|
390
|
+
AMOUNT_EXCEEDS_SUPPLY = 19,
|
|
391
|
+
/**
|
|
392
|
+
* The source smart-account address is unavailable.
|
|
393
|
+
*
|
|
394
|
+
* @generated from enum value: ERROR_CODE_SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20;
|
|
395
|
+
*/
|
|
396
|
+
SOURCE_SMART_ACCOUNT_UNAVAILABLE = 20,
|
|
397
|
+
/**
|
|
398
|
+
* The required payload signature is missing.
|
|
399
|
+
*
|
|
400
|
+
* @generated from enum value: ERROR_CODE_SIGNATURE_REQUIRED = 21;
|
|
401
|
+
*/
|
|
402
|
+
SIGNATURE_REQUIRED = 21,
|
|
403
|
+
/**
|
|
404
|
+
* The requested signature scheme is unsupported.
|
|
405
|
+
*
|
|
406
|
+
* @generated from enum value: ERROR_CODE_SIGNATURE_SCHEME_UNSUPPORTED = 22;
|
|
407
|
+
*/
|
|
408
|
+
SIGNATURE_SCHEME_UNSUPPORTED = 22,
|
|
409
|
+
/**
|
|
410
|
+
* The wallet supplied as signer is invalid.
|
|
411
|
+
*
|
|
412
|
+
* @generated from enum value: ERROR_CODE_SIGNER_WALLET_INVALID = 23;
|
|
413
|
+
*/
|
|
414
|
+
SIGNER_WALLET_INVALID = 23,
|
|
415
|
+
/**
|
|
416
|
+
* Wallet authorization binding verification failed.
|
|
417
|
+
*
|
|
418
|
+
* @generated from enum value: ERROR_CODE_WALLET_BINDING_INVALID = 24;
|
|
419
|
+
*/
|
|
420
|
+
WALLET_BINDING_INVALID = 24,
|
|
421
|
+
/**
|
|
422
|
+
* Wallet authorization binding does not cover the requested scope.
|
|
423
|
+
*
|
|
424
|
+
* @generated from enum value: ERROR_CODE_WALLET_BINDING_SCOPE_MISMATCH = 25;
|
|
425
|
+
*/
|
|
426
|
+
WALLET_BINDING_SCOPE_MISMATCH = 25,
|
|
427
|
+
/**
|
|
428
|
+
* Wallet authorization binding does not match the signer.
|
|
429
|
+
*
|
|
430
|
+
* @generated from enum value: ERROR_CODE_WALLET_BINDING_SIGNER_MISMATCH = 26;
|
|
431
|
+
*/
|
|
432
|
+
WALLET_BINDING_SIGNER_MISMATCH = 26,
|
|
433
|
+
/**
|
|
434
|
+
* The API key could not be resolved.
|
|
435
|
+
*
|
|
436
|
+
* @generated from enum value: ERROR_CODE_API_KEY_NOT_FOUND = 27;
|
|
437
|
+
*/
|
|
438
|
+
API_KEY_NOT_FOUND = 27,
|
|
439
|
+
/**
|
|
440
|
+
* API-key authorization binding verification failed.
|
|
441
|
+
*
|
|
442
|
+
* @generated from enum value: ERROR_CODE_API_KEY_BINDING_INVALID = 28;
|
|
443
|
+
*/
|
|
444
|
+
API_KEY_BINDING_INVALID = 28,
|
|
445
|
+
/**
|
|
446
|
+
* API-key authorization binding does not cover the requested scope.
|
|
447
|
+
*
|
|
448
|
+
* @generated from enum value: ERROR_CODE_API_KEY_BINDING_SCOPE_MISMATCH = 29;
|
|
449
|
+
*/
|
|
450
|
+
API_KEY_BINDING_SCOPE_MISMATCH = 29,
|
|
451
|
+
/**
|
|
452
|
+
* API-key authorization binding does not match the configured public key.
|
|
453
|
+
*
|
|
454
|
+
* @generated from enum value: ERROR_CODE_API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30;
|
|
455
|
+
*/
|
|
456
|
+
API_KEY_BINDING_PUBLIC_KEY_MISMATCH = 30,
|
|
457
|
+
/**
|
|
458
|
+
* The idempotency key was reused with different request data.
|
|
459
|
+
*
|
|
460
|
+
* @generated from enum value: ERROR_CODE_IDEMPOTENCY_CONFLICT = 31;
|
|
461
|
+
*/
|
|
462
|
+
IDEMPOTENCY_CONFLICT = 31,
|
|
463
|
+
/**
|
|
464
|
+
* The funds lock conflicts with an existing or finalized reservation.
|
|
465
|
+
*
|
|
466
|
+
* @generated from enum value: ERROR_CODE_FUNDS_LOCK_CONFLICT = 32;
|
|
467
|
+
*/
|
|
468
|
+
FUNDS_LOCK_CONFLICT = 32,
|
|
469
|
+
/**
|
|
470
|
+
* The authoritative capital view is not ready or is stale.
|
|
471
|
+
*
|
|
472
|
+
* @generated from enum value: ERROR_CODE_CAPITAL_VIEW_UNAVAILABLE = 33;
|
|
473
|
+
*/
|
|
474
|
+
CAPITAL_VIEW_UNAVAILABLE = 33,
|
|
475
|
+
/**
|
|
476
|
+
* Required chain or contract metadata is unavailable.
|
|
477
|
+
*
|
|
478
|
+
* @generated from enum value: ERROR_CODE_CHAIN_METADATA_UNAVAILABLE = 34;
|
|
479
|
+
*/
|
|
480
|
+
CHAIN_METADATA_UNAVAILABLE = 34,
|
|
481
|
+
/**
|
|
482
|
+
* Required network fee data is unavailable.
|
|
483
|
+
*
|
|
484
|
+
* @generated from enum value: ERROR_CODE_FEE_UNAVAILABLE = 35;
|
|
485
|
+
*/
|
|
486
|
+
FEE_UNAVAILABLE = 35,
|
|
487
|
+
/**
|
|
488
|
+
* Required zipped-asset supply data is unavailable.
|
|
489
|
+
*
|
|
490
|
+
* @generated from enum value: ERROR_CODE_SUPPLY_UNAVAILABLE = 36;
|
|
491
|
+
*/
|
|
492
|
+
SUPPLY_UNAVAILABLE = 36,
|
|
493
|
+
/**
|
|
494
|
+
* Fresh step-up verification is temporarily unavailable.
|
|
495
|
+
*
|
|
496
|
+
* @generated from enum value: ERROR_CODE_STEP_UP_UNAVAILABLE = 37;
|
|
497
|
+
*/
|
|
498
|
+
STEP_UP_UNAVAILABLE = 37,
|
|
499
|
+
/**
|
|
500
|
+
* Destination validation is temporarily unavailable.
|
|
501
|
+
*
|
|
502
|
+
* @generated from enum value: ERROR_CODE_DESTINATION_VALIDATION_UNAVAILABLE = 38;
|
|
503
|
+
*/
|
|
504
|
+
DESTINATION_VALIDATION_UNAVAILABLE = 38,
|
|
505
|
+
/**
|
|
506
|
+
* The account shard cannot currently accept fund movement.
|
|
507
|
+
*
|
|
508
|
+
* @generated from enum value: ERROR_CODE_ACCOUNT_SHARD_UNAVAILABLE = 39;
|
|
509
|
+
*/
|
|
510
|
+
ACCOUNT_SHARD_UNAVAILABLE = 39,
|
|
511
|
+
/**
|
|
512
|
+
* A required precondition was not satisfied.
|
|
513
|
+
*
|
|
514
|
+
* @generated from enum value: ERROR_CODE_FAILED_PRECONDITION = 40;
|
|
515
|
+
*/
|
|
516
|
+
FAILED_PRECONDITION = 40,
|
|
517
|
+
/**
|
|
518
|
+
* The requested resource was not found.
|
|
519
|
+
*
|
|
520
|
+
* @generated from enum value: ERROR_CODE_NOT_FOUND = 41;
|
|
521
|
+
*/
|
|
522
|
+
NOT_FOUND = 41,
|
|
523
|
+
/**
|
|
524
|
+
* The request conflicts with existing state.
|
|
525
|
+
*
|
|
526
|
+
* @generated from enum value: ERROR_CODE_CONFLICT = 42;
|
|
527
|
+
*/
|
|
528
|
+
CONFLICT = 42
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* Describes the enum chain.withdraw.v1.ErrorCode.
|
|
532
|
+
*/
|
|
533
|
+
declare const ErrorCodeSchema: GenEnum<ErrorCode>;
|
|
246
534
|
/**
|
|
247
535
|
* TradingWithdrawAction identifies where funds should move from Trading.
|
|
248
536
|
*
|
|
@@ -363,5 +651,5 @@ declare const WithdrawService: GenService<{
|
|
|
363
651
|
};
|
|
364
652
|
}>;
|
|
365
653
|
//#endregion
|
|
366
|
-
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_d_exports };
|
|
654
|
+
export { CreateTradingWithdrawRequest, CreateTradingWithdrawRequestSchema, CreateTradingWithdrawResponse, CreateTradingWithdrawResponseSchema, CreateWalletTradingWithdrawRequest, CreateWalletTradingWithdrawRequestSchema, CreateWalletTradingWithdrawResponse, CreateWalletTradingWithdrawResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, TradingWithdrawAction, TradingWithdrawActionSchema, TradingWithdrawIntentPayload, TradingWithdrawIntentPayloadSchema, ValidateWithdrawDestinationRequest, ValidateWithdrawDestinationRequestSchema, ValidateWithdrawDestinationResponse, ValidateWithdrawDestinationResponseSchema, WithdrawDestinationValidationCode, WithdrawDestinationValidationCodeSchema, WithdrawService, file_chain_withdraw_v1_withdraw, withdraw_pb_d_exports };
|
|
367
655
|
//# sourceMappingURL=withdraw_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;cAca,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;;
|
|
1
|
+
{"version":3,"file":"withdraw_pb.d.ts","names":[],"sources":["../../../../../src/gen/chain/withdraw/v1/withdraw_pb.ts"],"mappings":";;;;;;;;;cAca,iCAAiC;;;;;;;KASlC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,sCAAsC;;;;;;;EAOhD;;;;;;cAOW,2CAA2C,WAAW;;;;;;KAQvD,cAAc;;;;;;EAMxB,MAAM;;;;;;cAOK,mBAAmB,WAAW;;;;;;;KAS/B,+BAA+B;;;;;;EAMzC,QAAQ;;;;;;;EAQR;;;;;;EAOA;;;;;;;EAQA,YAAY;;;;;;;;EASZ;;;;;;;EAQA,QAAQ;;;;;;;;;;EAWR;;;;;;;EAQA;;;;;;cAOW,oCAAoC,WAAW;;;;;;;KAShD,+BAA+B;;;;;;EAMzC,UAAU;;;;;;EAOV,kBAAkB;;;;;;cAOP,oCAAoC,WAAW;;;;;;;KAShD,qCAAqC;;;;;;EAM/C,UAAU;;;;;;EAOV;;;;;;EAOA;;;;;;EAOA,kBAAkB;;;;;;cAOP,0CAA0C,WAAW;;;;;;;KAStD,qCAAqC;;;;;;EAM/C;;;;;;EAOA;;;;;;cAOW,0CAA0C,WAAW;;;;;;;KAStD,sCAAsC;;;;;;EAMhD;;;;;;EAOA,MAAM;;;;;;EAON;;;;;;EAOA;;;;;;cAOW,2CAA2C,WAAW;;;;;;;aASvD;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,iBAAiB,QAAQ;;;;;;aAQ1B;;;;EAIV;;;;EAKA;;;;EAKA;;;;;cAMW,6BAA6B,QAAQ;;;;;;;aAStC;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;;EAQA;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,yCAAyC,QAAQ;;;;;;cAQjD,iBAAiB;;;;;;;EAO5B;IACE;IACA,cAAc;IACd,eAAe;;;;;;;EAOjB;IACE;IACA,cAAc;IACd,eAAe;;;;;;;;;;EAUjB;IACE;IACA,cAAc;IACd,eAAe"}
|