@vendasta/billing 12.20.0 → 12.22.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.
@@ -9,6 +9,7 @@ export interface CreateDiscountRequestInterface {
9
9
  end?: Date;
10
10
  resetEachPeriod?: boolean;
11
11
  description?: string;
12
+ customerId?: string;
12
13
  }
13
14
  export interface DiscountInterface {
14
15
  discountId?: number;
@@ -23,6 +24,7 @@ export interface DiscountInterface {
23
24
  sku?: string;
24
25
  id?: string;
25
26
  description?: string;
27
+ customerId?: string;
26
28
  }
27
29
  export interface ExpireDiscountRequestInterface {
28
30
  merchantId?: string;
@@ -50,4 +52,5 @@ export interface UpdateDiscountRequestInterface {
50
52
  end?: Date;
51
53
  resetEachPeriod?: boolean;
52
54
  description?: string;
55
+ customerId?: string;
53
56
  }
@@ -11,6 +11,7 @@ export declare class CreateDiscountRequest implements i.CreateDiscountRequestInt
11
11
  end: Date;
12
12
  resetEachPeriod: boolean;
13
13
  description: string;
14
+ customerId: string;
14
15
  static fromProto(proto: any): CreateDiscountRequest;
15
16
  constructor(kwargs?: i.CreateDiscountRequestInterface);
16
17
  toApiJson(): object;
@@ -28,6 +29,7 @@ export declare class Discount implements i.DiscountInterface {
28
29
  sku: string;
29
30
  id: string;
30
31
  description: string;
32
+ customerId: string;
31
33
  static fromProto(proto: any): Discount;
32
34
  constructor(kwargs?: i.DiscountInterface);
33
35
  toApiJson(): object;
@@ -70,6 +72,7 @@ export declare class UpdateDiscountRequest implements i.UpdateDiscountRequestInt
70
72
  end: Date;
71
73
  resetEachPeriod: boolean;
72
74
  description: string;
75
+ customerId: string;
73
76
  static fromProto(proto: any): UpdateDiscountRequest;
74
77
  constructor(kwargs?: i.UpdateDiscountRequestInterface);
75
78
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "12.20.0",
3
+ "version": "12.22.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"