shuttlepro-shared 1.5.20 → 1.5.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.
@@ -239,6 +239,8 @@ const AutomationCondition = new Schema({
239
239
  "afterShift",
240
240
  "orderConfirmation",
241
241
  "bankDeposit",
242
+ "jazzCash",
243
+ "easyPaisa",
242
244
  "paid",
243
245
  "orderPublish",
244
246
  "orderDelivery",
package/models/Chatbot.js CHANGED
@@ -57,6 +57,9 @@ const ChatbotSchema = new Schema(
57
57
  successTemplate: { type: String, default: "" },
58
58
  errorTemplate: { type: String, default: "" },
59
59
  bottomMessage: { type: String, default: "" },
60
+ // Post-create ticket# reply + destination column (Send Complaint Link parity)
61
+ ticketNumberTemplate: { type: String, default: "" },
62
+ columnId: { type: String, default: "" },
60
63
  },
61
64
  },
62
65
  ],
@@ -236,6 +236,8 @@ const workspaceSchema = new mongoose.Schema(
236
236
  isDeleted: { type: Boolean, default: false },
237
237
  isPaymentDue: { type: Boolean, default: false },
238
238
  isPaymentClosable: { type: Boolean, default: false },
239
+ /** True when a WhatsApp template send failed due to a WhatsApp Business payment/eligibility issue (e.g. error code 131042). Cleared automatically on the next successful template send. */
240
+ whatsappPaymentDue: { type: Boolean, default: false },
239
241
  ticketsByConversation: { type: Boolean, default: false },
240
242
  businessHours: {
241
243
  startTime: { type: String, default: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.5.20",
3
+ "version": "1.5.22",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {