@gymspace/sdk 1.3.0 → 1.3.2

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
@@ -1035,7 +1035,22 @@ var AdminCatalogResource = class extends BaseResource {
1035
1035
  * Requires: CATALOG_READ permission
1036
1036
  */
1037
1037
  async getLeads(filters, options) {
1038
- return this.client.get(`${this.basePath}/leads`, filters, options);
1038
+ return this.client.get(
1039
+ `${this.basePath}/leads`,
1040
+ filters,
1041
+ options
1042
+ );
1043
+ }
1044
+ /**
1045
+ * Mark a lead as contacted
1046
+ * Requires: CATALOG_UPDATE permission
1047
+ */
1048
+ async markLeadAsContacted(leadId, options) {
1049
+ return this.client.patch(
1050
+ `${this.basePath}/leads/${leadId}/mark-contacted`,
1051
+ void 0,
1052
+ options
1053
+ );
1039
1054
  }
1040
1055
  };
1041
1056
 
@@ -1499,6 +1514,16 @@ var WhatsAppResource = class extends BaseResource {
1499
1514
  async disconnect(options) {
1500
1515
  return this.client.post(`${this.basePath}/disconnect`, {}, options);
1501
1516
  }
1517
+ /**
1518
+ * Send catalog message to multiple clients
1519
+ */
1520
+ async sendCatalogMessage(data, options) {
1521
+ return this.client.post(
1522
+ `${this.basePath}/send-catalog`,
1523
+ data,
1524
+ options
1525
+ );
1526
+ }
1502
1527
  };
1503
1528
 
1504
1529
  // src/resources/whatsapp-templates.ts