diff options
author | Sebastian <sebasjm@gmail.com> | 2024-03-22 15:15:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-03-26 16:57:58 -0300 |
commit | 5181d060cf09ffc7250c9f1069920da0724e0284 (patch) | |
tree | 477312c567976c63caa101202bc525490727c096 /packages/merchant-backoffice-ui/src/declaration.d.ts | |
parent | e2bfbced7ab027c901913e83ff7dd82240661990 (diff) | |
download | wallet-core-5181d060cf09ffc7250c9f1069920da0724e0284.tar.gz wallet-core-5181d060cf09ffc7250c9f1069920da0724e0284.tar.bz2 wallet-core-5181d060cf09ffc7250c9f1069920da0724e0284.zip |
wip, doesn't compile. now merchant doesn't have it's own definition of types... it uses the one defined by taler-util
Diffstat (limited to 'packages/merchant-backoffice-ui/src/declaration.d.ts')
-rw-r--r-- | packages/merchant-backoffice-ui/src/declaration.d.ts | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packages/merchant-backoffice-ui/src/declaration.d.ts b/packages/merchant-backoffice-ui/src/declaration.d.ts index e39257a79..93fecd9c4 100644 --- a/packages/merchant-backoffice-ui/src/declaration.d.ts +++ b/packages/merchant-backoffice-ui/src/declaration.d.ts @@ -28,7 +28,7 @@ type ImageDataUrl = string; type MerchantUserType = "business" | "individual"; -export interface WithId { +interface WithId { id: string; } @@ -118,7 +118,7 @@ interface LoginToken { // must forget after used declare const __ac_token: unique symbol; -export namespace ExchangeBackend { +namespace dead_ExchangeBackend2 { interface WireResponse { // Master public key of the exchange, must match the key returned in /keys. master_public_key: EddsaPublicKey; @@ -153,7 +153,7 @@ export namespace ExchangeBackend { sig: EddsaSignature; } } -export namespace MerchantBackend { +namespace dead_MerchantBackend2 { interface ErrorDetail { // Numeric error code unique to the condition. // The other arguments are specific to the error value reported here. @@ -344,7 +344,7 @@ export namespace MerchantBackend { // Free-form address lines, should not exceed 7 elements. address_lines?: string[]; } - namespace Instances { + namespace dead_Instances2 { //POST /private/instances/$INSTANCE/auth interface InstanceAuthConfigurationMessage { // Type of authentication. @@ -570,7 +570,7 @@ export namespace MerchantBackend { } } - namespace KYC { + namespace dead_KYC { //GET /private/instances/$INSTANCE/kyc interface AccountKycRedirects { // Array of pending KYCs. @@ -612,7 +612,7 @@ export namespace MerchantBackend { } - namespace BankAccounts { + namespace dead_BankAccounts { interface AccountAddDetails { @@ -706,7 +706,7 @@ export namespace MerchantBackend { } - namespace Products { + namespace dead_Products { // POST /private/products interface ProductAddDetail { // product ID to use. @@ -865,7 +865,7 @@ export namespace MerchantBackend { // DELETE /private/products/$PRODUCT_ID } - namespace Orders { + namespace dead_Orders { type MerchantOrderStatusResponse = | CheckPaymentPaidResponse | CheckPaymentClaimedResponse @@ -1147,7 +1147,7 @@ export namespace MerchantBackend { } } - namespace Rewards { + namespace dead_Rewards { // GET /private/reserves interface RewardReserveStatus { // Array of all known reserves (possibly empty!) @@ -1303,7 +1303,7 @@ export namespace MerchantBackend { } } - namespace Transfers { + namespace dead_Transfers { interface TransferList { // list of all the transfers that fit the filter that we know transfers: TransferDetails[]; @@ -1355,7 +1355,7 @@ export namespace MerchantBackend { } } - namespace OTP { + namespace dead_OTP { interface OtpDeviceAddDetails { // Device ID to use. otp_device_id: string; @@ -1412,7 +1412,7 @@ export namespace MerchantBackend { } - namespace Template { + namespace dead_Template { interface TemplateAddDetails { // Template ID to use. template_id: string; @@ -1494,7 +1494,7 @@ export namespace MerchantBackend { } } - namespace Webhooks { + namespace dead_Webhooks { type MerchantWebhookType = "pay" | "refund"; interface WebhookAddDetails { // Webhook ID to use. |