@cowliss/sdk 0.28.1 → 0.30.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/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@
4
4
 
5
5
  What changed in each version of `@cowliss/sdk` after 0.16.0, newest first. Earlier versions are listed on [npm](https://www.npmjs.com/package/@cowliss/sdk?activeTab=versions).
6
6
 
7
+ ## 0.30.0 (2026-10-21)
8
+
9
+ ### Features
10
+
11
+ - Partner API, plan override, suspend and purgeOrg (ADR 0039)
12
+
13
+ ## 0.29.0 (2026-10-20)
14
+
15
+ ### Breaking changes
16
+
17
+ - Rename journeys to automations
18
+
19
+ ## 0.28.1 (2026-10-19)
20
+
21
+ No user-facing changes.
22
+
7
23
  ## 0.28.0 (2026-10-19)
8
24
 
9
25
  No user-facing changes.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The TypeScript client for the Cowliss ingestion API. Send `identify` and
4
4
  `track` from your app, and Cowliss keeps the profiles, the events, the
5
- segments, and the journeys that follow from them.
5
+ segments, and the automations that follow from them.
6
6
 
7
7
  Runs anywhere `fetch` does: Node 22 and up, Bun, Deno, edge runtimes and
8
8
  browsers. Zero dependencies, ESM only, fully typed.
@@ -58,7 +58,7 @@ await cow.emails.send({
58
58
  It resolves once the message has been handed over, and answers with the
59
59
  delivery id. A message to a profile goes to its `email` trait, skips anyone
60
60
  who turned that purpose off, and carries an unsubscribe link. Mail that
61
- follows a rule or a wait belongs in a journey.
61
+ follows a rule or a wait belongs in an automation.
62
62
 
63
63
  Render a pushed template with your own props, exactly as a send to an address
64
64
  would, without sending it:
package/dist/index.d.ts CHANGED
@@ -94,7 +94,7 @@ export declare class Cow {
94
94
  * export that is ready, a weekly report. Address an address for mail
95
95
  * nobody can turn off, or a profile (`to: { userId }`) for mail its
96
96
  * recipient can, which then asks their consent and carries an unsubscribe
97
- * link. Mail that follows a rule or a wait belongs in a journey.
97
+ * link. Mail that follows a rule or a wait belongs in an automation.
98
98
  *
99
99
  * Synchronous like the rest of the client: the promise resolves once the
100
100
  * message has been handed over, and `deliveryId` is the row that records
package/dist/index.js CHANGED
@@ -116,7 +116,7 @@ export class Cow {
116
116
  * export that is ready, a weekly report. Address an address for mail
117
117
  * nobody can turn off, or a profile (`to: { userId }`) for mail its
118
118
  * recipient can, which then asks their consent and carries an unsubscribe
119
- * link. Mail that follows a rule or a wait belongs in a journey.
119
+ * link. Mail that follows a rule or a wait belongs in an automation.
120
120
  *
121
121
  * Synchronous like the rest of the client: the promise resolves once the
122
122
  * message has been handed over, and `deliveryId` is the row that records
package/dist/types.d.ts CHANGED
@@ -13,13 +13,13 @@
13
13
  * typecheck here rather than at a customer's call site.
14
14
  */
15
15
  /** The API's error-code enum, as the SDK surfaces it on `CowError.code`. */
16
- export type ErrorCode = "malformed_request" | "invalid_key" | "forbidden" | "not_found" | "conflict" | "payload_too_large" | "validation_failed" | "trait_validation_failed" | "over_quota" | "rate_limited" | "dependency_unavailable" | "internal" | "journey_fuel_exceeded" | "journey_timeout" | "journey_memory_exceeded" | "journey_error" | "journey_output_invalid" | "journey_nondeterministic" | "push_invalid" | "version_not_ready" | "version_outdated" | "source_inactive" | "artifact_too_large" | "plan_limit";
16
+ export type ErrorCode = "malformed_request" | "invalid_key" | "forbidden" | "not_found" | "conflict" | "payload_too_large" | "validation_failed" | "trait_validation_failed" | "over_quota" | "rate_limited" | "dependency_unavailable" | "internal" | "journey_fuel_exceeded" | "journey_timeout" | "journey_memory_exceeded" | "journey_error" | "journey_output_invalid" | "journey_nondeterministic" | "push_invalid" | "version_not_ready" | "version_outdated" | "source_inactive" | "artifact_too_large" | "plan_limit" | "org_suspended" | "partner_managed";
17
17
  export type IdentifierKind = "anonymousId" | "userId" | "clerkId" | "email";
18
18
  /**
19
19
  * What became of a send: handed over and how it settled, a check that
20
20
  * skipped it, or (for a test send) the dry-run twin of either.
21
21
  */
22
- export type DeliveryStatus = "sent" | "delivered" | "bounced" | "complained" | "failed" | "skipped_disabled" | "skipped_paused" | "skipped_suppressed" | "skipped_quota" | "skipped_unknown_purpose" | "skipped_frequency_cap" | "skipped_consent" | "skipped_domain" | "skipped_ssrf" | "skipped_spam" | "would_send" | "would_skip_disabled" | "would_skip_paused" | "would_skip_suppressed" | "would_skip_quota" | "would_skip_unknown_purpose" | "would_skip_frequency_cap" | "would_skip_consent" | "would_skip_domain" | "would_skip_ssrf" | "would_skip_spam";
22
+ export type DeliveryStatus = "sent" | "delivered" | "bounced" | "complained" | "failed" | "skipped_disabled" | "skipped_paused" | "skipped_suspended" | "skipped_suppressed" | "skipped_quota" | "skipped_unknown_purpose" | "skipped_frequency_cap" | "skipped_consent" | "skipped_domain" | "skipped_ssrf" | "skipped_spam" | "would_send" | "would_skip_disabled" | "would_skip_paused" | "would_skip_suspended" | "would_skip_suppressed" | "would_skip_quota" | "would_skip_unknown_purpose" | "would_skip_frequency_cap" | "would_skip_consent" | "would_skip_domain" | "would_skip_ssrf" | "would_skip_spam";
23
23
  /**
24
24
  * The named identifiers a call carries, at least one. Cowliss generates the
25
25
  * profile id and resolves the map to it; a call carrying two identifiers is
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.28.1";
1
+ export declare const SDK_VERSION = "0.30.0";
@@ -1,2 +1,2 @@
1
1
  // Generated by scripts/version.ts from package.json. Do not edit.
2
- export const SDK_VERSION = "0.28.1";
2
+ export const SDK_VERSION = "0.30.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cowliss/sdk",
3
- "version": "0.28.1",
3
+ "version": "0.30.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {