@vendasta/billing 14.0.0 → 14.1.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.
@@ -12,6 +12,7 @@ export interface CreateDiscountRequestInterface {
12
12
  customerId?: string;
13
13
  consumer?: e.Consumer;
14
14
  subscriptionId?: string;
15
+ numberOfBillingPeriods?: number;
15
16
  }
16
17
  export interface CreateDiscountResponseInterface {
17
18
  id?: string;
@@ -32,6 +33,7 @@ export interface DiscountInterface {
32
33
  customerId?: string;
33
34
  consumer?: e.Consumer;
34
35
  subscriptionId?: string;
36
+ numberOfBillingPeriods?: number;
35
37
  }
36
38
  export interface ExpireDiscountRequestInterface {
37
39
  merchantId?: string;
@@ -65,4 +67,5 @@ export interface UpdateDiscountRequestInterface {
65
67
  description?: string;
66
68
  customerId?: string;
67
69
  subscriptionId?: string;
70
+ numberOfBillingPeriods?: number;
68
71
  }
@@ -14,6 +14,7 @@ export declare class CreateDiscountRequest implements i.CreateDiscountRequestInt
14
14
  customerId: string;
15
15
  consumer: e.Consumer;
16
16
  subscriptionId: string;
17
+ numberOfBillingPeriods: number;
17
18
  static fromProto(proto: any): CreateDiscountRequest;
18
19
  constructor(kwargs?: i.CreateDiscountRequestInterface);
19
20
  toApiJson(): object;
@@ -40,6 +41,7 @@ export declare class Discount implements i.DiscountInterface {
40
41
  customerId: string;
41
42
  consumer: e.Consumer;
42
43
  subscriptionId: string;
44
+ numberOfBillingPeriods: number;
43
45
  static fromProto(proto: any): Discount;
44
46
  constructor(kwargs?: i.DiscountInterface);
45
47
  toApiJson(): object;
@@ -88,6 +90,7 @@ export declare class UpdateDiscountRequest implements i.UpdateDiscountRequestInt
88
90
  description: string;
89
91
  customerId: string;
90
92
  subscriptionId: string;
93
+ numberOfBillingPeriods: number;
91
94
  static fromProto(proto: any): UpdateDiscountRequest;
92
95
  constructor(kwargs?: i.UpdateDiscountRequestInterface);
93
96
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.0.0",
3
+ "version": "14.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"