@wokuapp/sdk 0.6.0 → 0.7.0

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
@@ -1830,6 +1830,11 @@ interface components {
1830
1830
  name: string;
1831
1831
  /** @description Kinds of comment that alert this number. Defaults to all four. */
1832
1832
  sources?: ("woku" | "nps" | "csat" | "ces")[];
1833
+ /**
1834
+ * @description true alerts every review of those kinds (recognitions too); false or absent alerts improvements only.
1835
+ * @default false
1836
+ */
1837
+ allReviews: boolean;
1833
1838
  };
1834
1839
  UpdateFolderBodyDTO: {
1835
1840
  name?: string;
@@ -7339,6 +7344,8 @@ interface WhatsappAlertRecipient {
7339
7344
  name: string;
7340
7345
  /** Kinds of comment that alert this number (numbers created before this feature only get `woku`). */
7341
7346
  sources: ToolType[];
7347
+ /** `true`: every review of those kinds (recognitions too). `false`: improvements only (default). */
7348
+ allReviews: boolean;
7342
7349
  }
7343
7350
  /** A folder with its breadcrumb path and subtree stats. */
7344
7351
  interface Folder {
@@ -7352,7 +7359,7 @@ interface Folder {
7352
7359
  origin: FolderOrigin | null;
7353
7360
  /** Provider of an integration folder (`shopify`, `pancake`), otherwise `null`. */
7354
7361
  integrationProvider?: string | null;
7355
- /** WhatsApp numbers alerted when a comment of any tool in the folder is an improvement. */
7362
+ /** WhatsApp numbers alerted when a comment of any tool in the folder is an improvement (or any review, with `allReviews`). */
7356
7363
  whatsappAlertRecipients: WhatsappAlertRecipient[];
7357
7364
  createdAt: string | null;
7358
7365
  stats: FolderStats;
package/dist/index.d.ts CHANGED
@@ -1830,6 +1830,11 @@ interface components {
1830
1830
  name: string;
1831
1831
  /** @description Kinds of comment that alert this number. Defaults to all four. */
1832
1832
  sources?: ("woku" | "nps" | "csat" | "ces")[];
1833
+ /**
1834
+ * @description true alerts every review of those kinds (recognitions too); false or absent alerts improvements only.
1835
+ * @default false
1836
+ */
1837
+ allReviews: boolean;
1833
1838
  };
1834
1839
  UpdateFolderBodyDTO: {
1835
1840
  name?: string;
@@ -7339,6 +7344,8 @@ interface WhatsappAlertRecipient {
7339
7344
  name: string;
7340
7345
  /** Kinds of comment that alert this number (numbers created before this feature only get `woku`). */
7341
7346
  sources: ToolType[];
7347
+ /** `true`: every review of those kinds (recognitions too). `false`: improvements only (default). */
7348
+ allReviews: boolean;
7342
7349
  }
7343
7350
  /** A folder with its breadcrumb path and subtree stats. */
7344
7351
  interface Folder {
@@ -7352,7 +7359,7 @@ interface Folder {
7352
7359
  origin: FolderOrigin | null;
7353
7360
  /** Provider of an integration folder (`shopify`, `pancake`), otherwise `null`. */
7354
7361
  integrationProvider?: string | null;
7355
- /** WhatsApp numbers alerted when a comment of any tool in the folder is an improvement. */
7362
+ /** WhatsApp numbers alerted when a comment of any tool in the folder is an improvement (or any review, with `allReviews`). */
7356
7363
  whatsappAlertRecipients: WhatsappAlertRecipient[];
7357
7364
  createdAt: string | null;
7358
7365
  stats: FolderStats;
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ var FollowUps = class {
36
36
  };
37
37
 
38
38
  // package.json
39
- var version = "0.6.0";
39
+ var version = "0.7.0";
40
40
 
41
41
  // src/core/errors.ts
42
42
  var WokuError = class extends Error {