@zinn-digital/sdk 0.1.1607 → 0.1.1612

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.
@@ -38822,6 +38822,28 @@ export interface paths {
38822
38822
  patch?: never;
38823
38823
  trace?: never;
38824
38824
  };
38825
+ "/v1/migrations/ai-moves/{moveId}/restart": {
38826
+ parameters: {
38827
+ query?: never;
38828
+ header?: never;
38829
+ path: {
38830
+ moveId: string;
38831
+ };
38832
+ cookie?: never;
38833
+ };
38834
+ get?: never;
38835
+ put?: never;
38836
+ /**
38837
+ * Start this AI Move again from the beginning, as a fresh move.
38838
+ * @description Owner row 1107#24. The fresh move keeps the same site, the access already given and the same ticket; this one is cancelled (its unfinished copy is stopped) and points to the new one in `restarted_as`. Nothing at the old host is changed. Refused with 409 once the move is done or cancelled (`refusal.aiMove.finished`), once its switch-over has started (`refusal.aiMove.switchStarted`), or when its access was already deleted (`refusal.aiMove.accessGone` — start a new move instead). Requires `hosting.import.manage`.
38839
+ */
38840
+ post: operations["restartAiMove"];
38841
+ delete?: never;
38842
+ options?: never;
38843
+ head?: never;
38844
+ patch?: never;
38845
+ trace?: never;
38846
+ };
38825
38847
  "/v1/migrations/discover": {
38826
38848
  parameters: {
38827
38849
  query?: never;
@@ -70526,6 +70548,7 @@ export interface components {
70526
70548
  credited_after: number | null;
70527
70549
  /** Format: date */
70528
70550
  day: string;
70551
+ /** @description The fix assistant's findings, filtered by the network's registry row on read (ZA320-FU3): no upload finding (noUploadAction, uploadActionNotPrimary, uploadRequestRejected, uploadResponseUnreadable) on a network that takes no conversion upload (ChatGPT Ads), no click-id finding (lostClickIds, checkoutRoundTrip, providerGap) and an empty `by_provider` on a network none of whose click ids an outcome stores. `lostClickIds` figures carry `clickIds`, that network's own click ids. */
70529
70552
  diagnoses: {
70530
70553
  /** @enum {string} */
70531
70554
  code: "noSource" | "unreadable" | "lostClickIds" | "checkoutRoundTrip" | "offSiteOutcome" | "missingTag" | "noUploadAction" | "uploadActionNotPrimary" | "uploadRequestRejected" | "uploadResponseUnreadable" | "undercount" | "doubleCounting" | "providerGap";
@@ -73482,6 +73505,8 @@ export interface components {
73482
73505
  [key: string]: string;
73483
73506
  };
73484
73507
  approx_size?: string;
73508
+ /** @description Whether `POST .../restart` would start a fresh move now. */
73509
+ can_restart?: boolean;
73485
73510
  /** @description The switch-over verdict: `preview`, `app`, `passed` (both), then `live` after the switch-over. */
73486
73511
  checks?: {
73487
73512
  [key: string]: unknown;
@@ -73509,6 +73534,7 @@ export interface components {
73509
73534
  * @description When the GO was given.
73510
73535
  */
73511
73536
  go_at?: string | null;
73537
+ health?: components["schemas"]["AiMoveHealth"];
73512
73538
  /** Format: uuid */
73513
73539
  id: string;
73514
73540
  inventory?: {
@@ -73533,6 +73559,11 @@ export interface components {
73533
73559
  preview_url?: string;
73534
73560
  product_line?: string;
73535
73561
  progress: components["schemas"]["AiMoveProgress"];
73562
+ /**
73563
+ * Format: uuid
73564
+ * @description When the customer restarted this move: the fresh move that replaced it.
73565
+ */
73566
+ restarted_as?: string | null;
73536
73567
  /** @description The route chosen (ssh, cpanel, plesk, directadmin, ftp). */
73537
73568
  route?: string;
73538
73569
  /** Format: uuid */
@@ -73591,6 +73622,14 @@ export interface components {
73591
73622
  /** @description The consent line's version the intake records. */
73592
73623
  terms_version: string;
73593
73624
  };
73625
+ /** @description The honest state beside the stage (owner row 1107#24). `on_track`: inside the time the stage normally takes. `slow`: past it, still working. `self_healing`: our AI hit a problem of ours and is retrying it on its own (`attempts` so far). `with_team`: the AI could not fix it and a person from our migration team has it. `since`: when the move entered its current stage. */
73626
+ AiMoveHealth: {
73627
+ attempts: number;
73628
+ /** Format: date-time */
73629
+ since: string;
73630
+ /** @enum {string} */
73631
+ state: "on_track" | "slow" | "self_healing" | "with_team";
73632
+ };
73594
73633
  AiMoveIntake: {
73595
73634
  access: components["schemas"]["AiMoveAccess"];
73596
73635
  /** @enum {string} */
@@ -83180,6 +83219,15 @@ export interface components {
83180
83219
  /** @enum {string} */
83181
83220
  status: "unverified" | "verifying" | "verified" | "failing";
83182
83221
  status_detail: string;
83222
+ /** @description The catalogue form of `status_detail` when the sender check wrote it: a `refusal.campaigns.verify*` `key` plus its `params`, so the dashboard renders the sentence in the reader's language. Null when `status_detail` is empty or not a sentence the check writes; show `status_detail` as given then. */
83223
+ status_detail_refusal: {
83224
+ /** @example refusal.campaigns.verifyDkim */
83225
+ key: string;
83226
+ /** @example {} */
83227
+ params: {
83228
+ [key: string]: string;
83229
+ };
83230
+ } | null;
83183
83231
  tls: string;
83184
83232
  username: string;
83185
83233
  /** Format: date-time */
@@ -98643,6 +98691,8 @@ export interface components {
98643
98691
  */
98644
98692
  deadline_at: string | null;
98645
98693
  domain_id: components["schemas"]["Uuid"];
98694
+ /** @description How many of your domains use this address, this one included. The registrar checks an address, not a domain, so one resend restarts the check on every one of them. */
98695
+ domains_sharing_email: number;
98646
98696
  /**
98647
98697
  * Format: email
98648
98698
  * @description The address the registrar sent its confirmation link to.
@@ -181013,6 +181063,31 @@ export interface operations {
181013
181063
  409: components["responses"]["Conflict"];
181014
181064
  };
181015
181065
  };
181066
+ restartAiMove: {
181067
+ parameters: {
181068
+ query?: never;
181069
+ header?: never;
181070
+ path: {
181071
+ moveId: string;
181072
+ };
181073
+ cookie?: never;
181074
+ };
181075
+ requestBody?: never;
181076
+ responses: {
181077
+ /** @description The fresh AI Move. */
181078
+ 201: {
181079
+ headers: {
181080
+ [name: string]: unknown;
181081
+ };
181082
+ content: {
181083
+ "application/json": components["schemas"]["AiMove"];
181084
+ };
181085
+ };
181086
+ 401: components["responses"]["Unauthorized"];
181087
+ 404: components["responses"]["NotFound"];
181088
+ 409: components["responses"]["Conflict"];
181089
+ };
181090
+ };
181016
181091
  discoverMigrationSourceForOrg: {
181017
181092
  parameters: {
181018
181093
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1607",
3
+ "version": "0.1.1612",
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>",