@zinn-digital/sdk 0.1.1759 → 0.1.1761
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.
- package/dist/generated/schema.d.ts +208 -0
- package/package.json +1 -1
|
@@ -9534,6 +9534,26 @@ export interface paths {
|
|
|
9534
9534
|
patch?: never;
|
|
9535
9535
|
trace?: never;
|
|
9536
9536
|
};
|
|
9537
|
+
"/v1/admin/marketplace/staff-queues": {
|
|
9538
|
+
parameters: {
|
|
9539
|
+
query?: never;
|
|
9540
|
+
header?: never;
|
|
9541
|
+
path?: never;
|
|
9542
|
+
cookie?: never;
|
|
9543
|
+
};
|
|
9544
|
+
/**
|
|
9545
|
+
* How many marketplace items wait on staff, per queue (admin nav badges).
|
|
9546
|
+
* @description SELLERAPPROVE1112 (owner 2026-11-12). One row per queue that needs a person: seller identity checks (`submitted`/`in_review`), payout methods (`pending_review`) and listings (`in_review`). `nav_id` is the admin nav entry the count belongs on. Counts only. The same queues raise one ops alert each (Telegram + e-mail) and appear in the daily summary.
|
|
9547
|
+
*/
|
|
9548
|
+
get: operations["listMarketplaceStaffQueues"];
|
|
9549
|
+
put?: never;
|
|
9550
|
+
post?: never;
|
|
9551
|
+
delete?: never;
|
|
9552
|
+
options?: never;
|
|
9553
|
+
head?: never;
|
|
9554
|
+
patch?: never;
|
|
9555
|
+
trace?: never;
|
|
9556
|
+
};
|
|
9537
9557
|
"/v1/admin/marketplace/valuation-rows": {
|
|
9538
9558
|
parameters: {
|
|
9539
9559
|
query?: never;
|
|
@@ -58006,6 +58026,26 @@ export interface paths {
|
|
|
58006
58026
|
patch?: never;
|
|
58007
58027
|
trace?: never;
|
|
58008
58028
|
};
|
|
58029
|
+
"/v1/store-connect/campaigns": {
|
|
58030
|
+
parameters: {
|
|
58031
|
+
query?: never;
|
|
58032
|
+
header?: never;
|
|
58033
|
+
path?: never;
|
|
58034
|
+
cookie?: never;
|
|
58035
|
+
};
|
|
58036
|
+
/**
|
|
58037
|
+
* The Zinn® Campaigns WordPress plugin reads whether its Pro add-on is unlocked.
|
|
58038
|
+
* @description Store token only (`Authorization: Bearer zou_…`). The ENGINE decides Pro, never the plugin (docs/1052 §11.9b). `active` = the org is in good standing and holds a live, active, non-zero-priced plan on the Zinn® Campaigns line (any paid plan, no separate licence). `trial` = no paid plan, the org is active and fewer than 30 days have passed since the org first connected a store (disconnecting and reconnecting never restarts it). `lapsed` = anything else: the add-on keeps every setting and stops its Pro features until a paid plan is live again.
|
|
58039
|
+
*/
|
|
58040
|
+
get: operations["getStoreCampaignsPlan"];
|
|
58041
|
+
put?: never;
|
|
58042
|
+
post?: never;
|
|
58043
|
+
delete?: never;
|
|
58044
|
+
options?: never;
|
|
58045
|
+
head?: never;
|
|
58046
|
+
patch?: never;
|
|
58047
|
+
trace?: never;
|
|
58048
|
+
};
|
|
58009
58049
|
"/v1/store-connect/connection": {
|
|
58010
58050
|
parameters: {
|
|
58011
58051
|
query?: never;
|
|
@@ -58106,6 +58146,30 @@ export interface paths {
|
|
|
58106
58146
|
patch?: never;
|
|
58107
58147
|
trace?: never;
|
|
58108
58148
|
};
|
|
58149
|
+
"/v1/store-connect/forms": {
|
|
58150
|
+
parameters: {
|
|
58151
|
+
query?: never;
|
|
58152
|
+
header?: never;
|
|
58153
|
+
path?: never;
|
|
58154
|
+
cookie?: never;
|
|
58155
|
+
};
|
|
58156
|
+
/**
|
|
58157
|
+
* The WordPress plugin lists the store org's enabled sign-up forms for its form picker.
|
|
58158
|
+
* @description Store token only. At most 100, newest first. Only forms of the token's own org.
|
|
58159
|
+
*/
|
|
58160
|
+
get: operations["listStoreForms"];
|
|
58161
|
+
put?: never;
|
|
58162
|
+
/**
|
|
58163
|
+
* The WordPress plugin posts one visitor's sign-up from the site's server (double opt-in).
|
|
58164
|
+
* @description Store token only. The plugin sends it only when the visitor ticked the consent box. The same path as the hosted form (F20, docs/1052 §10f): ONE confirmation e-mail goes out and nobody is a contact until they click it. No oracle: a new, pending, confirmed, throttled, suppressed or over-allowance address all answer `ok`; `closed` is a fact about the form (off, Campaigns not open, or the account not in good standing). A form of another org is 404.
|
|
58165
|
+
*/
|
|
58166
|
+
post: operations["submitStoreForm"];
|
|
58167
|
+
delete?: never;
|
|
58168
|
+
options?: never;
|
|
58169
|
+
head?: never;
|
|
58170
|
+
patch?: never;
|
|
58171
|
+
trace?: never;
|
|
58172
|
+
};
|
|
58109
58173
|
"/v1/store-connect/orders/{ref}/messages": {
|
|
58110
58174
|
parameters: {
|
|
58111
58175
|
query?: never;
|
|
@@ -65997,6 +66061,20 @@ export interface components {
|
|
|
65997
66061
|
AdminStaffMailGrantList: {
|
|
65998
66062
|
data: components["schemas"]["AdminStaffMailGrant"][];
|
|
65999
66063
|
};
|
|
66064
|
+
AdminStaffQueue: {
|
|
66065
|
+
count: number;
|
|
66066
|
+
/** @enum {string} */
|
|
66067
|
+
key: "seller-verification" | "payout-method-review" | "listing-review";
|
|
66068
|
+
/** @description Operator-facing English description (staff console). */
|
|
66069
|
+
label: string;
|
|
66070
|
+
/** @description The admin nav entry this count belongs on. */
|
|
66071
|
+
nav_id: string;
|
|
66072
|
+
/**
|
|
66073
|
+
* Format: date-time
|
|
66074
|
+
* @description When the longest-waiting item started waiting; null when the queue is empty.
|
|
66075
|
+
*/
|
|
66076
|
+
oldest: string | null;
|
|
66077
|
+
};
|
|
66000
66078
|
AdminSubscription: components["schemas"]["Subscription"] & {
|
|
66001
66079
|
/** @description Whether this subscription never bills (an open-ended comp / the internal plan). */
|
|
66002
66080
|
comp_indefinite: boolean;
|
|
@@ -135669,6 +135747,30 @@ export interface operations {
|
|
|
135669
135747
|
404: components["responses"]["NotFound"];
|
|
135670
135748
|
};
|
|
135671
135749
|
};
|
|
135750
|
+
listMarketplaceStaffQueues: {
|
|
135751
|
+
parameters: {
|
|
135752
|
+
query?: never;
|
|
135753
|
+
header?: never;
|
|
135754
|
+
path?: never;
|
|
135755
|
+
cookie?: never;
|
|
135756
|
+
};
|
|
135757
|
+
requestBody?: never;
|
|
135758
|
+
responses: {
|
|
135759
|
+
/** @description The queues. */
|
|
135760
|
+
200: {
|
|
135761
|
+
headers: {
|
|
135762
|
+
[name: string]: unknown;
|
|
135763
|
+
};
|
|
135764
|
+
content: {
|
|
135765
|
+
"application/json": {
|
|
135766
|
+
data: components["schemas"]["AdminStaffQueue"][];
|
|
135767
|
+
};
|
|
135768
|
+
};
|
|
135769
|
+
};
|
|
135770
|
+
401: components["responses"]["Unauthorized"];
|
|
135771
|
+
403: components["responses"]["Forbidden"];
|
|
135772
|
+
};
|
|
135773
|
+
};
|
|
135672
135774
|
getMarketplaceValuationRows: {
|
|
135673
135775
|
parameters: {
|
|
135674
135776
|
query?: never;
|
|
@@ -216175,6 +216277,39 @@ export interface operations {
|
|
|
216175
216277
|
422: components["responses"]["UnprocessableEntity"];
|
|
216176
216278
|
};
|
|
216177
216279
|
};
|
|
216280
|
+
getStoreCampaignsPlan: {
|
|
216281
|
+
parameters: {
|
|
216282
|
+
query?: never;
|
|
216283
|
+
header?: never;
|
|
216284
|
+
path?: never;
|
|
216285
|
+
cookie?: never;
|
|
216286
|
+
};
|
|
216287
|
+
requestBody?: never;
|
|
216288
|
+
responses: {
|
|
216289
|
+
/** @description The Pro state. */
|
|
216290
|
+
200: {
|
|
216291
|
+
headers: {
|
|
216292
|
+
[name: string]: unknown;
|
|
216293
|
+
};
|
|
216294
|
+
content: {
|
|
216295
|
+
"application/json": {
|
|
216296
|
+
/** @description The paid plan's code, or empty. */
|
|
216297
|
+
plan_code: string;
|
|
216298
|
+
/** @description A paid Campaigns plan exists (it may be unusable while the account is not in good standing). */
|
|
216299
|
+
plan_paid: boolean;
|
|
216300
|
+
/** @enum {string} */
|
|
216301
|
+
pro: "active" | "trial" | "lapsed";
|
|
216302
|
+
/** @enum {integer} */
|
|
216303
|
+
trial_days: 30;
|
|
216304
|
+
/** Format: date-time */
|
|
216305
|
+
trial_ends_at: string | null;
|
|
216306
|
+
};
|
|
216307
|
+
};
|
|
216308
|
+
};
|
|
216309
|
+
401: components["responses"]["Unauthorized"];
|
|
216310
|
+
429: components["responses"]["TooManyRequests"];
|
|
216311
|
+
};
|
|
216312
|
+
};
|
|
216178
216313
|
disconnectStore: {
|
|
216179
216314
|
parameters: {
|
|
216180
216315
|
query?: never;
|
|
@@ -216303,6 +216438,79 @@ export interface operations {
|
|
|
216303
216438
|
503: components["responses"]["ServiceUnavailable"];
|
|
216304
216439
|
};
|
|
216305
216440
|
};
|
|
216441
|
+
listStoreForms: {
|
|
216442
|
+
parameters: {
|
|
216443
|
+
query?: never;
|
|
216444
|
+
header?: never;
|
|
216445
|
+
path?: never;
|
|
216446
|
+
cookie?: never;
|
|
216447
|
+
};
|
|
216448
|
+
requestBody?: never;
|
|
216449
|
+
responses: {
|
|
216450
|
+
/** @description The forms. */
|
|
216451
|
+
200: {
|
|
216452
|
+
headers: {
|
|
216453
|
+
[name: string]: unknown;
|
|
216454
|
+
};
|
|
216455
|
+
content: {
|
|
216456
|
+
"application/json": {
|
|
216457
|
+
forms: {
|
|
216458
|
+
button_label: string;
|
|
216459
|
+
/** @description The consent sentence the plugin must show beside the required tick box. */
|
|
216460
|
+
consent_text: string;
|
|
216461
|
+
/** @description The form's public id. */
|
|
216462
|
+
id: string;
|
|
216463
|
+
intro: string;
|
|
216464
|
+
list_name: string;
|
|
216465
|
+
locale: string;
|
|
216466
|
+
title: string;
|
|
216467
|
+
}[];
|
|
216468
|
+
};
|
|
216469
|
+
};
|
|
216470
|
+
};
|
|
216471
|
+
401: components["responses"]["Unauthorized"];
|
|
216472
|
+
429: components["responses"]["TooManyRequests"];
|
|
216473
|
+
};
|
|
216474
|
+
};
|
|
216475
|
+
submitStoreForm: {
|
|
216476
|
+
parameters: {
|
|
216477
|
+
query?: never;
|
|
216478
|
+
header?: never;
|
|
216479
|
+
path?: never;
|
|
216480
|
+
cookie?: never;
|
|
216481
|
+
};
|
|
216482
|
+
requestBody: {
|
|
216483
|
+
content: {
|
|
216484
|
+
"application/json": {
|
|
216485
|
+
/** @description The visitor's IP as the site saw it, kept as consent evidence; ignored when not an IP address. */
|
|
216486
|
+
client_ip?: string;
|
|
216487
|
+
email: string;
|
|
216488
|
+
form_id: string;
|
|
216489
|
+
/** @description The page the form was on. */
|
|
216490
|
+
source_page?: string;
|
|
216491
|
+
user_agent?: string;
|
|
216492
|
+
};
|
|
216493
|
+
};
|
|
216494
|
+
};
|
|
216495
|
+
responses: {
|
|
216496
|
+
/** @description Recorded. */
|
|
216497
|
+
202: {
|
|
216498
|
+
headers: {
|
|
216499
|
+
[name: string]: unknown;
|
|
216500
|
+
};
|
|
216501
|
+
content: {
|
|
216502
|
+
"application/json": {
|
|
216503
|
+
/** @enum {string} */
|
|
216504
|
+
result: "ok" | "closed";
|
|
216505
|
+
};
|
|
216506
|
+
};
|
|
216507
|
+
};
|
|
216508
|
+
401: components["responses"]["Unauthorized"];
|
|
216509
|
+
404: components["responses"]["NotFound"];
|
|
216510
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
216511
|
+
429: components["responses"]["TooManyRequests"];
|
|
216512
|
+
};
|
|
216513
|
+
};
|
|
216306
216514
|
getStoreOrderMessages: {
|
|
216307
216515
|
parameters: {
|
|
216308
216516
|
query?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1761",
|
|
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>",
|