glitch-javascript-sdk 3.2.20 → 3.2.21

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/cjs/index.js CHANGED
@@ -30466,8 +30466,10 @@ var CrmRoute = /** @class */ (function () {
30466
30466
  updateCampaign: { url: '/admin/crm/campaigns/{campaign_id}', method: HTTP_METHODS.PUT },
30467
30467
  deleteCampaign: { url: '/admin/crm/campaigns/{campaign_id}', method: HTTP_METHODS.DELETE },
30468
30468
  previewCampaignAudience: { url: '/admin/crm/campaigns/preview', method: HTTP_METHODS.POST },
30469
+ getCampaignFilterOptions: { url: '/admin/crm/campaigns/filter-options', method: HTTP_METHODS.GET },
30469
30470
  getCampaignMergeFields: { url: '/admin/crm/campaigns/merge-fields', method: HTTP_METHODS.GET },
30470
30471
  renderCampaignTemplatePreview: { url: '/admin/crm/campaigns/render-preview', method: HTTP_METHODS.POST },
30472
+ sendCampaignTestEmail: { url: '/admin/crm/campaigns/test-email', method: HTTP_METHODS.POST },
30471
30473
  getCampaignDeliveryStatus: { url: '/admin/crm/campaigns/delivery-status', method: HTTP_METHODS.GET },
30472
30474
  sendCampaign: { url: '/admin/crm/campaigns/{campaign_id}/send', method: HTTP_METHODS.POST },
30473
30475
  getCampaignStats: { url: '/admin/crm/campaigns/{campaign_id}/stats', method: HTTP_METHODS.GET },
@@ -30650,6 +30652,12 @@ var Crm = /** @class */ (function () {
30650
30652
  Crm.previewCampaignAudience = function (data) {
30651
30653
  return Requests.processRoute(CrmRoute.routes.previewCampaignAudience, data);
30652
30654
  };
30655
+ /**
30656
+ * List human-readable filter options for the CRM campaign composer.
30657
+ */
30658
+ Crm.getCampaignFilterOptions = function () {
30659
+ return Requests.processRoute(CrmRoute.routes.getCampaignFilterOptions);
30660
+ };
30653
30661
  /**
30654
30662
  * List the backend-supported CRM campaign merge fields for the composer.
30655
30663
  */
@@ -30662,6 +30670,12 @@ var Crm = /** @class */ (function () {
30662
30670
  Crm.renderCampaignTemplatePreview = function (data) {
30663
30671
  return Requests.processRoute(CrmRoute.routes.renderCampaignTemplatePreview, data);
30664
30672
  };
30673
+ /**
30674
+ * Send a non-tracked CRM campaign test email with rendered merge fields.
30675
+ */
30676
+ Crm.sendCampaignTestEmail = function (data) {
30677
+ return Requests.processRoute(CrmRoute.routes.sendCampaignTestEmail, data);
30678
+ };
30665
30679
  /**
30666
30680
  * Read CRM campaign queue depth and Azure/system email rate-limit windows.
30667
30681
  */