@zinn-digital/sdk 0.1.1509 → 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;
@@ -72086,6 +72106,7 @@ export interface components {
72086
72106
  /** @description The preview address, while waiting to switch over. */
72087
72107
  preview_url?: string;
72088
72108
  product_line?: string;
72109
+ progress: components["schemas"]["AiMoveProgress"];
72089
72110
  /** @description The route chosen (ssh, cpanel, plesk, directadmin, ftp). */
72090
72111
  route?: string;
72091
72112
  /** Format: uuid */
@@ -72175,6 +72196,29 @@ export interface components {
72175
72196
  target_domain: string;
72176
72197
  timezone?: string;
72177
72198
  };
72199
+ /** @description Where the move has got (owner row 1105#11). `step` of `steps` on the customer's path (a waiting stage sits on the step it waits in); `phase` of the copy; files, databases, mailboxes and bytes done of total; the copy rate and an estimate of the time left (only while files are being copied); `stalled` once files are still to copy and nothing has moved for 5 minutes; `retrying` while our own check is being re-run. */
72200
+ AiMoveProgress: {
72201
+ /** Format: int64 */
72202
+ bytes_done: number;
72203
+ bytes_per_second: number | null;
72204
+ /** Format: int64 */
72205
+ bytes_total: number;
72206
+ databases_done: number;
72207
+ databases_total: number;
72208
+ eta_seconds: number | null;
72209
+ files_done: number;
72210
+ files_total: number;
72211
+ /** Format: date-time */
72212
+ last_activity_at: string | null;
72213
+ mailboxes_done: number;
72214
+ mailboxes_total: number;
72215
+ /** @enum {string} */
72216
+ phase: "" | "connecting" | "listing" | "copying_files" | "installing" | "testing" | "ready" | "failed" | "cancelled";
72217
+ retrying: boolean;
72218
+ stalled: boolean;
72219
+ step: number | null;
72220
+ steps: number;
72221
+ };
72178
72222
  AiMoveStaff: components["schemas"]["AiMove"] & {
72179
72223
  /** @description Hosts and ports only — never a secret. */
72180
72224
  access?: {
@@ -90126,6 +90170,11 @@ export interface components {
90126
90170
  };
90127
90171
  /** @description The shared Moz account, as `getMozVendorUsage` reports it (s1014 MOZ-V2). */
90128
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;
90129
90178
  advice: {
90130
90179
  /** @enum {string} */
90131
90180
  action: "stay" | "upgrade" | "unknown";
@@ -90157,6 +90206,16 @@ export interface components {
90157
90206
  rows_included: number;
90158
90207
  }[];
90159
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;
90160
90219
  projects: {
90161
90220
  alert_percent: number;
90162
90221
  label: string;
@@ -139038,6 +139097,38 @@ export interface operations {
139038
139097
  422: components["responses"]["UnprocessableEntity"];
139039
139098
  };
139040
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
+ };
139041
139132
  getVisibilitySpend: {
139042
139133
  parameters: {
139043
139134
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1509",
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>",