@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.d.mts
CHANGED
|
@@ -32,7 +32,7 @@ interface RegisterInterface {
|
|
|
32
32
|
status?: string;
|
|
33
33
|
role?: string;
|
|
34
34
|
dateOfBirth?: Date | null;
|
|
35
|
-
|
|
35
|
+
phone?: string;
|
|
36
36
|
gender?: string;
|
|
37
37
|
organizationName?: string;
|
|
38
38
|
termsNConditionFlag?: boolean;
|
|
@@ -65,7 +65,7 @@ interface UserInterface {
|
|
|
65
65
|
role?: string;
|
|
66
66
|
isEmailConfirmed?: boolean;
|
|
67
67
|
qrVerified?: boolean;
|
|
68
|
-
|
|
68
|
+
phone?: string;
|
|
69
69
|
gender?: string;
|
|
70
70
|
userName?: string;
|
|
71
71
|
email?: string;
|
|
@@ -602,7 +602,7 @@ interface ContactInterface {
|
|
|
602
602
|
email?: string;
|
|
603
603
|
linkedinUrl?: string;
|
|
604
604
|
twitterUrl?: string;
|
|
605
|
-
|
|
605
|
+
phone?: string;
|
|
606
606
|
role?: string;
|
|
607
607
|
clientId?: string;
|
|
608
608
|
userId?: string;
|
|
@@ -2095,7 +2095,7 @@ declare const defaults: {
|
|
|
2095
2095
|
jobTitle: string;
|
|
2096
2096
|
password: string;
|
|
2097
2097
|
dateOfBirth: null;
|
|
2098
|
-
|
|
2098
|
+
phone: string;
|
|
2099
2099
|
permissions: never[];
|
|
2100
2100
|
avatar: null;
|
|
2101
2101
|
notificationSettings: {
|
|
@@ -2148,7 +2148,7 @@ declare const defaults: {
|
|
|
2148
2148
|
description: string;
|
|
2149
2149
|
status: string;
|
|
2150
2150
|
email: string;
|
|
2151
|
-
|
|
2151
|
+
phone: string;
|
|
2152
2152
|
role: string;
|
|
2153
2153
|
linkedinUrl: string;
|
|
2154
2154
|
twitterUrl: string;
|
|
@@ -2525,7 +2525,7 @@ declare const defaultsWithTypes: {
|
|
|
2525
2525
|
default: null;
|
|
2526
2526
|
type: string;
|
|
2527
2527
|
};
|
|
2528
|
-
|
|
2528
|
+
phone: {
|
|
2529
2529
|
default: string;
|
|
2530
2530
|
type: string;
|
|
2531
2531
|
};
|
|
@@ -2713,7 +2713,7 @@ declare const defaultsWithTypes: {
|
|
|
2713
2713
|
default: string;
|
|
2714
2714
|
type: string;
|
|
2715
2715
|
};
|
|
2716
|
-
|
|
2716
|
+
phone: {
|
|
2717
2717
|
default: string;
|
|
2718
2718
|
type: string;
|
|
2719
2719
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ interface RegisterInterface {
|
|
|
32
32
|
status?: string;
|
|
33
33
|
role?: string;
|
|
34
34
|
dateOfBirth?: Date | null;
|
|
35
|
-
|
|
35
|
+
phone?: string;
|
|
36
36
|
gender?: string;
|
|
37
37
|
organizationName?: string;
|
|
38
38
|
termsNConditionFlag?: boolean;
|
|
@@ -65,7 +65,7 @@ interface UserInterface {
|
|
|
65
65
|
role?: string;
|
|
66
66
|
isEmailConfirmed?: boolean;
|
|
67
67
|
qrVerified?: boolean;
|
|
68
|
-
|
|
68
|
+
phone?: string;
|
|
69
69
|
gender?: string;
|
|
70
70
|
userName?: string;
|
|
71
71
|
email?: string;
|
|
@@ -602,7 +602,7 @@ interface ContactInterface {
|
|
|
602
602
|
email?: string;
|
|
603
603
|
linkedinUrl?: string;
|
|
604
604
|
twitterUrl?: string;
|
|
605
|
-
|
|
605
|
+
phone?: string;
|
|
606
606
|
role?: string;
|
|
607
607
|
clientId?: string;
|
|
608
608
|
userId?: string;
|
|
@@ -2095,7 +2095,7 @@ declare const defaults: {
|
|
|
2095
2095
|
jobTitle: string;
|
|
2096
2096
|
password: string;
|
|
2097
2097
|
dateOfBirth: null;
|
|
2098
|
-
|
|
2098
|
+
phone: string;
|
|
2099
2099
|
permissions: never[];
|
|
2100
2100
|
avatar: null;
|
|
2101
2101
|
notificationSettings: {
|
|
@@ -2148,7 +2148,7 @@ declare const defaults: {
|
|
|
2148
2148
|
description: string;
|
|
2149
2149
|
status: string;
|
|
2150
2150
|
email: string;
|
|
2151
|
-
|
|
2151
|
+
phone: string;
|
|
2152
2152
|
role: string;
|
|
2153
2153
|
linkedinUrl: string;
|
|
2154
2154
|
twitterUrl: string;
|
|
@@ -2525,7 +2525,7 @@ declare const defaultsWithTypes: {
|
|
|
2525
2525
|
default: null;
|
|
2526
2526
|
type: string;
|
|
2527
2527
|
};
|
|
2528
|
-
|
|
2528
|
+
phone: {
|
|
2529
2529
|
default: string;
|
|
2530
2530
|
type: string;
|
|
2531
2531
|
};
|
|
@@ -2713,7 +2713,7 @@ declare const defaultsWithTypes: {
|
|
|
2713
2713
|
default: string;
|
|
2714
2714
|
type: string;
|
|
2715
2715
|
};
|
|
2716
|
-
|
|
2716
|
+
phone: {
|
|
2717
2717
|
default: string;
|
|
2718
2718
|
type: string;
|
|
2719
2719
|
};
|
package/dist/index.js
CHANGED
|
@@ -1842,7 +1842,7 @@ var defaults = {
|
|
|
1842
1842
|
jobTitle: "",
|
|
1843
1843
|
password: "",
|
|
1844
1844
|
dateOfBirth: null,
|
|
1845
|
-
|
|
1845
|
+
phone: "",
|
|
1846
1846
|
permissions: [],
|
|
1847
1847
|
avatar: null,
|
|
1848
1848
|
notificationSettings: {
|
|
@@ -1895,7 +1895,7 @@ var defaults = {
|
|
|
1895
1895
|
description: "",
|
|
1896
1896
|
status: "Ready",
|
|
1897
1897
|
email: "",
|
|
1898
|
-
|
|
1898
|
+
phone: "",
|
|
1899
1899
|
role: "",
|
|
1900
1900
|
linkedinUrl: "",
|
|
1901
1901
|
twitterUrl: "",
|
|
@@ -2247,8 +2247,8 @@ var defaultsWithTypes = {
|
|
|
2247
2247
|
jobTitle: { default: "", type: "String" },
|
|
2248
2248
|
password: { default: "", type: "String" },
|
|
2249
2249
|
dateOfBirth: { default: null, type: "Date" },
|
|
2250
|
-
|
|
2251
|
-
permissions: { default: [], type: "
|
|
2250
|
+
phone: { default: "", type: "String" },
|
|
2251
|
+
permissions: { default: [], type: "LIST" },
|
|
2252
2252
|
avatar: { default: null, type: "String" },
|
|
2253
2253
|
notificationSettings: {
|
|
2254
2254
|
dailyReports: { default: false, type: "Boolean" },
|
|
@@ -2268,7 +2268,7 @@ var defaultsWithTypes = {
|
|
|
2268
2268
|
status: { default: "Ready", type: "String" },
|
|
2269
2269
|
email: { default: "", type: "String" },
|
|
2270
2270
|
contactName: { default: "", type: "String" },
|
|
2271
|
-
phone: { default: "", type: "
|
|
2271
|
+
phone: { default: "", type: "PhoneNumber" },
|
|
2272
2272
|
accountNumber: { default: "", type: "String" },
|
|
2273
2273
|
invoicePrefix: { default: "", type: "String" },
|
|
2274
2274
|
sicCode: { default: "", type: "String" },
|
|
@@ -2288,24 +2288,24 @@ var defaultsWithTypes = {
|
|
|
2288
2288
|
twitterUrl: { default: "", type: "String" },
|
|
2289
2289
|
angelUrl: { default: "", type: "String" },
|
|
2290
2290
|
crunchbaseUrl: { default: "", type: "String" },
|
|
2291
|
-
accountOwner: { default: "", type: "
|
|
2292
|
-
contacts: { default: "", type: "
|
|
2293
|
-
deals: { default: "", type: "
|
|
2294
|
-
invoices: { default: "", type: "
|
|
2295
|
-
engagements: { default: "", type: "
|
|
2296
|
-
tasks: { default: "", type: "
|
|
2291
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2292
|
+
contacts: { default: "", type: "LIST" },
|
|
2293
|
+
deals: { default: "", type: "LIST" },
|
|
2294
|
+
invoices: { default: "", type: "LIST" },
|
|
2295
|
+
engagements: { default: "", type: "LIST" },
|
|
2296
|
+
tasks: { default: "", type: "LIST" }
|
|
2297
2297
|
},
|
|
2298
2298
|
contacts: {
|
|
2299
2299
|
name: { default: "", type: "String" },
|
|
2300
2300
|
description: { default: "", type: "String" },
|
|
2301
2301
|
status: { default: "Ready", type: "String" },
|
|
2302
2302
|
email: { default: "", type: "String" },
|
|
2303
|
-
|
|
2303
|
+
phone: { default: "", type: "String" },
|
|
2304
2304
|
role: { default: "", type: "String" },
|
|
2305
2305
|
linkedinUrl: { default: "", type: "String" },
|
|
2306
2306
|
twitterUrl: { default: "", type: "String" },
|
|
2307
|
-
client: { default: "", type: "
|
|
2308
|
-
engagements: { default: "", type: "
|
|
2307
|
+
client: { default: "", type: "OBJECT" },
|
|
2308
|
+
engagements: { default: "", type: "LIST" }
|
|
2309
2309
|
},
|
|
2310
2310
|
inventories: {
|
|
2311
2311
|
name: { default: "", type: "String" },
|
|
@@ -2342,9 +2342,9 @@ var defaultsWithTypes = {
|
|
|
2342
2342
|
expectedRevenue: { default: 0, type: "Int" },
|
|
2343
2343
|
probability: { default: 0, type: "Int" },
|
|
2344
2344
|
nextStep: { default: "", type: "String" },
|
|
2345
|
-
accountOwner: { default: "", type: "
|
|
2346
|
-
client: { default: "", type: "
|
|
2347
|
-
campaign: { default: "", type: "
|
|
2345
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2346
|
+
client: { default: "", type: "OBJECT" },
|
|
2347
|
+
campaign: { default: "", type: "OBJECT" }
|
|
2348
2348
|
},
|
|
2349
2349
|
deals: {
|
|
2350
2350
|
name: { default: "", type: "String" },
|
|
@@ -2357,9 +2357,9 @@ var defaultsWithTypes = {
|
|
|
2357
2357
|
expectedRevenue: { default: 0, type: "Int" },
|
|
2358
2358
|
probability: { default: 0, type: "Int" },
|
|
2359
2359
|
nextStep: { default: "", type: "String" },
|
|
2360
|
-
accountOwner: { default: "", type: "
|
|
2361
|
-
client: { default: "", type: "
|
|
2362
|
-
campaign: { default: "", type: "
|
|
2360
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2361
|
+
client: { default: "", type: "OBJECT" },
|
|
2362
|
+
campaign: { default: "", type: "OBJECT" }
|
|
2363
2363
|
},
|
|
2364
2364
|
campaigns: {
|
|
2365
2365
|
name: { default: "", type: "String" },
|
|
@@ -2374,9 +2374,9 @@ var defaultsWithTypes = {
|
|
|
2374
2374
|
actualCost: { default: 0, type: "Int" },
|
|
2375
2375
|
numbersSent: { default: 0, type: "Int" },
|
|
2376
2376
|
expectedResponse: { default: "", type: "String" },
|
|
2377
|
-
accountOwner: { default: "", type: "
|
|
2378
|
-
leads: { default: "", type: "
|
|
2379
|
-
deals: { default: "", type: "
|
|
2377
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2378
|
+
leads: { default: "", type: "OBJECT" },
|
|
2379
|
+
deals: { default: "", type: "OBJECT" }
|
|
2380
2380
|
},
|
|
2381
2381
|
invoices: {
|
|
2382
2382
|
name: { default: "", type: "String" },
|
|
@@ -2417,12 +2417,12 @@ var defaultsWithTypes = {
|
|
|
2417
2417
|
livemode: { default: false, type: "Boolean" },
|
|
2418
2418
|
paid: { default: false, type: "Boolean" },
|
|
2419
2419
|
paidOutOfBand: { default: false, type: "Boolean" },
|
|
2420
|
-
client: { default: "", type: "
|
|
2421
|
-
accountOwner: { default: "", type: "
|
|
2422
|
-
deal: { default: "", type: "
|
|
2420
|
+
client: { default: "", type: "OBJECT" },
|
|
2421
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2422
|
+
deal: { default: "", type: "OBJECT" }
|
|
2423
2423
|
},
|
|
2424
2424
|
issuer: {
|
|
2425
|
-
account: { default: "", type: "
|
|
2425
|
+
account: { default: "", type: "OBJECT" },
|
|
2426
2426
|
type: { default: "", type: "String" }
|
|
2427
2427
|
},
|
|
2428
2428
|
engagements: {
|
|
@@ -2430,8 +2430,8 @@ var defaultsWithTypes = {
|
|
|
2430
2430
|
description: { default: "", type: "String" },
|
|
2431
2431
|
status: { default: "Ready", type: "String" },
|
|
2432
2432
|
engagementDate: { default: null, type: "Date" },
|
|
2433
|
-
client: { default: "", type: "
|
|
2434
|
-
contact: { default: "", type: "
|
|
2433
|
+
client: { default: "", type: "OBJECT" },
|
|
2434
|
+
contact: { default: "", type: "OBJECT" }
|
|
2435
2435
|
},
|
|
2436
2436
|
pools: {
|
|
2437
2437
|
name: { default: "", type: "String" },
|
|
@@ -2443,9 +2443,9 @@ var defaultsWithTypes = {
|
|
|
2443
2443
|
description: { default: null, type: "String" },
|
|
2444
2444
|
status: { default: "Ready", type: "String" },
|
|
2445
2445
|
productType: { default: "service", type: "String" },
|
|
2446
|
-
client: { default: "", type: "
|
|
2447
|
-
inventory: { default: "", type: "
|
|
2448
|
-
accountOwner: { default: "", type: "
|
|
2446
|
+
client: { default: "", type: "OBJECT" },
|
|
2447
|
+
inventory: { default: "", type: "OBJECT" },
|
|
2448
|
+
accountOwner: { default: "", type: "OBJECT" },
|
|
2449
2449
|
active: { default: true, type: "Boolean" },
|
|
2450
2450
|
shippable: { default: false, type: "Boolean" },
|
|
2451
2451
|
statementDescriptor: { default: "", type: "String" },
|
|
@@ -2499,14 +2499,14 @@ var defaultsWithTypes = {
|
|
|
2499
2499
|
nextPendingInvoiceItemInvoice: { default: null, type: "String" },
|
|
2500
2500
|
collectionMethod: { default: "charge_automatically", type: "String" },
|
|
2501
2501
|
missingPaymentMethod: { default: "create_invoice", type: "String" },
|
|
2502
|
-
client: { default: "", type: "
|
|
2503
|
-
deal: { default: "", type: "
|
|
2504
|
-
accountOwner: { default: "", type: "
|
|
2502
|
+
client: { default: "", type: "OBJECT" },
|
|
2503
|
+
deal: { default: "", type: "OBJECT" },
|
|
2504
|
+
accountOwner: { default: "", type: "OBJECT" }
|
|
2505
2505
|
},
|
|
2506
2506
|
automaticTax: {
|
|
2507
2507
|
enabled: { default: false, type: "Boolean" },
|
|
2508
2508
|
liability: {
|
|
2509
|
-
account: { default: "", type: "
|
|
2509
|
+
account: { default: "", type: "OBJECT" },
|
|
2510
2510
|
type: { default: "", type: "String" }
|
|
2511
2511
|
},
|
|
2512
2512
|
status: { default: "", type: "String" }
|
|
@@ -2539,9 +2539,9 @@ var defaultsWithTypes = {
|
|
|
2539
2539
|
statementDescriptorSuffix: { default: "", type: "String" },
|
|
2540
2540
|
livemode: { default: false, type: "Boolean" },
|
|
2541
2541
|
receiptEmail: { default: "", type: "String" },
|
|
2542
|
-
client: { default: "", type: "
|
|
2543
|
-
subscription: { default: "", type: "
|
|
2544
|
-
invoice: { default: "", type: "
|
|
2542
|
+
client: { default: "", type: "OBJECT" },
|
|
2543
|
+
subscription: { default: "", type: "OBJECT" },
|
|
2544
|
+
invoice: { default: "", type: "OBJECT" }
|
|
2545
2545
|
},
|
|
2546
2546
|
reports: {
|
|
2547
2547
|
label: { default: "", type: "String" },
|
|
@@ -2589,7 +2589,7 @@ var defaultsWithTypes = {
|
|
|
2589
2589
|
selected: { default: false, type: "Boolean" },
|
|
2590
2590
|
key: { default: "", type: "String" },
|
|
2591
2591
|
type: { default: "", type: "String" },
|
|
2592
|
-
options: { default: [], type: "
|
|
2592
|
+
options: { default: [], type: "LIST" }
|
|
2593
2593
|
},
|
|
2594
2594
|
comments: {
|
|
2595
2595
|
label: { default: "", type: "String" }
|
|
@@ -2606,8 +2606,8 @@ var defaultsWithTypes = {
|
|
|
2606
2606
|
repeat: { default: false, type: "Boolean" },
|
|
2607
2607
|
repeatDate: { default: null, type: "Date" },
|
|
2608
2608
|
repeatTime: { default: "", type: "Time" },
|
|
2609
|
-
client: { default: "", type: "
|
|
2610
|
-
assignee: { default: "", type: "
|
|
2609
|
+
client: { default: "", type: "OBJECT" },
|
|
2610
|
+
assignee: { default: "", type: "OBJECT" }
|
|
2611
2611
|
},
|
|
2612
2612
|
integrations: {
|
|
2613
2613
|
name: { default: "", type: "String" },
|