@verma-consulting/common-library 0.1.60 → 0.1.61
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 +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +45 -43
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -43
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1988,13 +1988,14 @@ declare enum UserSettingType {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
declare enum FormFieldType {
|
|
1990
1990
|
TextField = "TextField",
|
|
1991
|
+
Paragraph = "Paragraph",
|
|
1992
|
+
Number = "Number",
|
|
1991
1993
|
SingleSelect = "SingleSelect",
|
|
1992
1994
|
MultiSelect = "MultiSelect",
|
|
1993
|
-
Number = "Number",
|
|
1994
1995
|
Date = "Date",
|
|
1996
|
+
Time = "Time",
|
|
1995
1997
|
Switch = "Switch",
|
|
1996
1998
|
Checkbox = "Checkbox",
|
|
1997
|
-
Time = "Time",
|
|
1998
1999
|
Currency = "Currency",
|
|
1999
2000
|
Percentage = "Percentage",
|
|
2000
2001
|
Color = "Color",
|
|
@@ -2337,6 +2338,7 @@ declare const constants: {
|
|
|
2337
2338
|
OBJECT: string;
|
|
2338
2339
|
ENUM: string;
|
|
2339
2340
|
String: string;
|
|
2341
|
+
Paragraph: string;
|
|
2340
2342
|
Float: string;
|
|
2341
2343
|
Int: string;
|
|
2342
2344
|
Boolean: string;
|
|
@@ -3608,7 +3610,7 @@ declare const defaultTypes: {
|
|
|
3608
3610
|
name: string;
|
|
3609
3611
|
description: string;
|
|
3610
3612
|
status: string;
|
|
3611
|
-
|
|
3613
|
+
paymentstatus: string;
|
|
3612
3614
|
currency: string;
|
|
3613
3615
|
receiptEmail: string;
|
|
3614
3616
|
receiptNumber: string;
|
|
@@ -3695,7 +3697,7 @@ declare const defaultTypes: {
|
|
|
3695
3697
|
currency: string;
|
|
3696
3698
|
instructionsEmail: string;
|
|
3697
3699
|
receiptNumber: string;
|
|
3698
|
-
|
|
3700
|
+
refundstatus: string;
|
|
3699
3701
|
reason: string;
|
|
3700
3702
|
pendingReason: string;
|
|
3701
3703
|
failureReason: string;
|
|
@@ -3708,7 +3710,7 @@ declare const defaultTypes: {
|
|
|
3708
3710
|
description: string;
|
|
3709
3711
|
status: string;
|
|
3710
3712
|
currency: string;
|
|
3711
|
-
|
|
3713
|
+
disputestatus: string;
|
|
3712
3714
|
reason: string;
|
|
3713
3715
|
amount: string;
|
|
3714
3716
|
isChargeRefundable: string;
|
|
@@ -3727,7 +3729,7 @@ declare const defaultTypes: {
|
|
|
3727
3729
|
duplicateChargeDocumentation: string;
|
|
3728
3730
|
duplicateChargeExplanation: string;
|
|
3729
3731
|
duplicateChargeId: string;
|
|
3730
|
-
|
|
3732
|
+
productdescription: string;
|
|
3731
3733
|
receipt: string;
|
|
3732
3734
|
refundPolicy: string;
|
|
3733
3735
|
refundPolicyDisclosure: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1988,13 +1988,14 @@ declare enum UserSettingType {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
declare enum FormFieldType {
|
|
1990
1990
|
TextField = "TextField",
|
|
1991
|
+
Paragraph = "Paragraph",
|
|
1992
|
+
Number = "Number",
|
|
1991
1993
|
SingleSelect = "SingleSelect",
|
|
1992
1994
|
MultiSelect = "MultiSelect",
|
|
1993
|
-
Number = "Number",
|
|
1994
1995
|
Date = "Date",
|
|
1996
|
+
Time = "Time",
|
|
1995
1997
|
Switch = "Switch",
|
|
1996
1998
|
Checkbox = "Checkbox",
|
|
1997
|
-
Time = "Time",
|
|
1998
1999
|
Currency = "Currency",
|
|
1999
2000
|
Percentage = "Percentage",
|
|
2000
2001
|
Color = "Color",
|
|
@@ -2337,6 +2338,7 @@ declare const constants: {
|
|
|
2337
2338
|
OBJECT: string;
|
|
2338
2339
|
ENUM: string;
|
|
2339
2340
|
String: string;
|
|
2341
|
+
Paragraph: string;
|
|
2340
2342
|
Float: string;
|
|
2341
2343
|
Int: string;
|
|
2342
2344
|
Boolean: string;
|
|
@@ -3608,7 +3610,7 @@ declare const defaultTypes: {
|
|
|
3608
3610
|
name: string;
|
|
3609
3611
|
description: string;
|
|
3610
3612
|
status: string;
|
|
3611
|
-
|
|
3613
|
+
paymentstatus: string;
|
|
3612
3614
|
currency: string;
|
|
3613
3615
|
receiptEmail: string;
|
|
3614
3616
|
receiptNumber: string;
|
|
@@ -3695,7 +3697,7 @@ declare const defaultTypes: {
|
|
|
3695
3697
|
currency: string;
|
|
3696
3698
|
instructionsEmail: string;
|
|
3697
3699
|
receiptNumber: string;
|
|
3698
|
-
|
|
3700
|
+
refundstatus: string;
|
|
3699
3701
|
reason: string;
|
|
3700
3702
|
pendingReason: string;
|
|
3701
3703
|
failureReason: string;
|
|
@@ -3708,7 +3710,7 @@ declare const defaultTypes: {
|
|
|
3708
3710
|
description: string;
|
|
3709
3711
|
status: string;
|
|
3710
3712
|
currency: string;
|
|
3711
|
-
|
|
3713
|
+
disputestatus: string;
|
|
3712
3714
|
reason: string;
|
|
3713
3715
|
amount: string;
|
|
3714
3716
|
isChargeRefundable: string;
|
|
@@ -3727,7 +3729,7 @@ declare const defaultTypes: {
|
|
|
3727
3729
|
duplicateChargeDocumentation: string;
|
|
3728
3730
|
duplicateChargeExplanation: string;
|
|
3729
3731
|
duplicateChargeId: string;
|
|
3730
|
-
|
|
3732
|
+
productdescription: string;
|
|
3731
3733
|
receipt: string;
|
|
3732
3734
|
refundPolicy: string;
|
|
3733
3735
|
refundPolicyDisclosure: string;
|
package/dist/index.js
CHANGED
|
@@ -729,13 +729,14 @@ var UserSettingType = /* @__PURE__ */ ((UserSettingType2) => {
|
|
|
729
729
|
})(UserSettingType || {});
|
|
730
730
|
var FormFieldType = /* @__PURE__ */ ((FormFieldType2) => {
|
|
731
731
|
FormFieldType2["TextField"] = "TextField";
|
|
732
|
+
FormFieldType2["Paragraph"] = "Paragraph";
|
|
733
|
+
FormFieldType2["Number"] = "Number";
|
|
732
734
|
FormFieldType2["SingleSelect"] = "SingleSelect";
|
|
733
735
|
FormFieldType2["MultiSelect"] = "MultiSelect";
|
|
734
|
-
FormFieldType2["Number"] = "Number";
|
|
735
736
|
FormFieldType2["Date"] = "Date";
|
|
737
|
+
FormFieldType2["Time"] = "Time";
|
|
736
738
|
FormFieldType2["Switch"] = "Switch";
|
|
737
739
|
FormFieldType2["Checkbox"] = "Checkbox";
|
|
738
|
-
FormFieldType2["Time"] = "Time";
|
|
739
740
|
FormFieldType2["Currency"] = "Currency";
|
|
740
741
|
FormFieldType2["Percentage"] = "Percentage";
|
|
741
742
|
FormFieldType2["Color"] = "Color";
|
|
@@ -1146,6 +1147,7 @@ var constants = {
|
|
|
1146
1147
|
OBJECT: "Single Select",
|
|
1147
1148
|
ENUM: "Single Select",
|
|
1148
1149
|
String: "Text Field",
|
|
1150
|
+
Paragraph: "Paragraph",
|
|
1149
1151
|
Float: "Number",
|
|
1150
1152
|
Int: "Number",
|
|
1151
1153
|
Boolean: "Checkbox",
|
|
@@ -2767,7 +2769,7 @@ var defaultTypes = {
|
|
|
2767
2769
|
lastName: "String",
|
|
2768
2770
|
email: "String",
|
|
2769
2771
|
role: "String",
|
|
2770
|
-
status: "
|
|
2772
|
+
status: "ENUM",
|
|
2771
2773
|
userName: "String",
|
|
2772
2774
|
jobTitle: "String",
|
|
2773
2775
|
password: "String",
|
|
@@ -2789,8 +2791,8 @@ var defaultTypes = {
|
|
|
2789
2791
|
},
|
|
2790
2792
|
clients: {
|
|
2791
2793
|
name: "String",
|
|
2792
|
-
description: "
|
|
2793
|
-
status: "
|
|
2794
|
+
description: "Paragraph",
|
|
2795
|
+
status: "ENUM",
|
|
2794
2796
|
email: "String",
|
|
2795
2797
|
individualName: "String",
|
|
2796
2798
|
businessName: "String",
|
|
@@ -2823,8 +2825,8 @@ var defaultTypes = {
|
|
|
2823
2825
|
},
|
|
2824
2826
|
tasks: {
|
|
2825
2827
|
name: "String",
|
|
2826
|
-
description: "
|
|
2827
|
-
status: "
|
|
2828
|
+
description: "Paragraph",
|
|
2829
|
+
status: "ENUM",
|
|
2828
2830
|
priority: "String",
|
|
2829
2831
|
dueDate: "Date",
|
|
2830
2832
|
reminder: "Boolean",
|
|
@@ -2838,8 +2840,8 @@ var defaultTypes = {
|
|
|
2838
2840
|
},
|
|
2839
2841
|
products: {
|
|
2840
2842
|
name: "String",
|
|
2841
|
-
description: "
|
|
2842
|
-
status: "
|
|
2843
|
+
description: "Paragraph",
|
|
2844
|
+
status: "ENUM",
|
|
2843
2845
|
productType: "String",
|
|
2844
2846
|
client: "OBJECT",
|
|
2845
2847
|
inventory: "OBJECT",
|
|
@@ -2882,16 +2884,16 @@ var defaultTypes = {
|
|
|
2882
2884
|
},
|
|
2883
2885
|
inventories: {
|
|
2884
2886
|
name: "String",
|
|
2885
|
-
description: "
|
|
2886
|
-
status: "
|
|
2887
|
+
description: "Paragraph",
|
|
2888
|
+
status: "ENUM",
|
|
2887
2889
|
amount: "Int",
|
|
2888
2890
|
quantity: "Int"
|
|
2889
2891
|
},
|
|
2890
2892
|
invoices: {
|
|
2891
2893
|
name: "String",
|
|
2892
|
-
description: "
|
|
2894
|
+
description: "Paragraph",
|
|
2893
2895
|
footer: "String",
|
|
2894
|
-
status: "
|
|
2896
|
+
status: "ENUM",
|
|
2895
2897
|
currency: "String",
|
|
2896
2898
|
accountCountry: "String",
|
|
2897
2899
|
statementDescriptor: "String",
|
|
@@ -2932,8 +2934,8 @@ var defaultTypes = {
|
|
|
2932
2934
|
},
|
|
2933
2935
|
contacts: {
|
|
2934
2936
|
name: "String",
|
|
2935
|
-
description: "
|
|
2936
|
-
status: "
|
|
2937
|
+
description: "Paragraph",
|
|
2938
|
+
status: "ENUM",
|
|
2937
2939
|
email: "String",
|
|
2938
2940
|
phone: "String",
|
|
2939
2941
|
role: "String",
|
|
@@ -2944,16 +2946,16 @@ var defaultTypes = {
|
|
|
2944
2946
|
},
|
|
2945
2947
|
engagements: {
|
|
2946
2948
|
name: "String",
|
|
2947
|
-
description: "
|
|
2948
|
-
status: "
|
|
2949
|
+
description: "Paragraph",
|
|
2950
|
+
status: "ENUM",
|
|
2949
2951
|
engagementDate: "Date",
|
|
2950
2952
|
client: "OBJECT",
|
|
2951
2953
|
contact: "OBJECT"
|
|
2952
2954
|
},
|
|
2953
2955
|
campaigns: {
|
|
2954
2956
|
name: "String",
|
|
2955
|
-
description: "
|
|
2956
|
-
status: "
|
|
2957
|
+
description: "Paragraph",
|
|
2958
|
+
status: "ENUM",
|
|
2957
2959
|
priority: "String",
|
|
2958
2960
|
startDate: "Date",
|
|
2959
2961
|
endDate: "Date",
|
|
@@ -2969,8 +2971,8 @@ var defaultTypes = {
|
|
|
2969
2971
|
},
|
|
2970
2972
|
leads: {
|
|
2971
2973
|
name: "String",
|
|
2972
|
-
description: "
|
|
2973
|
-
status: "
|
|
2974
|
+
description: "Paragraph",
|
|
2975
|
+
status: "ENUM",
|
|
2974
2976
|
leadType: "String",
|
|
2975
2977
|
source: "String",
|
|
2976
2978
|
amount: "Int",
|
|
@@ -2984,8 +2986,8 @@ var defaultTypes = {
|
|
|
2984
2986
|
},
|
|
2985
2987
|
deals: {
|
|
2986
2988
|
name: "String",
|
|
2987
|
-
description: "
|
|
2988
|
-
status: "
|
|
2989
|
+
description: "Paragraph",
|
|
2990
|
+
status: "ENUM",
|
|
2989
2991
|
dealType: "String",
|
|
2990
2992
|
source: "String",
|
|
2991
2993
|
amount: "Int",
|
|
@@ -2999,8 +3001,8 @@ var defaultTypes = {
|
|
|
2999
3001
|
},
|
|
3000
3002
|
subscriptions: {
|
|
3001
3003
|
name: "String",
|
|
3002
|
-
description: "
|
|
3003
|
-
status: "
|
|
3004
|
+
description: "Paragraph",
|
|
3005
|
+
status: "ENUM",
|
|
3004
3006
|
trialStart: "DateTime",
|
|
3005
3007
|
trialEnd: "DateTime",
|
|
3006
3008
|
startDate: "DateTime",
|
|
@@ -3029,7 +3031,7 @@ var defaultTypes = {
|
|
|
3029
3031
|
account: "OBJECT",
|
|
3030
3032
|
type: "String"
|
|
3031
3033
|
},
|
|
3032
|
-
status: "
|
|
3034
|
+
status: "ENUM"
|
|
3033
3035
|
},
|
|
3034
3036
|
pauseCollection: {
|
|
3035
3037
|
behavior: "String",
|
|
@@ -3047,9 +3049,9 @@ var defaultTypes = {
|
|
|
3047
3049
|
},
|
|
3048
3050
|
payments: {
|
|
3049
3051
|
name: "String",
|
|
3050
|
-
description: "
|
|
3051
|
-
status: "
|
|
3052
|
-
|
|
3052
|
+
description: "Paragraph",
|
|
3053
|
+
status: "ENUM",
|
|
3054
|
+
paymentstatus: "ENUM",
|
|
3053
3055
|
currency: "String",
|
|
3054
3056
|
receiptEmail: "String",
|
|
3055
3057
|
receiptNumber: "String",
|
|
@@ -3092,8 +3094,8 @@ var defaultTypes = {
|
|
|
3092
3094
|
},
|
|
3093
3095
|
paymentMethods: {
|
|
3094
3096
|
name: "String",
|
|
3095
|
-
description: "
|
|
3096
|
-
status: "
|
|
3097
|
+
description: "Paragraph",
|
|
3098
|
+
status: "ENUM",
|
|
3097
3099
|
paymentMethodType: "String",
|
|
3098
3100
|
allowRedisplay: "String",
|
|
3099
3101
|
livemode: "Boolean"
|
|
@@ -3127,12 +3129,12 @@ var defaultTypes = {
|
|
|
3127
3129
|
},
|
|
3128
3130
|
refunds: {
|
|
3129
3131
|
name: "String",
|
|
3130
|
-
description: "
|
|
3131
|
-
status: "
|
|
3132
|
+
description: "Paragraph",
|
|
3133
|
+
status: "ENUM",
|
|
3132
3134
|
currency: "String",
|
|
3133
3135
|
instructionsEmail: "String",
|
|
3134
3136
|
receiptNumber: "String",
|
|
3135
|
-
|
|
3137
|
+
refundstatus: "ENUM",
|
|
3136
3138
|
reason: "String",
|
|
3137
3139
|
pendingReason: "String",
|
|
3138
3140
|
failureReason: "String",
|
|
@@ -3142,10 +3144,10 @@ var defaultTypes = {
|
|
|
3142
3144
|
},
|
|
3143
3145
|
disputes: {
|
|
3144
3146
|
name: "String",
|
|
3145
|
-
description: "
|
|
3146
|
-
status: "
|
|
3147
|
+
description: "Paragraph",
|
|
3148
|
+
status: "ENUM",
|
|
3147
3149
|
currency: "String",
|
|
3148
|
-
|
|
3150
|
+
disputestatus: "ENUM",
|
|
3149
3151
|
reason: "String",
|
|
3150
3152
|
amount: "Int",
|
|
3151
3153
|
isChargeRefundable: "Boolean",
|
|
@@ -3164,7 +3166,7 @@ var defaultTypes = {
|
|
|
3164
3166
|
duplicateChargeDocumentation: "String",
|
|
3165
3167
|
duplicateChargeExplanation: "String",
|
|
3166
3168
|
duplicateChargeId: "String",
|
|
3167
|
-
|
|
3169
|
+
productdescription: "Paragraph",
|
|
3168
3170
|
receipt: "String",
|
|
3169
3171
|
refundPolicy: "String",
|
|
3170
3172
|
refundPolicyDisclosure: "String",
|
|
@@ -3188,8 +3190,8 @@ var defaultTypes = {
|
|
|
3188
3190
|
},
|
|
3189
3191
|
pools: {
|
|
3190
3192
|
name: "String",
|
|
3191
|
-
description: "
|
|
3192
|
-
status: "
|
|
3193
|
+
description: "Paragraph",
|
|
3194
|
+
status: "ENUM"
|
|
3193
3195
|
},
|
|
3194
3196
|
issuer: {
|
|
3195
3197
|
account: "OBJECT",
|
|
@@ -3262,7 +3264,7 @@ var defaultTypes = {
|
|
|
3262
3264
|
integrations: {
|
|
3263
3265
|
name: "String",
|
|
3264
3266
|
title: "String",
|
|
3265
|
-
description: "
|
|
3267
|
+
description: "Paragraph",
|
|
3266
3268
|
category: "String",
|
|
3267
3269
|
type: "String",
|
|
3268
3270
|
key: "String",
|
|
@@ -3278,12 +3280,12 @@ var defaultTypes = {
|
|
|
3278
3280
|
},
|
|
3279
3281
|
operations: {
|
|
3280
3282
|
label: "String",
|
|
3281
|
-
description: "
|
|
3283
|
+
description: "Paragraph",
|
|
3282
3284
|
star: "Boolean"
|
|
3283
3285
|
},
|
|
3284
3286
|
prompts: {
|
|
3285
3287
|
label: "String",
|
|
3286
|
-
description: "
|
|
3288
|
+
description: "Paragraph",
|
|
3287
3289
|
active: "Boolean"
|
|
3288
3290
|
}
|
|
3289
3291
|
};
|