@verma-consulting/common-library 0.1.30 → 0.1.31
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 +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +19 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1707,15 +1707,16 @@ declare enum OrganizationFeatures {
|
|
|
1707
1707
|
tasks = "tasks",
|
|
1708
1708
|
products = "products",
|
|
1709
1709
|
inventories = "inventories",
|
|
1710
|
-
invoices = "invoices",
|
|
1711
|
-
leads = "leads",
|
|
1712
|
-
deals = "deals",
|
|
1713
1710
|
contacts = "contacts",
|
|
1714
1711
|
engagements = "engagements",
|
|
1715
1712
|
campaigns = "campaigns",
|
|
1716
|
-
|
|
1713
|
+
leads = "leads",
|
|
1714
|
+
deals = "deals",
|
|
1715
|
+
orders = "orders",
|
|
1716
|
+
invoices = "invoices",
|
|
1717
1717
|
payments = "payments",
|
|
1718
1718
|
paymentMethods = "paymentMethods",
|
|
1719
|
+
subscriptions = "subscriptions",
|
|
1719
1720
|
refunds = "refunds",
|
|
1720
1721
|
disputes = "disputes",
|
|
1721
1722
|
dataPools = "dataPools",
|
|
@@ -1850,15 +1851,16 @@ declare enum ModelType {
|
|
|
1850
1851
|
tasks = "tasks",
|
|
1851
1852
|
products = "products",
|
|
1852
1853
|
inventories = "inventories",
|
|
1853
|
-
invoices = "invoices",
|
|
1854
1854
|
leads = "leads",
|
|
1855
1855
|
deals = "deals",
|
|
1856
|
+
orders = "orders",
|
|
1856
1857
|
contacts = "contacts",
|
|
1857
1858
|
engagements = "engagements",
|
|
1858
1859
|
campaigns = "campaigns",
|
|
1859
|
-
|
|
1860
|
+
invoices = "invoices",
|
|
1860
1861
|
payments = "payments",
|
|
1861
1862
|
paymentMethods = "paymentMethods",
|
|
1863
|
+
subscriptions = "subscriptions",
|
|
1862
1864
|
refunds = "refunds",
|
|
1863
1865
|
disputes = "disputes"
|
|
1864
1866
|
}
|
|
@@ -2156,9 +2158,9 @@ declare const constants: {
|
|
|
2156
2158
|
tasks: string;
|
|
2157
2159
|
products: string;
|
|
2158
2160
|
inventories: string;
|
|
2159
|
-
campaigns: string;
|
|
2160
2161
|
contacts: string;
|
|
2161
2162
|
engagements: string;
|
|
2163
|
+
campaigns: string;
|
|
2162
2164
|
leads: string;
|
|
2163
2165
|
deals: string;
|
|
2164
2166
|
orders: string;
|
|
@@ -2174,9 +2176,9 @@ declare const constants: {
|
|
|
2174
2176
|
tasks: string;
|
|
2175
2177
|
products: string;
|
|
2176
2178
|
inventories: string;
|
|
2177
|
-
campaigns: string;
|
|
2178
2179
|
contacts: string;
|
|
2179
2180
|
engagements: string;
|
|
2181
|
+
campaigns: string;
|
|
2180
2182
|
leads: string;
|
|
2181
2183
|
deals: string;
|
|
2182
2184
|
orders: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1707,15 +1707,16 @@ declare enum OrganizationFeatures {
|
|
|
1707
1707
|
tasks = "tasks",
|
|
1708
1708
|
products = "products",
|
|
1709
1709
|
inventories = "inventories",
|
|
1710
|
-
invoices = "invoices",
|
|
1711
|
-
leads = "leads",
|
|
1712
|
-
deals = "deals",
|
|
1713
1710
|
contacts = "contacts",
|
|
1714
1711
|
engagements = "engagements",
|
|
1715
1712
|
campaigns = "campaigns",
|
|
1716
|
-
|
|
1713
|
+
leads = "leads",
|
|
1714
|
+
deals = "deals",
|
|
1715
|
+
orders = "orders",
|
|
1716
|
+
invoices = "invoices",
|
|
1717
1717
|
payments = "payments",
|
|
1718
1718
|
paymentMethods = "paymentMethods",
|
|
1719
|
+
subscriptions = "subscriptions",
|
|
1719
1720
|
refunds = "refunds",
|
|
1720
1721
|
disputes = "disputes",
|
|
1721
1722
|
dataPools = "dataPools",
|
|
@@ -1850,15 +1851,16 @@ declare enum ModelType {
|
|
|
1850
1851
|
tasks = "tasks",
|
|
1851
1852
|
products = "products",
|
|
1852
1853
|
inventories = "inventories",
|
|
1853
|
-
invoices = "invoices",
|
|
1854
1854
|
leads = "leads",
|
|
1855
1855
|
deals = "deals",
|
|
1856
|
+
orders = "orders",
|
|
1856
1857
|
contacts = "contacts",
|
|
1857
1858
|
engagements = "engagements",
|
|
1858
1859
|
campaigns = "campaigns",
|
|
1859
|
-
|
|
1860
|
+
invoices = "invoices",
|
|
1860
1861
|
payments = "payments",
|
|
1861
1862
|
paymentMethods = "paymentMethods",
|
|
1863
|
+
subscriptions = "subscriptions",
|
|
1862
1864
|
refunds = "refunds",
|
|
1863
1865
|
disputes = "disputes"
|
|
1864
1866
|
}
|
|
@@ -2156,9 +2158,9 @@ declare const constants: {
|
|
|
2156
2158
|
tasks: string;
|
|
2157
2159
|
products: string;
|
|
2158
2160
|
inventories: string;
|
|
2159
|
-
campaigns: string;
|
|
2160
2161
|
contacts: string;
|
|
2161
2162
|
engagements: string;
|
|
2163
|
+
campaigns: string;
|
|
2162
2164
|
leads: string;
|
|
2163
2165
|
deals: string;
|
|
2164
2166
|
orders: string;
|
|
@@ -2174,9 +2176,9 @@ declare const constants: {
|
|
|
2174
2176
|
tasks: string;
|
|
2175
2177
|
products: string;
|
|
2176
2178
|
inventories: string;
|
|
2177
|
-
campaigns: string;
|
|
2178
2179
|
contacts: string;
|
|
2179
2180
|
engagements: string;
|
|
2181
|
+
campaigns: string;
|
|
2180
2182
|
leads: string;
|
|
2181
2183
|
deals: string;
|
|
2182
2184
|
orders: string;
|
package/dist/index.js
CHANGED
|
@@ -439,15 +439,16 @@ var OrganizationFeatures = /* @__PURE__ */ ((OrganizationFeatures2) => {
|
|
|
439
439
|
OrganizationFeatures2["tasks"] = "tasks";
|
|
440
440
|
OrganizationFeatures2["products"] = "products";
|
|
441
441
|
OrganizationFeatures2["inventories"] = "inventories";
|
|
442
|
-
OrganizationFeatures2["invoices"] = "invoices";
|
|
443
|
-
OrganizationFeatures2["leads"] = "leads";
|
|
444
|
-
OrganizationFeatures2["deals"] = "deals";
|
|
445
442
|
OrganizationFeatures2["contacts"] = "contacts";
|
|
446
443
|
OrganizationFeatures2["engagements"] = "engagements";
|
|
447
444
|
OrganizationFeatures2["campaigns"] = "campaigns";
|
|
448
|
-
OrganizationFeatures2["
|
|
445
|
+
OrganizationFeatures2["leads"] = "leads";
|
|
446
|
+
OrganizationFeatures2["deals"] = "deals";
|
|
447
|
+
OrganizationFeatures2["orders"] = "orders";
|
|
448
|
+
OrganizationFeatures2["invoices"] = "invoices";
|
|
449
449
|
OrganizationFeatures2["payments"] = "payments";
|
|
450
450
|
OrganizationFeatures2["paymentMethods"] = "paymentMethods";
|
|
451
|
+
OrganizationFeatures2["subscriptions"] = "subscriptions";
|
|
451
452
|
OrganizationFeatures2["refunds"] = "refunds";
|
|
452
453
|
OrganizationFeatures2["disputes"] = "disputes";
|
|
453
454
|
OrganizationFeatures2["dataPools"] = "dataPools";
|
|
@@ -597,15 +598,16 @@ var ModelType = /* @__PURE__ */ ((ModelType2) => {
|
|
|
597
598
|
ModelType2["tasks"] = "tasks";
|
|
598
599
|
ModelType2["products"] = "products";
|
|
599
600
|
ModelType2["inventories"] = "inventories";
|
|
600
|
-
ModelType2["invoices"] = "invoices";
|
|
601
601
|
ModelType2["leads"] = "leads";
|
|
602
602
|
ModelType2["deals"] = "deals";
|
|
603
|
+
ModelType2["orders"] = "orders";
|
|
603
604
|
ModelType2["contacts"] = "contacts";
|
|
604
605
|
ModelType2["engagements"] = "engagements";
|
|
605
606
|
ModelType2["campaigns"] = "campaigns";
|
|
606
|
-
ModelType2["
|
|
607
|
+
ModelType2["invoices"] = "invoices";
|
|
607
608
|
ModelType2["payments"] = "payments";
|
|
608
609
|
ModelType2["paymentMethods"] = "paymentMethods";
|
|
610
|
+
ModelType2["subscriptions"] = "subscriptions";
|
|
609
611
|
ModelType2["refunds"] = "refunds";
|
|
610
612
|
ModelType2["disputes"] = "disputes";
|
|
611
613
|
return ModelType2;
|
|
@@ -947,9 +949,9 @@ var constants = {
|
|
|
947
949
|
tasks: "cms",
|
|
948
950
|
products: "cms",
|
|
949
951
|
inventories: "cms",
|
|
950
|
-
campaigns: "cms",
|
|
951
952
|
contacts: "crm",
|
|
952
953
|
engagements: "crm",
|
|
954
|
+
campaigns: "crm",
|
|
953
955
|
leads: "crm",
|
|
954
956
|
deals: "crm",
|
|
955
957
|
orders: "crm",
|
|
@@ -965,9 +967,9 @@ var constants = {
|
|
|
965
967
|
tasks: "content",
|
|
966
968
|
products: "content",
|
|
967
969
|
inventories: "content",
|
|
968
|
-
campaigns: "content",
|
|
969
970
|
contacts: "relations",
|
|
970
971
|
engagements: "relations",
|
|
972
|
+
campaigns: "relations",
|
|
971
973
|
leads: "relations",
|
|
972
974
|
deals: "relations",
|
|
973
975
|
orders: "relations",
|
|
@@ -977,8 +979,15 @@ var constants = {
|
|
|
977
979
|
subscriptions: "financials",
|
|
978
980
|
refunds: "financials",
|
|
979
981
|
disputes: "financials",
|
|
980
|
-
content: ["clients", "tasks", "products", "inventories"
|
|
981
|
-
relations: [
|
|
982
|
+
content: ["clients", "tasks", "products", "inventories"],
|
|
983
|
+
relations: [
|
|
984
|
+
"contacts",
|
|
985
|
+
"engagements",
|
|
986
|
+
"campaigns",
|
|
987
|
+
"leads",
|
|
988
|
+
"deals",
|
|
989
|
+
"orders"
|
|
990
|
+
],
|
|
982
991
|
financials: [
|
|
983
992
|
"invoices",
|
|
984
993
|
"payments",
|