@zinn-digital/sdk 0.1.1718 → 0.1.1720
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 +68 -1
- package/package.json +1 -1
|
@@ -34549,6 +34549,26 @@ export interface paths {
|
|
|
34549
34549
|
patch?: never;
|
|
34550
34550
|
trace?: never;
|
|
34551
34551
|
};
|
|
34552
|
+
"/v1/email-marketing/managed-delivery/price": {
|
|
34553
|
+
parameters: {
|
|
34554
|
+
query?: never;
|
|
34555
|
+
header?: never;
|
|
34556
|
+
path?: never;
|
|
34557
|
+
cookie?: never;
|
|
34558
|
+
};
|
|
34559
|
+
/**
|
|
34560
|
+
* The public price of Zinn® managed e-mail delivery.
|
|
34561
|
+
* @description **Public** reference data (no auth, no tenant scope), for the server-rendered marketing pages. `price_usd_micros_per_1000` is the live row the send charges with (`CampaignsSettings.managed_delivery_price_usd_micros_per_1000`, metered from prepaid credit), never a typed copy. `data_locations` lists only the locations whose delivery provider is configured today (`global` = the Telnyx route, `eu` = Amazon SES eu-west-1), so a page never offers the EU location before it exists. `dedicated_ip_price_usd_minor_per_month` is the `campaigns_dedicated_ip` Extra. Cacheable exactly like `listCatalogPlans` (strong `ETag` + `max-age=60`). `docs/1052` §10 F47/F48.
|
|
34562
|
+
*/
|
|
34563
|
+
get: operations["getEmailMarketingManagedDeliveryPrice"];
|
|
34564
|
+
put?: never;
|
|
34565
|
+
post?: never;
|
|
34566
|
+
delete?: never;
|
|
34567
|
+
options?: never;
|
|
34568
|
+
head?: never;
|
|
34569
|
+
patch?: never;
|
|
34570
|
+
trace?: never;
|
|
34571
|
+
};
|
|
34552
34572
|
"/v1/email-marketing/messages": {
|
|
34553
34573
|
parameters: {
|
|
34554
34574
|
query?: never;
|
|
@@ -59034,7 +59054,7 @@ export interface paths {
|
|
|
59034
59054
|
put?: never;
|
|
59035
59055
|
/**
|
|
59036
59056
|
* Search the map for the business, so the customer can pick theirs.
|
|
59037
|
-
* @description One live map search from the chosen town. It is metered as ONE check of the month's allowance (as V1 meters it) and refused with `422` when none is left. Pick a result and save it with `PUT /v1/visibility/targets/{targetId}/local`.
|
|
59057
|
+
* @description One live map search from the chosen town. It is metered as ONE check of the month's allowance (as V1 meters it) and refused with `422` when none is left. A search that finds no listing answers `200` with an empty list and uses NO check. Pick a result and save it with `PUT /v1/visibility/targets/{targetId}/local`.
|
|
59038
59058
|
*/
|
|
59039
59059
|
post: operations["findLocalBusiness"];
|
|
59040
59060
|
delete?: never;
|
|
@@ -176676,6 +176696,53 @@ export interface operations {
|
|
|
176676
176696
|
404: components["responses"]["NotFound"];
|
|
176677
176697
|
};
|
|
176678
176698
|
};
|
|
176699
|
+
getEmailMarketingManagedDeliveryPrice: {
|
|
176700
|
+
parameters: {
|
|
176701
|
+
query?: never;
|
|
176702
|
+
header?: {
|
|
176703
|
+
/** @description A previously returned `ETag`; a match responds `304`. */
|
|
176704
|
+
"If-None-Match"?: string;
|
|
176705
|
+
};
|
|
176706
|
+
path?: never;
|
|
176707
|
+
cookie?: never;
|
|
176708
|
+
};
|
|
176709
|
+
requestBody?: never;
|
|
176710
|
+
responses: {
|
|
176711
|
+
/** @description The managed-delivery price. */
|
|
176712
|
+
200: {
|
|
176713
|
+
headers: {
|
|
176714
|
+
/** @description Always `public, max-age=60`. */
|
|
176715
|
+
"Cache-Control"?: string;
|
|
176716
|
+
/** @description Strong validator over the response body. */
|
|
176717
|
+
ETag?: string;
|
|
176718
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
176719
|
+
[name: string]: unknown;
|
|
176720
|
+
};
|
|
176721
|
+
content: {
|
|
176722
|
+
"application/json": {
|
|
176723
|
+
/** @enum {string} */
|
|
176724
|
+
currency: "USD";
|
|
176725
|
+
/** @description The data locations offered today. */
|
|
176726
|
+
data_locations: ("eu" | "global")[];
|
|
176727
|
+
/** @description The dedicated-IP add-on price, USD minor units per month (4900 = $49). */
|
|
176728
|
+
dedicated_ip_price_usd_minor_per_month: number;
|
|
176729
|
+
/** @description Price per 1,000 accepted recipients in USD micros (1200000 = $1.20). */
|
|
176730
|
+
price_usd_micros_per_1000: number;
|
|
176731
|
+
};
|
|
176732
|
+
};
|
|
176733
|
+
};
|
|
176734
|
+
/** @description Unchanged since the supplied `If-None-Match`. */
|
|
176735
|
+
304: {
|
|
176736
|
+
headers: {
|
|
176737
|
+
/** @description The unchanged validator. */
|
|
176738
|
+
ETag?: string;
|
|
176739
|
+
[name: string]: unknown;
|
|
176740
|
+
};
|
|
176741
|
+
content?: never;
|
|
176742
|
+
};
|
|
176743
|
+
429: components["responses"]["TooManyRequests"];
|
|
176744
|
+
};
|
|
176745
|
+
};
|
|
176679
176746
|
listEmailMarketingMessages: {
|
|
176680
176747
|
parameters: {
|
|
176681
176748
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1720",
|
|
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>",
|