@bernierllc/nevarmail 0.7.0 → 0.8.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/README.md +2 -1
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -169,7 +169,8 @@ Application-level details worth knowing before you hit them:
|
|
|
169
169
|
other delete throws on a missing resource.
|
|
170
170
|
- **Lists have no update or delete** — the API exposes none; the SDK does not invent them.
|
|
171
171
|
- **Suppression scope is cross-field**: `scope: "use_case"` requires `use_case_id`, and
|
|
172
|
-
`use_case_id` with `scope: "account"` is a `400`.
|
|
172
|
+
`use_case_id` with `scope: "account"` is a `400`. `projectId` names the project the rows land
|
|
173
|
+
in; omitted, they land in the use case's project, else in every project the key's owner can open.
|
|
173
174
|
- **Managed accounts cannot delete domains** — `deleteDomain` throws `403 MANAGED_ACCOUNT`.
|
|
174
175
|
|
|
175
176
|
Anything still not covered — analytics, campaigns, webhook endpoints — goes through
|
package/dist/index.d.ts
CHANGED
|
@@ -363,6 +363,12 @@ export interface AddSuppressionsInput {
|
|
|
363
363
|
/** Default `"account"`. `"use_case"` requires `use_case_id`; `use_case_id` with `"account"` is a 400. */
|
|
364
364
|
scope?: "account" | "use_case";
|
|
365
365
|
use_case_id?: string;
|
|
366
|
+
/**
|
|
367
|
+
* The project the rows land in. Omitted: the use case's project, else every
|
|
368
|
+
* project the key's owner can open (one row per project; counts are rows, summed). A
|
|
369
|
+
* `use_case_id` of another project is a `422 USE_CASE_PROJECT_MISMATCH`.
|
|
370
|
+
*/
|
|
371
|
+
projectId?: string;
|
|
366
372
|
/** Default `"unsubscribe"` — the only reason that queues provider sync. */
|
|
367
373
|
reason?: SuppressionReason;
|
|
368
374
|
}
|
package/package.json
CHANGED