Skip to content

Conversation

@dmatuszczak
Copy link

No description provided.

Copy link
Collaborator

@swlodarski-sumoheavy swlodarski-sumoheavy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional notes:

import { RateInterface } from './Rates/Rate';
import { Rates } from './Rates/Rates';
import { Bill, BillInterface } from './Bill/Bill';
import { Item as BillItem } from './Bill/Item';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add ItemInterface too?

import { PayoutGroupFailed, PayoutGroupFailedInterface } from './Payout/PayoutGroupFailed';
import { Buyer, BuyerInterface } from './Invoice/Buyer';
import { InvoiceBuyerProvidedInfo } from './Invoice/InvoiceBuyerProvidedInfo';
import { InvoiceEventTokenInterface } from './Invoice/InvoiceEventToken';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add InvoiceEventToken

import { Rates } from './Rates/Rates';
import { Bill, BillInterface } from './Bill/Bill';
import { Item as BillItem } from './Bill/Item';
import { LedgerInterface } from './Ledger/Ledger';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add Ledger

import { Bill, BillInterface } from './Bill/Bill';
import { Item as BillItem } from './Bill/Item';
import { LedgerInterface } from './Ledger/Ledger';
import { LedgerEntryInterface } from './Ledger/LedgerEntry';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add LedgerEntry

import { PayoutRecipient, PayoutRecipientInterface } from './Payout/PayoutRecipient';
import { PayoutRecipients, PayoutRecipientsInterface } from './Payout/PayoutRecipients';
import { Payout, PayoutInterface } from './Payout/Payout';
import { PayoutGroupInterface } from './Payout/PayoutGroup';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing PayoutGroup

import { SupportedTransactionCurrency } from './Invoice/SupportedTransactionCurrency';
import { InvoiceDataInterface, InvoiceData } from './Settlement/InvoiceData';
import { PayoutInfoInterface, PayoutInfo } from './Settlement/PayoutInfo';
import { RefundInfoInterface } from './Settlement/RefundInfo';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add RefundInfo

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add exports for enum like consts? For example:

import * as InvoiceStatus from './Invoice/InvoiceStatus';
...
export {
  ...
  InvoiceStatus
  ...
}

This should be done in the following cases:

  • Model/Bill/BillStatus.ts
  • Model/Invoice/InvoiceStatus.ts
  • Model/Invoice/RefundParams.ts
  • Model/Invoice/RefundStatus.ts
  • Model/Payout/PayoutStatus.ts
  • Model/Payout/RecipientReferenceMethod.ts
  • Model/Payout/RecipientStatus.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants