@bettercms-ai/sdk 1.22.0 → 1.22.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.d.cts CHANGED
@@ -296,6 +296,8 @@ interface UpdateEntryInput {
296
296
  interface SetPageContentInput {
297
297
  data: Record<string, unknown>;
298
298
  status?: "draft" | "published";
299
+ /** true replaces the whole entry data; omitted/false merges `data` by top-level key. */
300
+ replace?: boolean;
299
301
  }
300
302
  /** Filter for listing content entries. */
301
303
  interface ListEntriesFilter {
@@ -685,8 +687,6 @@ interface ManagedFormInput {
685
687
  honeypotField?: string | null;
686
688
  /** Addresses notified of each submission. */
687
689
  notifyEmails?: string[];
688
- /** URL that receives each submission as a POST. */
689
- webhookUrl?: string | null;
690
690
  }
691
691
 
692
692
  /**
@@ -1479,7 +1479,6 @@ interface CreateFormInput {
1479
1479
  submitLabel?: string;
1480
1480
  successMessage?: string;
1481
1481
  redirectUrl?: string;
1482
- webhookUrl?: string;
1483
1482
  }
1484
1483
  /**
1485
1484
  * A field in an admin create/update payload.
package/dist/index.d.ts CHANGED
@@ -296,6 +296,8 @@ interface UpdateEntryInput {
296
296
  interface SetPageContentInput {
297
297
  data: Record<string, unknown>;
298
298
  status?: "draft" | "published";
299
+ /** true replaces the whole entry data; omitted/false merges `data` by top-level key. */
300
+ replace?: boolean;
299
301
  }
300
302
  /** Filter for listing content entries. */
301
303
  interface ListEntriesFilter {
@@ -685,8 +687,6 @@ interface ManagedFormInput {
685
687
  honeypotField?: string | null;
686
688
  /** Addresses notified of each submission. */
687
689
  notifyEmails?: string[];
688
- /** URL that receives each submission as a POST. */
689
- webhookUrl?: string | null;
690
690
  }
691
691
 
692
692
  /**
@@ -1479,7 +1479,6 @@ interface CreateFormInput {
1479
1479
  submitLabel?: string;
1480
1480
  successMessage?: string;
1481
1481
  redirectUrl?: string;
1482
- webhookUrl?: string;
1483
1482
  }
1484
1483
  /**
1485
1484
  * A field in an admin create/update payload.