@vendasta/billing 14.5.0 → 14.6.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.
@@ -1,3 +1,4 @@
1
+ import * as e from '../enums';
1
2
  export interface GetRetailCustomerConfigurationRequestInterface {
2
3
  customerId?: string;
3
4
  merchantId?: string;
@@ -19,6 +20,7 @@ export interface RetailCustomerConfigurationInterface {
19
20
  memo?: string;
20
21
  additionalContactIds?: string[];
21
22
  autoGenerateRetailSubscriptions?: boolean;
23
+ paymentMethodTypes?: e.PaymentMethodType[];
22
24
  }
23
25
  export interface UpsertRetailCustomerConfigurationRequestInterface {
24
26
  customerId?: string;
@@ -33,4 +35,5 @@ export interface UpsertRetailCustomerConfigurationRequestInterface {
33
35
  memo?: string;
34
36
  additionalContactIds?: string[];
35
37
  autoGenerateRetailSubscriptions?: boolean;
38
+ paymentMethodTypes?: e.PaymentMethodType[];
36
39
  }
@@ -10,4 +10,7 @@ export interface SubscriptionPresetInterface {
10
10
  salesOrderId?: string;
11
11
  paymentIntentId?: string;
12
12
  merchantId?: string;
13
+ billingStart?: Date;
14
+ renewalStart?: Date;
15
+ expiry?: Date;
13
16
  }
@@ -1,4 +1,5 @@
1
1
  import * as i from '../interfaces';
2
+ import * as e from '../enums';
2
3
  export declare function enumStringToValue<E>(enumRef: any, value: string): E;
3
4
  export declare class GetRetailCustomerConfigurationRequest implements i.GetRetailCustomerConfigurationRequestInterface {
4
5
  customerId: string;
@@ -27,6 +28,7 @@ export declare class RetailCustomerConfiguration implements i.RetailCustomerConf
27
28
  memo: string;
28
29
  additionalContactIds: string[];
29
30
  autoGenerateRetailSubscriptions: boolean;
31
+ paymentMethodTypes: e.PaymentMethodType[];
30
32
  static fromProto(proto: any): RetailCustomerConfiguration;
31
33
  constructor(kwargs?: i.RetailCustomerConfigurationInterface);
32
34
  toApiJson(): object;
@@ -44,6 +46,7 @@ export declare class UpsertRetailCustomerConfigurationRequest implements i.Upser
44
46
  memo: string;
45
47
  additionalContactIds: string[];
46
48
  autoGenerateRetailSubscriptions: boolean;
49
+ paymentMethodTypes: e.PaymentMethodType[];
47
50
  static fromProto(proto: any): UpsertRetailCustomerConfigurationRequest;
48
51
  constructor(kwargs?: i.UpsertRetailCustomerConfigurationRequestInterface);
49
52
  toApiJson(): object;
@@ -18,6 +18,9 @@ export declare class SubscriptionPreset implements i.SubscriptionPresetInterface
18
18
  salesOrderId: string;
19
19
  paymentIntentId: string;
20
20
  merchantId: string;
21
+ billingStart: Date;
22
+ renewalStart: Date;
23
+ expiry: Date;
21
24
  static fromProto(proto: any): SubscriptionPreset;
22
25
  constructor(kwargs?: i.SubscriptionPresetInterface);
23
26
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/billing",
3
- "version": "14.5.0",
3
+ "version": "14.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.12",
6
6
  "@angular/core": ">=16.2.12"