@retaila/shared-types 2.0.17 → 2.0.22

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
@@ -1091,6 +1091,11 @@ var ChargeStatus = /* @__PURE__ */ ((ChargeStatus2) => {
1091
1091
  ChargeStatus2["CANCELLED"] = "CANCELLED";
1092
1092
  return ChargeStatus2;
1093
1093
  })(ChargeStatus || {});
1094
+ var BillingSociety = /* @__PURE__ */ ((BillingSociety2) => {
1095
+ BillingSociety2["COBRATICKET"] = "COBRATICKET";
1096
+ BillingSociety2["RHINO"] = "RHINO";
1097
+ return BillingSociety2;
1098
+ })(BillingSociety || {});
1094
1099
 
1095
1100
  // src/serviceBilling/billingSchedule.ts
1096
1101
  function contractTermMonths(contract) {
@@ -1148,6 +1153,23 @@ var HolidayType = /* @__PURE__ */ ((HolidayType2) => {
1148
1153
  return HolidayType2;
1149
1154
  })(HolidayType || {});
1150
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
+
1151
1173
  // src/gestionUser/types.ts
1152
1174
  var GestionUserRole = /* @__PURE__ */ ((GestionUserRole2) => {
1153
1175
  GestionUserRole2["OWNER"] = "OWNER";
@@ -1182,6 +1204,7 @@ export {
1182
1204
  AiCreditType,
1183
1205
  AnalyticsEventType,
1184
1206
  BillingInterval,
1207
+ BillingSociety,
1185
1208
  COUNTRY_DEFAULTS,
1186
1209
  CampaignBudgetType,
1187
1210
  CampaignStatus,
@@ -1217,6 +1240,8 @@ export {
1217
1240
  IntegrationDeliveryZoneStatus,
1218
1241
  IntegrationStatus,
1219
1242
  InternalNotificationType,
1243
+ LEAD_DEAL_STAGES,
1244
+ LEAD_DEAL_STAGE_ORDER,
1220
1245
  MediaType,
1221
1246
  NavigationItemType,
1222
1247
  OrderDeliveryType,
@@ -1270,6 +1295,7 @@ export {
1270
1295
  getPaymentCardBrand,
1271
1296
  getPaymentStatusInfo,
1272
1297
  getProductStatusInfo,
1298
+ isLeadDealStage,
1273
1299
  isLegacyLayout,
1274
1300
  isSupportedCountry,
1275
1301
  isZonedLayout,