@retaila/shared-types 2.0.19 → 2.0.23

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.mjs CHANGED
@@ -1153,6 +1153,23 @@ var HolidayType = /* @__PURE__ */ ((HolidayType2) => {
1153
1153
  return HolidayType2;
1154
1154
  })(HolidayType || {});
1155
1155
 
1156
+ // src/lead/types.ts
1157
+ var LEAD_DEAL_STAGE_ORDER = [
1158
+ "NEW",
1159
+ "CONTACTED",
1160
+ "QUALIFIED",
1161
+ "DEMO_SCHEDULED",
1162
+ "TRIAL",
1163
+ "PROPOSAL",
1164
+ "NEGOTIATION",
1165
+ "WON",
1166
+ "LOST"
1167
+ ];
1168
+ var LEAD_DEAL_STAGES = LEAD_DEAL_STAGE_ORDER;
1169
+ function isLeadDealStage(value) {
1170
+ return LEAD_DEAL_STAGE_ORDER.includes(value);
1171
+ }
1172
+
1156
1173
  // src/gestionUser/types.ts
1157
1174
  var GestionUserRole = /* @__PURE__ */ ((GestionUserRole2) => {
1158
1175
  GestionUserRole2["OWNER"] = "OWNER";
@@ -1223,6 +1240,8 @@ export {
1223
1240
  IntegrationDeliveryZoneStatus,
1224
1241
  IntegrationStatus,
1225
1242
  InternalNotificationType,
1243
+ LEAD_DEAL_STAGES,
1244
+ LEAD_DEAL_STAGE_ORDER,
1226
1245
  MediaType,
1227
1246
  NavigationItemType,
1228
1247
  OrderDeliveryType,
@@ -1276,6 +1295,7 @@ export {
1276
1295
  getPaymentCardBrand,
1277
1296
  getPaymentStatusInfo,
1278
1297
  getProductStatusInfo,
1298
+ isLeadDealStage,
1279
1299
  isLegacyLayout,
1280
1300
  isSupportedCountry,
1281
1301
  isZonedLayout,