palbase 0.14.0 → 0.14.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.
Files changed (53) hide show
  1. package/dist/ai/index.js +2 -2
  2. package/dist/backend/engine.js +2 -2
  3. package/dist/backend/env.js +1 -1
  4. package/dist/backend/index.js +3 -3
  5. package/dist/backend/stack.js +1 -1
  6. package/dist/backend/test.js +2 -2
  7. package/dist/chunks/{MDKUD5KF.js → 3AENUHVO.js} +2 -2
  8. package/dist/chunks/{VI7VITLG.js → 427AGWP3.js} +2 -2
  9. package/dist/chunks/{VYPEK5RA.js → 44ULNVPP.js} +1 -1
  10. package/dist/chunks/{YX4W5H7Q.js → 4UQ4J7RV.js} +2 -2
  11. package/dist/chunks/{JGUZOLS4.js → 5H7UNNH6.js} +2 -2
  12. package/dist/chunks/{R2FKMKIY.js → 6NC5RYCS.js} +1 -1
  13. package/dist/chunks/{DQ4XHMZN.js → 7DQ76T2V.js} +2 -2
  14. package/dist/chunks/{OIKBZFMC.js → A46IASZE.js} +2 -2
  15. package/dist/chunks/{FGKFL5W3.js → BRHGS5AI.js} +2 -2
  16. package/dist/chunks/{XA7ML545.js → CUL5OL4P.js} +2 -2
  17. package/dist/chunks/{7MGWLEW2.js → DIOZGDFQ.js} +1 -1
  18. package/dist/chunks/{XUX2HR4Z.js → HHZSOYPP.js} +1 -1
  19. package/dist/chunks/{QGGRIABQ.js → JKWWY2LJ.js} +2 -2
  20. package/dist/chunks/LUFWGH2V.js +2 -0
  21. package/dist/chunks/OMK2YEDZ.js +2 -0
  22. package/dist/chunks/{22WJEDHI.js → P67I4TNQ.js} +1 -1
  23. package/dist/chunks/{KOR6BP5M.js → PRJZTG2I.js} +1 -1
  24. package/dist/chunks/{UUS5URWX.js → QZH6GPCR.js} +2 -2
  25. package/dist/chunks/{AGZIRK5O.js → RD5JFDGQ.js} +2 -2
  26. package/dist/chunks/{FQV5NKI4.js → SBUC7GHR.js} +2 -2
  27. package/dist/chunks/{ZSICMUJY.js → W3OCV3QH.js} +2 -2
  28. package/dist/chunks/{OG5U5HFP.js → WXNFMEW7.js} +2 -2
  29. package/dist/chunks/{HQTKK3LU.js → ZZNGA77G.js} +1 -1
  30. package/dist/cli.js +130 -130
  31. package/dist/refuse/ai.js +1 -1
  32. package/dist/refuse/backend.js +1 -1
  33. package/dist/refuse/server.js +1 -1
  34. package/dist/server/index.js +2 -2
  35. package/dist/server/testing.js +2 -2
  36. package/dist/web/index.js +2 -2
  37. package/dist/web/message.js +2 -2
  38. package/dist/web/palbe.js +2 -2
  39. package/dist/web/paywall.js +2 -2
  40. package/dist/web/push-sw.js +1 -1
  41. package/dist/web/ssr.js +2 -2
  42. package/dist/web/vite.js +2 -2
  43. package/package.json +2 -2
  44. package/types/internal/src/modules/ai.d.ts +3 -7
  45. package/types/internal/src/modules/events.d.ts +4 -3
  46. package/types/internal/src/modules/index.d.ts +1 -0
  47. package/types/internal/src/modules/journeys.d.ts +1223 -0
  48. package/types/internal/src/modules/notify.d.ts +8 -0
  49. package/types/internal/src/modules/secrets.d.ts +1 -1
  50. package/types/internal/src/modules/stores.d.ts +777 -0
  51. package/types/server/src/transit.d.ts +8 -1
  52. package/dist/chunks/5LC7GWQ4.js +0 -2
  53. package/dist/chunks/XMJ4WMD2.js +0 -2
@@ -255,6 +255,10 @@ export type InAppCampaign = {
255
255
  created_at: string;
256
256
  definition: MessageDefinition;
257
257
  ends_at?: string;
258
+ /**
259
+ * Shown to no one but the people a journey's step opened it for, each for the step's days.
260
+ */
261
+ for_journeys?: boolean;
258
262
  id: string;
259
263
  limits: InAppLimits;
260
264
  name: string;
@@ -294,6 +298,10 @@ export type InAppCampaignWrite = {
294
298
  coupon?: string;
295
299
  definition: MessageDefinition;
296
300
  ends_at?: string;
301
+ /**
302
+ * Shown to no one but the people a journey's step opened it for, each for the step's days; such a campaign has no audience_id.
303
+ */
304
+ for_journeys?: boolean;
297
305
  limits?: InAppLimits;
298
306
  name: string;
299
307
  /**
@@ -349,7 +349,7 @@ export declare function client(t: Transport): {
349
349
  query?: {
350
350
  limit?: number; /** The next_cursor of the previous page. Opaque; omit it for the first page. */
351
351
  cursor?: string; /** Only this environment's entries. */
352
- environment?: "development" | "production"; /** Only this secret's entries. */
352
+ environment?: "development" | "production"; /** Only this secret's entries; this encrypted field's (its address: table.column, or schema.table.column); or this key's, a field key's (k2) or a transit key's (t2). */
353
353
  name?: string;
354
354
  }; /** Stops the call: the request in flight, a wait before a retry, a proof-of-work being solved. */
355
355
  signal?: AbortSignal;