@verma-consulting/common-library 0.1.54 → 0.1.56
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/dist/index.d.mts +69 -42
- package/dist/index.d.ts +69 -42
- package/dist/index.js +75 -48
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +75 -48
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3061,6 +3061,7 @@ declare const defaults: {
|
|
|
3061
3061
|
statementDescriptor: string;
|
|
3062
3062
|
statementDescriptorSuffix: string;
|
|
3063
3063
|
calculatedStatementDescriptor: string;
|
|
3064
|
+
canceledAt: null;
|
|
3064
3065
|
confirm: boolean;
|
|
3065
3066
|
paid: boolean;
|
|
3066
3067
|
captured: boolean;
|
|
@@ -3394,13 +3395,19 @@ declare const defaultTypes: {
|
|
|
3394
3395
|
length: string;
|
|
3395
3396
|
weight: string;
|
|
3396
3397
|
width: string;
|
|
3398
|
+
unit: string;
|
|
3399
|
+
weight_unit: string;
|
|
3400
|
+
girth: string;
|
|
3401
|
+
package_type: string;
|
|
3402
|
+
template: string;
|
|
3403
|
+
metadata: string;
|
|
3397
3404
|
};
|
|
3398
3405
|
prices: {
|
|
3399
3406
|
active: string;
|
|
3400
3407
|
unitAmount: string;
|
|
3401
3408
|
unitAmountDecimal: string;
|
|
3402
3409
|
lookupKey: string;
|
|
3403
|
-
|
|
3410
|
+
priceType: string;
|
|
3404
3411
|
taxBehavior: string;
|
|
3405
3412
|
currency: string;
|
|
3406
3413
|
billingScheme: string;
|
|
@@ -3551,7 +3558,6 @@ declare const defaultTypes: {
|
|
|
3551
3558
|
offSession: string;
|
|
3552
3559
|
nextPendingInvoiceItemInvoice: string;
|
|
3553
3560
|
collectionMethod: string;
|
|
3554
|
-
missingPaymentMethod: string;
|
|
3555
3561
|
client: string;
|
|
3556
3562
|
deal: string;
|
|
3557
3563
|
accountOwner: string;
|
|
@@ -3584,30 +3590,43 @@ declare const defaultTypes: {
|
|
|
3584
3590
|
status: string;
|
|
3585
3591
|
paymentStatus: string;
|
|
3586
3592
|
currency: string;
|
|
3593
|
+
receiptEmail: string;
|
|
3594
|
+
receiptNumber: string;
|
|
3595
|
+
receiptUrl: string;
|
|
3596
|
+
setupFutureUsage: string;
|
|
3587
3597
|
amount: string;
|
|
3588
3598
|
amountCapturable: string;
|
|
3589
3599
|
amountReceived: string;
|
|
3590
3600
|
applicationFeeAmount: string;
|
|
3601
|
+
cancellationReason: string;
|
|
3591
3602
|
statementDescriptor: string;
|
|
3592
3603
|
statementDescriptorSuffix: string;
|
|
3604
|
+
calculatedStatementDescriptor: string;
|
|
3605
|
+
confirm: string;
|
|
3606
|
+
paid: string;
|
|
3607
|
+
captured: string;
|
|
3608
|
+
disputed: string;
|
|
3609
|
+
refunded: string;
|
|
3610
|
+
canceledAt: string;
|
|
3611
|
+
captureMethod: string;
|
|
3612
|
+
confirmationMethod: string;
|
|
3593
3613
|
livemode: string;
|
|
3594
|
-
receiptEmail: string;
|
|
3595
3614
|
client: string;
|
|
3596
3615
|
subscription: string;
|
|
3597
3616
|
invoice: string;
|
|
3598
3617
|
automatic_payment_methods: {
|
|
3599
|
-
|
|
3618
|
+
allowRedirects: string;
|
|
3600
3619
|
enabled: string;
|
|
3601
3620
|
};
|
|
3602
3621
|
amount_details: {
|
|
3603
|
-
|
|
3622
|
+
discountAmount: string;
|
|
3604
3623
|
shipping: {
|
|
3605
3624
|
amount: string;
|
|
3606
|
-
|
|
3607
|
-
|
|
3625
|
+
fromPostalCode: string;
|
|
3626
|
+
toPostalCode: string;
|
|
3608
3627
|
};
|
|
3609
3628
|
tax: {
|
|
3610
|
-
|
|
3629
|
+
totalTaxAmount: string;
|
|
3611
3630
|
};
|
|
3612
3631
|
tip: {
|
|
3613
3632
|
amount: string;
|
|
@@ -3628,7 +3647,7 @@ declare const defaultTypes: {
|
|
|
3628
3647
|
country: string;
|
|
3629
3648
|
line1: string;
|
|
3630
3649
|
line2: string;
|
|
3631
|
-
|
|
3650
|
+
postalCode: string;
|
|
3632
3651
|
state: string;
|
|
3633
3652
|
};
|
|
3634
3653
|
email: string;
|
|
@@ -3641,13 +3660,13 @@ declare const defaultTypes: {
|
|
|
3641
3660
|
country: string;
|
|
3642
3661
|
line1: string;
|
|
3643
3662
|
line2: string;
|
|
3644
|
-
|
|
3663
|
+
postalCode: string;
|
|
3645
3664
|
state: string;
|
|
3646
3665
|
};
|
|
3647
3666
|
carrier: string;
|
|
3648
3667
|
name: string;
|
|
3649
3668
|
phone: string;
|
|
3650
|
-
|
|
3669
|
+
trackingNumber: string;
|
|
3651
3670
|
};
|
|
3652
3671
|
refunds: {
|
|
3653
3672
|
name: string;
|
|
@@ -3675,39 +3694,39 @@ declare const defaultTypes: {
|
|
|
3675
3694
|
isChargeRefundable: string;
|
|
3676
3695
|
livemode: string;
|
|
3677
3696
|
evidence: {
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3697
|
+
accessActivityLog: string;
|
|
3698
|
+
billingAddress: string;
|
|
3699
|
+
cancellationPolicy: string;
|
|
3700
|
+
cancellationPolicyDisclosure: string;
|
|
3701
|
+
cancellationRebuttal: string;
|
|
3702
|
+
customerCommunication: string;
|
|
3703
|
+
customerEmailAddress: string;
|
|
3704
|
+
customerName: string;
|
|
3705
|
+
customerPurchaseIp: string;
|
|
3706
|
+
customerSignature: string;
|
|
3707
|
+
duplicateChargeDocumentation: string;
|
|
3708
|
+
duplicateChargeExplanation: string;
|
|
3709
|
+
duplicateChargeId: string;
|
|
3710
|
+
productDescription: string;
|
|
3692
3711
|
receipt: string;
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3712
|
+
refundPolicy: string;
|
|
3713
|
+
refundPolicyDisclosure: string;
|
|
3714
|
+
refundRefusalExplanation: string;
|
|
3715
|
+
serviceDate: string;
|
|
3716
|
+
serviceDocumentation: string;
|
|
3717
|
+
shippingAddress: string;
|
|
3718
|
+
shippingCarrier: string;
|
|
3719
|
+
shippingDate: string;
|
|
3720
|
+
shippingDocumentation: string;
|
|
3721
|
+
shippingTrackingNumber: string;
|
|
3722
|
+
uncategorizedFile: string;
|
|
3723
|
+
uncategorizedText: string;
|
|
3705
3724
|
};
|
|
3706
3725
|
evidenceDetails: {
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3726
|
+
dueBy: string;
|
|
3727
|
+
hasEvidence: string;
|
|
3728
|
+
pastDue: string;
|
|
3729
|
+
submissionCount: string;
|
|
3711
3730
|
};
|
|
3712
3731
|
};
|
|
3713
3732
|
pools: {
|
|
@@ -3719,7 +3738,7 @@ declare const defaultTypes: {
|
|
|
3719
3738
|
account: string;
|
|
3720
3739
|
type: string;
|
|
3721
3740
|
};
|
|
3722
|
-
|
|
3741
|
+
activties: {
|
|
3723
3742
|
label: string;
|
|
3724
3743
|
value: string;
|
|
3725
3744
|
modelName: string;
|
|
@@ -3727,30 +3746,36 @@ declare const defaultTypes: {
|
|
|
3727
3746
|
};
|
|
3728
3747
|
reports: {
|
|
3729
3748
|
label: string;
|
|
3749
|
+
prompt: string;
|
|
3730
3750
|
star: string;
|
|
3731
3751
|
chartType: string;
|
|
3732
3752
|
frequency: string;
|
|
3733
3753
|
frequencyField: string;
|
|
3734
3754
|
modelName: string;
|
|
3735
3755
|
fieldName: string;
|
|
3756
|
+
fieldType: string;
|
|
3736
3757
|
operationType: string;
|
|
3737
3758
|
calculation: string;
|
|
3738
3759
|
calculationValue: string;
|
|
3739
3760
|
};
|
|
3740
3761
|
lists: {
|
|
3741
3762
|
label: string;
|
|
3763
|
+
prompt: string;
|
|
3742
3764
|
star: string;
|
|
3743
3765
|
dynamic: string;
|
|
3744
3766
|
modelName: string;
|
|
3745
3767
|
fieldName: string;
|
|
3768
|
+
fieldType: string;
|
|
3746
3769
|
calculation: string;
|
|
3747
3770
|
calculationValue: string;
|
|
3748
3771
|
};
|
|
3749
3772
|
statistics: {
|
|
3750
3773
|
label: string;
|
|
3774
|
+
prompt: string;
|
|
3751
3775
|
star: string;
|
|
3752
3776
|
modelName: string;
|
|
3753
3777
|
fieldName: string;
|
|
3778
|
+
fieldType: string;
|
|
3754
3779
|
operationType: string;
|
|
3755
3780
|
calculation: string;
|
|
3756
3781
|
calculationValue: string;
|
|
@@ -3763,6 +3788,7 @@ declare const defaultTypes: {
|
|
|
3763
3788
|
country: string;
|
|
3764
3789
|
countryCode: string;
|
|
3765
3790
|
postalCode: string;
|
|
3791
|
+
addressType: string;
|
|
3766
3792
|
latitude: string;
|
|
3767
3793
|
longitude: string;
|
|
3768
3794
|
};
|
|
@@ -3781,6 +3807,7 @@ declare const defaultTypes: {
|
|
|
3781
3807
|
title: string;
|
|
3782
3808
|
description: string;
|
|
3783
3809
|
category: string;
|
|
3810
|
+
type: string;
|
|
3784
3811
|
key: string;
|
|
3785
3812
|
secret: string;
|
|
3786
3813
|
logo: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3061,6 +3061,7 @@ declare const defaults: {
|
|
|
3061
3061
|
statementDescriptor: string;
|
|
3062
3062
|
statementDescriptorSuffix: string;
|
|
3063
3063
|
calculatedStatementDescriptor: string;
|
|
3064
|
+
canceledAt: null;
|
|
3064
3065
|
confirm: boolean;
|
|
3065
3066
|
paid: boolean;
|
|
3066
3067
|
captured: boolean;
|
|
@@ -3394,13 +3395,19 @@ declare const defaultTypes: {
|
|
|
3394
3395
|
length: string;
|
|
3395
3396
|
weight: string;
|
|
3396
3397
|
width: string;
|
|
3398
|
+
unit: string;
|
|
3399
|
+
weight_unit: string;
|
|
3400
|
+
girth: string;
|
|
3401
|
+
package_type: string;
|
|
3402
|
+
template: string;
|
|
3403
|
+
metadata: string;
|
|
3397
3404
|
};
|
|
3398
3405
|
prices: {
|
|
3399
3406
|
active: string;
|
|
3400
3407
|
unitAmount: string;
|
|
3401
3408
|
unitAmountDecimal: string;
|
|
3402
3409
|
lookupKey: string;
|
|
3403
|
-
|
|
3410
|
+
priceType: string;
|
|
3404
3411
|
taxBehavior: string;
|
|
3405
3412
|
currency: string;
|
|
3406
3413
|
billingScheme: string;
|
|
@@ -3551,7 +3558,6 @@ declare const defaultTypes: {
|
|
|
3551
3558
|
offSession: string;
|
|
3552
3559
|
nextPendingInvoiceItemInvoice: string;
|
|
3553
3560
|
collectionMethod: string;
|
|
3554
|
-
missingPaymentMethod: string;
|
|
3555
3561
|
client: string;
|
|
3556
3562
|
deal: string;
|
|
3557
3563
|
accountOwner: string;
|
|
@@ -3584,30 +3590,43 @@ declare const defaultTypes: {
|
|
|
3584
3590
|
status: string;
|
|
3585
3591
|
paymentStatus: string;
|
|
3586
3592
|
currency: string;
|
|
3593
|
+
receiptEmail: string;
|
|
3594
|
+
receiptNumber: string;
|
|
3595
|
+
receiptUrl: string;
|
|
3596
|
+
setupFutureUsage: string;
|
|
3587
3597
|
amount: string;
|
|
3588
3598
|
amountCapturable: string;
|
|
3589
3599
|
amountReceived: string;
|
|
3590
3600
|
applicationFeeAmount: string;
|
|
3601
|
+
cancellationReason: string;
|
|
3591
3602
|
statementDescriptor: string;
|
|
3592
3603
|
statementDescriptorSuffix: string;
|
|
3604
|
+
calculatedStatementDescriptor: string;
|
|
3605
|
+
confirm: string;
|
|
3606
|
+
paid: string;
|
|
3607
|
+
captured: string;
|
|
3608
|
+
disputed: string;
|
|
3609
|
+
refunded: string;
|
|
3610
|
+
canceledAt: string;
|
|
3611
|
+
captureMethod: string;
|
|
3612
|
+
confirmationMethod: string;
|
|
3593
3613
|
livemode: string;
|
|
3594
|
-
receiptEmail: string;
|
|
3595
3614
|
client: string;
|
|
3596
3615
|
subscription: string;
|
|
3597
3616
|
invoice: string;
|
|
3598
3617
|
automatic_payment_methods: {
|
|
3599
|
-
|
|
3618
|
+
allowRedirects: string;
|
|
3600
3619
|
enabled: string;
|
|
3601
3620
|
};
|
|
3602
3621
|
amount_details: {
|
|
3603
|
-
|
|
3622
|
+
discountAmount: string;
|
|
3604
3623
|
shipping: {
|
|
3605
3624
|
amount: string;
|
|
3606
|
-
|
|
3607
|
-
|
|
3625
|
+
fromPostalCode: string;
|
|
3626
|
+
toPostalCode: string;
|
|
3608
3627
|
};
|
|
3609
3628
|
tax: {
|
|
3610
|
-
|
|
3629
|
+
totalTaxAmount: string;
|
|
3611
3630
|
};
|
|
3612
3631
|
tip: {
|
|
3613
3632
|
amount: string;
|
|
@@ -3628,7 +3647,7 @@ declare const defaultTypes: {
|
|
|
3628
3647
|
country: string;
|
|
3629
3648
|
line1: string;
|
|
3630
3649
|
line2: string;
|
|
3631
|
-
|
|
3650
|
+
postalCode: string;
|
|
3632
3651
|
state: string;
|
|
3633
3652
|
};
|
|
3634
3653
|
email: string;
|
|
@@ -3641,13 +3660,13 @@ declare const defaultTypes: {
|
|
|
3641
3660
|
country: string;
|
|
3642
3661
|
line1: string;
|
|
3643
3662
|
line2: string;
|
|
3644
|
-
|
|
3663
|
+
postalCode: string;
|
|
3645
3664
|
state: string;
|
|
3646
3665
|
};
|
|
3647
3666
|
carrier: string;
|
|
3648
3667
|
name: string;
|
|
3649
3668
|
phone: string;
|
|
3650
|
-
|
|
3669
|
+
trackingNumber: string;
|
|
3651
3670
|
};
|
|
3652
3671
|
refunds: {
|
|
3653
3672
|
name: string;
|
|
@@ -3675,39 +3694,39 @@ declare const defaultTypes: {
|
|
|
3675
3694
|
isChargeRefundable: string;
|
|
3676
3695
|
livemode: string;
|
|
3677
3696
|
evidence: {
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3697
|
+
accessActivityLog: string;
|
|
3698
|
+
billingAddress: string;
|
|
3699
|
+
cancellationPolicy: string;
|
|
3700
|
+
cancellationPolicyDisclosure: string;
|
|
3701
|
+
cancellationRebuttal: string;
|
|
3702
|
+
customerCommunication: string;
|
|
3703
|
+
customerEmailAddress: string;
|
|
3704
|
+
customerName: string;
|
|
3705
|
+
customerPurchaseIp: string;
|
|
3706
|
+
customerSignature: string;
|
|
3707
|
+
duplicateChargeDocumentation: string;
|
|
3708
|
+
duplicateChargeExplanation: string;
|
|
3709
|
+
duplicateChargeId: string;
|
|
3710
|
+
productDescription: string;
|
|
3692
3711
|
receipt: string;
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3712
|
+
refundPolicy: string;
|
|
3713
|
+
refundPolicyDisclosure: string;
|
|
3714
|
+
refundRefusalExplanation: string;
|
|
3715
|
+
serviceDate: string;
|
|
3716
|
+
serviceDocumentation: string;
|
|
3717
|
+
shippingAddress: string;
|
|
3718
|
+
shippingCarrier: string;
|
|
3719
|
+
shippingDate: string;
|
|
3720
|
+
shippingDocumentation: string;
|
|
3721
|
+
shippingTrackingNumber: string;
|
|
3722
|
+
uncategorizedFile: string;
|
|
3723
|
+
uncategorizedText: string;
|
|
3705
3724
|
};
|
|
3706
3725
|
evidenceDetails: {
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3726
|
+
dueBy: string;
|
|
3727
|
+
hasEvidence: string;
|
|
3728
|
+
pastDue: string;
|
|
3729
|
+
submissionCount: string;
|
|
3711
3730
|
};
|
|
3712
3731
|
};
|
|
3713
3732
|
pools: {
|
|
@@ -3719,7 +3738,7 @@ declare const defaultTypes: {
|
|
|
3719
3738
|
account: string;
|
|
3720
3739
|
type: string;
|
|
3721
3740
|
};
|
|
3722
|
-
|
|
3741
|
+
activties: {
|
|
3723
3742
|
label: string;
|
|
3724
3743
|
value: string;
|
|
3725
3744
|
modelName: string;
|
|
@@ -3727,30 +3746,36 @@ declare const defaultTypes: {
|
|
|
3727
3746
|
};
|
|
3728
3747
|
reports: {
|
|
3729
3748
|
label: string;
|
|
3749
|
+
prompt: string;
|
|
3730
3750
|
star: string;
|
|
3731
3751
|
chartType: string;
|
|
3732
3752
|
frequency: string;
|
|
3733
3753
|
frequencyField: string;
|
|
3734
3754
|
modelName: string;
|
|
3735
3755
|
fieldName: string;
|
|
3756
|
+
fieldType: string;
|
|
3736
3757
|
operationType: string;
|
|
3737
3758
|
calculation: string;
|
|
3738
3759
|
calculationValue: string;
|
|
3739
3760
|
};
|
|
3740
3761
|
lists: {
|
|
3741
3762
|
label: string;
|
|
3763
|
+
prompt: string;
|
|
3742
3764
|
star: string;
|
|
3743
3765
|
dynamic: string;
|
|
3744
3766
|
modelName: string;
|
|
3745
3767
|
fieldName: string;
|
|
3768
|
+
fieldType: string;
|
|
3746
3769
|
calculation: string;
|
|
3747
3770
|
calculationValue: string;
|
|
3748
3771
|
};
|
|
3749
3772
|
statistics: {
|
|
3750
3773
|
label: string;
|
|
3774
|
+
prompt: string;
|
|
3751
3775
|
star: string;
|
|
3752
3776
|
modelName: string;
|
|
3753
3777
|
fieldName: string;
|
|
3778
|
+
fieldType: string;
|
|
3754
3779
|
operationType: string;
|
|
3755
3780
|
calculation: string;
|
|
3756
3781
|
calculationValue: string;
|
|
@@ -3763,6 +3788,7 @@ declare const defaultTypes: {
|
|
|
3763
3788
|
country: string;
|
|
3764
3789
|
countryCode: string;
|
|
3765
3790
|
postalCode: string;
|
|
3791
|
+
addressType: string;
|
|
3766
3792
|
latitude: string;
|
|
3767
3793
|
longitude: string;
|
|
3768
3794
|
};
|
|
@@ -3781,6 +3807,7 @@ declare const defaultTypes: {
|
|
|
3781
3807
|
title: string;
|
|
3782
3808
|
description: string;
|
|
3783
3809
|
category: string;
|
|
3810
|
+
type: string;
|
|
3784
3811
|
key: string;
|
|
3785
3812
|
secret: string;
|
|
3786
3813
|
logo: string;
|