character in transaction list
This commit is contained in:
+99
-88
@@ -10,174 +10,182 @@ paths:
|
|||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- rule-book
|
- rule-book
|
||||||
|
summary: Find a rule book by its id
|
||||||
operationId: findRuleBookById
|
operationId: findRuleBookById
|
||||||
parameters:
|
parameters:
|
||||||
- name: ruleBookId
|
- name: ruleBookId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the rule book
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The rule book
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/RuleBookResponse"
|
$ref: "#/components/schemas/RuleBookResponse"
|
||||||
|
"404":
|
||||||
|
description: No rule book with this id
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- rule-book
|
- rule-book
|
||||||
|
summary: Update a rule book
|
||||||
operationId: updateRuleBook
|
operationId: updateRuleBook
|
||||||
parameters:
|
parameters:
|
||||||
- name: ruleBookId
|
- name: ruleBookId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the rule book
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: New state of the rule book
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UpdateRuleBookRequest"
|
$ref: "#/components/schemas/UpdateRuleBookRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The updated rule book
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/RuleBookResponse"
|
$ref: "#/components/schemas/RuleBookResponse"
|
||||||
|
"400":
|
||||||
|
description: Invalid request (e.g. blank name)
|
||||||
/ledgers/main/{ledgerId}:
|
/ledgers/main/{ledgerId}:
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Update a main ledger
|
||||||
operationId: updateMainLedger
|
operationId: updateMainLedger
|
||||||
parameters:
|
parameters:
|
||||||
- name: ledgerId
|
- name: ledgerId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the main ledger
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: New state of the main ledger
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UpdateMainLedgerRequest"
|
$ref: "#/components/schemas/UpdateMainLedgerRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The updated main ledger
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/MainLedgerResponse"
|
$ref: "#/components/schemas/MainLedgerResponse"
|
||||||
|
"400":
|
||||||
|
description: "The ledger is not a main ledger, or the request is invalid"
|
||||||
|
"404":
|
||||||
|
description: No ledger with this id
|
||||||
/ledgers/combined/{ledgerId}:
|
/ledgers/combined/{ledgerId}:
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Update a combined ledger
|
||||||
operationId: updateCombinedLedger
|
operationId: updateCombinedLedger
|
||||||
parameters:
|
parameters:
|
||||||
- name: ledgerId
|
- name: ledgerId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the combined ledger
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: New state of the combined ledger
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/UpdateCombinedLedgerRequest"
|
$ref: "#/components/schemas/UpdateCombinedLedgerRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The updated combined ledger
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CombinedLedgerResponse"
|
$ref: "#/components/schemas/CombinedLedgerResponse"
|
||||||
|
"400":
|
||||||
|
description: "The ledger is not a combined ledger, or the request is invalid"
|
||||||
|
"404":
|
||||||
|
description: No ledger with this id
|
||||||
/characters/{characterId}/rule-book:
|
/characters/{characterId}/rule-book:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- character-rule-book
|
- character-rule-book
|
||||||
|
summary: Find the rule book assigned to a character
|
||||||
operationId: findCharacterRuleBookByCharacterId
|
operationId: findCharacterRuleBookByCharacterId
|
||||||
parameters:
|
parameters:
|
||||||
- name: characterId
|
- name: characterId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the character
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The rule book assignment of the character
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CharacterRuleBookResponse"
|
$ref: "#/components/schemas/CharacterRuleBookResponse"
|
||||||
|
"400":
|
||||||
|
description: Invalid character id
|
||||||
|
"404":
|
||||||
|
description: No rule book assigned to this character
|
||||||
put:
|
put:
|
||||||
tags:
|
tags:
|
||||||
- character-rule-book
|
- character-rule-book
|
||||||
|
summary: Assign a rule book to a character
|
||||||
operationId: setCharacterRuleBookForCharacter
|
operationId: setCharacterRuleBookForCharacter
|
||||||
parameters:
|
parameters:
|
||||||
- name: characterId
|
- name: characterId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the character
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: Rule book and ledger bindings to assign
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/SetCharacterRuleBookRequest"
|
$ref: "#/components/schemas/SetCharacterRuleBookRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The rule book assignment of the character
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CharacterRuleBookResponse"
|
$ref: "#/components/schemas/CharacterRuleBookResponse"
|
||||||
|
"400":
|
||||||
|
description: "The referenced rule book or a bound ledger does not exist,\
|
||||||
|
\ or a ledger binding is missing"
|
||||||
/rule-books:
|
/rule-books:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- rule-book
|
- rule-book
|
||||||
|
summary: Find all rule books
|
||||||
operationId: findAllRuleBooks
|
operationId: findAllRuleBooks
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: All rule books
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
@@ -187,111 +195,106 @@ paths:
|
|||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- rule-book
|
- rule-book
|
||||||
|
summary: Create a rule book
|
||||||
operationId: createRuleBook
|
operationId: createRuleBook
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: Rule book to create
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CreateRuleBookRequest"
|
$ref: "#/components/schemas/CreateRuleBookRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
"201":
|
||||||
description: Not Found
|
description: The created rule book
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
|
||||||
description: OK
|
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/RuleBookResponse"
|
$ref: "#/components/schemas/RuleBookResponse"
|
||||||
|
"400":
|
||||||
|
description: Invalid request (e.g. blank name)
|
||||||
/process-activities:
|
/process-activities:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- processing
|
- processing
|
||||||
|
summary: Process new activities for all characters with a usable token
|
||||||
operationId: processNewActivities
|
operationId: processNewActivities
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: New activities processed
|
||||||
/ledgers/main:
|
/ledgers/main:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Create a main ledger
|
||||||
operationId: createMainLedger
|
operationId: createMainLedger
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: Main ledger to create
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CreateMainLedgerRequest"
|
$ref: "#/components/schemas/CreateMainLedgerRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
"201":
|
||||||
description: Not Found
|
description: The created main ledger
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
|
||||||
description: OK
|
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/MainLedgerResponse"
|
$ref: "#/components/schemas/MainLedgerResponse"
|
||||||
|
"400":
|
||||||
|
description: Invalid request (e.g. blank name)
|
||||||
/ledgers/combined:
|
/ledgers/combined:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Create a combined ledger
|
||||||
operationId: createCombinedLedger
|
operationId: createCombinedLedger
|
||||||
requestBody:
|
requestBody:
|
||||||
|
description: Combined ledger to create
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CreateCombinedLedgerRequest"
|
$ref: "#/components/schemas/CreateCombinedLedgerRequest"
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
"404":
|
"201":
|
||||||
description: Not Found
|
description: The created combined ledger
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
|
||||||
description: OK
|
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CombinedLedgerResponse"
|
$ref: "#/components/schemas/CombinedLedgerResponse"
|
||||||
|
"400":
|
||||||
|
description: "Invalid request (e.g. blank name, a member ledger missing\
|
||||||
|
\ or already contained)"
|
||||||
/activity/fetch/{characterId}:
|
/activity/fetch/{characterId}:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
- activity
|
- activity
|
||||||
|
summary: Fetch new activities for a character from the EVE API
|
||||||
operationId: fetchNewActivitiesForCharacter
|
operationId: fetchNewActivitiesForCharacter
|
||||||
parameters:
|
parameters:
|
||||||
- name: characterId
|
- name: characterId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the character
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: New activities fetched and stored
|
||||||
|
"400":
|
||||||
|
description: No character with this id
|
||||||
/ledgers:
|
/ledgers:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Find all ledgers
|
||||||
operationId: findAllLedgers
|
operationId: findAllLedgers
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: All ledgers
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
@@ -304,87 +307,86 @@ paths:
|
|||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Find a ledger by its id
|
||||||
operationId: findLedgerById
|
operationId: findLedgerById
|
||||||
parameters:
|
parameters:
|
||||||
- name: ledgerId
|
- name: ledgerId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the ledger
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The ledger
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
oneOf:
|
oneOf:
|
||||||
- $ref: "#/components/schemas/CombinedLedgerResponse"
|
- $ref: "#/components/schemas/CombinedLedgerResponse"
|
||||||
- $ref: "#/components/schemas/MainLedgerResponse"
|
- $ref: "#/components/schemas/MainLedgerResponse"
|
||||||
|
"400":
|
||||||
|
description: The ledger cannot be exposed (system ledger)
|
||||||
|
"404":
|
||||||
|
description: No ledger with this id
|
||||||
/ledgers/{ledgerId}/transactions:
|
/ledgers/{ledgerId}/transactions:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- transaction
|
- transaction
|
||||||
|
summary: Find all transactions in a ledger
|
||||||
operationId: finAllTransactionsInLedger
|
operationId: finAllTransactionsInLedger
|
||||||
parameters:
|
parameters:
|
||||||
- name: ledgerId
|
- name: ledgerId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the ledger
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: All transactions in the ledger
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/components/schemas/TransactionResponse"
|
$ref: "#/components/schemas/TransactionResponse"
|
||||||
|
"404":
|
||||||
|
description: No ledger with this id
|
||||||
/ledgers/{ledgerId}/balance:
|
/ledgers/{ledgerId}/balance:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- ledger
|
- ledger
|
||||||
|
summary: Find the balance of a ledger
|
||||||
operationId: findBalanceByLedgerId
|
operationId: findBalanceByLedgerId
|
||||||
parameters:
|
parameters:
|
||||||
- name: ledgerId
|
- name: ledgerId
|
||||||
in: path
|
in: path
|
||||||
|
description: Id of the ledger
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: The balance of the ledger
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/BalanceResponse"
|
$ref: "#/components/schemas/BalanceResponse"
|
||||||
|
"404":
|
||||||
|
description: No ledger with this id
|
||||||
/characters:
|
/characters:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
- character
|
- character
|
||||||
|
summary: Find all characters with a usable token
|
||||||
operationId: findAllCharacters
|
operationId: findAllCharacters
|
||||||
responses:
|
responses:
|
||||||
"404":
|
|
||||||
description: Not Found
|
|
||||||
"400":
|
|
||||||
description: Bad Request
|
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: All characters with a usable token
|
||||||
content:
|
content:
|
||||||
'*/*':
|
'*/*':
|
||||||
schema:
|
schema:
|
||||||
@@ -406,8 +408,10 @@ components:
|
|||||||
- EVE_ESTIMATE
|
- EVE_ESTIMATE
|
||||||
fromLedgerRef:
|
fromLedgerRef:
|
||||||
type: string
|
type: string
|
||||||
|
pattern: "[a-z]+(-[a-z]+)*"
|
||||||
toLedgerRef:
|
toLedgerRef:
|
||||||
type: string
|
type: string
|
||||||
|
pattern: "[a-z]+(-[a-z]+)*"
|
||||||
required:
|
required:
|
||||||
- fromLedgerRef
|
- fromLedgerRef
|
||||||
- rate
|
- rate
|
||||||
@@ -430,6 +434,7 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
pattern: "[a-z]+(-[a-z]+)*"
|
||||||
rules:
|
rules:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -450,6 +455,7 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
pattern: "[a-z]+(-[a-z]+)*"
|
||||||
rules:
|
rules:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -566,6 +572,7 @@ components:
|
|||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
pattern: "[a-z]+(-[a-z]+)*"
|
||||||
rules:
|
rules:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -657,6 +664,9 @@ components:
|
|||||||
transactionId:
|
transactionId:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
characterId:
|
||||||
|
type: integer
|
||||||
|
format: int64
|
||||||
datetime:
|
datetime:
|
||||||
type: string
|
type: string
|
||||||
format: date-time
|
format: date-time
|
||||||
@@ -669,6 +679,7 @@ components:
|
|||||||
- $ref: "#/components/schemas/IskTransferResponse"
|
- $ref: "#/components/schemas/IskTransferResponse"
|
||||||
- $ref: "#/components/schemas/ItemTransferResponse"
|
- $ref: "#/components/schemas/ItemTransferResponse"
|
||||||
required:
|
required:
|
||||||
|
- characterId
|
||||||
- datetime
|
- datetime
|
||||||
- description
|
- description
|
||||||
- transactionId
|
- transactionId
|
||||||
|
|||||||
+137
-68
@@ -153,6 +153,7 @@ export interface SetCharacterRuleBookRequest {
|
|||||||
}
|
}
|
||||||
export interface TransactionResponse {
|
export interface TransactionResponse {
|
||||||
'transactionId': string;
|
'transactionId': string;
|
||||||
|
'characterId': number;
|
||||||
'datetime': string;
|
'datetime': string;
|
||||||
'description': string;
|
'description': string;
|
||||||
'transfers': Array<TransactionResponseTransfersInner>;
|
'transfers': Array<TransactionResponseTransfersInner>;
|
||||||
@@ -193,7 +194,8 @@ export const ActivityApiAxiosParamCreator = function (configuration?: Configurat
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Fetch new activities for a character from the EVE API
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -234,7 +236,8 @@ export const ActivityApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Fetch new activities for a character from the EVE API
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -255,7 +258,8 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Fetch new activities for a character from the EVE API
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -271,7 +275,8 @@ export const ActivityApiFactory = function (configuration?: Configuration, baseP
|
|||||||
export class ActivityApi extends BaseAPI {
|
export class ActivityApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Fetch new activities for a character from the EVE API
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -289,6 +294,7 @@ export const CharacterApiAxiosParamCreator = function (configuration?: Configura
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -327,6 +333,7 @@ export const CharacterApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -347,6 +354,7 @@ export const CharacterApiFactory = function (configuration?: Configuration, base
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -362,6 +370,7 @@ export const CharacterApiFactory = function (configuration?: Configuration, base
|
|||||||
export class CharacterApi extends BaseAPI {
|
export class CharacterApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -379,7 +388,8 @@ export const CharacterRuleBookApiAxiosParamCreator = function (configuration?: C
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Find the rule book assigned to a character
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -412,8 +422,9 @@ export const CharacterRuleBookApiAxiosParamCreator = function (configuration?: C
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Assign a rule book to a character
|
||||||
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest
|
* @param {number} characterId Id of the character
|
||||||
|
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest Rule book and ledger bindings to assign
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -459,7 +470,8 @@ export const CharacterRuleBookApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Find the rule book assigned to a character
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -471,8 +483,9 @@ export const CharacterRuleBookApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Assign a rule book to a character
|
||||||
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest
|
* @param {number} characterId Id of the character
|
||||||
|
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest Rule book and ledger bindings to assign
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -493,7 +506,8 @@ export const CharacterRuleBookApiFactory = function (configuration?: Configurati
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Find the rule book assigned to a character
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -502,8 +516,9 @@ export const CharacterRuleBookApiFactory = function (configuration?: Configurati
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Assign a rule book to a character
|
||||||
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest
|
* @param {number} characterId Id of the character
|
||||||
|
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest Rule book and ledger bindings to assign
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -519,7 +534,8 @@ export const CharacterRuleBookApiFactory = function (configuration?: Configurati
|
|||||||
export class CharacterRuleBookApi extends BaseAPI {
|
export class CharacterRuleBookApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Find the rule book assigned to a character
|
||||||
|
* @param {number} characterId Id of the character
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -529,8 +545,9 @@ export class CharacterRuleBookApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {number} characterId
|
* @summary Assign a rule book to a character
|
||||||
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest
|
* @param {number} characterId Id of the character
|
||||||
|
* @param {SetCharacterRuleBookRequest} setCharacterRuleBookRequest Rule book and ledger bindings to assign
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -548,7 +565,8 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest
|
* @summary Create a combined ledger
|
||||||
|
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest Combined ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -582,7 +600,8 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateMainLedgerRequest} createMainLedgerRequest
|
* @summary Create a main ledger
|
||||||
|
* @param {CreateMainLedgerRequest} createMainLedgerRequest Main ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -616,6 +635,7 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all ledgers
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -645,7 +665,8 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find the balance of a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -678,7 +699,8 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find a ledger by its id
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -711,8 +733,9 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a combined ledger
|
||||||
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest
|
* @param {string} ledgerId Id of the combined ledger
|
||||||
|
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest New state of the combined ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -749,8 +772,9 @@ export const LedgerApiAxiosParamCreator = function (configuration?: Configuratio
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a main ledger
|
||||||
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest
|
* @param {string} ledgerId Id of the main ledger
|
||||||
|
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest New state of the main ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -796,7 +820,8 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest
|
* @summary Create a combined ledger
|
||||||
|
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest Combined ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -808,7 +833,8 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateMainLedgerRequest} createMainLedgerRequest
|
* @summary Create a main ledger
|
||||||
|
* @param {CreateMainLedgerRequest} createMainLedgerRequest Main ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -820,6 +846,7 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all ledgers
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -831,7 +858,8 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find the balance of a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -843,7 +871,8 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find a ledger by its id
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -855,8 +884,9 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a combined ledger
|
||||||
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest
|
* @param {string} ledgerId Id of the combined ledger
|
||||||
|
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest New state of the combined ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -868,8 +898,9 @@ export const LedgerApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a main ledger
|
||||||
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest
|
* @param {string} ledgerId Id of the main ledger
|
||||||
|
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest New state of the main ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -890,7 +921,8 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest
|
* @summary Create a combined ledger
|
||||||
|
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest Combined ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -899,7 +931,8 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateMainLedgerRequest} createMainLedgerRequest
|
* @summary Create a main ledger
|
||||||
|
* @param {CreateMainLedgerRequest} createMainLedgerRequest Main ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -908,6 +941,7 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all ledgers
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -916,7 +950,8 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find the balance of a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -925,7 +960,8 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find a ledger by its id
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -934,8 +970,9 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a combined ledger
|
||||||
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest
|
* @param {string} ledgerId Id of the combined ledger
|
||||||
|
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest New state of the combined ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -944,8 +981,9 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a main ledger
|
||||||
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest
|
* @param {string} ledgerId Id of the main ledger
|
||||||
|
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest New state of the main ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -961,7 +999,8 @@ export const LedgerApiFactory = function (configuration?: Configuration, basePat
|
|||||||
export class LedgerApi extends BaseAPI {
|
export class LedgerApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest
|
* @summary Create a combined ledger
|
||||||
|
* @param {CreateCombinedLedgerRequest} createCombinedLedgerRequest Combined ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -971,7 +1010,8 @@ export class LedgerApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateMainLedgerRequest} createMainLedgerRequest
|
* @summary Create a main ledger
|
||||||
|
* @param {CreateMainLedgerRequest} createMainLedgerRequest Main ledger to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -981,6 +1021,7 @@ export class LedgerApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all ledgers
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -990,7 +1031,8 @@ export class LedgerApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find the balance of a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1000,7 +1042,8 @@ export class LedgerApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find a ledger by its id
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1010,8 +1053,9 @@ export class LedgerApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a combined ledger
|
||||||
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest
|
* @param {string} ledgerId Id of the combined ledger
|
||||||
|
* @param {UpdateCombinedLedgerRequest} updateCombinedLedgerRequest New state of the combined ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1021,8 +1065,9 @@ export class LedgerApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Update a main ledger
|
||||||
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest
|
* @param {string} ledgerId Id of the main ledger
|
||||||
|
* @param {UpdateMainLedgerRequest} updateMainLedgerRequest New state of the main ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1040,6 +1085,7 @@ export const ProcessingApiAxiosParamCreator = function (configuration?: Configur
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Process new activities for all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1077,6 +1123,7 @@ export const ProcessingApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Process new activities for all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1097,6 +1144,7 @@ export const ProcessingApiFactory = function (configuration?: Configuration, bas
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Process new activities for all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1112,6 +1160,7 @@ export const ProcessingApiFactory = function (configuration?: Configuration, bas
|
|||||||
export class ProcessingApi extends BaseAPI {
|
export class ProcessingApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Process new activities for all characters with a usable token
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1129,7 +1178,8 @@ export const RuleBookApiAxiosParamCreator = function (configuration?: Configurat
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateRuleBookRequest} createRuleBookRequest
|
* @summary Create a rule book
|
||||||
|
* @param {CreateRuleBookRequest} createRuleBookRequest Rule book to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1163,6 +1213,7 @@ export const RuleBookApiAxiosParamCreator = function (configuration?: Configurat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all rule books
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1192,7 +1243,8 @@ export const RuleBookApiAxiosParamCreator = function (configuration?: Configurat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Find a rule book by its id
|
||||||
|
* @param {string} ruleBookId Id of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1225,8 +1277,9 @@ export const RuleBookApiAxiosParamCreator = function (configuration?: Configurat
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Update a rule book
|
||||||
* @param {UpdateRuleBookRequest} updateRuleBookRequest
|
* @param {string} ruleBookId Id of the rule book
|
||||||
|
* @param {UpdateRuleBookRequest} updateRuleBookRequest New state of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1272,7 +1325,8 @@ export const RuleBookApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateRuleBookRequest} createRuleBookRequest
|
* @summary Create a rule book
|
||||||
|
* @param {CreateRuleBookRequest} createRuleBookRequest Rule book to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1284,6 +1338,7 @@ export const RuleBookApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all rule books
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1295,7 +1350,8 @@ export const RuleBookApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Find a rule book by its id
|
||||||
|
* @param {string} ruleBookId Id of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1307,8 +1363,9 @@ export const RuleBookApiFp = function(configuration?: Configuration) {
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Update a rule book
|
||||||
* @param {UpdateRuleBookRequest} updateRuleBookRequest
|
* @param {string} ruleBookId Id of the rule book
|
||||||
|
* @param {UpdateRuleBookRequest} updateRuleBookRequest New state of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1329,7 +1386,8 @@ export const RuleBookApiFactory = function (configuration?: Configuration, baseP
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateRuleBookRequest} createRuleBookRequest
|
* @summary Create a rule book
|
||||||
|
* @param {CreateRuleBookRequest} createRuleBookRequest Rule book to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1338,6 +1396,7 @@ export const RuleBookApiFactory = function (configuration?: Configuration, baseP
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all rule books
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1346,7 +1405,8 @@ export const RuleBookApiFactory = function (configuration?: Configuration, baseP
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Find a rule book by its id
|
||||||
|
* @param {string} ruleBookId Id of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1355,8 +1415,9 @@ export const RuleBookApiFactory = function (configuration?: Configuration, baseP
|
|||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Update a rule book
|
||||||
* @param {UpdateRuleBookRequest} updateRuleBookRequest
|
* @param {string} ruleBookId Id of the rule book
|
||||||
|
* @param {UpdateRuleBookRequest} updateRuleBookRequest New state of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1372,7 +1433,8 @@ export const RuleBookApiFactory = function (configuration?: Configuration, baseP
|
|||||||
export class RuleBookApi extends BaseAPI {
|
export class RuleBookApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {CreateRuleBookRequest} createRuleBookRequest
|
* @summary Create a rule book
|
||||||
|
* @param {CreateRuleBookRequest} createRuleBookRequest Rule book to create
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1382,6 +1444,7 @@ export class RuleBookApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @summary Find all rule books
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1391,7 +1454,8 @@ export class RuleBookApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Find a rule book by its id
|
||||||
|
* @param {string} ruleBookId Id of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1401,8 +1465,9 @@ export class RuleBookApi extends BaseAPI {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ruleBookId
|
* @summary Update a rule book
|
||||||
* @param {UpdateRuleBookRequest} updateRuleBookRequest
|
* @param {string} ruleBookId Id of the rule book
|
||||||
|
* @param {UpdateRuleBookRequest} updateRuleBookRequest New state of the rule book
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1420,7 +1485,8 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find all transactions in a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1462,7 +1528,8 @@ export const TransactionApiFp = function(configuration?: Configuration) {
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find all transactions in a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1483,7 +1550,8 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba
|
|||||||
return {
|
return {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find all transactions in a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
@@ -1499,7 +1567,8 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba
|
|||||||
export class TransactionApi extends BaseAPI {
|
export class TransactionApi extends BaseAPI {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {string} ledgerId
|
* @summary Find all transactions in a ledger
|
||||||
|
* @param {string} ledgerId Id of the ledger
|
||||||
* @param {*} [options] Override http request option.
|
* @param {*} [options] Override http request option.
|
||||||
* @throws {RequiredError}
|
* @throws {RequiredError}
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -3,13 +3,15 @@
|
|||||||
import {findAllTransactionInLeger, useLedgerParam} from "@/ledger";
|
import {findAllTransactionInLeger, useLedgerParam} from "@/ledger";
|
||||||
import {computedAsync} from "@vueuse/core";
|
import {computedAsync} from "@vueuse/core";
|
||||||
import {TransactionResponse} from "@/generated/mammon";
|
import {TransactionResponse} from "@/generated/mammon";
|
||||||
import {formatEveDate} from "@/formaters.ts";
|
|
||||||
import {IskLabel} from "@/market";
|
import {IskLabel} from "@/market";
|
||||||
import {SortableHeader, useSort, VirtualScrollTable} from "@/components/table";
|
import {SortableHeader, useSort, VirtualScrollTable} from "@/components/table";
|
||||||
import {TransferList, TransferTypes} from "@/transaction";
|
import {TransferList, TransferTypes} from "@/transaction";
|
||||||
import {Dropdown} from "@/components";
|
import {Dropdown} from "@/components";
|
||||||
|
import {CharacterLabel, useCharactersStore} from "@/characters";
|
||||||
|
import {formatEveDate} from "@/formaters.ts";
|
||||||
|
|
||||||
const {ledgerId} = useLedgerParam();
|
const {ledgerId} = useLedgerParam();
|
||||||
|
const {findById} = useCharactersStore();
|
||||||
|
|
||||||
const transactions = computedAsync<TransactionResponse[]>(async () => {
|
const transactions = computedAsync<TransactionResponse[]>(async () => {
|
||||||
if (ledgerId.value) {
|
if (ledgerId.value) {
|
||||||
@@ -18,15 +20,18 @@ const transactions = computedAsync<TransactionResponse[]>(async () => {
|
|||||||
return [];
|
return [];
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const { sortedArray, headerProps } = useSort(() => transactions.value.map(transaction => {
|
const { sortedArray, headerProps } = useSort(computedAsync(() => Promise.all(transactions.value.map(async transaction => {
|
||||||
|
const character = await findById(transaction.characterId);
|
||||||
return {
|
return {
|
||||||
|
character,
|
||||||
|
characterName: character?.name ?? "",
|
||||||
transactionId: transaction.transactionId,
|
transactionId: transaction.transactionId,
|
||||||
description: transaction.description,
|
description: transaction.description,
|
||||||
date: new Date(transaction.datetime),
|
date: new Date(transaction.datetime),
|
||||||
balance: getIskBalance(transaction),
|
balance: getIskBalance(transaction),
|
||||||
transfers: transaction.transfers
|
transfers: transaction.transfers
|
||||||
}
|
}
|
||||||
}), { defaultSortKey: 'date', defaultSortDirection: 'desc' });
|
})), []), { defaultSortKey: 'date', defaultSortDirection: 'desc' });
|
||||||
|
|
||||||
const getIskBalance = (transaction: TransactionResponse) => {
|
const getIskBalance = (transaction: TransactionResponse) => {
|
||||||
if (!ledgerId.value) {
|
if (!ledgerId.value) {
|
||||||
@@ -54,6 +59,7 @@ const getIskBalance = (transaction: TransactionResponse) => {
|
|||||||
<template #default="{ list }">
|
<template #default="{ list }">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<SortableHeader v-bind="headerProps" sortKey="characterName">Character</SortableHeader>
|
||||||
<SortableHeader v-bind="headerProps" sortKey="date">Date</SortableHeader>
|
<SortableHeader v-bind="headerProps" sortKey="date">Date</SortableHeader>
|
||||||
<SortableHeader v-bind="headerProps" sortKey="balance">Isk Change</SortableHeader>
|
<SortableHeader v-bind="headerProps" sortKey="balance">Isk Change</SortableHeader>
|
||||||
<SortableHeader v-bind="headerProps" sortKey="description">Description</SortableHeader>
|
<SortableHeader v-bind="headerProps" sortKey="description">Description</SortableHeader>
|
||||||
@@ -61,6 +67,9 @@ const getIskBalance = (transaction: TransactionResponse) => {
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr v-for="t in list" :key="t.data.transactionId">
|
<tr v-for="t in list" :key="t.data.transactionId">
|
||||||
|
<td>
|
||||||
|
<CharacterLabel v-if="t.data.character" :character="t.data.character" />
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<Dropdown class="transfer-dropdown">
|
<Dropdown class="transfer-dropdown">
|
||||||
<template #button>
|
<template #button>
|
||||||
|
|||||||
Reference in New Issue
Block a user