@zinn-digital/sdk 0.1.1510 → 0.1.1511

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.
@@ -15866,6 +15866,26 @@ export interface paths {
15866
15866
  patch: operations["updateMozProjectCap"];
15867
15867
  trace?: never;
15868
15868
  };
15869
+ "/v1/admin/vendor-usage/moz/settings": {
15870
+ parameters: {
15871
+ query?: never;
15872
+ header?: never;
15873
+ path?: never;
15874
+ cookie?: never;
15875
+ };
15876
+ get?: never;
15877
+ put?: never;
15878
+ post?: never;
15879
+ delete?: never;
15880
+ options?: never;
15881
+ head?: never;
15882
+ /**
15883
+ * Change the accepted monthly Moz ceiling the overage alert compares against (staff).
15884
+ * @description s1014 MOZCEIL (owner 2026-11-05: "raise the Moz allowance to 200,000 rows a month"; he accepts paying overage up to it). `accepted_monthly_rows` 0-5,000,000. The plan allotment is Moz's own figure and is not edited here; the report keeps showing it and the overage cost. Audit-logged (`platform.moz_accepted_ceiling_changed`, before and after). Requires staff + `platform.seo.manage`.
15885
+ */
15886
+ patch: operations["updateMozAccountSettings"];
15887
+ trace?: never;
15888
+ };
15869
15889
  "/v1/admin/visibility": {
15870
15890
  parameters: {
15871
15891
  query?: never;
@@ -90150,6 +90170,11 @@ export interface components {
90150
90170
  };
90151
90171
  /** @description The shared Moz account, as `getMozVendorUsage` reports it (s1014 MOZ-V2). */
90152
90172
  MozVendorUsage: {
90173
+ /**
90174
+ * @description The owner-set ACCEPTED monthly ceiling (owner 2026-11-05: 200,000; overage up to it is paid on purpose). The overage alert fires only when `projected_month_end` passes it. Not Moz's `allotted`, which stays as reported.
90175
+ * @example 200000
90176
+ */
90177
+ accepted_monthly_rows?: number;
90153
90178
  advice: {
90154
90179
  /** @enum {string} */
90155
90180
  action: "stay" | "upgrade" | "unknown";
@@ -90181,6 +90206,16 @@ export interface components {
90181
90206
  rows_included: number;
90182
90207
  }[];
90183
90208
  projected_month_end: number | null;
90209
+ /**
90210
+ * @description The projected overage charge on the current plan in integer minor units of `advice.currency` (the plan cost at the projection minus its monthly price).
90211
+ * @example 12000
90212
+ */
90213
+ projected_overage_cost_minor?: number | null;
90214
+ /**
90215
+ * @description Projected rows past `allotted` this period (0 when under; null = no projection yet).
90216
+ * @example 50251
90217
+ */
90218
+ projected_overage_rows?: number | null;
90184
90219
  projects: {
90185
90220
  alert_percent: number;
90186
90221
  label: string;
@@ -139062,6 +139097,38 @@ export interface operations {
139062
139097
  422: components["responses"]["UnprocessableEntity"];
139063
139098
  };
139064
139099
  };
139100
+ updateMozAccountSettings: {
139101
+ parameters: {
139102
+ query?: never;
139103
+ header?: never;
139104
+ path?: never;
139105
+ cookie?: never;
139106
+ };
139107
+ requestBody: {
139108
+ content: {
139109
+ "application/json": {
139110
+ accepted_monthly_rows: number;
139111
+ };
139112
+ };
139113
+ };
139114
+ responses: {
139115
+ /** @description The ceiling, as stored. */
139116
+ 200: {
139117
+ headers: {
139118
+ [name: string]: unknown;
139119
+ };
139120
+ content: {
139121
+ "application/json": {
139122
+ /** @example 200000 */
139123
+ accepted_monthly_rows: number;
139124
+ };
139125
+ };
139126
+ };
139127
+ 401: components["responses"]["Unauthorized"];
139128
+ 403: components["responses"]["Forbidden"];
139129
+ 422: components["responses"]["UnprocessableEntity"];
139130
+ };
139131
+ };
139065
139132
  getVisibilitySpend: {
139066
139133
  parameters: {
139067
139134
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1510",
3
+ "version": "0.1.1511",
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>",