@zinn-digital/sdk 0.1.1813 → 0.1.1815

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.
@@ -38197,6 +38197,66 @@ export interface paths {
38197
38197
  patch?: never;
38198
38198
  trace?: never;
38199
38199
  };
38200
+ "/v1/marketplace/guest-post-sites": {
38201
+ parameters: {
38202
+ query?: never;
38203
+ header?: never;
38204
+ path?: never;
38205
+ cookie?: never;
38206
+ };
38207
+ /**
38208
+ * Guest-post sites on sale, for a signed-in buyer (real identity once revealed).
38209
+ * @description GUESTFEED1114 — the same rows and filters as `listPublicGuestPostSites`. The real domain, name and sample link are filled in only for a signed-in user AND only while ZinnHub's feed is in `revealed` mode for this consumer (`revealed` on the page says which). Responses are `Cache-Control: private, no-store`. Requires authentication — any signed-in user.
38210
+ */
38211
+ get: operations["listGuestPostSites"];
38212
+ put?: never;
38213
+ post?: never;
38214
+ delete?: never;
38215
+ options?: never;
38216
+ head?: never;
38217
+ patch?: never;
38218
+ trace?: never;
38219
+ };
38220
+ "/v1/marketplace/guest-post-sites/{site_uid}": {
38221
+ parameters: {
38222
+ query?: never;
38223
+ header?: never;
38224
+ path?: never;
38225
+ cookie?: never;
38226
+ };
38227
+ /**
38228
+ * One guest-post site, every offer and metric (signed in).
38229
+ * @description GUESTFEED1114 — one site by its stable feed id (`s<digits>`). Identity rules as `listGuestPostSites`. `Cache-Control: private, no-store`.
38230
+ */
38231
+ get: operations["getGuestPostSite"];
38232
+ put?: never;
38233
+ post?: never;
38234
+ delete?: never;
38235
+ options?: never;
38236
+ head?: never;
38237
+ patch?: never;
38238
+ trace?: never;
38239
+ };
38240
+ "/v1/marketplace/guest-post-sites/{site_uid}/order": {
38241
+ parameters: {
38242
+ query?: never;
38243
+ header?: never;
38244
+ path?: never;
38245
+ cookie?: never;
38246
+ };
38247
+ get?: never;
38248
+ put?: never;
38249
+ /**
38250
+ * Order a guest post on one site — opens a support ticket in the caller's org.
38251
+ * @description GUESTFEED1114: no payment is taken here; the ticket (origin `guest_post_site_order`) carries the site, the chosen offer and its price, and staff fulfil it with the seller. Requires `tickets.reply` in the org (the caller's scope or `X-Zinn-Org`). An unknown site or offer index is 404.
38252
+ */
38253
+ post: operations["orderGuestPostSite"];
38254
+ delete?: never;
38255
+ options?: never;
38256
+ head?: never;
38257
+ patch?: never;
38258
+ trace?: never;
38259
+ };
38200
38260
  "/v1/marketplace/latest": {
38201
38261
  parameters: {
38202
38262
  query?: never;
@@ -46341,6 +46401,26 @@ export interface paths {
46341
46401
  patch?: never;
46342
46402
  trace?: never;
46343
46403
  };
46404
+ "/v1/public/guest-post-sites": {
46405
+ parameters: {
46406
+ query?: never;
46407
+ header?: never;
46408
+ path?: never;
46409
+ cookie?: never;
46410
+ };
46411
+ /**
46412
+ * Guest-post sites on sale, filtered, sorted and paged, every row blurred (public).
46413
+ * @description GUESTFEED1114 (ZinnHub ZH-5491, owner 2026-11-14) — the guest-post sites from ZinnHub's site-listings feed (synced hourly), for a visitor who is not signed in. ⛔ No site is NAMED: every row is `label` "Site 12" (its number) with `domain`, `domain_ascii`, `name` and `sample_url` null and `revealed: false`, even when a bearer token is sent (this endpoint reads no credentials at all). No filter or sort reads the real domain, so it cannot be probed. Filters: `language`, `country`, `min_dr`, `max_price_minor`, `link_type`; `sort` `dr` (default), `price` or `newest`; `per_page` 24, 48 or 96. Prices are integer minor units of `currency`, before VAT. Cached 5 minutes; no authentication (docs/1309).
46414
+ */
46415
+ get: operations["listPublicGuestPostSites"];
46416
+ put?: never;
46417
+ post?: never;
46418
+ delete?: never;
46419
+ options?: never;
46420
+ head?: never;
46421
+ patch?: never;
46422
+ trace?: never;
46423
+ };
46344
46424
  "/v1/public/house-tags": {
46345
46425
  parameters: {
46346
46426
  query?: never;
@@ -89863,6 +89943,58 @@ export interface components {
89863
89943
  GpuFlavourList: {
89864
89944
  flavours: components["schemas"]["GpuFlavour"][];
89865
89945
  };
89946
+ /** @description One guest-post site from ZinnHub's feed (GUESTFEED1114). `domain`, `domain_ascii`, `name` and `sample_url` are null unless `revealed` is true (signed in, feed revealed). */
89947
+ GuestPostSite: {
89948
+ country?: string | null;
89949
+ currency: string;
89950
+ domain?: string | null;
89951
+ domain_ascii?: string | null;
89952
+ dr?: number | null;
89953
+ general_niche?: string | null;
89954
+ /** @description The public name, "Site" and its number (e.g. "Site 12"). */
89955
+ label: string;
89956
+ labels?: string[];
89957
+ language?: string | null;
89958
+ /** Format: date-time */
89959
+ last_checked?: string | null;
89960
+ link_type?: string | null;
89961
+ max_links?: number | null;
89962
+ metrics?: {
89963
+ [key: string]: unknown;
89964
+ };
89965
+ name?: string | null;
89966
+ niches?: {
89967
+ [key: string]: unknown;
89968
+ }[];
89969
+ offers: ({
89970
+ name?: string | null;
89971
+ price_minor?: number | null;
89972
+ type?: string | null;
89973
+ } & {
89974
+ [key: string]: unknown;
89975
+ })[];
89976
+ price_from_minor?: number | null;
89977
+ revealed: boolean;
89978
+ revisions?: number | null;
89979
+ sample_url?: string | null;
89980
+ site_uid: string;
89981
+ sponsored_label?: string | null;
89982
+ turnaround_days?: number | null;
89983
+ verified_traffic?: {
89984
+ [key: string]: unknown;
89985
+ };
89986
+ word_count_min?: number | null;
89987
+ };
89988
+ GuestPostSitePage: {
89989
+ applied: {
89990
+ [key: string]: unknown;
89991
+ };
89992
+ data: components["schemas"]["GuestPostSite"][];
89993
+ page: number;
89994
+ per_page: number;
89995
+ revealed: boolean;
89996
+ total: number;
89997
+ };
89866
89998
  Health: {
89867
89999
  /**
89868
90000
  * @example ok
@@ -110147,7 +110279,13 @@ export interface components {
110147
110279
  last_seen_at: string;
110148
110280
  /** @description Staff only. */
110149
110281
  org_id?: string;
110282
+ /** @description Staff's free-text note in English; customer surfaces show repair_reason instead. */
110150
110283
  repair_note?: string;
110284
+ /**
110285
+ * @description Why an automatic repair did not run or did not finish, as a code the customer's card translates (docs/1027 §6): backup_failed = the backup taken before every automatic repair failed, so nothing was changed; box_unreachable = the site's server could not be reached; repair_failed = the repair ran and did not work; files_unmovable = some files sit inside a theme or plugin and are never moved automatically; needs_person = what was found is left for a person to review. Empty when nothing was refused; a repair that works clears it.
110286
+ * @enum {string}
110287
+ */
110288
+ repair_reason?: "" | "backup_failed" | "box_unreachable" | "repair_failed" | "files_unmovable" | "needs_person";
110151
110289
  /** Format: date-time */
110152
110290
  repaired_at?: string | null;
110153
110291
  /** @description Staff only. */
@@ -185701,6 +185839,102 @@ export interface operations {
185701
185839
  };
185702
185840
  };
185703
185841
  };
185842
+ listGuestPostSites: {
185843
+ parameters: {
185844
+ query?: {
185845
+ /** @description ISO 3166-1 alpha-2 */
185846
+ country?: string;
185847
+ language?: string;
185848
+ link_type?: string;
185849
+ max_price_minor?: number;
185850
+ min_dr?: number;
185851
+ page?: number;
185852
+ per_page?: 24 | 48 | 96;
185853
+ sort?: "dr" | "price" | "newest";
185854
+ };
185855
+ header?: never;
185856
+ path?: never;
185857
+ cookie?: never;
185858
+ };
185859
+ requestBody?: never;
185860
+ responses: {
185861
+ /** @description One page of guest-post sites. */
185862
+ 200: {
185863
+ headers: {
185864
+ [name: string]: unknown;
185865
+ };
185866
+ content: {
185867
+ "application/json": components["schemas"]["GuestPostSitePage"];
185868
+ };
185869
+ };
185870
+ 401: components["responses"]["Unauthorized"];
185871
+ };
185872
+ };
185873
+ getGuestPostSite: {
185874
+ parameters: {
185875
+ query?: never;
185876
+ header?: never;
185877
+ path: {
185878
+ site_uid: string;
185879
+ };
185880
+ cookie?: never;
185881
+ };
185882
+ requestBody?: never;
185883
+ responses: {
185884
+ /** @description The site. */
185885
+ 200: {
185886
+ headers: {
185887
+ [name: string]: unknown;
185888
+ };
185889
+ content: {
185890
+ "application/json": components["schemas"]["GuestPostSite"];
185891
+ };
185892
+ };
185893
+ 401: components["responses"]["Unauthorized"];
185894
+ 404: components["responses"]["NotFound"];
185895
+ };
185896
+ };
185897
+ orderGuestPostSite: {
185898
+ parameters: {
185899
+ query?: never;
185900
+ header?: never;
185901
+ path: {
185902
+ site_uid: string;
185903
+ };
185904
+ cookie?: never;
185905
+ };
185906
+ requestBody?: {
185907
+ content: {
185908
+ "application/json": {
185909
+ note?: string;
185910
+ /** @default 0 */
185911
+ offer_index?: number;
185912
+ /** Format: uuid */
185913
+ org_id?: string;
185914
+ };
185915
+ };
185916
+ };
185917
+ responses: {
185918
+ /** @description The ticket that was opened. */
185919
+ 201: {
185920
+ headers: {
185921
+ [name: string]: unknown;
185922
+ };
185923
+ content: {
185924
+ "application/json": {
185925
+ currency: string;
185926
+ price_minor?: number | null;
185927
+ site_uid: string;
185928
+ /** Format: uuid */
185929
+ ticket_id: string;
185930
+ };
185931
+ };
185932
+ };
185933
+ 401: components["responses"]["Unauthorized"];
185934
+ 403: components["responses"]["Forbidden"];
185935
+ 404: components["responses"]["NotFound"];
185936
+ };
185937
+ };
185704
185938
  getMarketplaceLatestListings: {
185705
185939
  parameters: {
185706
185940
  query?: {
@@ -198879,6 +199113,36 @@ export interface operations {
198879
199113
  429: components["responses"]["TooManyRequests"];
198880
199114
  };
198881
199115
  };
199116
+ listPublicGuestPostSites: {
199117
+ parameters: {
199118
+ query?: {
199119
+ /** @description ISO 3166-1 alpha-2 */
199120
+ country?: string;
199121
+ language?: string;
199122
+ link_type?: string;
199123
+ max_price_minor?: number;
199124
+ min_dr?: number;
199125
+ page?: number;
199126
+ per_page?: 24 | 48 | 96;
199127
+ sort?: "dr" | "price" | "newest";
199128
+ };
199129
+ header?: never;
199130
+ path?: never;
199131
+ cookie?: never;
199132
+ };
199133
+ requestBody?: never;
199134
+ responses: {
199135
+ /** @description One blurred page of guest-post sites. */
199136
+ 200: {
199137
+ headers: {
199138
+ [name: string]: unknown;
199139
+ };
199140
+ content: {
199141
+ "application/json": components["schemas"]["GuestPostSitePage"];
199142
+ };
199143
+ };
199144
+ };
199145
+ };
198882
199146
  getPublicHouseTags: {
198883
199147
  parameters: {
198884
199148
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1813",
3
+ "version": "0.1.1815",
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>",