@vendasta/billing 14.25.0 → 14.26.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/billable-item.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/subscription.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/billable-item.mjs +7 -1
- package/esm2022/lib/_internal/objects/subscription.mjs +13 -1
- package/fesm2022/vendasta-billing.mjs +18 -0
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/billable-item.interface.d.ts +1 -0
- package/lib/_internal/interfaces/subscription.interface.d.ts +2 -0
- package/lib/_internal/objects/billable-item.d.ts +1 -0
- package/lib/_internal/objects/subscription.d.ts +2 -0
- package/package.json +1 -1
|
@@ -147,6 +147,7 @@ export interface ListSubscriptionsResponseInterface {
|
|
|
147
147
|
export interface UpdateSubscriptionRequestSubscriptionInterface {
|
|
148
148
|
subscriptionId?: string;
|
|
149
149
|
description?: string;
|
|
150
|
+
billingCycleAnchor?: Date;
|
|
150
151
|
}
|
|
151
152
|
export interface SubscriptionProjectionFilterInterface {
|
|
152
153
|
price?: boolean;
|
|
@@ -56,6 +56,7 @@ export interface CreateSubscriptionRequestInterface {
|
|
|
56
56
|
expiry?: Date;
|
|
57
57
|
autoBillable?: boolean;
|
|
58
58
|
subscriptionId?: string;
|
|
59
|
+
billingCycleAnchor?: Date;
|
|
59
60
|
}
|
|
60
61
|
export interface CreateSubscriptionResponseInterface {
|
|
61
62
|
subscriptionId?: string;
|
|
@@ -108,6 +109,7 @@ export interface SubscriptionInterface {
|
|
|
108
109
|
expiry?: Date;
|
|
109
110
|
autoBillable?: boolean;
|
|
110
111
|
subscriptionId?: string;
|
|
112
|
+
billingCycleAnchor?: Date;
|
|
111
113
|
}
|
|
112
114
|
export interface CanCreateSubscriptionsRequestSubscriptionItemInterface {
|
|
113
115
|
sku?: string;
|
|
@@ -215,6 +215,7 @@ export declare class ListSubscriptionsResponse implements i.ListSubscriptionsRes
|
|
|
215
215
|
export declare class UpdateSubscriptionRequestSubscription implements i.UpdateSubscriptionRequestSubscriptionInterface {
|
|
216
216
|
subscriptionId: string;
|
|
217
217
|
description: string;
|
|
218
|
+
billingCycleAnchor: Date;
|
|
218
219
|
static fromProto(proto: any): UpdateSubscriptionRequestSubscription;
|
|
219
220
|
constructor(kwargs?: i.UpdateSubscriptionRequestSubscriptionInterface);
|
|
220
221
|
toApiJson(): object;
|
|
@@ -76,6 +76,7 @@ export declare class CreateSubscriptionRequest implements i.CreateSubscriptionRe
|
|
|
76
76
|
expiry: Date;
|
|
77
77
|
autoBillable: boolean;
|
|
78
78
|
subscriptionId: string;
|
|
79
|
+
billingCycleAnchor: Date;
|
|
79
80
|
static fromProto(proto: any): CreateSubscriptionRequest;
|
|
80
81
|
constructor(kwargs?: i.CreateSubscriptionRequestInterface);
|
|
81
82
|
toApiJson(): object;
|
|
@@ -152,6 +153,7 @@ export declare class Subscription implements i.SubscriptionInterface {
|
|
|
152
153
|
expiry: Date;
|
|
153
154
|
autoBillable: boolean;
|
|
154
155
|
subscriptionId: string;
|
|
156
|
+
billingCycleAnchor: Date;
|
|
155
157
|
static fromProto(proto: any): Subscription;
|
|
156
158
|
constructor(kwargs?: i.SubscriptionInterface);
|
|
157
159
|
toApiJson(): object;
|