@zinn-digital/sdk 0.1.1761 → 0.1.1763
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 +84 -2
- package/package.json +1 -1
|
@@ -34852,6 +34852,26 @@ export interface paths {
|
|
|
34852
34852
|
patch: operations["updateEmailMarketingColdReply"];
|
|
34853
34853
|
trace?: never;
|
|
34854
34854
|
};
|
|
34855
|
+
"/v1/email-marketing/cold/replies/{reply_id}/answer": {
|
|
34856
|
+
parameters: {
|
|
34857
|
+
query?: never;
|
|
34858
|
+
header?: never;
|
|
34859
|
+
path?: never;
|
|
34860
|
+
cookie?: never;
|
|
34861
|
+
};
|
|
34862
|
+
get?: never;
|
|
34863
|
+
put?: never;
|
|
34864
|
+
/**
|
|
34865
|
+
* Answer a Unibox reply, in-thread, from the mailbox it reached.
|
|
34866
|
+
* @description Gated on `email_marketing.manage`. Queues one plain-text answer to a reply from a person and starts its send on the Cold Outreach worker: it goes from the same mailbox, through that mailbox's own mail server, with `In-Reply-To` and `References` set so it files in the same conversation. One answer per reply: `409` while one is queued or once it was sent; a `failed` answer may be sent again. A bounce, automatic reply or unsubscribe request is refused with `400` (field `kind`); an empty or over-long body with `400` (field `body`). `503` when the send could not be started (nothing was sent; the reply is left `failed` so it can be retried). `404` outside the caller's organisation.
|
|
34867
|
+
*/
|
|
34868
|
+
post: operations["answerEmailMarketingColdReply"];
|
|
34869
|
+
delete?: never;
|
|
34870
|
+
options?: never;
|
|
34871
|
+
head?: never;
|
|
34872
|
+
patch?: never;
|
|
34873
|
+
trace?: never;
|
|
34874
|
+
};
|
|
34855
34875
|
"/v1/email-marketing/cold/sequences": {
|
|
34856
34876
|
parameters: {
|
|
34857
34877
|
query?: never;
|
|
@@ -46753,7 +46773,7 @@ export interface paths {
|
|
|
46753
46773
|
*
|
|
46754
46774
|
* ⛔ **No enumeration.** The answer is the same `202` whether or not the address already has an account. A known address with a password is mailed "you already have an account, sign in or reset your password"; any other address is mailed our branded link to `/signup/verify?token=…`, valid for 48 hours. No Keycloak user is created until the password is chosen (`completeSignup`).
|
|
46755
46775
|
*
|
|
46756
|
-
* A disposable or invalid address is refused with `403 SIGNUP_EMAIL_REFUSED`, the same refusal the Keycloak form path gets at its first sign-in (docs/1174).
|
|
46776
|
+
* A disposable or invalid address is refused with `403 SIGNUP_EMAIL_REFUSED`, the same refusal the Keycloak form path gets at its first sign-in (docs/1174). When the address looks like a mistyped domain ("gamil.com") the refusal also carries `details[0] = {field: email, code: EMAIL_POSSIBLE_TYPO, suggestion}` (EMAILTYPO).
|
|
46757
46777
|
*/
|
|
46758
46778
|
post: operations["startSignup"];
|
|
46759
46779
|
delete?: never;
|
|
@@ -86411,6 +86431,15 @@ export interface components {
|
|
|
86411
86431
|
open: boolean;
|
|
86412
86432
|
};
|
|
86413
86433
|
EmailMarketingColdReply: {
|
|
86434
|
+
/** @description Why a `failed` answer failed: `mailbox` (the mailbox cannot send), `unavailable` (it could not be started; nothing was sent), `auth_<code>`, `smtp_<code>` or `network_<error>` from the mailbox's own mail server. Empty otherwise. */
|
|
86435
|
+
answer_detail: string;
|
|
86436
|
+
/**
|
|
86437
|
+
* @description The customer's answer to this reply from the Unibox: empty when none was written, `queued` while it is being sent, `sent`, or `failed` (it may be sent again).
|
|
86438
|
+
* @enum {string}
|
|
86439
|
+
*/
|
|
86440
|
+
answer_status: "" | "queued" | "sent" | "failed";
|
|
86441
|
+
/** Format: date-time */
|
|
86442
|
+
answered_at: string | null;
|
|
86414
86443
|
from_email: string;
|
|
86415
86444
|
from_name?: string;
|
|
86416
86445
|
/** Format: uuid */
|
|
@@ -86432,6 +86461,10 @@ export interface components {
|
|
|
86432
86461
|
snippet?: string;
|
|
86433
86462
|
subject?: string;
|
|
86434
86463
|
};
|
|
86464
|
+
EmailMarketingColdReplyAnswer: {
|
|
86465
|
+
/** @description The answer, plain text. Leading and trailing spaces are dropped. */
|
|
86466
|
+
body: string;
|
|
86467
|
+
};
|
|
86435
86468
|
EmailMarketingColdReplyList: {
|
|
86436
86469
|
data: components["schemas"]["EmailMarketingColdReply"][];
|
|
86437
86470
|
next_cursor: string | null;
|
|
@@ -87252,6 +87285,11 @@ export interface components {
|
|
|
87252
87285
|
* @example Gmail
|
|
87253
87286
|
*/
|
|
87254
87287
|
provider?: string;
|
|
87288
|
+
/**
|
|
87289
|
+
* @description Only on an `EMAIL_POSSIBLE_TYPO` detail of a `403 SIGNUP_EMAIL_REFUSED` (EMAILTYPO): the address as typed with its domain replaced by the one the e-mail validator suggested. A page may put it in the e-mail field for the buyer to confirm.
|
|
87290
|
+
* @example ann@gmail.com
|
|
87291
|
+
*/
|
|
87292
|
+
suggestion?: string;
|
|
87255
87293
|
};
|
|
87256
87294
|
/** @description A tenant's own e-mail provider account. ⚖️ Owner ruling 2026-08-26 — a reseller sends through their own account, and one that is missing or unverified is REFUSED rather than quietly served from the platform key. ⛔ `status` distinguishes three states because the fix differs in each; one collapsed message tells the operator nothing they can act on. ⭐ The platform's own staff org is the one exception: with no account of its own it sends through the platform account, and reads `platform` (with the From and Reply-To that account sends as) — or `platform_key_missing` when the platform key is absent from this environment, the one case where a staff campaign is refused. A customer or reseller org never reads either. */
|
|
87257
87295
|
EspConnection: {
|
|
@@ -178879,6 +178917,41 @@ export interface operations {
|
|
|
178879
178917
|
404: components["responses"]["NotFound"];
|
|
178880
178918
|
};
|
|
178881
178919
|
};
|
|
178920
|
+
answerEmailMarketingColdReply: {
|
|
178921
|
+
parameters: {
|
|
178922
|
+
query?: {
|
|
178923
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
178924
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
178925
|
+
};
|
|
178926
|
+
header?: never;
|
|
178927
|
+
path: {
|
|
178928
|
+
reply_id: string;
|
|
178929
|
+
};
|
|
178930
|
+
cookie?: never;
|
|
178931
|
+
};
|
|
178932
|
+
requestBody: {
|
|
178933
|
+
content: {
|
|
178934
|
+
"application/json": components["schemas"]["EmailMarketingColdReplyAnswer"];
|
|
178935
|
+
};
|
|
178936
|
+
};
|
|
178937
|
+
responses: {
|
|
178938
|
+
/** @description The row, with `answer_status` `queued`. */
|
|
178939
|
+
202: {
|
|
178940
|
+
headers: {
|
|
178941
|
+
[name: string]: unknown;
|
|
178942
|
+
};
|
|
178943
|
+
content: {
|
|
178944
|
+
"application/json": components["schemas"]["EmailMarketingColdReply"];
|
|
178945
|
+
};
|
|
178946
|
+
};
|
|
178947
|
+
400: components["responses"]["UnprocessableEntity"];
|
|
178948
|
+
401: components["responses"]["Unauthorized"];
|
|
178949
|
+
403: components["responses"]["Forbidden"];
|
|
178950
|
+
404: components["responses"]["NotFound"];
|
|
178951
|
+
409: components["responses"]["Conflict"];
|
|
178952
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
178953
|
+
};
|
|
178954
|
+
};
|
|
178882
178955
|
listEmailMarketingColdSequences: {
|
|
178883
178956
|
parameters: {
|
|
178884
178957
|
query?: {
|
|
@@ -196502,6 +196575,15 @@ export interface operations {
|
|
|
196502
196575
|
"application/json": components["schemas"]["PublicCheckoutResult"];
|
|
196503
196576
|
};
|
|
196504
196577
|
};
|
|
196578
|
+
/** @description The buyer's e-mail address is refused (`SIGNUP_EMAIL_REFUSED`, docs/1174): a disposable, invalid or spam-trap address. Nothing was created and the basket stays. For a likely typo in the domain, `details[0]` is `{field: email, code: EMAIL_POSSIBLE_TYPO, suggestion}`: `suggestion` is the same address on the domain the validator suggested ("ann@gmail.com" for "ann@gamil.com"), which the page offers as a one-click fix before the buyer submits again (EMAILTYPO). */
|
|
196579
|
+
403: {
|
|
196580
|
+
headers: {
|
|
196581
|
+
[name: string]: unknown;
|
|
196582
|
+
};
|
|
196583
|
+
content: {
|
|
196584
|
+
"application/json": components["schemas"]["Error"];
|
|
196585
|
+
};
|
|
196586
|
+
};
|
|
196505
196587
|
404: components["responses"]["NotFound"];
|
|
196506
196588
|
/**
|
|
196507
196589
|
* @description The email already has an account (sign in to complete the purchase), or a domain in the cart is no longer available. Nothing was created either way.
|
|
@@ -198294,7 +198376,7 @@ export interface operations {
|
|
|
198294
198376
|
"application/json": components["schemas"]["SignupAccepted"];
|
|
198295
198377
|
};
|
|
198296
198378
|
};
|
|
198297
|
-
/** @description The address is refused (`SIGNUP_EMAIL_REFUSED`). */
|
|
198379
|
+
/** @description The address is refused (`SIGNUP_EMAIL_REFUSED`). For a likely typo in the domain, `details[0].code` is `EMAIL_POSSIBLE_TYPO` and `details[0].suggestion` is the same address on the domain the validator suggested ("ann@gmail.com" for "ann@gamil.com"), which the page offers as a one-click fix (EMAILTYPO, docs/1174 §1b3). */
|
|
198298
198380
|
403: {
|
|
198299
198381
|
headers: {
|
|
198300
198382
|
[name: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1763",
|
|
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>",
|