From 93b96f3c365519cde63f7f78c376e0fd36c81327 Mon Sep 17 00:00:00 2001 From: Ricardo Correia <87548049+ricardoaerobr@users.noreply.github.com> Date: Mon, 27 Nov 2023 12:43:53 -0300 Subject: [PATCH] Update navigation.json Update sidebar --- public/navigation.json | 159 +++++++++++++++++++---------------------- 1 file changed, 75 insertions(+), 84 deletions(-) diff --git a/public/navigation.json b/public/navigation.json index a1dcaac87..e9809d097 100644 --- a/public/navigation.json +++ b/public/navigation.json @@ -4430,237 +4430,228 @@ "type": "openapi", "children": [ { - "name": "Invoices", - "slug": "customer-credit-api-invoices", + "name": "Account", + "slug": "customer-credit-api-account", "type": "category", "children": [ { - "name": "Search all invoices", + "name": "Search all accounts", "slug": "customer-credit-api", "type": "openapi", "method": "GET", "origin": "", - "endpoint": "/api/creditcontrol/invoices", + "endpoint": "/api/creditcontrol/accounts", "children": [] }, { - "name": "Retrieve Invoice by Id", + "name": "Open an account", "slug": "customer-credit-api", "type": "openapi", - "method": "GET", + "method": "POST", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-", + "endpoint": "/api/creditcontrol/accounts", "children": [] }, { - "name": "Change Invoice", + "name": "Retrieve an account by id", "slug": "customer-credit-api", "type": "openapi", - "method": "PUT", + "method": "GET", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-", "children": [] }, { - "name": "Cancel Invoice", + "name": "Close an account", "slug": "customer-credit-api", "type": "openapi", "method": "DELETE", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-", "children": [] }, { - "name": "Retrieve invoice by creditAccountId", + "name": "Update account information", "slug": "customer-credit-api", "type": "openapi", - "method": "GET", + "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-", "children": [] }, { - "name": "Mark an invoice as Paid", + "name": "Get account statements", "slug": "customer-credit-api", "type": "openapi", - "method": "POST", + "method": "GET", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-/payments", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/statements", "children": [] }, { - "name": "Postpone an invoice", + "name": "Change credit limit of an account", "slug": "customer-credit-api", "type": "openapi", "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-/postponement", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/creditlimit", "children": [] - } - ] - }, - { - "name": "Account", - "slug": "customer-credit-api-account", - "type": "category", - "children": [ + }, { - "name": "Search all accounts", + "name": "Decrease balance of an account", "slug": "customer-credit-api", "type": "openapi", - "method": "GET", + "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/statements/-statementId-", "children": [] }, { - "name": "Open an Account", + "name": "Create or update settlement", "slug": "customer-credit-api", "type": "openapi", - "method": "POST", + "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-/settlement", "children": [] }, { - "name": "Retrieve an Account by Id", + "name": "Create a pre-authorization", "slug": "customer-credit-api", "type": "openapi", - "method": "GET", + "method": "POST", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions", "children": [] }, { - "name": "Close an Account", + "name": "Update a pre-Authorization", "slug": "customer-credit-api", "type": "openapi", - "method": "DELETE", + "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-", "children": [] }, { - "name": "Update email and description of a account", + "name": "Cancel a pre-authorization", "slug": "customer-credit-api", "type": "openapi", - "method": "PUT", + "method": "DELETE", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-", "children": [] }, { - "name": "Account statements", + "name": "Add an account holder", "slug": "customer-credit-api", "type": "openapi", - "method": "GET", + "method": "POST", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/statements", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/holders", "children": [] }, { - "name": "Open or Change Account", + "name": "Delete an account holder", "slug": "customer-credit-api", "type": "openapi", - "method": "PUT", + "method": "DELETE", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-accountId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/holders/-holderId-", "children": [] }, { - "name": "Change credit limit of an Account", + "name": "Change tolerance of an account", "slug": "customer-credit-api", "type": "openapi", "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/creditlimit", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/tolerance", "children": [] }, { - "name": "Decrease balance of an account", + "name": "Partially or fully refund a settlement", "slug": "customer-credit-api", "type": "openapi", - "method": "PUT", + "method": "POST", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/statements/-statementId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-/refunds", "children": [] - }, + } + ] + }, + { + "name": "Invoices", + "slug": "customer-credit-api-invoices", + "type": "category", + "children": [ { - "name": "Create or Update Settlement", + "name": "Search all invoices", "slug": "customer-credit-api", "type": "openapi", - "method": "PUT", + "method": "GET", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-/settlement", + "endpoint": "/api/creditcontrol/invoices", "children": [] }, { - "name": "Create a Pre-Authorization", + "name": "Retrieve invoice by id", "slug": "customer-credit-api", "type": "openapi", - "method": "POST", + "method": "GET", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transaction", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-", "children": [] }, { - "name": "Update a Pre-Authorization", + "name": "Change invoice", "slug": "customer-credit-api", "type": "openapi", "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-", "children": [] }, { - "name": "Cancel a Pre-Authorization", + "name": "Cancel invoice", "slug": "customer-credit-api", "type": "openapi", "method": "DELETE", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-", "children": [] }, { - "name": "Add an account Holder", + "name": "Retrieve invoice by creditAccountId", "slug": "customer-credit-api", "type": "openapi", - "method": "POST", + "method": "GET", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/holders", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices", "children": [] }, { - "name": "Delete an account holder", + "name": "Mark an invoice as paid", "slug": "customer-credit-api", "type": "openapi", - "method": "DELETE", + "method": "POST", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/holders/-holderId-", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-/payments", "children": [] }, { - "name": "Change tolerance of an account", + "name": "Postpone an invoice", "slug": "customer-credit-api", "type": "openapi", "method": "PUT", "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/tolerance", - "children": [] - }, - { - "name": "Partial or Total Refund a Settlement", - "slug": "customer-credit-api", - "type": "openapi", - "method": "POST", - "origin": "", - "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/transactions/-transactionId-/refunds", + "endpoint": "/api/creditcontrol/accounts/-creditAccountId-/invoices/-invoiceId-/postponement", "children": [] } ] }, { - "name": "Store Configuration", + "name": "Store configuration", "slug": "customer-credit-api-store-configuration", "type": "category", "children": [ @@ -15011,4 +15002,4 @@ ] } ] -} \ No newline at end of file +}