@verma-consulting/common-library 0.1.55 → 0.1.57
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 +70 -43
- package/dist/index.d.ts +70 -43
- package/dist/index.js +72 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +72 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -645,6 +645,7 @@ var ContentType = /* @__PURE__ */ ((ContentType2) => {
|
|
|
645
645
|
ContentType2["Grid"] = "Grid";
|
|
646
646
|
ContentType2["Table"] = "Table";
|
|
647
647
|
ContentType2["Kanban"] = "Kanban";
|
|
648
|
+
ContentType2["Map"] = "Map";
|
|
648
649
|
return ContentType2;
|
|
649
650
|
})(ContentType || {});
|
|
650
651
|
var CalculationType = /* @__PURE__ */ ((CalculationType2) => {
|
|
@@ -2709,14 +2710,20 @@ var defaultTypes = {
|
|
|
2709
2710
|
height: "Float",
|
|
2710
2711
|
length: "Float",
|
|
2711
2712
|
weight: "Float",
|
|
2712
|
-
width: "Float"
|
|
2713
|
+
width: "Float",
|
|
2714
|
+
unit: "String",
|
|
2715
|
+
weight_unit: "String",
|
|
2716
|
+
girth: "Float",
|
|
2717
|
+
package_type: "String",
|
|
2718
|
+
template: "String",
|
|
2719
|
+
metadata: "OBJECT"
|
|
2713
2720
|
},
|
|
2714
2721
|
prices: {
|
|
2715
2722
|
active: "Boolean",
|
|
2716
2723
|
unitAmount: "Int",
|
|
2717
2724
|
unitAmountDecimal: "Float",
|
|
2718
2725
|
lookupKey: "String",
|
|
2719
|
-
|
|
2726
|
+
priceType: "String",
|
|
2720
2727
|
taxBehavior: "String",
|
|
2721
2728
|
currency: "String",
|
|
2722
2729
|
billingScheme: "String",
|
|
@@ -2867,7 +2874,6 @@ var defaultTypes = {
|
|
|
2867
2874
|
offSession: "Boolean",
|
|
2868
2875
|
nextPendingInvoiceItemInvoice: "String",
|
|
2869
2876
|
collectionMethod: "String",
|
|
2870
|
-
missingPaymentMethod: "String",
|
|
2871
2877
|
client: "OBJECT",
|
|
2872
2878
|
deal: "OBJECT",
|
|
2873
2879
|
accountOwner: "OBJECT"
|
|
@@ -2900,30 +2906,43 @@ var defaultTypes = {
|
|
|
2900
2906
|
status: "String",
|
|
2901
2907
|
paymentStatus: "String",
|
|
2902
2908
|
currency: "String",
|
|
2909
|
+
receiptEmail: "String",
|
|
2910
|
+
receiptNumber: "String",
|
|
2911
|
+
receiptUrl: "String",
|
|
2912
|
+
setupFutureUsage: "String",
|
|
2903
2913
|
amount: "Int",
|
|
2904
2914
|
amountCapturable: "Int",
|
|
2905
2915
|
amountReceived: "Int",
|
|
2906
2916
|
applicationFeeAmount: "Int",
|
|
2917
|
+
cancellationReason: "String",
|
|
2907
2918
|
statementDescriptor: "String",
|
|
2908
2919
|
statementDescriptorSuffix: "String",
|
|
2920
|
+
calculatedStatementDescriptor: "String",
|
|
2921
|
+
confirm: "Boolean",
|
|
2922
|
+
paid: "Boolean",
|
|
2923
|
+
captured: "Boolean",
|
|
2924
|
+
disputed: "Boolean",
|
|
2925
|
+
refunded: "Boolean",
|
|
2926
|
+
canceledAt: "DateTime",
|
|
2927
|
+
captureMethod: "String",
|
|
2928
|
+
confirmationMethod: "String",
|
|
2909
2929
|
livemode: "Boolean",
|
|
2910
|
-
receiptEmail: "String",
|
|
2911
2930
|
client: "OBJECT",
|
|
2912
2931
|
subscription: "OBJECT",
|
|
2913
2932
|
invoice: "OBJECT",
|
|
2914
2933
|
automatic_payment_methods: {
|
|
2915
|
-
|
|
2934
|
+
allowRedirects: "String",
|
|
2916
2935
|
enabled: "Boolean"
|
|
2917
2936
|
},
|
|
2918
2937
|
amount_details: {
|
|
2919
|
-
|
|
2938
|
+
discountAmount: "Float",
|
|
2920
2939
|
shipping: {
|
|
2921
|
-
amount: "
|
|
2922
|
-
|
|
2923
|
-
|
|
2940
|
+
amount: "Float",
|
|
2941
|
+
fromPostalCode: "String",
|
|
2942
|
+
toPostalCode: "String"
|
|
2924
2943
|
},
|
|
2925
|
-
tax: {
|
|
2926
|
-
tip: { amount: "
|
|
2944
|
+
tax: { totalTaxAmount: "Float" },
|
|
2945
|
+
tip: { amount: "Float" }
|
|
2927
2946
|
}
|
|
2928
2947
|
},
|
|
2929
2948
|
paymentMethods: {
|
|
@@ -2940,7 +2959,7 @@ var defaultTypes = {
|
|
|
2940
2959
|
country: "String",
|
|
2941
2960
|
line1: "String",
|
|
2942
2961
|
line2: "String",
|
|
2943
|
-
|
|
2962
|
+
postalCode: "String",
|
|
2944
2963
|
state: "String"
|
|
2945
2964
|
},
|
|
2946
2965
|
email: "String",
|
|
@@ -2953,13 +2972,13 @@ var defaultTypes = {
|
|
|
2953
2972
|
country: "String",
|
|
2954
2973
|
line1: "String",
|
|
2955
2974
|
line2: "String",
|
|
2956
|
-
|
|
2975
|
+
postalCode: "String",
|
|
2957
2976
|
state: "String"
|
|
2958
2977
|
},
|
|
2959
2978
|
carrier: "String",
|
|
2960
2979
|
name: "String",
|
|
2961
2980
|
phone: "String",
|
|
2962
|
-
|
|
2981
|
+
trackingNumber: "String"
|
|
2963
2982
|
},
|
|
2964
2983
|
refunds: {
|
|
2965
2984
|
name: "String",
|
|
@@ -2987,39 +3006,39 @@ var defaultTypes = {
|
|
|
2987
3006
|
isChargeRefundable: "Boolean",
|
|
2988
3007
|
livemode: "Boolean",
|
|
2989
3008
|
evidence: {
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3009
|
+
accessActivityLog: "String",
|
|
3010
|
+
billingAddress: "String",
|
|
3011
|
+
cancellationPolicy: "String",
|
|
3012
|
+
cancellationPolicyDisclosure: "String",
|
|
3013
|
+
cancellationRebuttal: "String",
|
|
3014
|
+
customerCommunication: "String",
|
|
3015
|
+
customerEmailAddress: "String",
|
|
3016
|
+
customerName: "String",
|
|
3017
|
+
customerPurchaseIp: "String",
|
|
3018
|
+
customerSignature: "String",
|
|
3019
|
+
duplicateChargeDocumentation: "String",
|
|
3020
|
+
duplicateChargeExplanation: "String",
|
|
3021
|
+
duplicateChargeId: "String",
|
|
3022
|
+
productDescription: "String",
|
|
3004
3023
|
receipt: "String",
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3024
|
+
refundPolicy: "String",
|
|
3025
|
+
refundPolicyDisclosure: "String",
|
|
3026
|
+
refundRefusalExplanation: "String",
|
|
3027
|
+
serviceDate: "String",
|
|
3028
|
+
serviceDocumentation: "String",
|
|
3029
|
+
shippingAddress: "String",
|
|
3030
|
+
shippingCarrier: "String",
|
|
3031
|
+
shippingDate: "String",
|
|
3032
|
+
shippingDocumentation: "String",
|
|
3033
|
+
shippingTrackingNumber: "String",
|
|
3034
|
+
uncategorizedFile: "String",
|
|
3035
|
+
uncategorizedText: "String"
|
|
3017
3036
|
},
|
|
3018
3037
|
evidenceDetails: {
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3038
|
+
dueBy: "DateTime",
|
|
3039
|
+
hasEvidence: "Boolean",
|
|
3040
|
+
pastDue: "Boolean",
|
|
3041
|
+
submissionCount: "Int"
|
|
3023
3042
|
}
|
|
3024
3043
|
},
|
|
3025
3044
|
pools: {
|
|
@@ -3031,7 +3050,7 @@ var defaultTypes = {
|
|
|
3031
3050
|
account: "OBJECT",
|
|
3032
3051
|
type: "String"
|
|
3033
3052
|
},
|
|
3034
|
-
|
|
3053
|
+
activties: {
|
|
3035
3054
|
label: "String",
|
|
3036
3055
|
value: "String",
|
|
3037
3056
|
modelName: "String",
|
|
@@ -3039,30 +3058,36 @@ var defaultTypes = {
|
|
|
3039
3058
|
},
|
|
3040
3059
|
reports: {
|
|
3041
3060
|
label: "String",
|
|
3061
|
+
prompt: "String",
|
|
3042
3062
|
star: "Boolean",
|
|
3043
3063
|
chartType: "String",
|
|
3044
3064
|
frequency: "String",
|
|
3045
3065
|
frequencyField: "String",
|
|
3046
3066
|
modelName: "String",
|
|
3047
3067
|
fieldName: "String",
|
|
3068
|
+
fieldType: "String",
|
|
3048
3069
|
operationType: "String",
|
|
3049
3070
|
calculation: "String",
|
|
3050
3071
|
calculationValue: "String"
|
|
3051
3072
|
},
|
|
3052
3073
|
lists: {
|
|
3053
3074
|
label: "String",
|
|
3075
|
+
prompt: "String",
|
|
3054
3076
|
star: "Boolean",
|
|
3055
3077
|
dynamic: "Boolean",
|
|
3056
3078
|
modelName: "String",
|
|
3057
3079
|
fieldName: "String",
|
|
3080
|
+
fieldType: "String",
|
|
3058
3081
|
calculation: "String",
|
|
3059
3082
|
calculationValue: "String"
|
|
3060
3083
|
},
|
|
3061
3084
|
statistics: {
|
|
3062
3085
|
label: "String",
|
|
3086
|
+
prompt: "String",
|
|
3063
3087
|
star: "Boolean",
|
|
3064
3088
|
modelName: "String",
|
|
3065
3089
|
fieldName: "String",
|
|
3090
|
+
fieldType: "String",
|
|
3066
3091
|
operationType: "String",
|
|
3067
3092
|
calculation: "String",
|
|
3068
3093
|
calculationValue: "String"
|
|
@@ -3075,6 +3100,7 @@ var defaultTypes = {
|
|
|
3075
3100
|
country: "String",
|
|
3076
3101
|
countryCode: "String",
|
|
3077
3102
|
postalCode: "String",
|
|
3103
|
+
addressType: "String",
|
|
3078
3104
|
latitude: "Float",
|
|
3079
3105
|
longitude: "Float"
|
|
3080
3106
|
},
|
|
@@ -3093,6 +3119,7 @@ var defaultTypes = {
|
|
|
3093
3119
|
title: "String",
|
|
3094
3120
|
description: "String",
|
|
3095
3121
|
category: "String",
|
|
3122
|
+
type: "String",
|
|
3096
3123
|
key: "String",
|
|
3097
3124
|
secret: "String",
|
|
3098
3125
|
logo: "String",
|