@zinn-digital/sdk 0.1.1814 → 0.1.1816
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 +92 -0
- package/package.json +1 -1
|
@@ -16602,6 +16602,30 @@ export interface paths {
|
|
|
16602
16602
|
patch?: never;
|
|
16603
16603
|
trace?: never;
|
|
16604
16604
|
};
|
|
16605
|
+
"/v1/admin/zinn-campaigns/cold/settings": {
|
|
16606
|
+
parameters: {
|
|
16607
|
+
query?: never;
|
|
16608
|
+
header?: never;
|
|
16609
|
+
path?: never;
|
|
16610
|
+
cookie?: never;
|
|
16611
|
+
};
|
|
16612
|
+
/**
|
|
16613
|
+
* The Cold Outreach switch row and its pilot list (staff).
|
|
16614
|
+
* @description `enabled` (the launch switch, read only here), `pilot_org_ids` (the orgs that may use Cold Outreach while the line is off) and the per-mailbox cap ceiling. Requires `abuse.view` or `billing.entitlement.manage`.
|
|
16615
|
+
*/
|
|
16616
|
+
get: operations["getZinnCampaignsColdSettings"];
|
|
16617
|
+
put?: never;
|
|
16618
|
+
post?: never;
|
|
16619
|
+
delete?: never;
|
|
16620
|
+
options?: never;
|
|
16621
|
+
head?: never;
|
|
16622
|
+
/**
|
|
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`.
|
|
16625
|
+
*/
|
|
16626
|
+
patch: operations["setZinnCampaignsColdPilots"];
|
|
16627
|
+
trace?: never;
|
|
16628
|
+
};
|
|
16605
16629
|
"/v1/admin/zinn-campaigns/orgs/{org_id}/deliverability": {
|
|
16606
16630
|
parameters: {
|
|
16607
16631
|
query?: never;
|
|
@@ -110279,7 +110303,13 @@ export interface components {
|
|
|
110279
110303
|
last_seen_at: string;
|
|
110280
110304
|
/** @description Staff only. */
|
|
110281
110305
|
org_id?: string;
|
|
110306
|
+
/** @description Staff's free-text note in English; customer surfaces show repair_reason instead. */
|
|
110282
110307
|
repair_note?: string;
|
|
110308
|
+
/**
|
|
110309
|
+
* @description Why an automatic repair did not run or did not finish, as a code the customer's card translates (docs/1027 §6): backup_failed = the backup taken before every automatic repair failed, so nothing was changed; box_unreachable = the site's server could not be reached; repair_failed = the repair ran and did not work; files_unmovable = some files sit inside a theme or plugin and are never moved automatically; needs_person = what was found is left for a person to review. Empty when nothing was refused; a repair that works clears it.
|
|
110310
|
+
* @enum {string}
|
|
110311
|
+
*/
|
|
110312
|
+
repair_reason?: "" | "backup_failed" | "box_unreachable" | "repair_failed" | "files_unmovable" | "needs_person";
|
|
110283
110313
|
/** Format: date-time */
|
|
110284
110314
|
repaired_at?: string | null;
|
|
110285
110315
|
/** @description Staff only. */
|
|
@@ -121237,6 +121267,19 @@ export interface components {
|
|
|
121237
121267
|
/** @enum {string} */
|
|
121238
121268
|
rule: "refused" | "b2b_only" | "allowed";
|
|
121239
121269
|
};
|
|
121270
|
+
ZinnCampaignsColdPilotsSet: {
|
|
121271
|
+
pilot_org_ids: string[];
|
|
121272
|
+
};
|
|
121273
|
+
ZinnCampaignsColdSettings: {
|
|
121274
|
+
cap_ceiling: number;
|
|
121275
|
+
enabled: boolean;
|
|
121276
|
+
pilot_org_ids: string[];
|
|
121277
|
+
/** Format: date-time */
|
|
121278
|
+
updated_at?: string | null;
|
|
121279
|
+
};
|
|
121280
|
+
ZinnCampaignsColdSettingsEnvelope: {
|
|
121281
|
+
settings: components["schemas"]["ZinnCampaignsColdSettings"];
|
|
121282
|
+
};
|
|
121240
121283
|
ZinnCampaignsRegistrationAdmin: {
|
|
121241
121284
|
brand_name: string;
|
|
121242
121285
|
cost_usd_micros: number;
|
|
@@ -147900,6 +147943,55 @@ export interface operations {
|
|
|
147900
147943
|
422: components["responses"]["UnprocessableEntity"];
|
|
147901
147944
|
};
|
|
147902
147945
|
};
|
|
147946
|
+
getZinnCampaignsColdSettings: {
|
|
147947
|
+
parameters: {
|
|
147948
|
+
query?: never;
|
|
147949
|
+
header?: never;
|
|
147950
|
+
path?: never;
|
|
147951
|
+
cookie?: never;
|
|
147952
|
+
};
|
|
147953
|
+
requestBody?: never;
|
|
147954
|
+
responses: {
|
|
147955
|
+
/** @description The row. */
|
|
147956
|
+
200: {
|
|
147957
|
+
headers: {
|
|
147958
|
+
[name: string]: unknown;
|
|
147959
|
+
};
|
|
147960
|
+
content: {
|
|
147961
|
+
"application/json": components["schemas"]["ZinnCampaignsColdSettingsEnvelope"];
|
|
147962
|
+
};
|
|
147963
|
+
};
|
|
147964
|
+
401: components["responses"]["Unauthorized"];
|
|
147965
|
+
403: components["responses"]["Forbidden"];
|
|
147966
|
+
};
|
|
147967
|
+
};
|
|
147968
|
+
setZinnCampaignsColdPilots: {
|
|
147969
|
+
parameters: {
|
|
147970
|
+
query?: never;
|
|
147971
|
+
header?: never;
|
|
147972
|
+
path?: never;
|
|
147973
|
+
cookie?: never;
|
|
147974
|
+
};
|
|
147975
|
+
requestBody: {
|
|
147976
|
+
content: {
|
|
147977
|
+
"application/json": components["schemas"]["ZinnCampaignsColdPilotsSet"];
|
|
147978
|
+
};
|
|
147979
|
+
};
|
|
147980
|
+
responses: {
|
|
147981
|
+
/** @description The row after the change. */
|
|
147982
|
+
200: {
|
|
147983
|
+
headers: {
|
|
147984
|
+
[name: string]: unknown;
|
|
147985
|
+
};
|
|
147986
|
+
content: {
|
|
147987
|
+
"application/json": components["schemas"]["ZinnCampaignsColdSettingsEnvelope"];
|
|
147988
|
+
};
|
|
147989
|
+
};
|
|
147990
|
+
401: components["responses"]["Unauthorized"];
|
|
147991
|
+
403: components["responses"]["Forbidden"];
|
|
147992
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
147993
|
+
};
|
|
147994
|
+
};
|
|
147903
147995
|
getZinnCampaignsOrgDeliverability: {
|
|
147904
147996
|
parameters: {
|
|
147905
147997
|
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.1816",
|
|
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>",
|