Skip to content

Latest commit

 

History

History

docs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

fiken

fiken

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

FetchAPI

Ƭ FetchAPI: WindowOrWorkerGlobalScope["fetch"]


HTTPBody

Ƭ HTTPBody: Json | FormData | URLSearchParams


HTTPHeaders

Ƭ HTTPHeaders: object

Type declaration:

  • [ key: string]: string

HTTPMethod

Ƭ HTTPMethod: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "OPTIONS" | "HEAD"


HTTPQuery

Ƭ HTTPQuery: object

Type declaration:

  • [ key: string]: string | number | null | boolean | Array‹string | number | null | boolean› | HTTPQuery

Json

Ƭ Json: any


ModelPropertyNaming

Ƭ ModelPropertyNaming: "camelCase" | "snake_case" | "PascalCase" | "original"

Variables

Const BASE_PATH

BASE_PATH: string = "https://api.fiken.no/api/v2".replace(/\/+$/, "")

Functions

AccountBalanceAllOfFromJSON

AccountBalanceAllOfFromJSON(json: any): AccountBalanceAllOf

Parameters:

Name Type
json any

Returns: AccountBalanceAllOf


AccountBalanceAllOfFromJSONTyped

AccountBalanceAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBalanceAllOf

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: AccountBalanceAllOf


AccountBalanceAllOfToJSON

AccountBalanceAllOfToJSON(value?: AccountBalanceAllOf | null): any

Parameters:

Name Type
value? AccountBalanceAllOf | null

Returns: any


AccountBalanceFromJSON

AccountBalanceFromJSON(json: any): AccountBalance

Parameters:

Name Type
json any

Returns: AccountBalance


AccountBalanceFromJSONTyped

AccountBalanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountBalance

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: AccountBalance


AccountBalanceToJSON

AccountBalanceToJSON(value?: AccountBalance | null): any

Parameters:

Name Type
value? AccountBalance | null

Returns: any


AccountFromJSON

AccountFromJSON(json: any): Account

Parameters:

Name Type
json any

Returns: Account


AccountFromJSONTyped

AccountFromJSONTyped(json: any, ignoreDiscriminator: boolean): Account

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Account


AccountToJSON

AccountToJSON(value?: Account | null): any

Parameters:

Name Type
value? Account | null

Returns: any


AddressFromJSON

AddressFromJSON(json: any): Address

Parameters:

Name Type
json any

Returns: Address


AddressFromJSONTyped

AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): Address

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Address


AddressToJSON

AddressToJSON(value?: Address | null): any

Parameters:

Name Type
value? Address | null

Returns: any


AttachmentFromJSON

AttachmentFromJSON(json: any): Attachment

Parameters:

Name Type
json any

Returns: Attachment


AttachmentFromJSONTyped

AttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Attachment

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Attachment


AttachmentToJSON

AttachmentToJSON(value?: Attachment | null): any

Parameters:

Name Type
value? Attachment | null

Returns: any


BankAccountRequestFromJSON

BankAccountRequestFromJSON(json: any): BankAccountRequest

Parameters:

Name Type
json any

Returns: BankAccountRequest


BankAccountRequestFromJSONTyped

BankAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: BankAccountRequest


BankAccountRequestToJSON

BankAccountRequestToJSON(value?: BankAccountRequest | null): any

Parameters:

Name Type
value? BankAccountRequest | null

Returns: any


BankAccountResultFromJSON

BankAccountResultFromJSON(json: any): BankAccountResult

Parameters:

Name Type
json any

Returns: BankAccountResult


BankAccountResultFromJSONTyped

BankAccountResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): BankAccountResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: BankAccountResult


BankAccountResultToJSON

BankAccountResultToJSON(value?: BankAccountResult | null): any

Parameters:

Name Type
value? BankAccountResult | null

Returns: any


CompanyFromJSON

CompanyFromJSON(json: any): Company

Parameters:

Name Type
json any

Returns: Company


CompanyFromJSONTyped

CompanyFromJSONTyped(json: any, ignoreDiscriminator: boolean): Company

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Company


CompanyToJSON

CompanyToJSON(value?: Company | null): any

Parameters:

Name Type
value? Company | null

Returns: any


ContactFromJSON

ContactFromJSON(json: any): Contact

Parameters:

Name Type
json any

Returns: Contact


ContactFromJSONTyped

ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Contact

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Contact


ContactPersonFromJSON

ContactPersonFromJSON(json: any): ContactPerson

Parameters:

Name Type
json any

Returns: ContactPerson


ContactPersonFromJSONTyped

ContactPersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactPerson

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: ContactPerson


ContactPersonToJSON

ContactPersonToJSON(value?: ContactPerson | null): any

Parameters:

Name Type
value? ContactPerson | null

Returns: any


ContactToJSON

ContactToJSON(value?: Contact | null): any

Parameters:

Name Type
value? Contact | null

Returns: any


CreditNoteLineResultFromJSON

CreditNoteLineResultFromJSON(json: any): CreditNoteLineResult

Parameters:

Name Type
json any

Returns: CreditNoteLineResult


CreditNoteLineResultFromJSONTyped

CreditNoteLineResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreditNoteLineResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: CreditNoteLineResult


CreditNoteLineResultToJSON

CreditNoteLineResultToJSON(value?: CreditNoteLineResult | null): any

Parameters:

Name Type
value? CreditNoteLineResult | null

Returns: any


CreditNoteResultFromJSON

CreditNoteResultFromJSON(json: any): CreditNoteResult

Parameters:

Name Type
json any

Returns: CreditNoteResult


CreditNoteResultFromJSONTyped

CreditNoteResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreditNoteResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: CreditNoteResult


CreditNoteResultToJSON

CreditNoteResultToJSON(value?: CreditNoteResult | null): any

Parameters:

Name Type
value? CreditNoteResult | null

Returns: any


DraftLineRequestFromJSON

DraftLineRequestFromJSON(json: any): DraftLineRequest

Parameters:

Name Type
json any

Returns: DraftLineRequest


DraftLineRequestFromJSONTyped

DraftLineRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DraftLineRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: DraftLineRequest


DraftLineRequestToJSON

DraftLineRequestToJSON(value?: DraftLineRequest | null): any

Parameters:

Name Type
value? DraftLineRequest | null

Returns: any


DraftLineResultFromJSON

DraftLineResultFromJSON(json: any): DraftLineResult

Parameters:

Name Type
json any

Returns: DraftLineResult


DraftLineResultFromJSONTyped

DraftLineResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DraftLineResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: DraftLineResult


DraftLineResultToJSON

DraftLineResultToJSON(value?: DraftLineResult | null): any

Parameters:

Name Type
value? DraftLineResult | null

Returns: any


DraftRequestFromJSON

DraftRequestFromJSON(json: any): DraftRequest

Parameters:

Name Type
json any

Returns: DraftRequest


DraftRequestFromJSONTyped

DraftRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DraftRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: DraftRequest


DraftRequestToJSON

DraftRequestToJSON(value?: DraftRequest | null): any

Parameters:

Name Type
value? DraftRequest | null

Returns: any


DraftResultFromJSON

DraftResultFromJSON(json: any): DraftResult

Parameters:

Name Type
json any

Returns: DraftResult


DraftResultFromJSONTyped

DraftResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DraftResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: DraftResult


DraftResultToJSON

DraftResultToJSON(value?: DraftResult | null): any

Parameters:

Name Type
value? DraftResult | null

Returns: any


FullCreditNoteRequestFromJSON

FullCreditNoteRequestFromJSON(json: any): FullCreditNoteRequest

Parameters:

Name Type
json any

Returns: FullCreditNoteRequest


FullCreditNoteRequestFromJSONTyped

FullCreditNoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FullCreditNoteRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: FullCreditNoteRequest


FullCreditNoteRequestToJSON

FullCreditNoteRequestToJSON(value?: FullCreditNoteRequest | null): any

Parameters:

Name Type
value? FullCreditNoteRequest | null

Returns: any


GeneralJournalEntryRequestFromJSON

GeneralJournalEntryRequestFromJSON(json: any): GeneralJournalEntryRequest

Parameters:

Name Type
json any

Returns: GeneralJournalEntryRequest


GeneralJournalEntryRequestFromJSONTyped

GeneralJournalEntryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeneralJournalEntryRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: GeneralJournalEntryRequest


GeneralJournalEntryRequestToJSON

GeneralJournalEntryRequestToJSON(value?: GeneralJournalEntryRequest | null): any

Parameters:

Name Type
value? GeneralJournalEntryRequest | null

Returns: any


InboxResultFromJSON

InboxResultFromJSON(json: any): InboxResult

Parameters:

Name Type
json any

Returns: InboxResult


InboxResultFromJSONTyped

InboxResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): InboxResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InboxResult


InboxResultToJSON

InboxResultToJSON(value?: InboxResult | null): any

Parameters:

Name Type
value? InboxResult | null

Returns: any


InlineObject10FromJSON

InlineObject10FromJSON(json: any): InlineObject10

Parameters:

Name Type
json any

Returns: InlineObject10


InlineObject10FromJSONTyped

InlineObject10FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject10

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject10


InlineObject10ToJSON

InlineObject10ToJSON(value?: InlineObject10 | null): any

Parameters:

Name Type
value? InlineObject10 | null

Returns: any


InlineObject1FromJSON

InlineObject1FromJSON(json: any): InlineObject1

Parameters:

Name Type
json any

Returns: InlineObject1


InlineObject1FromJSONTyped

InlineObject1FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject1

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject1


InlineObject1ToJSON

InlineObject1ToJSON(value?: InlineObject1 | null): any

Parameters:

Name Type
value? InlineObject1 | null

Returns: any


InlineObject2FromJSON

InlineObject2FromJSON(json: any): InlineObject2

Parameters:

Name Type
json any

Returns: InlineObject2


InlineObject2FromJSONTyped

InlineObject2FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject2

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject2


InlineObject2ToJSON

InlineObject2ToJSON(value?: InlineObject2 | null): any

Parameters:

Name Type
value? InlineObject2 | null

Returns: any


InlineObject3FromJSON

InlineObject3FromJSON(json: any): InlineObject3

Parameters:

Name Type
json any

Returns: InlineObject3


InlineObject3FromJSONTyped

InlineObject3FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject3

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject3


InlineObject3ToJSON

InlineObject3ToJSON(value?: InlineObject3 | null): any

Parameters:

Name Type
value? InlineObject3 | null

Returns: any


InlineObject4FromJSON

InlineObject4FromJSON(json: any): InlineObject4

Parameters:

Name Type
json any

Returns: InlineObject4


InlineObject4FromJSONTyped

InlineObject4FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject4

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject4


InlineObject4ToJSON

InlineObject4ToJSON(value?: InlineObject4 | null): any

Parameters:

Name Type
value? InlineObject4 | null

Returns: any


InlineObject5FromJSON

InlineObject5FromJSON(json: any): InlineObject5

Parameters:

Name Type
json any

Returns: InlineObject5


InlineObject5FromJSONTyped

InlineObject5FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject5

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject5


InlineObject5ToJSON

InlineObject5ToJSON(value?: InlineObject5 | null): any

Parameters:

Name Type
value? InlineObject5 | null

Returns: any


InlineObject6FromJSON

InlineObject6FromJSON(json: any): InlineObject6

Parameters:

Name Type
json any

Returns: InlineObject6


InlineObject6FromJSONTyped

InlineObject6FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject6

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject6


InlineObject6ToJSON

InlineObject6ToJSON(value?: InlineObject6 | null): any

Parameters:

Name Type
value? InlineObject6 | null

Returns: any


InlineObject7FromJSON

InlineObject7FromJSON(json: any): InlineObject7

Parameters:

Name Type
json any

Returns: InlineObject7


InlineObject7FromJSONTyped

InlineObject7FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject7

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject7


InlineObject7ToJSON

InlineObject7ToJSON(value?: InlineObject7 | null): any

Parameters:

Name Type
value? InlineObject7 | null

Returns: any


InlineObject8FromJSON

InlineObject8FromJSON(json: any): InlineObject8

Parameters:

Name Type
json any

Returns: InlineObject8


InlineObject8FromJSONTyped

InlineObject8FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject8

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject8


InlineObject8ToJSON

InlineObject8ToJSON(value?: InlineObject8 | null): any

Parameters:

Name Type
value? InlineObject8 | null

Returns: any


InlineObject9FromJSON

InlineObject9FromJSON(json: any): InlineObject9

Parameters:

Name Type
json any

Returns: InlineObject9


InlineObject9FromJSONTyped

InlineObject9FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject9

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject9


InlineObject9ToJSON

InlineObject9ToJSON(value?: InlineObject9 | null): any

Parameters:

Name Type
value? InlineObject9 | null

Returns: any


InlineObjectFromJSON

InlineObjectFromJSON(json: any): InlineObject

Parameters:

Name Type
json any

Returns: InlineObject


InlineObjectFromJSONTyped

InlineObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InlineObject


InlineObjectToJSON

InlineObjectToJSON(value?: InlineObject | null): any

Parameters:

Name Type
value? InlineObject | null

Returns: any


InvoiceLineRequestFromJSON

InvoiceLineRequestFromJSON(json: any): InvoiceLineRequest

Parameters:

Name Type
json any

Returns: InvoiceLineRequest


InvoiceLineRequestFromJSONTyped

InvoiceLineRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceLineRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceLineRequest


InvoiceLineRequestToJSON

InvoiceLineRequestToJSON(value?: InvoiceLineRequest | null): any

Parameters:

Name Type
value? InvoiceLineRequest | null

Returns: any


InvoiceLineResultFromJSON

InvoiceLineResultFromJSON(json: any): InvoiceLineResult

Parameters:

Name Type
json any

Returns: InvoiceLineResult


InvoiceLineResultFromJSONTyped

InvoiceLineResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceLineResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceLineResult


InvoiceLineResultToJSON

InvoiceLineResultToJSON(value?: InvoiceLineResult | null): any

Parameters:

Name Type
value? InvoiceLineResult | null

Returns: any


InvoiceRequestFromJSON

InvoiceRequestFromJSON(json: any): InvoiceRequest

Parameters:

Name Type
json any

Returns: InvoiceRequest


InvoiceRequestFromJSONTyped

InvoiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceRequest


InvoiceRequestToJSON

InvoiceRequestToJSON(value?: InvoiceRequest | null): any

Parameters:

Name Type
value? InvoiceRequest | null

Returns: any


InvoiceResultFromJSON

InvoiceResultFromJSON(json: any): InvoiceResult

Parameters:

Name Type
json any

Returns: InvoiceResult


InvoiceResultFromJSONTyped

InvoiceResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceResult


InvoiceResultToJSON

InvoiceResultToJSON(value?: InvoiceResult | null): any

Parameters:

Name Type
value? InvoiceResult | null

Returns: any


InvoiceishDraftLineFromJSON

InvoiceishDraftLineFromJSON(json: any): InvoiceishDraftLine

Parameters:

Name Type
json any

Returns: InvoiceishDraftLine


InvoiceishDraftLineFromJSONTyped

InvoiceishDraftLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceishDraftLine

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceishDraftLine


InvoiceishDraftLineToJSON

InvoiceishDraftLineToJSON(value?: InvoiceishDraftLine | null): any

Parameters:

Name Type
value? InvoiceishDraftLine | null

Returns: any


InvoiceishDraftRequestFromJSON

InvoiceishDraftRequestFromJSON(json: any): InvoiceishDraftRequest

Parameters:

Name Type
json any

Returns: InvoiceishDraftRequest


InvoiceishDraftRequestFromJSONTyped

InvoiceishDraftRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceishDraftRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceishDraftRequest


InvoiceishDraftRequestToJSON

InvoiceishDraftRequestToJSON(value?: InvoiceishDraftRequest | null): any

Parameters:

Name Type
value? InvoiceishDraftRequest | null

Returns: any


InvoiceishDraftResultFromJSON

InvoiceishDraftResultFromJSON(json: any): InvoiceishDraftResult

Parameters:

Name Type
json any

Returns: InvoiceishDraftResult


InvoiceishDraftResultFromJSONTyped

InvoiceishDraftResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): InvoiceishDraftResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: InvoiceishDraftResult


InvoiceishDraftResultToJSON

InvoiceishDraftResultToJSON(value?: InvoiceishDraftResult | null): any

Parameters:

Name Type
value? InvoiceishDraftResult | null

Returns: any


JournalEntryFromJSON

JournalEntryFromJSON(json: any): JournalEntry

Parameters:

Name Type
json any

Returns: JournalEntry


JournalEntryFromJSONTyped

JournalEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntry

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: JournalEntry


JournalEntryLineFromJSON

JournalEntryLineFromJSON(json: any): JournalEntryLine

Parameters:

Name Type
json any

Returns: JournalEntryLine


JournalEntryLineFromJSONTyped

JournalEntryLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): JournalEntryLine

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: JournalEntryLine


JournalEntryLineToJSON

JournalEntryLineToJSON(value?: JournalEntryLine | null): any

Parameters:

Name Type
value? JournalEntryLine | null

Returns: any


JournalEntryToJSON

JournalEntryToJSON(value?: JournalEntry | null): any

Parameters:

Name Type
value? JournalEntry | null

Returns: any


OfferFromJSON

OfferFromJSON(json: any): Offer

Parameters:

Name Type
json any

Returns: Offer


OfferFromJSONTyped

OfferFromJSONTyped(json: any, ignoreDiscriminator: boolean): Offer

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Offer


OfferToJSON

OfferToJSON(value?: Offer | null): any

Parameters:

Name Type
value? Offer | null

Returns: any


OrderConfirmationFromJSON

OrderConfirmationFromJSON(json: any): OrderConfirmation

Parameters:

Name Type
json any

Returns: OrderConfirmation


OrderConfirmationFromJSONTyped

OrderConfirmationFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderConfirmation

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: OrderConfirmation


OrderConfirmationToJSON

OrderConfirmationToJSON(value?: OrderConfirmation | null): any

Parameters:

Name Type
value? OrderConfirmation | null

Returns: any


OrderLineFromJSON

OrderLineFromJSON(json: any): OrderLine

Parameters:

Name Type
json any

Returns: OrderLine


OrderLineFromJSONTyped

OrderLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderLine

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: OrderLine


OrderLineToJSON

OrderLineToJSON(value?: OrderLine | null): any

Parameters:

Name Type
value? OrderLine | null

Returns: any


PartialCreditNoteRequestFromJSON

PartialCreditNoteRequestFromJSON(json: any): PartialCreditNoteRequest

Parameters:

Name Type
json any

Returns: PartialCreditNoteRequest


PartialCreditNoteRequestFromJSONTyped

PartialCreditNoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartialCreditNoteRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: PartialCreditNoteRequest


PartialCreditNoteRequestToJSON

PartialCreditNoteRequestToJSON(value?: PartialCreditNoteRequest | null): any

Parameters:

Name Type
value? PartialCreditNoteRequest | null

Returns: any


PaymentFromJSON

PaymentFromJSON(json: any): Payment

Parameters:

Name Type
json any

Returns: Payment


PaymentFromJSONTyped

PaymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): Payment

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Payment


PaymentToJSON

PaymentToJSON(value?: Payment | null): any

Parameters:

Name Type
value? Payment | null

Returns: any


ProductFromJSON

ProductFromJSON(json: any): Product

Parameters:

Name Type
json any

Returns: Product


ProductFromJSONTyped

ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Product


ProductSalesLineInfoFromJSON

ProductSalesLineInfoFromJSON(json: any): ProductSalesLineInfo

Parameters:

Name Type
json any

Returns: ProductSalesLineInfo


ProductSalesLineInfoFromJSONTyped

ProductSalesLineInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSalesLineInfo

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: ProductSalesLineInfo


ProductSalesLineInfoToJSON

ProductSalesLineInfoToJSON(value?: ProductSalesLineInfo | null): any

Parameters:

Name Type
value? ProductSalesLineInfo | null

Returns: any


ProductSalesReportRequestFromJSON

ProductSalesReportRequestFromJSON(json: any): ProductSalesReportRequest

Parameters:

Name Type
json any

Returns: ProductSalesReportRequest


ProductSalesReportRequestFromJSONTyped

ProductSalesReportRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSalesReportRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: ProductSalesReportRequest


ProductSalesReportRequestToJSON

ProductSalesReportRequestToJSON(value?: ProductSalesReportRequest | null): any

Parameters:

Name Type
value? ProductSalesReportRequest | null

Returns: any


ProductSalesReportResultFromJSON

ProductSalesReportResultFromJSON(json: any): ProductSalesReportResult

Parameters:

Name Type
json any

Returns: ProductSalesReportResult


ProductSalesReportResultFromJSONTyped

ProductSalesReportResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSalesReportResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: ProductSalesReportResult


ProductSalesReportResultToJSON

ProductSalesReportResultToJSON(value?: ProductSalesReportResult | null): any

Parameters:

Name Type
value? ProductSalesReportResult | null

Returns: any


ProductToJSON

ProductToJSON(value?: Product | null): any

Parameters:

Name Type
value? Product | null

Returns: any


ProjectRequestFromJSON

ProjectRequestFromJSON(json: any): ProjectRequest

Parameters:

Name Type
json any

Returns: ProjectRequest


ProjectRequestFromJSONTyped

ProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: ProjectRequest


ProjectRequestToJSON

ProjectRequestToJSON(value?: ProjectRequest | null): any

Parameters:

Name Type
value? ProjectRequest | null

Returns: any


ProjectResultFromJSON

ProjectResultFromJSON(json: any): ProjectResult

Parameters:

Name Type
json any

Returns: ProjectResult


ProjectResultFromJSONTyped

ProjectResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: ProjectResult


ProjectResultToJSON

ProjectResultToJSON(value?: ProjectResult | null): any

Parameters:

Name Type
value? ProjectResult | null

Returns: any


PurchaseRequestFromJSON

PurchaseRequestFromJSON(json: any): PurchaseRequest

Parameters:

Name Type
json any

Returns: PurchaseRequest


PurchaseRequestFromJSONTyped

PurchaseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PurchaseRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: PurchaseRequest


PurchaseRequestToJSON

PurchaseRequestToJSON(value?: PurchaseRequest | null): any

Parameters:

Name Type
value? PurchaseRequest | null

Returns: any


PurchaseResultFromJSON

PurchaseResultFromJSON(json: any): PurchaseResult

Parameters:

Name Type
json any

Returns: PurchaseResult


PurchaseResultFromJSONTyped

PurchaseResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PurchaseResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: PurchaseResult


PurchaseResultToJSON

PurchaseResultToJSON(value?: PurchaseResult | null): any

Parameters:

Name Type
value? PurchaseResult | null

Returns: any


SaleRequestFromJSON

SaleRequestFromJSON(json: any): SaleRequest

Parameters:

Name Type
json any

Returns: SaleRequest


SaleRequestFromJSONTyped

SaleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SaleRequest


SaleRequestToJSON

SaleRequestToJSON(value?: SaleRequest | null): any

Parameters:

Name Type
value? SaleRequest | null

Returns: any


SaleResultFromJSON

SaleResultFromJSON(json: any): SaleResult

Parameters:

Name Type
json any

Returns: SaleResult


SaleResultFromJSONTyped

SaleResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleResult

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SaleResult


SaleResultToJSON

SaleResultToJSON(value?: SaleResult | null): any

Parameters:

Name Type
value? SaleResult | null

Returns: any


SendCreditNoteRequestAllOfFromJSON

SendCreditNoteRequestAllOfFromJSON(json: any): SendCreditNoteRequestAllOf

Parameters:

Name Type
json any

Returns: SendCreditNoteRequestAllOf


SendCreditNoteRequestAllOfFromJSONTyped

SendCreditNoteRequestAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendCreditNoteRequestAllOf

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SendCreditNoteRequestAllOf


SendCreditNoteRequestAllOfToJSON

SendCreditNoteRequestAllOfToJSON(value?: SendCreditNoteRequestAllOf | null): any

Parameters:

Name Type
value? SendCreditNoteRequestAllOf | null

Returns: any


SendCreditNoteRequestFromJSON

SendCreditNoteRequestFromJSON(json: any): SendCreditNoteRequest

Parameters:

Name Type
json any

Returns: SendCreditNoteRequest


SendCreditNoteRequestFromJSONTyped

SendCreditNoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendCreditNoteRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SendCreditNoteRequest


SendCreditNoteRequestToJSON

SendCreditNoteRequestToJSON(value?: SendCreditNoteRequest | null): any

Parameters:

Name Type
value? SendCreditNoteRequest | null

Returns: any


SendFakturaisjRequestFromJSON

SendFakturaisjRequestFromJSON(json: any): SendFakturaisjRequest

Parameters:

Name Type
json any

Returns: SendFakturaisjRequest


SendFakturaisjRequestFromJSONTyped

SendFakturaisjRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendFakturaisjRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SendFakturaisjRequest


SendFakturaisjRequestToJSON

SendFakturaisjRequestToJSON(value?: SendFakturaisjRequest | null): any

Parameters:

Name Type
value? SendFakturaisjRequest | null

Returns: any


SendInvoiceRequestAllOfFromJSON

SendInvoiceRequestAllOfFromJSON(json: any): SendInvoiceRequestAllOf

Parameters:

Name Type
json any

Returns: SendInvoiceRequestAllOf


SendInvoiceRequestAllOfFromJSONTyped

SendInvoiceRequestAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendInvoiceRequestAllOf

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SendInvoiceRequestAllOf


SendInvoiceRequestAllOfToJSON

SendInvoiceRequestAllOfToJSON(value?: SendInvoiceRequestAllOf | null): any

Parameters:

Name Type
value? SendInvoiceRequestAllOf | null

Returns: any


SendInvoiceRequestFromJSON

SendInvoiceRequestFromJSON(json: any): SendInvoiceRequest

Parameters:

Name Type
json any

Returns: SendInvoiceRequest


SendInvoiceRequestFromJSONTyped

SendInvoiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendInvoiceRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: SendInvoiceRequest


SendInvoiceRequestToJSON

SendInvoiceRequestToJSON(value?: SendInvoiceRequest | null): any

Parameters:

Name Type
value? SendInvoiceRequest | null

Returns: any


TransactionFromJSON

TransactionFromJSON(json: any): Transaction

Parameters:

Name Type
json any

Returns: Transaction


TransactionFromJSONTyped

TransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Transaction

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Transaction


TransactionToJSON

TransactionToJSON(value?: Transaction | null): any

Parameters:

Name Type
value? Transaction | null

Returns: any


UpdateInvoiceRequestFromJSON

UpdateInvoiceRequestFromJSON(json: any): UpdateInvoiceRequest

Parameters:

Name Type
json any

Returns: UpdateInvoiceRequest


UpdateInvoiceRequestFromJSONTyped

UpdateInvoiceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateInvoiceRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: UpdateInvoiceRequest


UpdateInvoiceRequestToJSON

UpdateInvoiceRequestToJSON(value?: UpdateInvoiceRequest | null): any

Parameters:

Name Type
value? UpdateInvoiceRequest | null

Returns: any


UpdateProjectRequestFromJSON

UpdateProjectRequestFromJSON(json: any): UpdateProjectRequest

Parameters:

Name Type
json any

Returns: UpdateProjectRequest


UpdateProjectRequestFromJSONTyped

UpdateProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProjectRequest

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: UpdateProjectRequest


UpdateProjectRequestToJSON

UpdateProjectRequestToJSON(value?: UpdateProjectRequest | null): any

Parameters:

Name Type
value? UpdateProjectRequest | null

Returns: any


UserinfoFromJSON

UserinfoFromJSON(json: any): Userinfo

Parameters:

Name Type
json any

Returns: Userinfo


UserinfoFromJSONTyped

UserinfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Userinfo

Parameters:

Name Type
json any
ignoreDiscriminator boolean

Returns: Userinfo


UserinfoToJSON

UserinfoToJSON(value?: Userinfo | null): any

Parameters:

Name Type
value? Userinfo | null

Returns: any


canConsumeForm

canConsumeForm(consumes: Consume[]): boolean

Parameters:

Name Type
consumes Consume[]

Returns: boolean


exists

exists(json: any, key: string): boolean

Parameters:

Name Type
json any
key string

Returns: boolean


getIDFromHeaders

getIDFromHeaders(resp: Response): string

Get ID from location header

This function is used to get the ID resources created in Folio (where you are redirected afterwards).

example

import { getIDFromHeaders } from 'fiken';

...

const res = await fiken.createBankAccountRaw({
 ...
});

const id = getIDFromHeaders(res.raw);

Parameters:

Name Type
resp Response

Returns: string


Const isBlob

isBlob(value: any): boolean

Parameters:

Name Type
value any

Returns: boolean


mapValues

mapValues(data: any, fn: function): object

Parameters:

data: any

fn: function

▸ (item: any): any

Parameters:

Name Type
item any

Returns: object


querystring

querystring(params: HTTPQuery, prefix: string): string

Parameters:

Name Type Default
params HTTPQuery -
prefix string ""

Returns: string

Object literals

Const COLLECTION_FORMATS

COLLECTION_FORMATS: object

csv

csv: string = ","

pipes

pipes: string = "|"

ssv

ssv: string = " "

tsv

tsv: string = " "