@zinn-digital/sdk 0.1.1818 → 0.1.1820

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.
@@ -16621,7 +16621,7 @@ export interface paths {
16621
16621
  head?: never;
16622
16622
  /**
16623
16623
  * Replace the Cold Outreach pilot list (staff).
16624
- * @description Replaces `pilot_org_ids` (at most 50 organisation ids; duplicates are dropped). Audited (`email_marketing.cold.settings.pilot_org_ids.set`, with `before` and `after`, under the signed-in staff member). `enabled` cannot be changed here. Requires `billing.entitlement.manage`.
16624
+ * @description Replaces `pilot_org_ids` (at most 50 organisation ids; duplicates are dropped; every id must name an existing organisation, else `422 notAnOrgId`). Audited (`email_marketing.cold.settings.pilot_org_ids.set`, with `before` and `after`, under the signed-in staff member). `enabled` cannot be changed here: a body carrying it is refused (`422 coldSettings.enabledNotHere`), even beside a valid `pilot_org_ids`, and nothing is written. Requires `billing.entitlement.manage`.
16625
16625
  */
16626
16626
  patch: operations["setZinnCampaignsColdPilots"];
16627
16627
  trace?: never;
@@ -35761,7 +35761,7 @@ export interface paths {
35761
35761
  put?: never;
35762
35762
  /**
35763
35763
  * Submit this organisation's brand and campaign for US 10DLC (charged on submit).
35764
- * @description Gated on `email_marketing.manage`, and only while SMS is open to the organisation. The quote's upfront price is taken from the Zinn® credit balance now (nothing in test mode); the brand and campaign go to the provider in the background (`202`), and the carriers' review takes days. If the provider refuses the details, or the carriers reject the campaign, the part of the price the provider did not bill is returned. Once approved, a US number is assigned and US opens for this organisation only; the monthly price is then taken each month (an unpaid month closes US again). Refusals: `CAMPAIGNS_ALREADY_REGISTERED` (409), `CAMPAIGNS_NO_CREDIT` (402), `CAMPAIGNS_NOT_OPEN` / `CAMPAIGNS_ACCOUNT_ON_HOLD` (403), `CAMPAIGNS_UNPRICED` (503). Audited (`email_marketing.registration.submit`).
35764
+ * @description Gated on `email_marketing.manage`, and only while SMS is open to the organisation. The quote's upfront price is taken from the Zinn® credit balance now (nothing in test mode); the brand and campaign go to the provider in the background (`202`), and the carriers' review takes days. If the provider refuses the details, or the carriers reject the campaign, the part of the price the provider did not bill is returned. Once approved, a US number is assigned and US opens for this organisation only; the monthly price is then taken each month (an unpaid month closes US again). Refusals: `CAMPAIGNS_ALREADY_REGISTERED` (409), `CAMPAIGNS_NO_CREDIT` (402), `CAMPAIGNS_NOT_OPEN` / `CAMPAIGNS_ACCOUNT_ON_HOLD` (403), `CAMPAIGNS_UNPRICED` (503). Audited (`email_marketing.registration.submit`). A live registration whose request was lost before its price was taken (left submitting for 15 minutes) is settled by the ledger on the next submit: removed if nothing was charged, sent on if it was; audited (`email_marketing.registration.recover`).
35765
35765
  */
35766
35766
  post: operations["submitEmailMarketingUsRegistration"];
35767
35767
  delete?: never;
@@ -87466,6 +87466,15 @@ export interface components {
87466
87466
  country: string;
87467
87467
  /** Format: date-time */
87468
87468
  created_at: string;
87469
+ /**
87470
+ * @description The carrier's delivery receipt for a sent message. Empty while no receipt has arrived; `failed` = the carrier or handset refused it; `unconfirmed` = the carrier gave no final answer. A failed delivery is not refunded: the carrier charged for the attempt.
87471
+ * @enum {string}
87472
+ */
87473
+ delivery: "" | "delivered" | "failed" | "unconfirmed";
87474
+ /** Format: date-time */
87475
+ delivery_at: string | null;
87476
+ /** @description The carrier's error code on a failed delivery (for example `40008`), else empty. */
87477
+ delivery_error: string;
87469
87478
  /** Format: uuid */
87470
87479
  id: string;
87471
87480
  parts: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1818",
3
+ "version": "0.1.1820",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",