@verma-consulting/common-library 0.1.9 → 0.1.11
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 +1388 -2
- package/dist/index.d.ts +1388 -2
- package/dist/index.js +832 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +831 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60,6 +60,7 @@ __export(index_exports, {
|
|
|
60
60
|
currency: () => currency,
|
|
61
61
|
customerType: () => customerType,
|
|
62
62
|
defaults: () => defaults_default,
|
|
63
|
+
defaultsWithTypes: () => defaultsWithTypes_default,
|
|
63
64
|
formatPhoneNumber: () => formatPhoneNumber,
|
|
64
65
|
getRandomArbitrary: () => getRandomArbitrary,
|
|
65
66
|
grabAge: () => grabAge,
|
|
@@ -911,7 +912,430 @@ var constants = {
|
|
|
911
912
|
"Wisconsin",
|
|
912
913
|
"Wyoming"
|
|
913
914
|
],
|
|
914
|
-
COUNTRIES: [
|
|
915
|
+
COUNTRIES: [
|
|
916
|
+
{ code: "AD", label: "Andorra", phone: "376" },
|
|
917
|
+
{
|
|
918
|
+
code: "AE",
|
|
919
|
+
label: "United Arab Emirates",
|
|
920
|
+
phone: "971"
|
|
921
|
+
},
|
|
922
|
+
{ code: "AF", label: "Afghanistan", phone: "93" },
|
|
923
|
+
{
|
|
924
|
+
code: "AG",
|
|
925
|
+
label: "Antigua and Barbuda",
|
|
926
|
+
phone: "1-268"
|
|
927
|
+
},
|
|
928
|
+
{ code: "AI", label: "Anguilla", phone: "1-264" },
|
|
929
|
+
{ code: "AL", label: "Albania", phone: "355" },
|
|
930
|
+
{ code: "AM", label: "Armenia", phone: "374" },
|
|
931
|
+
{ code: "AO", label: "Angola", phone: "244" },
|
|
932
|
+
{ code: "AQ", label: "Antarctica", phone: "672" },
|
|
933
|
+
{ code: "AR", label: "Argentina", phone: "54" },
|
|
934
|
+
{ code: "AS", label: "American Samoa", phone: "1-684" },
|
|
935
|
+
{ code: "AT", label: "Austria", phone: "43" },
|
|
936
|
+
{
|
|
937
|
+
code: "AU",
|
|
938
|
+
label: "Australia",
|
|
939
|
+
phone: "61",
|
|
940
|
+
suggested: true
|
|
941
|
+
},
|
|
942
|
+
{ code: "AW", label: "Aruba", phone: "297" },
|
|
943
|
+
{ code: "AX", label: "Alland Islands", phone: "358" },
|
|
944
|
+
{ code: "AZ", label: "Azerbaijan", phone: "994" },
|
|
945
|
+
{
|
|
946
|
+
code: "BA",
|
|
947
|
+
label: "Bosnia and Herzegovina",
|
|
948
|
+
phone: "387"
|
|
949
|
+
},
|
|
950
|
+
{ code: "BB", label: "Barbados", phone: "1-246" },
|
|
951
|
+
{ code: "BD", label: "Bangladesh", phone: "880" },
|
|
952
|
+
{ code: "BE", label: "Belgium", phone: "32" },
|
|
953
|
+
{ code: "BF", label: "Burkina Faso", phone: "226" },
|
|
954
|
+
{ code: "BG", label: "Bulgaria", phone: "359" },
|
|
955
|
+
{ code: "BH", label: "Bahrain", phone: "973" },
|
|
956
|
+
{ code: "BI", label: "Burundi", phone: "257" },
|
|
957
|
+
{ code: "BJ", label: "Benin", phone: "229" },
|
|
958
|
+
{ code: "BL", label: "Saint Barthelemy", phone: "590" },
|
|
959
|
+
{ code: "BM", label: "Bermuda", phone: "1-441" },
|
|
960
|
+
{ code: "BN", label: "Brunei Darussalam", phone: "673" },
|
|
961
|
+
{ code: "BO", label: "Bolivia", phone: "591" },
|
|
962
|
+
{ code: "BR", label: "Brazil", phone: "55" },
|
|
963
|
+
{ code: "BS", label: "Bahamas", phone: "1-242" },
|
|
964
|
+
{ code: "BT", label: "Bhutan", phone: "975" },
|
|
965
|
+
{ code: "BV", label: "Bouvet Island", phone: "47" },
|
|
966
|
+
{ code: "BW", label: "Botswana", phone: "267" },
|
|
967
|
+
{ code: "BY", label: "Belarus", phone: "375" },
|
|
968
|
+
{ code: "BZ", label: "Belize", phone: "501" },
|
|
969
|
+
{
|
|
970
|
+
code: "CA",
|
|
971
|
+
label: "Canada",
|
|
972
|
+
phone: "1",
|
|
973
|
+
suggested: true
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
code: "CC",
|
|
977
|
+
label: "Cocos (Keeling) Islands",
|
|
978
|
+
phone: "61"
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
code: "CD",
|
|
982
|
+
label: "Congo, Democratic Republic of the",
|
|
983
|
+
phone: "243"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
code: "CF",
|
|
987
|
+
label: "Central African Republic",
|
|
988
|
+
phone: "236"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
code: "CG",
|
|
992
|
+
label: "Congo, Republic of the",
|
|
993
|
+
phone: "242"
|
|
994
|
+
},
|
|
995
|
+
{ code: "CH", label: "Switzerland", phone: "41" },
|
|
996
|
+
{ code: "CI", label: "Cote d'Ivoire", phone: "225" },
|
|
997
|
+
{ code: "CK", label: "Cook Islands", phone: "682" },
|
|
998
|
+
{ code: "CL", label: "Chile", phone: "56" },
|
|
999
|
+
{ code: "CM", label: "Cameroon", phone: "237" },
|
|
1000
|
+
{ code: "CN", label: "China", phone: "86" },
|
|
1001
|
+
{ code: "CO", label: "Colombia", phone: "57" },
|
|
1002
|
+
{ code: "CR", label: "Costa Rica", phone: "506" },
|
|
1003
|
+
{ code: "CU", label: "Cuba", phone: "53" },
|
|
1004
|
+
{ code: "CV", label: "Cape Verde", phone: "238" },
|
|
1005
|
+
{ code: "CW", label: "Curacao", phone: "599" },
|
|
1006
|
+
{ code: "CX", label: "Christmas Island", phone: "61" },
|
|
1007
|
+
{ code: "CY", label: "Cyprus", phone: "357" },
|
|
1008
|
+
{ code: "CZ", label: "Czech Republic", phone: "420" },
|
|
1009
|
+
{
|
|
1010
|
+
code: "DE",
|
|
1011
|
+
label: "Germany",
|
|
1012
|
+
phone: "49",
|
|
1013
|
+
suggested: true
|
|
1014
|
+
},
|
|
1015
|
+
{ code: "DJ", label: "Djibouti", phone: "253" },
|
|
1016
|
+
{ code: "DK", label: "Denmark", phone: "45" },
|
|
1017
|
+
{ code: "DM", label: "Dominica", phone: "1-767" },
|
|
1018
|
+
{
|
|
1019
|
+
code: "DO",
|
|
1020
|
+
label: "Dominican Republic",
|
|
1021
|
+
phone: "1-809"
|
|
1022
|
+
},
|
|
1023
|
+
{ code: "DZ", label: "Algeria", phone: "213" },
|
|
1024
|
+
{ code: "EC", label: "Ecuador", phone: "593" },
|
|
1025
|
+
{ code: "EE", label: "Estonia", phone: "372" },
|
|
1026
|
+
{ code: "EG", label: "Egypt", phone: "20" },
|
|
1027
|
+
{ code: "EH", label: "Western Sahara", phone: "212" },
|
|
1028
|
+
{ code: "ER", label: "Eritrea", phone: "291" },
|
|
1029
|
+
{ code: "ES", label: "Spain", phone: "34" },
|
|
1030
|
+
{ code: "ET", label: "Ethiopia", phone: "251" },
|
|
1031
|
+
{ code: "FI", label: "Finland", phone: "358" },
|
|
1032
|
+
{ code: "FJ", label: "Fiji", phone: "679" },
|
|
1033
|
+
{
|
|
1034
|
+
code: "FK",
|
|
1035
|
+
label: "Falkland Islands (Malvinas)",
|
|
1036
|
+
phone: "500"
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
code: "FM",
|
|
1040
|
+
label: "Micronesia, Federated States of",
|
|
1041
|
+
phone: "691"
|
|
1042
|
+
},
|
|
1043
|
+
{ code: "FO", label: "Faroe Islands", phone: "298" },
|
|
1044
|
+
{
|
|
1045
|
+
code: "FR",
|
|
1046
|
+
label: "France",
|
|
1047
|
+
phone: "33",
|
|
1048
|
+
suggested: true
|
|
1049
|
+
},
|
|
1050
|
+
{ code: "GA", label: "Gabon", phone: "241" },
|
|
1051
|
+
{ code: "GB", label: "United Kingdom", phone: "44" },
|
|
1052
|
+
{ code: "GD", label: "Grenada", phone: "1-473" },
|
|
1053
|
+
{ code: "GE", label: "Georgia", phone: "995" },
|
|
1054
|
+
{ code: "GF", label: "French Guiana", phone: "594" },
|
|
1055
|
+
{ code: "GG", label: "Guernsey", phone: "44" },
|
|
1056
|
+
{ code: "GH", label: "Ghana", phone: "233" },
|
|
1057
|
+
{ code: "GI", label: "Gibraltar", phone: "350" },
|
|
1058
|
+
{ code: "GL", label: "Greenland", phone: "299" },
|
|
1059
|
+
{ code: "GM", label: "Gambia", phone: "220" },
|
|
1060
|
+
{ code: "GN", label: "Guinea", phone: "224" },
|
|
1061
|
+
{ code: "GP", label: "Guadeloupe", phone: "590" },
|
|
1062
|
+
{ code: "GQ", label: "Equatorial Guinea", phone: "240" },
|
|
1063
|
+
{ code: "GR", label: "Greece", phone: "30" },
|
|
1064
|
+
{
|
|
1065
|
+
code: "GS",
|
|
1066
|
+
label: "South Georgia and the South Sandwich Islands",
|
|
1067
|
+
phone: "500"
|
|
1068
|
+
},
|
|
1069
|
+
{ code: "GT", label: "Guatemala", phone: "502" },
|
|
1070
|
+
{ code: "GU", label: "Guam", phone: "1-671" },
|
|
1071
|
+
{ code: "GW", label: "Guinea-Bissau", phone: "245" },
|
|
1072
|
+
{ code: "GY", label: "Guyana", phone: "592" },
|
|
1073
|
+
{ code: "HK", label: "Hong Kong", phone: "852" },
|
|
1074
|
+
{
|
|
1075
|
+
code: "HM",
|
|
1076
|
+
label: "Heard Island and McDonald Islands",
|
|
1077
|
+
phone: "672"
|
|
1078
|
+
},
|
|
1079
|
+
{ code: "HN", label: "Honduras", phone: "504" },
|
|
1080
|
+
{ code: "HR", label: "Croatia", phone: "385" },
|
|
1081
|
+
{ code: "HT", label: "Haiti", phone: "509" },
|
|
1082
|
+
{ code: "HU", label: "Hungary", phone: "36" },
|
|
1083
|
+
{ code: "ID", label: "Indonesia", phone: "62" },
|
|
1084
|
+
{ code: "IE", label: "Ireland", phone: "353" },
|
|
1085
|
+
{ code: "IL", label: "Israel", phone: "972" },
|
|
1086
|
+
{ code: "IM", label: "Isle of Man", phone: "44" },
|
|
1087
|
+
{ code: "IN", label: "India", phone: "91" },
|
|
1088
|
+
{
|
|
1089
|
+
code: "IO",
|
|
1090
|
+
label: "British Indian Ocean Territory",
|
|
1091
|
+
phone: "246"
|
|
1092
|
+
},
|
|
1093
|
+
{ code: "IQ", label: "Iraq", phone: "964" },
|
|
1094
|
+
{
|
|
1095
|
+
code: "IR",
|
|
1096
|
+
label: "Iran, Islamic Republic of",
|
|
1097
|
+
phone: "98"
|
|
1098
|
+
},
|
|
1099
|
+
{ code: "IS", label: "Iceland", phone: "354" },
|
|
1100
|
+
{ code: "IT", label: "Italy", phone: "39" },
|
|
1101
|
+
{ code: "JE", label: "Jersey", phone: "44" },
|
|
1102
|
+
{ code: "JM", label: "Jamaica", phone: "1-876" },
|
|
1103
|
+
{ code: "JO", label: "Jordan", phone: "962" },
|
|
1104
|
+
{
|
|
1105
|
+
code: "JP",
|
|
1106
|
+
label: "Japan",
|
|
1107
|
+
phone: "81",
|
|
1108
|
+
suggested: true
|
|
1109
|
+
},
|
|
1110
|
+
{ code: "KE", label: "Kenya", phone: "254" },
|
|
1111
|
+
{ code: "KG", label: "Kyrgyzstan", phone: "996" },
|
|
1112
|
+
{ code: "KH", label: "Cambodia", phone: "855" },
|
|
1113
|
+
{ code: "KI", label: "Kiribati", phone: "686" },
|
|
1114
|
+
{ code: "KM", label: "Comoros", phone: "269" },
|
|
1115
|
+
{
|
|
1116
|
+
code: "KN",
|
|
1117
|
+
label: "Saint Kitts and Nevis",
|
|
1118
|
+
phone: "1-869"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
code: "KP",
|
|
1122
|
+
label: "Korea, Democratic People's Republic of",
|
|
1123
|
+
phone: "850"
|
|
1124
|
+
},
|
|
1125
|
+
{ code: "KR", label: "Korea, Republic of", phone: "82" },
|
|
1126
|
+
{ code: "KW", label: "Kuwait", phone: "965" },
|
|
1127
|
+
{ code: "KY", label: "Cayman Islands", phone: "1-345" },
|
|
1128
|
+
{ code: "KZ", label: "Kazakhstan", phone: "7" },
|
|
1129
|
+
{
|
|
1130
|
+
code: "LA",
|
|
1131
|
+
label: "Lao People's Democratic Republic",
|
|
1132
|
+
phone: "856"
|
|
1133
|
+
},
|
|
1134
|
+
{ code: "LB", label: "Lebanon", phone: "961" },
|
|
1135
|
+
{ code: "LC", label: "Saint Lucia", phone: "1-758" },
|
|
1136
|
+
{ code: "LI", label: "Liechtenstein", phone: "423" },
|
|
1137
|
+
{ code: "LK", label: "Sri Lanka", phone: "94" },
|
|
1138
|
+
{ code: "LR", label: "Liberia", phone: "231" },
|
|
1139
|
+
{ code: "LS", label: "Lesotho", phone: "266" },
|
|
1140
|
+
{ code: "LT", label: "Lithuania", phone: "370" },
|
|
1141
|
+
{ code: "LU", label: "Luxembourg", phone: "352" },
|
|
1142
|
+
{ code: "LV", label: "Latvia", phone: "371" },
|
|
1143
|
+
{ code: "LY", label: "Libya", phone: "218" },
|
|
1144
|
+
{ code: "MA", label: "Morocco", phone: "212" },
|
|
1145
|
+
{ code: "MC", label: "Monaco", phone: "377" },
|
|
1146
|
+
{
|
|
1147
|
+
code: "MD",
|
|
1148
|
+
label: "Moldova, Republic of",
|
|
1149
|
+
phone: "373"
|
|
1150
|
+
},
|
|
1151
|
+
{ code: "ME", label: "Montenegro", phone: "382" },
|
|
1152
|
+
{
|
|
1153
|
+
code: "MF",
|
|
1154
|
+
label: "Saint Martin (French part)",
|
|
1155
|
+
phone: "590"
|
|
1156
|
+
},
|
|
1157
|
+
{ code: "MG", label: "Madagascar", phone: "261" },
|
|
1158
|
+
{ code: "MH", label: "Marshall Islands", phone: "692" },
|
|
1159
|
+
{
|
|
1160
|
+
code: "MK",
|
|
1161
|
+
label: "Macedonia, the Former Yugoslav Republic of",
|
|
1162
|
+
phone: "389"
|
|
1163
|
+
},
|
|
1164
|
+
{ code: "ML", label: "Mali", phone: "223" },
|
|
1165
|
+
{ code: "MM", label: "Myanmar", phone: "95" },
|
|
1166
|
+
{ code: "MN", label: "Mongolia", phone: "976" },
|
|
1167
|
+
{ code: "MO", label: "Macao", phone: "853" },
|
|
1168
|
+
{
|
|
1169
|
+
code: "MP",
|
|
1170
|
+
label: "Northern Mariana Islands",
|
|
1171
|
+
phone: "1-670"
|
|
1172
|
+
},
|
|
1173
|
+
{ code: "MQ", label: "Martinique", phone: "596" },
|
|
1174
|
+
{ code: "MR", label: "Mauritania", phone: "222" },
|
|
1175
|
+
{ code: "MS", label: "Montserrat", phone: "1-664" },
|
|
1176
|
+
{ code: "MT", label: "Malta", phone: "356" },
|
|
1177
|
+
{ code: "MU", label: "Mauritius", phone: "230" },
|
|
1178
|
+
{ code: "MV", label: "Maldives", phone: "960" },
|
|
1179
|
+
{ code: "MW", label: "Malawi", phone: "265" },
|
|
1180
|
+
{ code: "MX", label: "Mexico", phone: "52" },
|
|
1181
|
+
{ code: "MY", label: "Malaysia", phone: "60" },
|
|
1182
|
+
{ code: "MZ", label: "Mozambique", phone: "258" },
|
|
1183
|
+
{ code: "NA", label: "Namibia", phone: "264" },
|
|
1184
|
+
{ code: "NC", label: "New Caledonia", phone: "687" },
|
|
1185
|
+
{ code: "NE", label: "Niger", phone: "227" },
|
|
1186
|
+
{ code: "NF", label: "Norfolk Island", phone: "672" },
|
|
1187
|
+
{ code: "NG", label: "Nigeria", phone: "234" },
|
|
1188
|
+
{ code: "NI", label: "Nicaragua", phone: "505" },
|
|
1189
|
+
{ code: "NL", label: "Netherlands", phone: "31" },
|
|
1190
|
+
{ code: "NO", label: "Norway", phone: "47" },
|
|
1191
|
+
{ code: "NP", label: "Nepal", phone: "977" },
|
|
1192
|
+
{ code: "NR", label: "Nauru", phone: "674" },
|
|
1193
|
+
{ code: "NU", label: "Niue", phone: "683" },
|
|
1194
|
+
{ code: "NZ", label: "New Zealand", phone: "64" },
|
|
1195
|
+
{ code: "OM", label: "Oman", phone: "968" },
|
|
1196
|
+
{ code: "PA", label: "Panama", phone: "507" },
|
|
1197
|
+
{ code: "PE", label: "Peru", phone: "51" },
|
|
1198
|
+
{ code: "PF", label: "French Polynesia", phone: "689" },
|
|
1199
|
+
{ code: "PG", label: "Papua New Guinea", phone: "675" },
|
|
1200
|
+
{ code: "PH", label: "Philippines", phone: "63" },
|
|
1201
|
+
{ code: "PK", label: "Pakistan", phone: "92" },
|
|
1202
|
+
{ code: "PL", label: "Poland", phone: "48" },
|
|
1203
|
+
{
|
|
1204
|
+
code: "PM",
|
|
1205
|
+
label: "Saint Pierre and Miquelon",
|
|
1206
|
+
phone: "508"
|
|
1207
|
+
},
|
|
1208
|
+
{ code: "PN", label: "Pitcairn", phone: "870" },
|
|
1209
|
+
{ code: "PR", label: "Puerto Rico", phone: "1" },
|
|
1210
|
+
{
|
|
1211
|
+
code: "PS",
|
|
1212
|
+
label: "Palestine, State of",
|
|
1213
|
+
phone: "970"
|
|
1214
|
+
},
|
|
1215
|
+
{ code: "PT", label: "Portugal", phone: "351" },
|
|
1216
|
+
{ code: "PW", label: "Palau", phone: "680" },
|
|
1217
|
+
{ code: "PY", label: "Paraguay", phone: "595" },
|
|
1218
|
+
{ code: "QA", label: "Qatar", phone: "974" },
|
|
1219
|
+
{ code: "RE", label: "Reunion", phone: "262" },
|
|
1220
|
+
{ code: "RO", label: "Romania", phone: "40" },
|
|
1221
|
+
{ code: "RS", label: "Serbia", phone: "381" },
|
|
1222
|
+
{ code: "RU", label: "Russian Federation", phone: "7" },
|
|
1223
|
+
{ code: "RW", label: "Rwanda", phone: "250" },
|
|
1224
|
+
{ code: "SA", label: "Saudi Arabia", phone: "966" },
|
|
1225
|
+
{ code: "SB", label: "Solomon Islands", phone: "677" },
|
|
1226
|
+
{ code: "SC", label: "Seychelles", phone: "248" },
|
|
1227
|
+
{ code: "SD", label: "Sudan", phone: "249" },
|
|
1228
|
+
{ code: "SE", label: "Sweden", phone: "46" },
|
|
1229
|
+
{ code: "SG", label: "Singapore", phone: "65" },
|
|
1230
|
+
{ code: "SH", label: "Saint Helena", phone: "290" },
|
|
1231
|
+
{ code: "SI", label: "Slovenia", phone: "386" },
|
|
1232
|
+
{
|
|
1233
|
+
code: "SJ",
|
|
1234
|
+
label: "Svalbard and Jan Mayen",
|
|
1235
|
+
phone: "47"
|
|
1236
|
+
},
|
|
1237
|
+
{ code: "SK", label: "Slovakia", phone: "421" },
|
|
1238
|
+
{ code: "SL", label: "Sierra Leone", phone: "232" },
|
|
1239
|
+
{ code: "SM", label: "San Marino", phone: "378" },
|
|
1240
|
+
{ code: "SN", label: "Senegal", phone: "221" },
|
|
1241
|
+
{ code: "SO", label: "Somalia", phone: "252" },
|
|
1242
|
+
{ code: "SR", label: "Suriname", phone: "597" },
|
|
1243
|
+
{ code: "SS", label: "South Sudan", phone: "211" },
|
|
1244
|
+
{
|
|
1245
|
+
code: "ST",
|
|
1246
|
+
label: "Sao Tome and Principe",
|
|
1247
|
+
phone: "239"
|
|
1248
|
+
},
|
|
1249
|
+
{ code: "SV", label: "El Salvador", phone: "503" },
|
|
1250
|
+
{
|
|
1251
|
+
code: "SX",
|
|
1252
|
+
label: "Sint Maarten (Dutch part)",
|
|
1253
|
+
phone: "1-721"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
code: "SY",
|
|
1257
|
+
label: "Syrian Arab Republic",
|
|
1258
|
+
phone: "963"
|
|
1259
|
+
},
|
|
1260
|
+
{ code: "SZ", label: "Swaziland", phone: "268" },
|
|
1261
|
+
{
|
|
1262
|
+
code: "TC",
|
|
1263
|
+
label: "Turks and Caicos Islands",
|
|
1264
|
+
phone: "1-649"
|
|
1265
|
+
},
|
|
1266
|
+
{ code: "TD", label: "Chad", phone: "235" },
|
|
1267
|
+
{
|
|
1268
|
+
code: "TF",
|
|
1269
|
+
label: "French Southern Territories",
|
|
1270
|
+
phone: "262"
|
|
1271
|
+
},
|
|
1272
|
+
{ code: "TG", label: "Togo", phone: "228" },
|
|
1273
|
+
{ code: "TH", label: "Thailand", phone: "66" },
|
|
1274
|
+
{ code: "TJ", label: "Tajikistan", phone: "992" },
|
|
1275
|
+
{ code: "TK", label: "Tokelau", phone: "690" },
|
|
1276
|
+
{ code: "TL", label: "Timor-Leste", phone: "670" },
|
|
1277
|
+
{ code: "TM", label: "Turkmenistan", phone: "993" },
|
|
1278
|
+
{ code: "TN", label: "Tunisia", phone: "216" },
|
|
1279
|
+
{ code: "TO", label: "Tonga", phone: "676" },
|
|
1280
|
+
{ code: "TR", label: "Turkey", phone: "90" },
|
|
1281
|
+
{
|
|
1282
|
+
code: "TT",
|
|
1283
|
+
label: "Trinidad and Tobago",
|
|
1284
|
+
phone: "1-868"
|
|
1285
|
+
},
|
|
1286
|
+
{ code: "TV", label: "Tuvalu", phone: "688" },
|
|
1287
|
+
{
|
|
1288
|
+
code: "TW",
|
|
1289
|
+
label: "Taiwan",
|
|
1290
|
+
phone: "886"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
code: "TZ",
|
|
1294
|
+
label: "United Republic of Tanzania",
|
|
1295
|
+
phone: "255"
|
|
1296
|
+
},
|
|
1297
|
+
{ code: "UA", label: "Ukraine", phone: "380" },
|
|
1298
|
+
{ code: "UG", label: "Uganda", phone: "256" },
|
|
1299
|
+
{
|
|
1300
|
+
code: "US",
|
|
1301
|
+
label: "United States Of America",
|
|
1302
|
+
phone: "1",
|
|
1303
|
+
suggested: true
|
|
1304
|
+
},
|
|
1305
|
+
{ code: "UY", label: "Uruguay", phone: "598" },
|
|
1306
|
+
{ code: "UZ", label: "Uzbekistan", phone: "998" },
|
|
1307
|
+
{
|
|
1308
|
+
code: "VA",
|
|
1309
|
+
label: "Holy See (Vatican City State)",
|
|
1310
|
+
phone: "379"
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
code: "VC",
|
|
1314
|
+
label: "Saint Vincent and the Grenadines",
|
|
1315
|
+
phone: "1-784"
|
|
1316
|
+
},
|
|
1317
|
+
{ code: "VE", label: "Venezuela", phone: "58" },
|
|
1318
|
+
{
|
|
1319
|
+
code: "VG",
|
|
1320
|
+
label: "British Virgin Islands",
|
|
1321
|
+
phone: "1-284"
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
code: "VI",
|
|
1325
|
+
label: "US Virgin Islands",
|
|
1326
|
+
phone: "1-340"
|
|
1327
|
+
},
|
|
1328
|
+
{ code: "VN", label: "Vietnam", phone: "84" },
|
|
1329
|
+
{ code: "VU", label: "Vanuatu", phone: "678" },
|
|
1330
|
+
{ code: "WF", label: "Wallis and Futuna", phone: "681" },
|
|
1331
|
+
{ code: "WS", label: "Samoa", phone: "685" },
|
|
1332
|
+
{ code: "XK", label: "Kosovo", phone: "383" },
|
|
1333
|
+
{ code: "YE", label: "Yemen", phone: "967" },
|
|
1334
|
+
{ code: "YT", label: "Mayotte", phone: "262" },
|
|
1335
|
+
{ code: "ZA", label: "South Africa", phone: "27" },
|
|
1336
|
+
{ code: "ZM", label: "Zambia", phone: "260" },
|
|
1337
|
+
{ code: "ZW", label: "Zimbabwe", phone: "263" }
|
|
1338
|
+
],
|
|
915
1339
|
CURRENCIES: {
|
|
916
1340
|
aed: "United Arab Emirates Dirham",
|
|
917
1341
|
afn: "Afghan Afghani",
|
|
@@ -1721,6 +2145,7 @@ var defaults = {
|
|
|
1721
2145
|
frequencyField: "createdAt",
|
|
1722
2146
|
modelName: "",
|
|
1723
2147
|
fieldName: "",
|
|
2148
|
+
fieldType: "",
|
|
1724
2149
|
operationType: "Count",
|
|
1725
2150
|
calculation: "Empty",
|
|
1726
2151
|
calculationValue: ""
|
|
@@ -1731,6 +2156,7 @@ var defaults = {
|
|
|
1731
2156
|
dynamic: false,
|
|
1732
2157
|
modelName: "",
|
|
1733
2158
|
fieldName: "",
|
|
2159
|
+
fieldType: "",
|
|
1734
2160
|
calculation: "Empty",
|
|
1735
2161
|
calculationValue: ""
|
|
1736
2162
|
},
|
|
@@ -1739,6 +2165,7 @@ var defaults = {
|
|
|
1739
2165
|
star: false,
|
|
1740
2166
|
modelName: "",
|
|
1741
2167
|
fieldName: "",
|
|
2168
|
+
fieldType: "",
|
|
1742
2169
|
operationType: "Count",
|
|
1743
2170
|
calculation: "Empty",
|
|
1744
2171
|
calculationValue: ""
|
|
@@ -1807,6 +2234,409 @@ var defaults = {
|
|
|
1807
2234
|
}
|
|
1808
2235
|
};
|
|
1809
2236
|
var defaults_default = defaults;
|
|
2237
|
+
|
|
2238
|
+
// src/defaultsWithTypes.ts
|
|
2239
|
+
var defaultsWithTypes = {
|
|
2240
|
+
users: {
|
|
2241
|
+
firstName: { default: "", type: "String" },
|
|
2242
|
+
lastName: { default: "", type: "String" },
|
|
2243
|
+
email: { default: "", type: "String" },
|
|
2244
|
+
role: { default: "Employee", type: "String" },
|
|
2245
|
+
status: { default: "Pending", type: "String" },
|
|
2246
|
+
userName: { default: "", type: "String" },
|
|
2247
|
+
jobTitle: { default: "", type: "String" },
|
|
2248
|
+
password: { default: "", type: "String" },
|
|
2249
|
+
dateOfBirth: { default: null, type: "Date" },
|
|
2250
|
+
phoneNumber: { default: "", type: "String" },
|
|
2251
|
+
permissions: { default: [], type: "[String]" },
|
|
2252
|
+
avatar: { default: null, type: "String" },
|
|
2253
|
+
notificationSettings: {
|
|
2254
|
+
dailyReports: { default: false, type: "Boolean" },
|
|
2255
|
+
dealsClosing: { default: false, type: "Boolean" },
|
|
2256
|
+
deletionAlerts: { default: false, type: "Boolean" },
|
|
2257
|
+
device: { default: "Do Not Notify", type: "String" }
|
|
2258
|
+
},
|
|
2259
|
+
platformSettings: {
|
|
2260
|
+
mode: { default: "light", type: "String" },
|
|
2261
|
+
language: { default: "english", type: "String" },
|
|
2262
|
+
currency: { default: "usd", type: "String" }
|
|
2263
|
+
}
|
|
2264
|
+
},
|
|
2265
|
+
clients: {
|
|
2266
|
+
name: { default: "", type: "String" },
|
|
2267
|
+
description: { default: "", type: "String" },
|
|
2268
|
+
status: { default: "Ready", type: "String" },
|
|
2269
|
+
email: { default: "", type: "String" },
|
|
2270
|
+
contactName: { default: "", type: "String" },
|
|
2271
|
+
phone: { default: "", type: "String" },
|
|
2272
|
+
accountNumber: { default: "", type: "String" },
|
|
2273
|
+
invoicePrefix: { default: "", type: "String" },
|
|
2274
|
+
sicCode: { default: "", type: "String" },
|
|
2275
|
+
clientType: { default: "Company", type: "String" },
|
|
2276
|
+
currency: { default: "usd", type: "String" },
|
|
2277
|
+
customerType: { default: "Trial", type: "String" },
|
|
2278
|
+
industry: { default: "", type: "String" },
|
|
2279
|
+
annualRevenue: { default: 0, type: "Int" },
|
|
2280
|
+
balance: { default: 0, type: "Int" },
|
|
2281
|
+
nextInvoiceSequence: { default: 0, type: "Int" },
|
|
2282
|
+
taxExempt: { default: "null", type: "String" },
|
|
2283
|
+
website: { default: "", type: "String" },
|
|
2284
|
+
source: { default: "Advertisement", type: "String" },
|
|
2285
|
+
logoUrl: { default: "", type: "String" },
|
|
2286
|
+
linkedinUrl: { default: "", type: "String" },
|
|
2287
|
+
facebookUrl: { default: "", type: "String" },
|
|
2288
|
+
twitterUrl: { default: "", type: "String" },
|
|
2289
|
+
angelUrl: { default: "", type: "String" },
|
|
2290
|
+
crunchbaseUrl: { default: "", type: "String" },
|
|
2291
|
+
accountOwner: { default: "", type: "ID" },
|
|
2292
|
+
contacts: { default: "", type: "String" },
|
|
2293
|
+
deals: { default: "", type: "String" },
|
|
2294
|
+
invoices: { default: "", type: "String" },
|
|
2295
|
+
engagements: { default: "", type: "String" },
|
|
2296
|
+
tasks: { default: "", type: "String" }
|
|
2297
|
+
},
|
|
2298
|
+
contacts: {
|
|
2299
|
+
name: { default: "", type: "String" },
|
|
2300
|
+
description: { default: "", type: "String" },
|
|
2301
|
+
status: { default: "Ready", type: "String" },
|
|
2302
|
+
email: { default: "", type: "String" },
|
|
2303
|
+
phoneNumber: { default: "", type: "String" },
|
|
2304
|
+
role: { default: "", type: "String" },
|
|
2305
|
+
linkedinUrl: { default: "", type: "String" },
|
|
2306
|
+
twitterUrl: { default: "", type: "String" },
|
|
2307
|
+
client: { default: "", type: "ID" },
|
|
2308
|
+
engagements: { default: "", type: "String" }
|
|
2309
|
+
},
|
|
2310
|
+
inventories: {
|
|
2311
|
+
name: { default: "", type: "String" },
|
|
2312
|
+
description: { default: "", type: "String" },
|
|
2313
|
+
status: { default: "Ready", type: "String" },
|
|
2314
|
+
amount: { default: 0, type: "Int" },
|
|
2315
|
+
quantity: { default: 0, type: "Int" }
|
|
2316
|
+
},
|
|
2317
|
+
organizations: {
|
|
2318
|
+
name: { default: "", type: "String" },
|
|
2319
|
+
website: { default: "", type: "String" },
|
|
2320
|
+
industry: { default: "", type: "String" },
|
|
2321
|
+
currency: { default: "usd", type: "String" },
|
|
2322
|
+
linkedinUrl: { default: "", type: "String" },
|
|
2323
|
+
facebookUrl: { default: "", type: "String" },
|
|
2324
|
+
twitterUrl: { default: "", type: "String" },
|
|
2325
|
+
angelUrl: { default: "", type: "String" },
|
|
2326
|
+
crunchbaseUrl: { default: "", type: "String" }
|
|
2327
|
+
},
|
|
2328
|
+
activities: {
|
|
2329
|
+
label: { default: "", type: "String" },
|
|
2330
|
+
value: { default: "", type: "String" },
|
|
2331
|
+
modelName: { default: "", type: "String" },
|
|
2332
|
+
path: { default: "", type: "String" }
|
|
2333
|
+
},
|
|
2334
|
+
leads: {
|
|
2335
|
+
name: { default: "", type: "String" },
|
|
2336
|
+
description: { default: "", type: "String" },
|
|
2337
|
+
status: { default: "Ready", type: "String" },
|
|
2338
|
+
leadType: { default: "AttemtpedToContact", type: "String" },
|
|
2339
|
+
source: { default: "Advertisement", type: "String" },
|
|
2340
|
+
amount: { default: 0, type: "Int" },
|
|
2341
|
+
projectedClosingDate: { default: null, type: "Date" },
|
|
2342
|
+
expectedRevenue: { default: 0, type: "Int" },
|
|
2343
|
+
probability: { default: 0, type: "Int" },
|
|
2344
|
+
nextStep: { default: "", type: "String" },
|
|
2345
|
+
accountOwner: { default: "", type: "ID" },
|
|
2346
|
+
client: { default: "", type: "ID" },
|
|
2347
|
+
campaign: { default: "", type: "ID" }
|
|
2348
|
+
},
|
|
2349
|
+
deals: {
|
|
2350
|
+
name: { default: "", type: "String" },
|
|
2351
|
+
description: { default: "", type: "String" },
|
|
2352
|
+
status: { default: "Ready", type: "String" },
|
|
2353
|
+
dealType: { default: "New", type: "String" },
|
|
2354
|
+
source: { default: "Advertisement", type: "String" },
|
|
2355
|
+
amount: { default: 0, type: "Int" },
|
|
2356
|
+
closingDate: { default: null, type: "Date" },
|
|
2357
|
+
expectedRevenue: { default: 0, type: "Int" },
|
|
2358
|
+
probability: { default: 0, type: "Int" },
|
|
2359
|
+
nextStep: { default: "", type: "String" },
|
|
2360
|
+
accountOwner: { default: "", type: "ID" },
|
|
2361
|
+
client: { default: "", type: "ID" },
|
|
2362
|
+
campaign: { default: "", type: "ID" }
|
|
2363
|
+
},
|
|
2364
|
+
campaigns: {
|
|
2365
|
+
name: { default: "", type: "String" },
|
|
2366
|
+
description: { default: "", type: "String" },
|
|
2367
|
+
status: { default: "Ready", type: "String" },
|
|
2368
|
+
priority: { default: "Medium", type: "String" },
|
|
2369
|
+
startDate: { default: null, type: "Date" },
|
|
2370
|
+
endDate: { default: null, type: "Date" },
|
|
2371
|
+
campaignType: { default: "Email", type: "String" },
|
|
2372
|
+
budgetedCost: { default: 0, type: "Int" },
|
|
2373
|
+
expectedRevenue: { default: 0, type: "Int" },
|
|
2374
|
+
actualCost: { default: 0, type: "Int" },
|
|
2375
|
+
numbersSent: { default: 0, type: "Int" },
|
|
2376
|
+
expectedResponse: { default: "", type: "String" },
|
|
2377
|
+
accountOwner: { default: "", type: "ID" },
|
|
2378
|
+
leads: { default: "", type: "ID" },
|
|
2379
|
+
deals: { default: "", type: "ID" }
|
|
2380
|
+
},
|
|
2381
|
+
invoices: {
|
|
2382
|
+
name: { default: "", type: "String" },
|
|
2383
|
+
description: { default: "", type: "String" },
|
|
2384
|
+
footer: { default: "", type: "String" },
|
|
2385
|
+
status: { default: "Ready", type: "String" },
|
|
2386
|
+
currency: { default: "usd", type: "String" },
|
|
2387
|
+
accountCountry: { default: "US", type: "String" },
|
|
2388
|
+
statementDescriptor: { default: "", type: "String" },
|
|
2389
|
+
dueDate: { default: null, type: "Date" },
|
|
2390
|
+
nextPaymentAttempt: { default: null, type: "DateTime" },
|
|
2391
|
+
effectiveAt: { default: null, type: "DateTime" },
|
|
2392
|
+
amountDue: { default: 0, type: "Int" },
|
|
2393
|
+
amountPaid: { default: 0, type: "Int" },
|
|
2394
|
+
amountRemaining: { default: 0, type: "Int" },
|
|
2395
|
+
amountShipping: { default: 0, type: "Int" },
|
|
2396
|
+
attemptCount: { default: 0, type: "Int" },
|
|
2397
|
+
startingBalance: { default: 0, type: "Int" },
|
|
2398
|
+
endingBalance: { default: 0, type: "Int" },
|
|
2399
|
+
subtotal: { default: 0, type: "Int" },
|
|
2400
|
+
subtotalExcludingTax: { default: 0, type: "Int" },
|
|
2401
|
+
totalExcludingTax: { default: 0, type: "Int" },
|
|
2402
|
+
tax: { default: 0, type: "Int" },
|
|
2403
|
+
postPaymentCreditNotesAmount: { default: 0, type: "Int" },
|
|
2404
|
+
prePaymentCreditNotesAmount: { default: 0, type: "Int" },
|
|
2405
|
+
daysUntilDue: { default: 0, type: "Int" },
|
|
2406
|
+
attempted: { default: false, type: "Boolean" },
|
|
2407
|
+
autoAdvance: { default: false, type: "Boolean" },
|
|
2408
|
+
billingReason: { default: "manual", type: "String" },
|
|
2409
|
+
collectionMethod: { default: "charge_automatically", type: "String" },
|
|
2410
|
+
customerEmail: { default: "", type: "String" },
|
|
2411
|
+
customerPhone: { default: "", type: "String" },
|
|
2412
|
+
customerTaxExempt: { default: "null", type: "String" },
|
|
2413
|
+
invoicePdf: { default: "", type: "String" },
|
|
2414
|
+
lastFinalizationError: { default: "", type: "String" },
|
|
2415
|
+
number: { default: null, type: "String" },
|
|
2416
|
+
receiptNumber: { default: "", type: "String" },
|
|
2417
|
+
livemode: { default: false, type: "Boolean" },
|
|
2418
|
+
paid: { default: false, type: "Boolean" },
|
|
2419
|
+
paidOutOfBand: { default: false, type: "Boolean" },
|
|
2420
|
+
client: { default: "", type: "ID" },
|
|
2421
|
+
accountOwner: { default: "", type: "ID" },
|
|
2422
|
+
deal: { default: "", type: "ID" }
|
|
2423
|
+
},
|
|
2424
|
+
issuer: {
|
|
2425
|
+
account: { default: "", type: "ID" },
|
|
2426
|
+
type: { default: "", type: "String" }
|
|
2427
|
+
},
|
|
2428
|
+
engagements: {
|
|
2429
|
+
name: { default: "", type: "String" },
|
|
2430
|
+
description: { default: "", type: "String" },
|
|
2431
|
+
status: { default: "Ready", type: "String" },
|
|
2432
|
+
engagementDate: { default: null, type: "Date" },
|
|
2433
|
+
client: { default: "", type: "ID" },
|
|
2434
|
+
contact: { default: "", type: "ID" }
|
|
2435
|
+
},
|
|
2436
|
+
pools: {
|
|
2437
|
+
name: { default: "", type: "String" },
|
|
2438
|
+
description: { default: "", type: "String" },
|
|
2439
|
+
status: { default: "Ready", type: "String" }
|
|
2440
|
+
},
|
|
2441
|
+
products: {
|
|
2442
|
+
name: { default: "", type: "String" },
|
|
2443
|
+
description: { default: null, type: "String" },
|
|
2444
|
+
status: { default: "Ready", type: "String" },
|
|
2445
|
+
productType: { default: "service", type: "String" },
|
|
2446
|
+
client: { default: "", type: "ID" },
|
|
2447
|
+
inventory: { default: "", type: "ID" },
|
|
2448
|
+
accountOwner: { default: "", type: "ID" },
|
|
2449
|
+
active: { default: true, type: "Boolean" },
|
|
2450
|
+
shippable: { default: false, type: "Boolean" },
|
|
2451
|
+
statementDescriptor: { default: "", type: "String" },
|
|
2452
|
+
taxCode: { default: null, type: "String" },
|
|
2453
|
+
unitLabel: { default: null, type: "String" },
|
|
2454
|
+
url: { default: "", type: "String" }
|
|
2455
|
+
},
|
|
2456
|
+
prices: {
|
|
2457
|
+
active: { default: true, type: "Boolean" },
|
|
2458
|
+
unitAmount: { default: 0, type: "Int" },
|
|
2459
|
+
unitAmountDecimal: { default: null, type: "Float" },
|
|
2460
|
+
lookupKey: { default: "", type: "String" },
|
|
2461
|
+
type: { default: "", type: "String" },
|
|
2462
|
+
taxBehavior: { default: "unspecified", type: "String" },
|
|
2463
|
+
currency: { default: "usd", type: "String" },
|
|
2464
|
+
billingScheme: { default: "", type: "String" },
|
|
2465
|
+
recurring: {
|
|
2466
|
+
intervalCount: { default: 0, type: "Int" },
|
|
2467
|
+
interval: { default: "", type: "String" },
|
|
2468
|
+
aggregateUsage: { default: "", type: "String" },
|
|
2469
|
+
usageType: { default: "", type: "String" },
|
|
2470
|
+
trialPeriodDays: { default: 0, type: "Int" }
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
packageDimensions: {
|
|
2474
|
+
height: { default: 0, type: "Float" },
|
|
2475
|
+
length: { default: 0, type: "Float" },
|
|
2476
|
+
weight: { default: 0, type: "Float" },
|
|
2477
|
+
width: { default: 0, type: "Float" }
|
|
2478
|
+
},
|
|
2479
|
+
subscriptions: {
|
|
2480
|
+
name: { default: "", type: "String" },
|
|
2481
|
+
description: { default: null, type: "String" },
|
|
2482
|
+
status: { default: "Ready", type: "String" },
|
|
2483
|
+
trialStart: { default: null, type: "DateTime" },
|
|
2484
|
+
trialEnd: { default: null, type: "DateTime" },
|
|
2485
|
+
startDate: { default: null, type: "DateTime" },
|
|
2486
|
+
endedAt: { default: null, type: "DateTime" },
|
|
2487
|
+
currentPeriodStart: { default: null, type: "DateTime" },
|
|
2488
|
+
currentPeriodEnd: { default: null, type: "DateTime" },
|
|
2489
|
+
backdateStartDate: { default: null, type: "DateTime" },
|
|
2490
|
+
billingCycleAnchor: { default: null, type: "DateTime" },
|
|
2491
|
+
cancelAt: { default: null, type: "DateTime" },
|
|
2492
|
+
canceledAt: { default: null, type: "DateTime" },
|
|
2493
|
+
daysUntilDue: { default: 0, type: "Int" },
|
|
2494
|
+
trialPeriodDays: { default: 0, type: "Int" },
|
|
2495
|
+
applicationFeePercent: { default: 0, type: "Float" },
|
|
2496
|
+
cancelAtPeriodEnd: { default: false, type: "Boolean" },
|
|
2497
|
+
trialFromPlan: { default: false, type: "Boolean" },
|
|
2498
|
+
offSession: { default: false, type: "Boolean" },
|
|
2499
|
+
nextPendingInvoiceItemInvoice: { default: null, type: "String" },
|
|
2500
|
+
collectionMethod: { default: "charge_automatically", type: "String" },
|
|
2501
|
+
missingPaymentMethod: { default: "create_invoice", type: "String" },
|
|
2502
|
+
client: { default: "", type: "ID" },
|
|
2503
|
+
deal: { default: "", type: "ID" },
|
|
2504
|
+
accountOwner: { default: "", type: "ID" }
|
|
2505
|
+
},
|
|
2506
|
+
automaticTax: {
|
|
2507
|
+
enabled: { default: false, type: "Boolean" },
|
|
2508
|
+
liability: {
|
|
2509
|
+
account: { default: "", type: "ID" },
|
|
2510
|
+
type: { default: "", type: "String" }
|
|
2511
|
+
},
|
|
2512
|
+
status: { default: "", type: "String" }
|
|
2513
|
+
},
|
|
2514
|
+
pauseCollection: {
|
|
2515
|
+
behavior: { default: "", type: "String" },
|
|
2516
|
+
resumesAt: { default: null, type: "DateTime" }
|
|
2517
|
+
},
|
|
2518
|
+
cancellationDetails: {
|
|
2519
|
+
comment: { default: "", type: "String" },
|
|
2520
|
+
feedback: { default: "", type: "String" },
|
|
2521
|
+
reason: { default: "", type: "String" }
|
|
2522
|
+
},
|
|
2523
|
+
trialSettings: {
|
|
2524
|
+
endBehavior: {
|
|
2525
|
+
missingPaymentMethod: { default: "", type: "String" }
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
payments: {
|
|
2529
|
+
name: { default: "", type: "String" },
|
|
2530
|
+
description: { default: "", type: "String" },
|
|
2531
|
+
status: { default: "Ready", type: "String" },
|
|
2532
|
+
paymentStatus: { default: "requires_payment_method", type: "String" },
|
|
2533
|
+
currency: { default: "usd", type: "String" },
|
|
2534
|
+
amount: { default: 0, type: "Int" },
|
|
2535
|
+
amountCapturable: { default: 0, type: "Int" },
|
|
2536
|
+
amountReceived: { default: 0, type: "Int" },
|
|
2537
|
+
applicationFeeAmount: { default: 0, type: "Int" },
|
|
2538
|
+
statementDescriptor: { default: "", type: "String" },
|
|
2539
|
+
statementDescriptorSuffix: { default: "", type: "String" },
|
|
2540
|
+
livemode: { default: false, type: "Boolean" },
|
|
2541
|
+
receiptEmail: { default: "", type: "String" },
|
|
2542
|
+
client: { default: "", type: "ID" },
|
|
2543
|
+
subscription: { default: "", type: "ID" },
|
|
2544
|
+
invoice: { default: "", type: "ID" }
|
|
2545
|
+
},
|
|
2546
|
+
reports: {
|
|
2547
|
+
label: { default: "", type: "String" },
|
|
2548
|
+
star: { default: false, type: "Boolean" },
|
|
2549
|
+
chartType: { default: "line", type: "String" },
|
|
2550
|
+
frequency: { default: "Annually", type: "String" },
|
|
2551
|
+
frequencyField: { default: "createdAt", type: "String" },
|
|
2552
|
+
modelName: { default: "", type: "String" },
|
|
2553
|
+
fieldName: { default: "", type: "String" },
|
|
2554
|
+
operationType: { default: "Count", type: "String" },
|
|
2555
|
+
calculation: { default: "Empty", type: "String" },
|
|
2556
|
+
calculationValue: { default: "", type: "String" }
|
|
2557
|
+
},
|
|
2558
|
+
lists: {
|
|
2559
|
+
label: { default: "", type: "String" },
|
|
2560
|
+
star: { default: false, type: "Boolean" },
|
|
2561
|
+
dynamic: { default: false, type: "Boolean" },
|
|
2562
|
+
modelName: { default: "", type: "String" },
|
|
2563
|
+
fieldName: { default: "", type: "String" },
|
|
2564
|
+
calculation: { default: "Empty", type: "String" },
|
|
2565
|
+
calculationValue: { default: "", type: "String" }
|
|
2566
|
+
},
|
|
2567
|
+
statistics: {
|
|
2568
|
+
label: { default: "", type: "String" },
|
|
2569
|
+
star: { default: false, type: "Boolean" },
|
|
2570
|
+
modelName: { default: "", type: "String" },
|
|
2571
|
+
fieldName: { default: "", type: "String" },
|
|
2572
|
+
operationType: { default: "Count", type: "String" },
|
|
2573
|
+
calculation: { default: "Empty", type: "String" },
|
|
2574
|
+
calculationValue: { default: "", type: "String" }
|
|
2575
|
+
},
|
|
2576
|
+
address: {
|
|
2577
|
+
streetNumber: { default: "", type: "String" },
|
|
2578
|
+
streetName: { default: "", type: "String" },
|
|
2579
|
+
city: { default: "", type: "String" },
|
|
2580
|
+
state: { default: "", type: "String" },
|
|
2581
|
+
country: { default: "", type: "String" },
|
|
2582
|
+
countryCode: { default: "", type: "String" },
|
|
2583
|
+
postalCode: { default: "", type: "String" },
|
|
2584
|
+
latitude: { default: 37.7749, type: "Float" },
|
|
2585
|
+
longitude: { default: -122.4194, type: "Float" }
|
|
2586
|
+
},
|
|
2587
|
+
schema: {
|
|
2588
|
+
deleted: { default: false, type: "Boolean" },
|
|
2589
|
+
selected: { default: false, type: "Boolean" },
|
|
2590
|
+
key: { default: "", type: "String" },
|
|
2591
|
+
type: { default: "", type: "String" },
|
|
2592
|
+
options: { default: [], type: "[String]" }
|
|
2593
|
+
},
|
|
2594
|
+
comments: {
|
|
2595
|
+
label: { default: "", type: "String" }
|
|
2596
|
+
},
|
|
2597
|
+
tasks: {
|
|
2598
|
+
name: { default: "", type: "String" },
|
|
2599
|
+
description: { default: "", type: "String" },
|
|
2600
|
+
status: { default: "Ready", type: "String" },
|
|
2601
|
+
priority: { default: "Medium", type: "String" },
|
|
2602
|
+
dueDate: { default: null, type: "Date" },
|
|
2603
|
+
reminder: { default: false, type: "Boolean" },
|
|
2604
|
+
reminderDate: { default: null, type: "Date" },
|
|
2605
|
+
reminderTime: { default: "", type: "Time" },
|
|
2606
|
+
repeat: { default: false, type: "Boolean" },
|
|
2607
|
+
repeatDate: { default: null, type: "Date" },
|
|
2608
|
+
repeatTime: { default: "", type: "Time" },
|
|
2609
|
+
client: { default: "", type: "ID" },
|
|
2610
|
+
assignee: { default: "", type: "ID" }
|
|
2611
|
+
},
|
|
2612
|
+
integrations: {
|
|
2613
|
+
name: { default: "", type: "String" },
|
|
2614
|
+
title: { default: "", type: "String" },
|
|
2615
|
+
description: { default: "", type: "String" },
|
|
2616
|
+
category: { default: "", type: "String" },
|
|
2617
|
+
key: { default: "", type: "String" },
|
|
2618
|
+
secret: { default: "", type: "String" },
|
|
2619
|
+
logo: { default: "", type: "String" },
|
|
2620
|
+
clientEmail: { default: "", type: "String" },
|
|
2621
|
+
customerId: { default: "", type: "String" },
|
|
2622
|
+
channelId: { default: "", type: "String" },
|
|
2623
|
+
active: { default: false, type: "Boolean" },
|
|
2624
|
+
importBridge: { default: false, type: "Boolean" },
|
|
2625
|
+
exportBridge: { default: false, type: "Boolean" },
|
|
2626
|
+
dynamicBridge: { default: false, type: "Boolean" }
|
|
2627
|
+
},
|
|
2628
|
+
operations: {
|
|
2629
|
+
label: { default: "", type: "String" },
|
|
2630
|
+
description: { default: "", type: "String" },
|
|
2631
|
+
star: { default: false, type: "Boolean" }
|
|
2632
|
+
},
|
|
2633
|
+
prompts: {
|
|
2634
|
+
label: { default: "", type: "String" },
|
|
2635
|
+
description: { default: "", type: "String" },
|
|
2636
|
+
active: { default: false, type: "Boolean" }
|
|
2637
|
+
}
|
|
2638
|
+
};
|
|
2639
|
+
var defaultsWithTypes_default = defaultsWithTypes;
|
|
1810
2640
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1811
2641
|
0 && (module.exports = {
|
|
1812
2642
|
AppMode,
|
|
@@ -1849,6 +2679,7 @@ var defaults_default = defaults;
|
|
|
1849
2679
|
currency,
|
|
1850
2680
|
customerType,
|
|
1851
2681
|
defaults,
|
|
2682
|
+
defaultsWithTypes,
|
|
1852
2683
|
formatPhoneNumber,
|
|
1853
2684
|
getRandomArbitrary,
|
|
1854
2685
|
grabAge,
|