@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.
- package/esm2022/lib/_internal/interfaces/retail-customer-configuration.interface.mjs +1 -1
- package/esm2022/lib/_internal/interfaces/subscription-preset.interface.mjs +1 -1
- package/esm2022/lib/_internal/objects/retail-customer-configuration.mjs +14 -1
- package/esm2022/lib/_internal/objects/subscription-preset.mjs +19 -1
- package/fesm2022/vendasta-billing.mjs +30 -0
- package/fesm2022/vendasta-billing.mjs.map +1 -1
- package/lib/_internal/interfaces/retail-customer-configuration.interface.d.ts +3 -0
- package/lib/_internal/interfaces/subscription-preset.interface.d.ts +3 -0
- package/lib/_internal/objects/retail-customer-configuration.d.ts +3 -0
- package/lib/_internal/objects/subscription-preset.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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
|
}
|
|
@@ -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;
|