@zinn-digital/sdk 0.1.1815 → 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 +86 -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;
|
|
@@ -121243,6 +121267,19 @@ export interface components {
|
|
|
121243
121267
|
/** @enum {string} */
|
|
121244
121268
|
rule: "refused" | "b2b_only" | "allowed";
|
|
121245
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
|
+
};
|
|
121246
121283
|
ZinnCampaignsRegistrationAdmin: {
|
|
121247
121284
|
brand_name: string;
|
|
121248
121285
|
cost_usd_micros: number;
|
|
@@ -147906,6 +147943,55 @@ export interface operations {
|
|
|
147906
147943
|
422: components["responses"]["UnprocessableEntity"];
|
|
147907
147944
|
};
|
|
147908
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
|
+
};
|
|
147909
147995
|
getZinnCampaignsOrgDeliverability: {
|
|
147910
147996
|
parameters: {
|
|
147911
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>",
|