@vendasta/billing 14.40.0 → 14.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/_internal/interfaces/invoice.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/subscription-preset.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/invoice.mjs +13 -1
- package/esm2022/lib/_internal/objects/subscription-preset.mjs +4 -1
- package/fesm2022/vendasta-billing.mjs +15 -0
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/invoice.interface.d.ts +3 -0
- package/lib/_internal/interfaces/subscription-preset.interface.d.ts +1 -0
- package/lib/_internal/objects/invoice.d.ts +3 -0
- package/lib/_internal/objects/subscription-preset.d.ts +1 -0
- package/package.json +1 -1
|
@@ -45,6 +45,9 @@ export interface CreateInvoiceRequestInterface {
|
|
|
45
45
|
customerId?: string;
|
|
46
46
|
currencyCode?: string;
|
|
47
47
|
orderId?: string;
|
|
48
|
+
items?: InvoiceItemInterface[];
|
|
49
|
+
defaultPaymentMethod?: string;
|
|
50
|
+
contactId?: string;
|
|
48
51
|
}
|
|
49
52
|
export interface CreateInvoiceResponseInterface {
|
|
50
53
|
invoiceId?: string;
|
|
@@ -65,6 +65,9 @@ export declare class CreateInvoiceRequest implements i.CreateInvoiceRequestInter
|
|
|
65
65
|
customerId: string;
|
|
66
66
|
currencyCode: string;
|
|
67
67
|
orderId: string;
|
|
68
|
+
items: InvoiceItem[];
|
|
69
|
+
defaultPaymentMethod: string;
|
|
70
|
+
contactId: string;
|
|
68
71
|
static fromProto(proto: any): CreateInvoiceRequest;
|
|
69
72
|
constructor(kwargs?: i.CreateInvoiceRequestInterface);
|
|
70
73
|
toApiJson(): object;
|
|
@@ -21,6 +21,7 @@ export declare class SubscriptionPreset implements i.SubscriptionPresetInterface
|
|
|
21
21
|
billingStart: Date;
|
|
22
22
|
renewalStart: Date;
|
|
23
23
|
expiry: Date;
|
|
24
|
+
invoiceId: string;
|
|
24
25
|
static fromProto(proto: any): SubscriptionPreset;
|
|
25
26
|
constructor(kwargs?: i.SubscriptionPresetInterface);
|
|
26
27
|
toApiJson(): object;
|