@zinn-digital/sdk 0.1.1767 → 0.1.1769

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.
@@ -28577,6 +28577,26 @@ export interface paths {
28577
28577
  patch?: never;
28578
28578
  trace?: never;
28579
28579
  };
28580
+ "/v1/catalog/reseller-terms": {
28581
+ parameters: {
28582
+ query?: never;
28583
+ header?: never;
28584
+ path?: never;
28585
+ cookie?: never;
28586
+ };
28587
+ /**
28588
+ * The platform-wide reseller wholesale discount, per product line.
28589
+ * @description The discount off list price that every reseller gets, per product line a reseller can sell, plus the discount on AI credit packs. **Public**: the reseller marketing pages state the discount model from this rather than from a typed percentage, because the discount is a dated wholesale-rate row that changes without a deploy. Only the platform-wide rates are returned; a reseller's own negotiated rate is never public. `discount_bps` is basis points (2500 = 25%). `scope` is `platform_product_line` when the line has its own rate, `platform` when it inherits the standard one, and empty when no rate is in force (the reseller then pays full list). Cacheable: strong `ETag` and `Cache-Control: public, max-age=60`.
28590
+ */
28591
+ get: operations["getResellerTerms"];
28592
+ put?: never;
28593
+ post?: never;
28594
+ delete?: never;
28595
+ options?: never;
28596
+ head?: never;
28597
+ patch?: never;
28598
+ trace?: never;
28599
+ };
28580
28600
  "/v1/cdn/credit": {
28581
28601
  parameters: {
28582
28602
  query?: never;
@@ -34257,7 +34277,7 @@ export interface paths {
34257
34277
  };
34258
34278
  /**
34259
34279
  * The caller's domains whose registrant email address is not yet confirmed.
34260
- * @description ICANN requires the registrar to confirm a generic-TLD registrant's email address: it mails the registrant a link, and a name whose address is not confirmed by the deadline is suspended by the registry. Each item is one of your domains still waiting, with the address the link went to and the deadline. Read from what the registrar reported at its last check (every 6 hours, `checked_at`), soonest deadline first, at most 200 items. A confirmed address leaves the list at the next check. Requires `sites.view`.
34280
+ * @description ICANN requires the registrar to confirm a generic-TLD registrant's email address: it mails the registrant a link, and a name whose address is not confirmed by the deadline is suspended by the registry. Each item is one of your domains still waiting, with the address the link went to and the deadline. Read from what the registrar reported at its last check (every 6 hours, `checked_at`), soonest deadline first, at most 200 items. A confirmed address leaves the list at the next check. Requires `sites.view`. Scoped to the caller's OWN orgs (direct memberships, or the API key's org), or to the one org the request names in `X-Zinn-Org`: a parent or reseller org is never shown a client org's notice unless it acts in that client org.
34261
34281
  */
34262
34282
  get: operations["listRegistrantEmailVerifications"];
34263
34283
  put?: never;
@@ -103608,6 +103628,17 @@ export interface components {
103608
103628
  /** @description Sellable plans in this line. */
103609
103629
  plan_count: number;
103610
103630
  };
103631
+ ResellerLineDiscount: {
103632
+ /** @description The discount off list on this line, in basis points. */
103633
+ discount_bps: number;
103634
+ /** @description The product-line code, e.g. `zinn_campaigns`. */
103635
+ product_line: string;
103636
+ /**
103637
+ * @description Which platform-wide rate applies; empty when none is in force.
103638
+ * @enum {string}
103639
+ */
103640
+ scope: "platform" | "platform_product_line" | "";
103641
+ };
103611
103642
  ResellerLineList: {
103612
103643
  data: components["schemas"]["ResellerLine"][];
103613
103644
  };
@@ -104025,6 +104056,16 @@ export interface components {
104025
104056
  outcome: "ended" | "deleted";
104026
104057
  };
104027
104058
  };
104059
+ ResellerTerms: {
104060
+ /** @description The discount on AI credit packs, in basis points. */
104061
+ ai_credits_discount_bps: number;
104062
+ lines: components["schemas"]["ResellerLineDiscount"][];
104063
+ /** @description The discount off list on every line with no rate of its own, in basis points. */
104064
+ standard_discount_bps: number;
104065
+ };
104066
+ ResellerTermsResponse: {
104067
+ data: components["schemas"]["ResellerTerms"];
104068
+ };
104028
104069
  ResellerVendorPolicy: {
104029
104070
  /** @description Basis points of the pool at which you are warned. 8000 = 80%. */
104030
104071
  alert_at_bps: number;
@@ -168730,6 +168771,44 @@ export interface operations {
168730
168771
  429: components["responses"]["TooManyRequests"];
168731
168772
  };
168732
168773
  };
168774
+ getResellerTerms: {
168775
+ parameters: {
168776
+ query?: never;
168777
+ header?: {
168778
+ /** @description A previously returned `ETag`; a match responds `304`. */
168779
+ "If-None-Match"?: string;
168780
+ };
168781
+ path?: never;
168782
+ cookie?: never;
168783
+ };
168784
+ requestBody?: never;
168785
+ responses: {
168786
+ /** @description The platform-wide reseller discounts in force today. */
168787
+ 200: {
168788
+ headers: {
168789
+ /** @description Always `public, max-age=60`. */
168790
+ "Cache-Control"?: string;
168791
+ /** @description Strong validator over the response contents. */
168792
+ ETag?: string;
168793
+ "RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
168794
+ [name: string]: unknown;
168795
+ };
168796
+ content: {
168797
+ "application/json": components["schemas"]["ResellerTermsResponse"];
168798
+ };
168799
+ };
168800
+ /** @description Unchanged since the supplied `If-None-Match`. */
168801
+ 304: {
168802
+ headers: {
168803
+ /** @description The unchanged validator. */
168804
+ ETag?: string;
168805
+ [name: string]: unknown;
168806
+ };
168807
+ content?: never;
168808
+ };
168809
+ 429: components["responses"]["TooManyRequests"];
168810
+ };
168811
+ };
168733
168812
  getCdnCredit: {
168734
168813
  parameters: {
168735
168814
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1767",
3
+ "version": "0.1.1769",
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>",