@verma-consulting/common-library 0.1.12 → 0.1.14
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 +11 -9
- package/dist/index.d.ts +11 -9
- package/dist/index.js +45 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -44
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1751,7 +1751,7 @@ var defaults = {
|
|
|
1751
1751
|
jobTitle: "",
|
|
1752
1752
|
password: "",
|
|
1753
1753
|
dateOfBirth: null,
|
|
1754
|
-
|
|
1754
|
+
phone: "",
|
|
1755
1755
|
permissions: [],
|
|
1756
1756
|
avatar: null,
|
|
1757
1757
|
notificationSettings: {
|
|
@@ -1771,7 +1771,8 @@ var defaults = {
|
|
|
1771
1771
|
description: "",
|
|
1772
1772
|
status: "Ready",
|
|
1773
1773
|
email: "",
|
|
1774
|
-
|
|
1774
|
+
individualName: "",
|
|
1775
|
+
businessName: "",
|
|
1775
1776
|
phone: "",
|
|
1776
1777
|
accountNumber: "",
|
|
1777
1778
|
invoicePrefix: "",
|
|
@@ -1782,7 +1783,7 @@ var defaults = {
|
|
|
1782
1783
|
industry: "",
|
|
1783
1784
|
annualRevenue: 0,
|
|
1784
1785
|
balance: 0,
|
|
1785
|
-
nextInvoiceSequence:
|
|
1786
|
+
nextInvoiceSequence: 1,
|
|
1786
1787
|
taxExempt: "none",
|
|
1787
1788
|
website: "",
|
|
1788
1789
|
source: "Advertisement",
|
|
@@ -1804,7 +1805,7 @@ var defaults = {
|
|
|
1804
1805
|
description: "",
|
|
1805
1806
|
status: "Ready",
|
|
1806
1807
|
email: "",
|
|
1807
|
-
|
|
1808
|
+
phone: "",
|
|
1808
1809
|
role: "",
|
|
1809
1810
|
linkedinUrl: "",
|
|
1810
1811
|
twitterUrl: "",
|
|
@@ -2156,8 +2157,8 @@ var defaultsWithTypes = {
|
|
|
2156
2157
|
jobTitle: { default: "", type: "String" },
|
|
2157
2158
|
password: { default: "", type: "String" },
|
|
2158
2159
|
dateOfBirth: { default: null, type: "Date" },
|
|
2159
|
-
|
|
2160
|
-
permissions: { default: [], type: "
|
|
2160
|
+
phone: { default: "", type: "String" },
|
|
2161
|
+
permissions: { default: [], type: "LIST" },
|
|
2161
2162
|
avatar: { default: null, type: "String" },
|
|
2162
2163
|
notificationSettings: {
|
|
2163
2164
|
dailyReports: { default: false, type: "Boolean" },
|
|
@@ -2177,7 +2178,7 @@ var defaultsWithTypes = {
|
|
|
2177
2178
|
status: { default: "Ready", type: "String" },
|
|
2178
2179
|
email: { default: "", type: "String" },
|
|
2179
2180
|
contactName: { default: "", type: "String" },
|
|
2180
|
-
phone: { default: "", type: "
|
|
2181
|
+
phone: { default: "", type: "PhoneNumber" },
|
|
2181
2182
|
accountNumber: { default: "", type: "String" },
|
|
2182
2183
|
invoicePrefix: { default: "", type: "String" },
|
|
2183
2184
|
sicCode: { default: "", type: "String" },
|
|
@@ -2197,24 +2198,24 @@ var defaultsWithTypes = {
|
|
|
2197
2198
|
twitterUrl: { default: "", type: "String" },
|
|
2198
2199
|
angelUrl: { default: "", type: "String" },
|
|
2199
2200
|
crunchbaseUrl: { default: "", type: "String" },
|
|
2200
|
-
accountOwner: { default: "", type: "
|
|
2201
|
-
contacts: { default: "", type: "
|
|
2202
|
-
deals: { default: "", type: "
|
|
2203
|
-
invoices: { default: "", type: "
|
|
2204
|
-
engagements: { default: "", type: "
|
|
2205
|
-
tasks: { default: "", type: "
|
|
2201
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2202
|
+
contacts: { default: "", type: "LIST" },
|
|
2203
|
+
deals: { default: "", type: "LIST" },
|
|
2204
|
+
invoices: { default: "", type: "LIST" },
|
|
2205
|
+
engagements: { default: "", type: "LIST" },
|
|
2206
|
+
tasks: { default: "", type: "LIST" }
|
|
2206
2207
|
},
|
|
2207
2208
|
contacts: {
|
|
2208
2209
|
name: { default: "", type: "String" },
|
|
2209
2210
|
description: { default: "", type: "String" },
|
|
2210
2211
|
status: { default: "Ready", type: "String" },
|
|
2211
2212
|
email: { default: "", type: "String" },
|
|
2212
|
-
|
|
2213
|
+
phone: { default: "", type: "String" },
|
|
2213
2214
|
role: { default: "", type: "String" },
|
|
2214
2215
|
linkedinUrl: { default: "", type: "String" },
|
|
2215
2216
|
twitterUrl: { default: "", type: "String" },
|
|
2216
|
-
client: { default: "", type: "
|
|
2217
|
-
engagements: { default: "", type: "
|
|
2217
|
+
client: { default: "", type: "OBJECT" },
|
|
2218
|
+
engagements: { default: "", type: "LIST" }
|
|
2218
2219
|
},
|
|
2219
2220
|
inventories: {
|
|
2220
2221
|
name: { default: "", type: "String" },
|
|
@@ -2251,9 +2252,9 @@ var defaultsWithTypes = {
|
|
|
2251
2252
|
expectedRevenue: { default: 0, type: "Int" },
|
|
2252
2253
|
probability: { default: 0, type: "Int" },
|
|
2253
2254
|
nextStep: { default: "", type: "String" },
|
|
2254
|
-
accountOwner: { default: "", type: "
|
|
2255
|
-
client: { default: "", type: "
|
|
2256
|
-
campaign: { default: "", type: "
|
|
2255
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2256
|
+
client: { default: "", type: "OBJECT" },
|
|
2257
|
+
campaign: { default: "", type: "OBJECT" }
|
|
2257
2258
|
},
|
|
2258
2259
|
deals: {
|
|
2259
2260
|
name: { default: "", type: "String" },
|
|
@@ -2266,9 +2267,9 @@ var defaultsWithTypes = {
|
|
|
2266
2267
|
expectedRevenue: { default: 0, type: "Int" },
|
|
2267
2268
|
probability: { default: 0, type: "Int" },
|
|
2268
2269
|
nextStep: { default: "", type: "String" },
|
|
2269
|
-
accountOwner: { default: "", type: "
|
|
2270
|
-
client: { default: "", type: "
|
|
2271
|
-
campaign: { default: "", type: "
|
|
2270
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2271
|
+
client: { default: "", type: "OBJECT" },
|
|
2272
|
+
campaign: { default: "", type: "OBJECT" }
|
|
2272
2273
|
},
|
|
2273
2274
|
campaigns: {
|
|
2274
2275
|
name: { default: "", type: "String" },
|
|
@@ -2283,9 +2284,9 @@ var defaultsWithTypes = {
|
|
|
2283
2284
|
actualCost: { default: 0, type: "Int" },
|
|
2284
2285
|
numbersSent: { default: 0, type: "Int" },
|
|
2285
2286
|
expectedResponse: { default: "", type: "String" },
|
|
2286
|
-
accountOwner: { default: "", type: "
|
|
2287
|
-
leads: { default: "", type: "
|
|
2288
|
-
deals: { default: "", type: "
|
|
2287
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2288
|
+
leads: { default: "", type: "OBJECT" },
|
|
2289
|
+
deals: { default: "", type: "OBJECT" }
|
|
2289
2290
|
},
|
|
2290
2291
|
invoices: {
|
|
2291
2292
|
name: { default: "", type: "String" },
|
|
@@ -2326,12 +2327,12 @@ var defaultsWithTypes = {
|
|
|
2326
2327
|
livemode: { default: false, type: "Boolean" },
|
|
2327
2328
|
paid: { default: false, type: "Boolean" },
|
|
2328
2329
|
paidOutOfBand: { default: false, type: "Boolean" },
|
|
2329
|
-
client: { default: "", type: "
|
|
2330
|
-
accountOwner: { default: "", type: "
|
|
2331
|
-
deal: { default: "", type: "
|
|
2330
|
+
client: { default: "", type: "OBJECT" },
|
|
2331
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2332
|
+
deal: { default: "", type: "OBJECT" }
|
|
2332
2333
|
},
|
|
2333
2334
|
issuer: {
|
|
2334
|
-
account: { default: "", type: "
|
|
2335
|
+
account: { default: "", type: "OBJECT" },
|
|
2335
2336
|
type: { default: "", type: "String" }
|
|
2336
2337
|
},
|
|
2337
2338
|
engagements: {
|
|
@@ -2339,8 +2340,8 @@ var defaultsWithTypes = {
|
|
|
2339
2340
|
description: { default: "", type: "String" },
|
|
2340
2341
|
status: { default: "Ready", type: "String" },
|
|
2341
2342
|
engagementDate: { default: null, type: "Date" },
|
|
2342
|
-
client: { default: "", type: "
|
|
2343
|
-
contact: { default: "", type: "
|
|
2343
|
+
client: { default: "", type: "OBJECT" },
|
|
2344
|
+
contact: { default: "", type: "OBJECT" }
|
|
2344
2345
|
},
|
|
2345
2346
|
pools: {
|
|
2346
2347
|
name: { default: "", type: "String" },
|
|
@@ -2352,9 +2353,9 @@ var defaultsWithTypes = {
|
|
|
2352
2353
|
description: { default: null, type: "String" },
|
|
2353
2354
|
status: { default: "Ready", type: "String" },
|
|
2354
2355
|
productType: { default: "service", type: "String" },
|
|
2355
|
-
client: { default: "", type: "
|
|
2356
|
-
inventory: { default: "", type: "
|
|
2357
|
-
accountOwner: { default: "", type: "
|
|
2356
|
+
client: { default: "", type: "OBJECT" },
|
|
2357
|
+
inventory: { default: "", type: "OBJECT" },
|
|
2358
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2358
2359
|
active: { default: true, type: "Boolean" },
|
|
2359
2360
|
shippable: { default: false, type: "Boolean" },
|
|
2360
2361
|
statementDescriptor: { default: "", type: "String" },
|
|
@@ -2408,14 +2409,14 @@ var defaultsWithTypes = {
|
|
|
2408
2409
|
nextPendingInvoiceItemInvoice: { default: null, type: "String" },
|
|
2409
2410
|
collectionMethod: { default: "charge_automatically", type: "String" },
|
|
2410
2411
|
missingPaymentMethod: { default: "create_invoice", type: "String" },
|
|
2411
|
-
client: { default: "", type: "
|
|
2412
|
-
deal: { default: "", type: "
|
|
2413
|
-
accountOwner: { default: "", type: "
|
|
2412
|
+
client: { default: "", type: "OBJECT" },
|
|
2413
|
+
deal: { default: "", type: "OBJECT" },
|
|
2414
|
+
accountOwner: { default: "", type: "OBJECT" }
|
|
2414
2415
|
},
|
|
2415
2416
|
automaticTax: {
|
|
2416
2417
|
enabled: { default: false, type: "Boolean" },
|
|
2417
2418
|
liability: {
|
|
2418
|
-
account: { default: "", type: "
|
|
2419
|
+
account: { default: "", type: "OBJECT" },
|
|
2419
2420
|
type: { default: "", type: "String" }
|
|
2420
2421
|
},
|
|
2421
2422
|
status: { default: "", type: "String" }
|
|
@@ -2448,9 +2449,9 @@ var defaultsWithTypes = {
|
|
|
2448
2449
|
statementDescriptorSuffix: { default: "", type: "String" },
|
|
2449
2450
|
livemode: { default: false, type: "Boolean" },
|
|
2450
2451
|
receiptEmail: { default: "", type: "String" },
|
|
2451
|
-
client: { default: "", type: "
|
|
2452
|
-
subscription: { default: "", type: "
|
|
2453
|
-
invoice: { default: "", type: "
|
|
2452
|
+
client: { default: "", type: "OBJECT" },
|
|
2453
|
+
subscription: { default: "", type: "OBJECT" },
|
|
2454
|
+
invoice: { default: "", type: "OBJECT" }
|
|
2454
2455
|
},
|
|
2455
2456
|
reports: {
|
|
2456
2457
|
label: { default: "", type: "String" },
|
|
@@ -2498,7 +2499,7 @@ var defaultsWithTypes = {
|
|
|
2498
2499
|
selected: { default: false, type: "Boolean" },
|
|
2499
2500
|
key: { default: "", type: "String" },
|
|
2500
2501
|
type: { default: "", type: "String" },
|
|
2501
|
-
options: { default: [], type: "
|
|
2502
|
+
options: { default: [], type: "LIST" }
|
|
2502
2503
|
},
|
|
2503
2504
|
comments: {
|
|
2504
2505
|
label: { default: "", type: "String" }
|
|
@@ -2515,8 +2516,8 @@ var defaultsWithTypes = {
|
|
|
2515
2516
|
repeat: { default: false, type: "Boolean" },
|
|
2516
2517
|
repeatDate: { default: null, type: "Date" },
|
|
2517
2518
|
repeatTime: { default: "", type: "Time" },
|
|
2518
|
-
client: { default: "", type: "
|
|
2519
|
-
assignee: { default: "", type: "
|
|
2519
|
+
client: { default: "", type: "OBJECT" },
|
|
2520
|
+
assignee: { default: "", type: "OBJECT" }
|
|
2520
2521
|
},
|
|
2521
2522
|
integrations: {
|
|
2522
2523
|
name: { default: "", type: "String" },
|