Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Address } from './address.js';
import { Cart } from './cart.js';
import { Company } from './company.js';
import { Domain } from './domain.js';
import { DomainTag } from './domain_tag.js';
import { EmailAddress } from './email_address.js';
import { Entity } from '../entity.js';
import { MerchiFile } from './file.js';
import { InternalTag } from './internal_tag.js';
import { Item } from './item.js';
import { Job } from './job.js';
import { Quote } from './quote.js';
import { Reminder } from './reminder.js';
import { Notification } from './notification.js';
import { Payment } from './payment.js';
import { PhoneNumber } from './phone_number.js';
import { Shipment } from './shipment.js';
import { User } from './user.js';
export class Invoice extends Entity {
protected static resourceName = 'invoices';
protected static singularName = 'invoice';
protected static pluralName = 'invoices';
@Invoice.property({type: Date})
public archived?: Date | null;
@Invoice.property()
public id?: number;
@Invoice.property({type: Date})
public creationDate?: Date | null;
@Invoice.property({type: Date})
public paymentDeadline?: Date | null;
@Invoice.property({type: Date})
public reminded?: Date | null;
@Invoice.property()
public reminderMessage?: string;
@Invoice.property()
public shopifyOrderId?: string;
@Invoice.property()
public forceReminders?: boolean;
@Invoice.property()
public buySide?: boolean;
@Invoice.property()
public canAutoPay?: boolean;
@Invoice.property({type: String})
public note?: string | null;
@Invoice.property({type: Date})
public terms?: Date | null;
@Invoice.property({type: Number})
public subtotalCost?: number | null;
@Invoice.property({type: Number})
public taxAmount?: number | null;
@Invoice.property({type: Number})
public totalCost?: number | null;
@Invoice.property({type: Boolean})
public sendSms?: boolean | null;
@Invoice.property({type: Boolean})
public sendEmail?: boolean | null;
@Invoice.property({type: Boolean})
public unpaid?: boolean | null;
@Invoice.property()
public currency?: string;
@Invoice.property()
public acceptSquare?: boolean;
@Invoice.property()
public acceptStripe?: boolean;
@Invoice.property()
public acceptPaypal?: boolean;
@Invoice.property()
public acceptUtrust?: boolean;
@Invoice.property()
public acceptBankTransfer?: boolean;
@Invoice.property()
public acceptPhonePayment?: boolean;
@Invoice.property({type: String})
public invoiceToken?: string | null;
@Invoice.property({type: String})
public paymentUrl?: string;
@Invoice.property()
public isRemindable?: boolean;
@Invoice.property({embeddedByDefault: false})
public owedMoney?: number;
@Invoice.property({embeddedByDefault: false})
public paidMoney?: number;
@Invoice.property({embeddedByDefault: false})
public isCompletelyPaid?: boolean;
@Invoice.property({type: User})
public responsibleManager?: User | null;
@Invoice.property({type: User})
public creator?: User | null;
@Invoice.property()
public client?: User;
@Invoice.property({type: Company})
public clientCompany?: Company | null;
@Company.property({arrayType: 'Company'})
public subscriptionCompanies?: Company[];
@Invoice.property({type: Address})
public shipping?: Address | null;
@Invoice.property()
public domain?: Domain;
@Invoice.property({arrayType: 'Item'})
public items?: Item[];
@Invoice.property({type: MerchiFile})
public pdf?: MerchiFile | null;
@Invoice.property({type: MerchiFile})
public receipt?: MerchiFile | null;
@Invoice.property({type: PhoneNumber})
public clientPhone?: PhoneNumber | null;
@Invoice.property({type: EmailAddress})
public clientEmail?: EmailAddress | null;
@Invoice.property({type: PhoneNumber})
public clientCompanyPhone?: PhoneNumber | null;
@Invoice.property({type: EmailAddress})
public clientCompanyEmail?: EmailAddress | null;
@Invoice.property({arrayType: 'InternalTag'})
public internalTags?: InternalTag[];
@Invoice.property({arrayType: 'DomainTag'})
public tags?: DomainTag[];
@Invoice.property({arrayType: 'Shipment'})
public shipments?: Shipment[];
@Invoice.property({arrayType: 'Notification'})
public notifications?: Notification[];
@Invoice.property({arrayType: 'Reminder'})
public reminders?: Reminder[];
@Invoice.property({arrayType: 'Job'})
public jobs?: Job[];
@Invoice.property({arrayType: 'Quote'})
public quotes?: Quote[];
@Invoice.property()
public cart?: Cart;
@Invoice.property({arrayType: 'Payment'})
public payments?: Payment[];
}
|