@zinn-digital/sdk 0.1.1585 → 0.1.1586
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/generated/schema.d.ts +14 -6
- package/package.json +1 -1
|
@@ -33730,8 +33730,8 @@ export interface paths {
|
|
|
33730
33730
|
get: operations["listEmailMarketingSenders"];
|
|
33731
33731
|
put?: never;
|
|
33732
33732
|
/**
|
|
33733
|
-
* Connect the customer's own SMTP server
|
|
33734
|
-
* @description Gated on `email_marketing.manage`. `kind` is `smtp`
|
|
33733
|
+
* Connect a campaign sender (Zinn® sending, or the customer's own SMTP server).
|
|
33734
|
+
* @description Gated on `email_marketing.manage`. `kind` is `pool` (Zinn® sending through our marketing pool: send `name` and `from_address` only; the response carries `dkim_record`, the TXT record the From domain publishes, and verifying checks that it is live) or `smtp` (Amazon SES, Resend and Mailgun work through their SMTP interfaces); other kinds are refused until their adapter ships. An SMTP password goes to the secret store and is never returned. The connection starts `unverified`; call the verify endpoint to prove it. `409` when the organisation already has a connection with that name.
|
|
33735
33735
|
*/
|
|
33736
33736
|
post: operations["createEmailMarketingSender"];
|
|
33737
33737
|
delete?: never;
|
|
@@ -82671,6 +82671,13 @@ export interface components {
|
|
|
82671
82671
|
EmailMarketingSender: {
|
|
82672
82672
|
/** Format: date-time */
|
|
82673
82673
|
created_at: string;
|
|
82674
|
+
/** @description Pool senders only (kind pool, docs/1052 §10b): the TXT record the From domain publishes so Zinn® sending can DKIM-sign as that domain. The selector is per organisation. Null for your own SMTP, or when the key could not be read. */
|
|
82675
|
+
dkim_record: {
|
|
82676
|
+
name: string;
|
|
82677
|
+
/** @enum {string} */
|
|
82678
|
+
type: "TXT";
|
|
82679
|
+
value: string;
|
|
82680
|
+
} | null;
|
|
82674
82681
|
from_address: string;
|
|
82675
82682
|
host: string;
|
|
82676
82683
|
/** Format: uuid */
|
|
@@ -82687,13 +82694,14 @@ export interface components {
|
|
|
82687
82694
|
/** Format: date-time */
|
|
82688
82695
|
verified_at: string | null;
|
|
82689
82696
|
};
|
|
82697
|
+
/** @description `host`, `username` and `password` are required for `smtp` and ignored for `pool`. */
|
|
82690
82698
|
EmailMarketingSenderCreate: {
|
|
82691
82699
|
from_address: string;
|
|
82692
|
-
host
|
|
82700
|
+
host?: string;
|
|
82693
82701
|
/** @enum {string} */
|
|
82694
|
-
kind: "smtp";
|
|
82702
|
+
kind: "pool" | "smtp";
|
|
82695
82703
|
name: string;
|
|
82696
|
-
password
|
|
82704
|
+
password?: string;
|
|
82697
82705
|
/**
|
|
82698
82706
|
* @default 587
|
|
82699
82707
|
* @enum {integer}
|
|
@@ -82701,7 +82709,7 @@ export interface components {
|
|
|
82701
82709
|
port: 25 | 465 | 587 | 2525;
|
|
82702
82710
|
/** @enum {string} */
|
|
82703
82711
|
tls?: "starttls" | "implicit";
|
|
82704
|
-
username
|
|
82712
|
+
username?: string;
|
|
82705
82713
|
};
|
|
82706
82714
|
EmailMarketingSenderList: {
|
|
82707
82715
|
data: components["schemas"]["EmailMarketingSender"][];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1586",
|
|
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>",
|