@verma-consulting/common-library 0.1.59 → 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 +9 -6
- package/dist/index.d.ts +9 -6
- package/dist/index.js +48 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -45
- 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,9 +2338,11 @@ 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;
|
|
2345
|
+
DateTime: string;
|
|
2343
2346
|
};
|
|
2344
2347
|
STATIC_STORAGE_BUCKET_FOLDERS: {
|
|
2345
2348
|
avatars: string;
|
|
@@ -3607,7 +3610,7 @@ declare const defaultTypes: {
|
|
|
3607
3610
|
name: string;
|
|
3608
3611
|
description: string;
|
|
3609
3612
|
status: string;
|
|
3610
|
-
|
|
3613
|
+
paymentstatus: string;
|
|
3611
3614
|
currency: string;
|
|
3612
3615
|
receiptEmail: string;
|
|
3613
3616
|
receiptNumber: string;
|
|
@@ -3694,7 +3697,7 @@ declare const defaultTypes: {
|
|
|
3694
3697
|
currency: string;
|
|
3695
3698
|
instructionsEmail: string;
|
|
3696
3699
|
receiptNumber: string;
|
|
3697
|
-
|
|
3700
|
+
refundstatus: string;
|
|
3698
3701
|
reason: string;
|
|
3699
3702
|
pendingReason: string;
|
|
3700
3703
|
failureReason: string;
|
|
@@ -3707,7 +3710,7 @@ declare const defaultTypes: {
|
|
|
3707
3710
|
description: string;
|
|
3708
3711
|
status: string;
|
|
3709
3712
|
currency: string;
|
|
3710
|
-
|
|
3713
|
+
disputestatus: string;
|
|
3711
3714
|
reason: string;
|
|
3712
3715
|
amount: string;
|
|
3713
3716
|
isChargeRefundable: string;
|
|
@@ -3726,7 +3729,7 @@ declare const defaultTypes: {
|
|
|
3726
3729
|
duplicateChargeDocumentation: string;
|
|
3727
3730
|
duplicateChargeExplanation: string;
|
|
3728
3731
|
duplicateChargeId: string;
|
|
3729
|
-
|
|
3732
|
+
productdescription: string;
|
|
3730
3733
|
receipt: string;
|
|
3731
3734
|
refundPolicy: string;
|
|
3732
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,9 +2338,11 @@ 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;
|
|
2345
|
+
DateTime: string;
|
|
2343
2346
|
};
|
|
2344
2347
|
STATIC_STORAGE_BUCKET_FOLDERS: {
|
|
2345
2348
|
avatars: string;
|
|
@@ -3607,7 +3610,7 @@ declare const defaultTypes: {
|
|
|
3607
3610
|
name: string;
|
|
3608
3611
|
description: string;
|
|
3609
3612
|
status: string;
|
|
3610
|
-
|
|
3613
|
+
paymentstatus: string;
|
|
3611
3614
|
currency: string;
|
|
3612
3615
|
receiptEmail: string;
|
|
3613
3616
|
receiptNumber: string;
|
|
@@ -3694,7 +3697,7 @@ declare const defaultTypes: {
|
|
|
3694
3697
|
currency: string;
|
|
3695
3698
|
instructionsEmail: string;
|
|
3696
3699
|
receiptNumber: string;
|
|
3697
|
-
|
|
3700
|
+
refundstatus: string;
|
|
3698
3701
|
reason: string;
|
|
3699
3702
|
pendingReason: string;
|
|
3700
3703
|
failureReason: string;
|
|
@@ -3707,7 +3710,7 @@ declare const defaultTypes: {
|
|
|
3707
3710
|
description: string;
|
|
3708
3711
|
status: string;
|
|
3709
3712
|
currency: string;
|
|
3710
|
-
|
|
3713
|
+
disputestatus: string;
|
|
3711
3714
|
reason: string;
|
|
3712
3715
|
amount: string;
|
|
3713
3716
|
isChargeRefundable: string;
|
|
@@ -3726,7 +3729,7 @@ declare const defaultTypes: {
|
|
|
3726
3729
|
duplicateChargeDocumentation: string;
|
|
3727
3730
|
duplicateChargeExplanation: string;
|
|
3728
3731
|
duplicateChargeId: string;
|
|
3729
|
-
|
|
3732
|
+
productdescription: string;
|
|
3730
3733
|
receipt: string;
|
|
3731
3734
|
refundPolicy: string;
|
|
3732
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";
|
|
@@ -1142,13 +1143,15 @@ var constants = {
|
|
|
1142
1143
|
Boolean: "Boolean"
|
|
1143
1144
|
},
|
|
1144
1145
|
GQL_FIELD_MAPPER: {
|
|
1145
|
-
LIST: "
|
|
1146
|
+
LIST: "Multi Select",
|
|
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
|
-
Boolean: "Checkbox"
|
|
1153
|
+
Boolean: "Checkbox",
|
|
1154
|
+
DateTime: "Date"
|
|
1152
1155
|
},
|
|
1153
1156
|
STATIC_STORAGE_BUCKET_FOLDERS: {
|
|
1154
1157
|
avatars: "avatars",
|
|
@@ -2766,7 +2769,7 @@ var defaultTypes = {
|
|
|
2766
2769
|
lastName: "String",
|
|
2767
2770
|
email: "String",
|
|
2768
2771
|
role: "String",
|
|
2769
|
-
status: "
|
|
2772
|
+
status: "ENUM",
|
|
2770
2773
|
userName: "String",
|
|
2771
2774
|
jobTitle: "String",
|
|
2772
2775
|
password: "String",
|
|
@@ -2788,8 +2791,8 @@ var defaultTypes = {
|
|
|
2788
2791
|
},
|
|
2789
2792
|
clients: {
|
|
2790
2793
|
name: "String",
|
|
2791
|
-
description: "
|
|
2792
|
-
status: "
|
|
2794
|
+
description: "Paragraph",
|
|
2795
|
+
status: "ENUM",
|
|
2793
2796
|
email: "String",
|
|
2794
2797
|
individualName: "String",
|
|
2795
2798
|
businessName: "String",
|
|
@@ -2822,8 +2825,8 @@ var defaultTypes = {
|
|
|
2822
2825
|
},
|
|
2823
2826
|
tasks: {
|
|
2824
2827
|
name: "String",
|
|
2825
|
-
description: "
|
|
2826
|
-
status: "
|
|
2828
|
+
description: "Paragraph",
|
|
2829
|
+
status: "ENUM",
|
|
2827
2830
|
priority: "String",
|
|
2828
2831
|
dueDate: "Date",
|
|
2829
2832
|
reminder: "Boolean",
|
|
@@ -2837,8 +2840,8 @@ var defaultTypes = {
|
|
|
2837
2840
|
},
|
|
2838
2841
|
products: {
|
|
2839
2842
|
name: "String",
|
|
2840
|
-
description: "
|
|
2841
|
-
status: "
|
|
2843
|
+
description: "Paragraph",
|
|
2844
|
+
status: "ENUM",
|
|
2842
2845
|
productType: "String",
|
|
2843
2846
|
client: "OBJECT",
|
|
2844
2847
|
inventory: "OBJECT",
|
|
@@ -2881,16 +2884,16 @@ var defaultTypes = {
|
|
|
2881
2884
|
},
|
|
2882
2885
|
inventories: {
|
|
2883
2886
|
name: "String",
|
|
2884
|
-
description: "
|
|
2885
|
-
status: "
|
|
2887
|
+
description: "Paragraph",
|
|
2888
|
+
status: "ENUM",
|
|
2886
2889
|
amount: "Int",
|
|
2887
2890
|
quantity: "Int"
|
|
2888
2891
|
},
|
|
2889
2892
|
invoices: {
|
|
2890
2893
|
name: "String",
|
|
2891
|
-
description: "
|
|
2894
|
+
description: "Paragraph",
|
|
2892
2895
|
footer: "String",
|
|
2893
|
-
status: "
|
|
2896
|
+
status: "ENUM",
|
|
2894
2897
|
currency: "String",
|
|
2895
2898
|
accountCountry: "String",
|
|
2896
2899
|
statementDescriptor: "String",
|
|
@@ -2931,8 +2934,8 @@ var defaultTypes = {
|
|
|
2931
2934
|
},
|
|
2932
2935
|
contacts: {
|
|
2933
2936
|
name: "String",
|
|
2934
|
-
description: "
|
|
2935
|
-
status: "
|
|
2937
|
+
description: "Paragraph",
|
|
2938
|
+
status: "ENUM",
|
|
2936
2939
|
email: "String",
|
|
2937
2940
|
phone: "String",
|
|
2938
2941
|
role: "String",
|
|
@@ -2943,16 +2946,16 @@ var defaultTypes = {
|
|
|
2943
2946
|
},
|
|
2944
2947
|
engagements: {
|
|
2945
2948
|
name: "String",
|
|
2946
|
-
description: "
|
|
2947
|
-
status: "
|
|
2949
|
+
description: "Paragraph",
|
|
2950
|
+
status: "ENUM",
|
|
2948
2951
|
engagementDate: "Date",
|
|
2949
2952
|
client: "OBJECT",
|
|
2950
2953
|
contact: "OBJECT"
|
|
2951
2954
|
},
|
|
2952
2955
|
campaigns: {
|
|
2953
2956
|
name: "String",
|
|
2954
|
-
description: "
|
|
2955
|
-
status: "
|
|
2957
|
+
description: "Paragraph",
|
|
2958
|
+
status: "ENUM",
|
|
2956
2959
|
priority: "String",
|
|
2957
2960
|
startDate: "Date",
|
|
2958
2961
|
endDate: "Date",
|
|
@@ -2968,8 +2971,8 @@ var defaultTypes = {
|
|
|
2968
2971
|
},
|
|
2969
2972
|
leads: {
|
|
2970
2973
|
name: "String",
|
|
2971
|
-
description: "
|
|
2972
|
-
status: "
|
|
2974
|
+
description: "Paragraph",
|
|
2975
|
+
status: "ENUM",
|
|
2973
2976
|
leadType: "String",
|
|
2974
2977
|
source: "String",
|
|
2975
2978
|
amount: "Int",
|
|
@@ -2983,8 +2986,8 @@ var defaultTypes = {
|
|
|
2983
2986
|
},
|
|
2984
2987
|
deals: {
|
|
2985
2988
|
name: "String",
|
|
2986
|
-
description: "
|
|
2987
|
-
status: "
|
|
2989
|
+
description: "Paragraph",
|
|
2990
|
+
status: "ENUM",
|
|
2988
2991
|
dealType: "String",
|
|
2989
2992
|
source: "String",
|
|
2990
2993
|
amount: "Int",
|
|
@@ -2998,8 +3001,8 @@ var defaultTypes = {
|
|
|
2998
3001
|
},
|
|
2999
3002
|
subscriptions: {
|
|
3000
3003
|
name: "String",
|
|
3001
|
-
description: "
|
|
3002
|
-
status: "
|
|
3004
|
+
description: "Paragraph",
|
|
3005
|
+
status: "ENUM",
|
|
3003
3006
|
trialStart: "DateTime",
|
|
3004
3007
|
trialEnd: "DateTime",
|
|
3005
3008
|
startDate: "DateTime",
|
|
@@ -3028,7 +3031,7 @@ var defaultTypes = {
|
|
|
3028
3031
|
account: "OBJECT",
|
|
3029
3032
|
type: "String"
|
|
3030
3033
|
},
|
|
3031
|
-
status: "
|
|
3034
|
+
status: "ENUM"
|
|
3032
3035
|
},
|
|
3033
3036
|
pauseCollection: {
|
|
3034
3037
|
behavior: "String",
|
|
@@ -3046,9 +3049,9 @@ var defaultTypes = {
|
|
|
3046
3049
|
},
|
|
3047
3050
|
payments: {
|
|
3048
3051
|
name: "String",
|
|
3049
|
-
description: "
|
|
3050
|
-
status: "
|
|
3051
|
-
|
|
3052
|
+
description: "Paragraph",
|
|
3053
|
+
status: "ENUM",
|
|
3054
|
+
paymentstatus: "ENUM",
|
|
3052
3055
|
currency: "String",
|
|
3053
3056
|
receiptEmail: "String",
|
|
3054
3057
|
receiptNumber: "String",
|
|
@@ -3091,8 +3094,8 @@ var defaultTypes = {
|
|
|
3091
3094
|
},
|
|
3092
3095
|
paymentMethods: {
|
|
3093
3096
|
name: "String",
|
|
3094
|
-
description: "
|
|
3095
|
-
status: "
|
|
3097
|
+
description: "Paragraph",
|
|
3098
|
+
status: "ENUM",
|
|
3096
3099
|
paymentMethodType: "String",
|
|
3097
3100
|
allowRedisplay: "String",
|
|
3098
3101
|
livemode: "Boolean"
|
|
@@ -3126,12 +3129,12 @@ var defaultTypes = {
|
|
|
3126
3129
|
},
|
|
3127
3130
|
refunds: {
|
|
3128
3131
|
name: "String",
|
|
3129
|
-
description: "
|
|
3130
|
-
status: "
|
|
3132
|
+
description: "Paragraph",
|
|
3133
|
+
status: "ENUM",
|
|
3131
3134
|
currency: "String",
|
|
3132
3135
|
instructionsEmail: "String",
|
|
3133
3136
|
receiptNumber: "String",
|
|
3134
|
-
|
|
3137
|
+
refundstatus: "ENUM",
|
|
3135
3138
|
reason: "String",
|
|
3136
3139
|
pendingReason: "String",
|
|
3137
3140
|
failureReason: "String",
|
|
@@ -3141,10 +3144,10 @@ var defaultTypes = {
|
|
|
3141
3144
|
},
|
|
3142
3145
|
disputes: {
|
|
3143
3146
|
name: "String",
|
|
3144
|
-
description: "
|
|
3145
|
-
status: "
|
|
3147
|
+
description: "Paragraph",
|
|
3148
|
+
status: "ENUM",
|
|
3146
3149
|
currency: "String",
|
|
3147
|
-
|
|
3150
|
+
disputestatus: "ENUM",
|
|
3148
3151
|
reason: "String",
|
|
3149
3152
|
amount: "Int",
|
|
3150
3153
|
isChargeRefundable: "Boolean",
|
|
@@ -3163,7 +3166,7 @@ var defaultTypes = {
|
|
|
3163
3166
|
duplicateChargeDocumentation: "String",
|
|
3164
3167
|
duplicateChargeExplanation: "String",
|
|
3165
3168
|
duplicateChargeId: "String",
|
|
3166
|
-
|
|
3169
|
+
productdescription: "Paragraph",
|
|
3167
3170
|
receipt: "String",
|
|
3168
3171
|
refundPolicy: "String",
|
|
3169
3172
|
refundPolicyDisclosure: "String",
|
|
@@ -3187,8 +3190,8 @@ var defaultTypes = {
|
|
|
3187
3190
|
},
|
|
3188
3191
|
pools: {
|
|
3189
3192
|
name: "String",
|
|
3190
|
-
description: "
|
|
3191
|
-
status: "
|
|
3193
|
+
description: "Paragraph",
|
|
3194
|
+
status: "ENUM"
|
|
3192
3195
|
},
|
|
3193
3196
|
issuer: {
|
|
3194
3197
|
account: "OBJECT",
|
|
@@ -3261,7 +3264,7 @@ var defaultTypes = {
|
|
|
3261
3264
|
integrations: {
|
|
3262
3265
|
name: "String",
|
|
3263
3266
|
title: "String",
|
|
3264
|
-
description: "
|
|
3267
|
+
description: "Paragraph",
|
|
3265
3268
|
category: "String",
|
|
3266
3269
|
type: "String",
|
|
3267
3270
|
key: "String",
|
|
@@ -3277,12 +3280,12 @@ var defaultTypes = {
|
|
|
3277
3280
|
},
|
|
3278
3281
|
operations: {
|
|
3279
3282
|
label: "String",
|
|
3280
|
-
description: "
|
|
3283
|
+
description: "Paragraph",
|
|
3281
3284
|
star: "Boolean"
|
|
3282
3285
|
},
|
|
3283
3286
|
prompts: {
|
|
3284
3287
|
label: "String",
|
|
3285
|
-
description: "
|
|
3288
|
+
description: "Paragraph",
|
|
3286
3289
|
active: "Boolean"
|
|
3287
3290
|
}
|
|
3288
3291
|
};
|