arky-sdk 0.3.132 → 0.3.133

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.d.cts CHANGED
@@ -245,6 +245,7 @@ declare function createArkySDK(config: HttpClientConfig & {
245
245
  getVariableMetadata(params: GetVariableMetadataParams, options?: RequestOptions): Promise<any>;
246
246
  sendNode(params: {
247
247
  entryId: string;
248
+ subject: string;
248
249
  scheduledAt?: number;
249
250
  }, options?: RequestOptions): Promise<any>;
250
251
  cancelSend(params: {
package/dist/index.d.ts CHANGED
@@ -245,6 +245,7 @@ declare function createArkySDK(config: HttpClientConfig & {
245
245
  getVariableMetadata(params: GetVariableMetadataParams, options?: RequestOptions): Promise<any>;
246
246
  sendNode(params: {
247
247
  entryId: string;
248
+ subject: string;
248
249
  scheduledAt?: number;
249
250
  }, options?: RequestOptions): Promise<any>;
250
251
  cancelSend(params: {
package/dist/index.js CHANGED
@@ -817,6 +817,9 @@ var createCmsApi = (apiConfig) => {
817
817
  },
818
818
  /**
819
819
  * Send a node to all subscribers (schedule or immediate)
820
+ * @param params.entryId - The node ID to send
821
+ * @param params.subject - Email subject for this send
822
+ * @param params.scheduledAt - Optional unix timestamp to schedule the send
820
823
  */
821
824
  async sendNode(params, options) {
822
825
  const { entryId, ...body } = params;