@verma-consulting/common-library 0.1.29 → 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 +29 -31
- package/dist/index.d.ts +29 -31
- package/dist/index.js +27 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +27 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -333,15 +333,16 @@ var OrganizationFeatures = /* @__PURE__ */ ((OrganizationFeatures2) => {
|
|
|
333
333
|
OrganizationFeatures2["tasks"] = "tasks";
|
|
334
334
|
OrganizationFeatures2["products"] = "products";
|
|
335
335
|
OrganizationFeatures2["inventories"] = "inventories";
|
|
336
|
-
OrganizationFeatures2["invoices"] = "invoices";
|
|
337
|
-
OrganizationFeatures2["leads"] = "leads";
|
|
338
|
-
OrganizationFeatures2["deals"] = "deals";
|
|
339
336
|
OrganizationFeatures2["contacts"] = "contacts";
|
|
340
337
|
OrganizationFeatures2["engagements"] = "engagements";
|
|
341
338
|
OrganizationFeatures2["campaigns"] = "campaigns";
|
|
342
|
-
OrganizationFeatures2["
|
|
339
|
+
OrganizationFeatures2["leads"] = "leads";
|
|
340
|
+
OrganizationFeatures2["deals"] = "deals";
|
|
341
|
+
OrganizationFeatures2["orders"] = "orders";
|
|
342
|
+
OrganizationFeatures2["invoices"] = "invoices";
|
|
343
343
|
OrganizationFeatures2["payments"] = "payments";
|
|
344
344
|
OrganizationFeatures2["paymentMethods"] = "paymentMethods";
|
|
345
|
+
OrganizationFeatures2["subscriptions"] = "subscriptions";
|
|
345
346
|
OrganizationFeatures2["refunds"] = "refunds";
|
|
346
347
|
OrganizationFeatures2["disputes"] = "disputes";
|
|
347
348
|
OrganizationFeatures2["dataPools"] = "dataPools";
|
|
@@ -491,15 +492,16 @@ var ModelType = /* @__PURE__ */ ((ModelType2) => {
|
|
|
491
492
|
ModelType2["tasks"] = "tasks";
|
|
492
493
|
ModelType2["products"] = "products";
|
|
493
494
|
ModelType2["inventories"] = "inventories";
|
|
494
|
-
ModelType2["invoices"] = "invoices";
|
|
495
495
|
ModelType2["leads"] = "leads";
|
|
496
496
|
ModelType2["deals"] = "deals";
|
|
497
|
+
ModelType2["orders"] = "orders";
|
|
497
498
|
ModelType2["contacts"] = "contacts";
|
|
498
499
|
ModelType2["engagements"] = "engagements";
|
|
499
500
|
ModelType2["campaigns"] = "campaigns";
|
|
500
|
-
ModelType2["
|
|
501
|
+
ModelType2["invoices"] = "invoices";
|
|
501
502
|
ModelType2["payments"] = "payments";
|
|
502
503
|
ModelType2["paymentMethods"] = "paymentMethods";
|
|
504
|
+
ModelType2["subscriptions"] = "subscriptions";
|
|
503
505
|
ModelType2["refunds"] = "refunds";
|
|
504
506
|
ModelType2["disputes"] = "disputes";
|
|
505
507
|
return ModelType2;
|
|
@@ -841,15 +843,16 @@ var constants = {
|
|
|
841
843
|
tasks: "cms",
|
|
842
844
|
products: "cms",
|
|
843
845
|
inventories: "cms",
|
|
844
|
-
invoices: "cms",
|
|
845
846
|
contacts: "crm",
|
|
846
847
|
engagements: "crm",
|
|
847
848
|
campaigns: "crm",
|
|
848
849
|
leads: "crm",
|
|
849
850
|
deals: "crm",
|
|
850
|
-
|
|
851
|
+
orders: "crm",
|
|
852
|
+
invoices: "financials",
|
|
851
853
|
payments: "financials",
|
|
852
854
|
paymentMethods: "financials",
|
|
855
|
+
subscriptions: "financials",
|
|
853
856
|
refunds: "financials",
|
|
854
857
|
disputes: "financials"
|
|
855
858
|
},
|
|
@@ -858,23 +861,32 @@ var constants = {
|
|
|
858
861
|
tasks: "content",
|
|
859
862
|
products: "content",
|
|
860
863
|
inventories: "content",
|
|
861
|
-
invoices: "content",
|
|
862
864
|
contacts: "relations",
|
|
863
865
|
engagements: "relations",
|
|
864
866
|
campaigns: "relations",
|
|
865
867
|
leads: "relations",
|
|
866
868
|
deals: "relations",
|
|
867
|
-
|
|
869
|
+
orders: "relations",
|
|
870
|
+
invoices: "financials",
|
|
868
871
|
payments: "financials",
|
|
869
872
|
paymentMethods: "financials",
|
|
873
|
+
subscriptions: "financials",
|
|
870
874
|
refunds: "financials",
|
|
871
875
|
disputes: "financials",
|
|
872
|
-
content: ["clients", "tasks", "products", "inventories"
|
|
873
|
-
relations: [
|
|
876
|
+
content: ["clients", "tasks", "products", "inventories"],
|
|
877
|
+
relations: [
|
|
878
|
+
"contacts",
|
|
879
|
+
"engagements",
|
|
880
|
+
"campaigns",
|
|
881
|
+
"leads",
|
|
882
|
+
"deals",
|
|
883
|
+
"orders"
|
|
884
|
+
],
|
|
874
885
|
financials: [
|
|
875
|
-
"
|
|
886
|
+
"invoices",
|
|
876
887
|
"payments",
|
|
877
888
|
"paymentMethods",
|
|
889
|
+
"subscriptions",
|
|
878
890
|
"refunds",
|
|
879
891
|
"disputes"
|
|
880
892
|
]
|
|
@@ -2373,6 +2385,7 @@ var defaults = {
|
|
|
2373
2385
|
country: "",
|
|
2374
2386
|
countryCode: "",
|
|
2375
2387
|
postalCode: "",
|
|
2388
|
+
addressType: "",
|
|
2376
2389
|
latitude: 37.7749,
|
|
2377
2390
|
longitude: -122.4194
|
|
2378
2391
|
},
|
|
@@ -2388,6 +2401,7 @@ var defaults = {
|
|
|
2388
2401
|
clientEmail: "",
|
|
2389
2402
|
customerId: "",
|
|
2390
2403
|
channelId: "",
|
|
2404
|
+
domain: "",
|
|
2391
2405
|
active: false,
|
|
2392
2406
|
importBridge: false,
|
|
2393
2407
|
exportBridge: false,
|