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