@zinn-digital/sdk 0.1.1908 → 0.1.1912
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 +157 -0
- package/package.json +1 -1
|
@@ -16795,6 +16795,26 @@ export interface paths {
|
|
|
16795
16795
|
patch?: never;
|
|
16796
16796
|
trace?: never;
|
|
16797
16797
|
};
|
|
16798
|
+
"/v1/admin/zinn-campaigns/ses-hold/lift": {
|
|
16799
|
+
parameters: {
|
|
16800
|
+
query?: never;
|
|
16801
|
+
header?: never;
|
|
16802
|
+
path?: never;
|
|
16803
|
+
cookie?: never;
|
|
16804
|
+
};
|
|
16805
|
+
get?: never;
|
|
16806
|
+
put?: never;
|
|
16807
|
+
/**
|
|
16808
|
+
* Lift the account-wide hold on managed Amazon SES sending (staff).
|
|
16809
|
+
* @description Closes the open hold the send gate opened when our SES account's bounce-rate or complaint-rate alarm fired; held campaigns then carry on by themselves (only still-queued recipients are sent). Audited (`email_marketing.managed_hold.lift`) with the note. If a rate alarm is still firing, the next send re-opens the hold. Requires `abuse.manage`.
|
|
16810
|
+
*/
|
|
16811
|
+
post: operations["liftZinnCampaignsSesHold"];
|
|
16812
|
+
delete?: never;
|
|
16813
|
+
options?: never;
|
|
16814
|
+
head?: never;
|
|
16815
|
+
patch?: never;
|
|
16816
|
+
trace?: never;
|
|
16817
|
+
};
|
|
16798
16818
|
"/v1/ads/analytics/breakdown": {
|
|
16799
16819
|
parameters: {
|
|
16800
16820
|
query?: never;
|
|
@@ -61433,6 +61453,26 @@ export interface paths {
|
|
|
61433
61453
|
patch?: never;
|
|
61434
61454
|
trace?: never;
|
|
61435
61455
|
};
|
|
61456
|
+
"/v1/webhooks/email-marketing/ses-managed": {
|
|
61457
|
+
parameters: {
|
|
61458
|
+
query?: never;
|
|
61459
|
+
header?: never;
|
|
61460
|
+
path?: never;
|
|
61461
|
+
cookie?: never;
|
|
61462
|
+
};
|
|
61463
|
+
get?: never;
|
|
61464
|
+
put?: never;
|
|
61465
|
+
/**
|
|
61466
|
+
* Amazon SNS events of the managed SES (EU) delivery account.
|
|
61467
|
+
* @description **Unauthenticated by design**: the Amazon SNS message signature is the authentication (SignatureVersion 2, SHA256withRSA, only; version 1 (SHA1) is refused with `401`; verified over the canonical string against the signing certificate, which is fetched only from an `https://sns.<region>.amazonaws.com/*.pem` URL). `401` when it does not verify, `403` when the `TopicArn` is not the platform's own events topic (a subscription confirmation is followed only for that topic). A `Notification` carries the SES event of one managed send; the org and recipient come from the signed `zinn_fb` message tag, never from the address, and a permanent bounce or a complaint suppresses the address in that org at once. Redelivery or replay of the same SNS message is a no-op (keyed by the SNS `MessageId`).
|
|
61468
|
+
*/
|
|
61469
|
+
post: operations["receiveEmailMarketingManagedSesEvents"];
|
|
61470
|
+
delete?: never;
|
|
61471
|
+
options?: never;
|
|
61472
|
+
head?: never;
|
|
61473
|
+
patch?: never;
|
|
61474
|
+
trace?: never;
|
|
61475
|
+
};
|
|
61436
61476
|
"/v1/webhooks/git/{provider}/{repoId}": {
|
|
61437
61477
|
parameters: {
|
|
61438
61478
|
query?: never;
|
|
@@ -118629,6 +118669,8 @@ export interface components {
|
|
|
118629
118669
|
fqdn: string;
|
|
118630
118670
|
/** @description Whether the registry adds a year to the term when the transfer completes. ⛔ `null` means **unknown, not "no"** — true for every gTLD under ICANN's transfer policy, but country registries differ and we hold no source for most of them. Show the "+1 year" line only on `true`. */
|
|
118631
118671
|
grants_year: boolean | null;
|
|
118672
|
+
/** @description Whether the registrar said, before this answer was sent, if the name is priced at a registry premium. `false` on an eligible row means the registry confirmed the name is registered but the registrar had not answered within the pre-flight's time budget: show "ready, confirmed at checkout", never a plain "ready". The cart re-asks the registrar before payment and refuses a premium name with `PREMIUM_NAME`. `null` where the check was not reached (the row was refused earlier). */
|
|
118673
|
+
premium_checked?: boolean | null;
|
|
118632
118674
|
/** @description Why this name cannot be transferred. `TLD_NOT_OFFERED` — we do not sell that extension, or the name is not registrable (a sub-domain). `NOT_REGISTERED` — the name is available, so it is a registration, not a transfer. `CHECK_FAILED` — the registrar could not be asked, so the answer is "try again", **not** "you can buy it instead"; those are different facts and the customer's next action differs. `ALREADY_ON_PLATFORM` — this organisation already holds it. `NOT_PRICED` — we sell the TLD but hold no transfer price in this currency. Read from the registry's own record (RDAP), before payment (P6d-017): `LOCKED` — a client or server transfer lock is on; unlock it at the current registrar and check again. `TOO_NEW` — registered under 60 days ago, and `RECENTLY_TRANSFERRED` — transferred under 60 days ago; both carry `eligible_from`. `REDEMPTION` — in redemption or pending delete; the current registrar must restore it first. `PREMIUM_NAME` — the registrar prices this name at a registry premium (P6d-003); the cart refuses it on add with the same code, so it is refused here before anybody pays. */
|
|
118633
118675
|
reason: string | null;
|
|
118634
118676
|
/** @description Whether the registry's own record (RDAP) was read for this name. `false` on an eligible row means nothing we could see blocks it but the lock state could not be read (some country registries publish no RDAP): show "could not check the lock", never a plain "ready". `null` where the check was not reached (the row was refused earlier). */
|
|
@@ -121851,6 +121893,8 @@ export interface components {
|
|
|
121851
121893
|
};
|
|
121852
121894
|
ZinnCampaignsChannels: {
|
|
121853
121895
|
pauses: components["schemas"]["ZinnCampaignsChannelPause"][];
|
|
121896
|
+
/** @description The OPEN account-wide hold on managed Amazon SES sending, or null. Opened by the send gate when our SES account's bounce-rate or complaint-rate alarm fires; while open, every organisation's managed SES sends wait queued (nothing claimed or charged) until staff lift it (`liftZinnCampaignsSesHold`). */
|
|
121897
|
+
ses_hold: components["schemas"]["ZinnCampaignsSesHold"] | null;
|
|
121854
121898
|
settings: components["schemas"]["ZinnCampaignsChannelSettings"];
|
|
121855
121899
|
};
|
|
121856
121900
|
ZinnCampaignsChannelSettings: {
|
|
@@ -121951,6 +121995,27 @@ export interface components {
|
|
|
121951
121995
|
vendor_identity_status: string;
|
|
121952
121996
|
vendor_reason: string;
|
|
121953
121997
|
};
|
|
121998
|
+
ZinnCampaignsSesHold: {
|
|
121999
|
+
/**
|
|
122000
|
+
* @description The rate alarms as Prometheus reports them now: `firing`, `clear`, or `unreadable` when Prometheus could not be read (never shown as `clear`). Lifting while one fires re-opens the hold at the next send.
|
|
122001
|
+
* @enum {string}
|
|
122002
|
+
*/
|
|
122003
|
+
alarm_state: "firing" | "clear" | "unreadable";
|
|
122004
|
+
detail: {
|
|
122005
|
+
[key: string]: unknown;
|
|
122006
|
+
};
|
|
122007
|
+
/** Format: date-time */
|
|
122008
|
+
held_at: string;
|
|
122009
|
+
/** Format: uuid */
|
|
122010
|
+
id: string;
|
|
122011
|
+
/** @enum {string} */
|
|
122012
|
+
provider: "ses";
|
|
122013
|
+
/**
|
|
122014
|
+
* @description The alarm that opened the hold.
|
|
122015
|
+
* @enum {string}
|
|
122016
|
+
*/
|
|
122017
|
+
reason: "ZinnSesManagedBounceRateHigh" | "ZinnSesManagedComplaintRateHigh";
|
|
122018
|
+
};
|
|
121954
122019
|
ZinnCdnPrice: {
|
|
121955
122020
|
/** @enum {string} */
|
|
121956
122021
|
currency: "USD";
|
|
@@ -148949,6 +149014,39 @@ export interface operations {
|
|
|
148949
149014
|
422: components["responses"]["UnprocessableEntity"];
|
|
148950
149015
|
};
|
|
148951
149016
|
};
|
|
149017
|
+
liftZinnCampaignsSesHold: {
|
|
149018
|
+
parameters: {
|
|
149019
|
+
query?: never;
|
|
149020
|
+
header?: never;
|
|
149021
|
+
path?: never;
|
|
149022
|
+
cookie?: never;
|
|
149023
|
+
};
|
|
149024
|
+
requestBody: {
|
|
149025
|
+
content: {
|
|
149026
|
+
"application/json": {
|
|
149027
|
+
/** @description Why it is safe to send again. */
|
|
149028
|
+
note: string;
|
|
149029
|
+
};
|
|
149030
|
+
};
|
|
149031
|
+
};
|
|
149032
|
+
responses: {
|
|
149033
|
+
/** @description The hold was lifted (or none was open). */
|
|
149034
|
+
200: {
|
|
149035
|
+
headers: {
|
|
149036
|
+
[name: string]: unknown;
|
|
149037
|
+
};
|
|
149038
|
+
content: {
|
|
149039
|
+
"application/json": {
|
|
149040
|
+
lifted: number;
|
|
149041
|
+
};
|
|
149042
|
+
};
|
|
149043
|
+
};
|
|
149044
|
+
401: components["responses"]["Unauthorized"];
|
|
149045
|
+
403: components["responses"]["Forbidden"];
|
|
149046
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
149047
|
+
429: components["responses"]["TooManyRequests"];
|
|
149048
|
+
};
|
|
149049
|
+
};
|
|
148952
149050
|
getAdsAnalyticsBreakdown: {
|
|
148953
149051
|
parameters: {
|
|
148954
149052
|
query?: {
|
|
@@ -223936,6 +224034,65 @@ export interface operations {
|
|
|
223936
224034
|
};
|
|
223937
224035
|
};
|
|
223938
224036
|
};
|
|
224037
|
+
receiveEmailMarketingManagedSesEvents: {
|
|
224038
|
+
parameters: {
|
|
224039
|
+
query?: never;
|
|
224040
|
+
header?: never;
|
|
224041
|
+
path?: never;
|
|
224042
|
+
cookie?: never;
|
|
224043
|
+
};
|
|
224044
|
+
requestBody: {
|
|
224045
|
+
content: {
|
|
224046
|
+
"application/json": {
|
|
224047
|
+
[key: string]: unknown;
|
|
224048
|
+
};
|
|
224049
|
+
"text/plain": string;
|
|
224050
|
+
};
|
|
224051
|
+
};
|
|
224052
|
+
responses: {
|
|
224053
|
+
/** @description Accepted (applied, a duplicate, or ignored). */
|
|
224054
|
+
200: {
|
|
224055
|
+
headers: {
|
|
224056
|
+
[name: string]: unknown;
|
|
224057
|
+
};
|
|
224058
|
+
content: {
|
|
224059
|
+
"application/json": {
|
|
224060
|
+
ok: boolean;
|
|
224061
|
+
/** @enum {string} */
|
|
224062
|
+
outcome: "applied" | "duplicate_or_none" | "subscribed" | "unsubscribe_noted" | "unreadable_event" | "no_tenant_tag" | "unknown_recipient";
|
|
224063
|
+
};
|
|
224064
|
+
};
|
|
224065
|
+
};
|
|
224066
|
+
/** @description Not an SNS message. */
|
|
224067
|
+
400: {
|
|
224068
|
+
headers: {
|
|
224069
|
+
[name: string]: unknown;
|
|
224070
|
+
};
|
|
224071
|
+
content?: never;
|
|
224072
|
+
};
|
|
224073
|
+
/** @description The SNS signature did not verify. */
|
|
224074
|
+
401: {
|
|
224075
|
+
headers: {
|
|
224076
|
+
[name: string]: unknown;
|
|
224077
|
+
};
|
|
224078
|
+
content?: never;
|
|
224079
|
+
};
|
|
224080
|
+
/** @description The message is not from the platform's own events topic. */
|
|
224081
|
+
403: {
|
|
224082
|
+
headers: {
|
|
224083
|
+
[name: string]: unknown;
|
|
224084
|
+
};
|
|
224085
|
+
content?: never;
|
|
224086
|
+
};
|
|
224087
|
+
/** @description The subscription confirmation could not reach Amazon SNS; SNS re-sends it. */
|
|
224088
|
+
502: {
|
|
224089
|
+
headers: {
|
|
224090
|
+
[name: string]: unknown;
|
|
224091
|
+
};
|
|
224092
|
+
content?: never;
|
|
224093
|
+
};
|
|
224094
|
+
};
|
|
224095
|
+
};
|
|
223939
224096
|
receiveGitPushWebhook: {
|
|
223940
224097
|
parameters: {
|
|
223941
224098
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1912",
|
|
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>",
|