@zinn-digital/sdk 0.1.1519 → 0.1.1521
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 +374 -2
- package/package.json +1 -1
|
@@ -20855,6 +20855,30 @@ export interface paths {
|
|
|
20855
20855
|
patch?: never;
|
|
20856
20856
|
trace?: never;
|
|
20857
20857
|
};
|
|
20858
|
+
"/v1/ads/events": {
|
|
20859
|
+
parameters: {
|
|
20860
|
+
query?: never;
|
|
20861
|
+
header?: never;
|
|
20862
|
+
path?: never;
|
|
20863
|
+
cookie?: never;
|
|
20864
|
+
};
|
|
20865
|
+
/**
|
|
20866
|
+
* The server events you sent, newest first, with what each connected network did.
|
|
20867
|
+
* @description Gated on `ads.view`. docs/1006.d/features/za-129-server-events.md, za-129. The newest 50 events sent to `sendAdsServerEvents`, each with one `deliveries` row per connected ad account: `pending` (waiting to upload), `uploaded`, `failed` (the network refused it; tried again later, `reason` says why), `skipped` (no click id or hashed e-mail for that network, consent `DENIED` for a network that cannot carry consent, no upload action for its kind, or older than the network's window), or `waiting` (not yet fanned out). `networks` lists the accounts an event goes to (Google Ads, Microsoft Advertising, Meta, X — never a disconnected one) and `waiting` counts events not yet fanned out. The org is the caller's only org, or `org_id`.
|
|
20868
|
+
*/
|
|
20869
|
+
get: operations["listAdsServerEvents"];
|
|
20870
|
+
put?: never;
|
|
20871
|
+
/**
|
|
20872
|
+
* The server events API — send a conversion once; it goes to every connected network.
|
|
20873
|
+
* @description Gated on `ads.manage`; audit action `ads.server_events_received`. docs/1006.d/features/za-129-server-events.md, za-129. Your server sends each conversion ONCE with your own `event_id`; it is stored once per organisation (a retry or a double send is a duplicate, listed in `duplicate_event_ids`) and then fanned out, in the background, to every connected ad account of the organisation (Google Ads offline / enhanced conversions, Microsoft offline conversions, the Meta Conversions API, the X Conversion API). `event_id` is the transaction / event id every network receives, so no network counts one conversion twice — send the same id from your browser pixel to dedupe the pair. A plain `email` is SHA-256-hashed at the door and dropped; never send other personal data. `consent` is kept as sent: Google receives it, and Meta and X are never sent an event whose consent is `DENIED`. Money is integer minor units plus an ISO 4217 currency. Up to 500 events per request (no limit on requests). Uploads follow each account's tracking settings (an upload action per kind, recovery on) and stop while an account is paused or its kill switch is on, or the subscription is not in good standing — they resume by themselves. `202` when any event was new; `200` when all were duplicates. A long-lived API key (`zdk_…`) holding `ads.manage` in the organisation authenticates here.
|
|
20874
|
+
*/
|
|
20875
|
+
post: operations["sendAdsServerEvents"];
|
|
20876
|
+
delete?: never;
|
|
20877
|
+
options?: never;
|
|
20878
|
+
head?: never;
|
|
20879
|
+
patch?: never;
|
|
20880
|
+
trace?: never;
|
|
20881
|
+
};
|
|
20858
20882
|
"/v1/ads/history-imports/{import_id}": {
|
|
20859
20883
|
parameters: {
|
|
20860
20884
|
query?: never;
|
|
@@ -53282,7 +53306,7 @@ export interface paths {
|
|
|
53282
53306
|
get: operations["getSiteLoginCheck"];
|
|
53283
53307
|
/**
|
|
53284
53308
|
* Switch the Turnstile login check on or off for a site.
|
|
53285
|
-
* @description Answers `202`: the request is saved and the change runs as a background job (it creates or deletes the site's widget and writes the site, which takes seconds). Poll the `GET` while `busy`. `409` while an earlier change is still running, or when the site cannot carry the check. Audit-logged. Requires `sites.view` and `sites.panel_access`.
|
|
53309
|
+
* @description Answers `202`: the request is saved and the change runs as a background job (it creates or deletes the site's widget and writes the site, which takes seconds). Poll the `GET` while `busy`. `places` chooses the forms the check protects (V1's `forms`; `all_places` on the `GET` lists them). `409` while an earlier change is still running, or when the site cannot carry the check. Audit-logged. Requires `sites.view` and `sites.panel_access`.
|
|
53286
53310
|
*/
|
|
53287
53311
|
put: operations["updateSiteLoginCheck"];
|
|
53288
53312
|
post?: never;
|
|
@@ -53292,6 +53316,56 @@ export interface paths {
|
|
|
53292
53316
|
patch?: never;
|
|
53293
53317
|
trace?: never;
|
|
53294
53318
|
};
|
|
53319
|
+
"/v1/sites/{siteId}/turnstile/keys": {
|
|
53320
|
+
parameters: {
|
|
53321
|
+
query?: never;
|
|
53322
|
+
header?: never;
|
|
53323
|
+
path: {
|
|
53324
|
+
/** @description Site ID (UUIDv7). */
|
|
53325
|
+
siteId: components["parameters"]["SiteId"];
|
|
53326
|
+
};
|
|
53327
|
+
cookie?: never;
|
|
53328
|
+
};
|
|
53329
|
+
get?: never;
|
|
53330
|
+
/**
|
|
53331
|
+
* Use your own Cloudflare Turnstile keys for a site's login check.
|
|
53332
|
+
* @description Owner 1105#26. Paste the sitekey and secret of a Turnstile widget in YOUR Cloudflare account (its hostnames must include the site's domain). The secret is checked with one Cloudflare siteverify call, kept in Vault and never returned. `422` for keys that are malformed, Cloudflare's test keys, or a secret Cloudflare rejects. When the check is on, the site is switched to your keys by the background job (`202`; poll the `GET`) and the platform widget is deleted; when it is off, the keys are saved for when it is switched on (`200`). `409` while a change is running or for a site that cannot carry the check. Audit-logged. Requires `sites.view` and `sites.panel_access`.
|
|
53333
|
+
*/
|
|
53334
|
+
put: operations["setSiteLoginCheckOwnKeys"];
|
|
53335
|
+
post?: never;
|
|
53336
|
+
/**
|
|
53337
|
+
* Stop using your own Turnstile keys; go back to the platform widget.
|
|
53338
|
+
* @description Forgets your keys. When the check is on, the background job creates a platform widget and writes it to the site (`202`), and your secret is deleted from Vault once it is replaced; otherwise `200`. `409` while a change is running. Audit-logged. Requires `sites.view` and `sites.panel_access`.
|
|
53339
|
+
*/
|
|
53340
|
+
delete: operations["removeSiteLoginCheckOwnKeys"];
|
|
53341
|
+
options?: never;
|
|
53342
|
+
head?: never;
|
|
53343
|
+
patch?: never;
|
|
53344
|
+
trace?: never;
|
|
53345
|
+
};
|
|
53346
|
+
"/v1/sites/{siteId}/turnstile/rotate": {
|
|
53347
|
+
parameters: {
|
|
53348
|
+
query?: never;
|
|
53349
|
+
header?: never;
|
|
53350
|
+
path: {
|
|
53351
|
+
/** @description Site ID (UUIDv7). */
|
|
53352
|
+
siteId: components["parameters"]["SiteId"];
|
|
53353
|
+
};
|
|
53354
|
+
cookie?: never;
|
|
53355
|
+
};
|
|
53356
|
+
get?: never;
|
|
53357
|
+
put?: never;
|
|
53358
|
+
/**
|
|
53359
|
+
* Give a site's platform Turnstile widget a new secret key.
|
|
53360
|
+
* @description V1's `turnstile_rotate`. The background job asks Cloudflare for a new secret (the old one stays valid for two hours, so a visitor mid-login is not refused), writes it to the site and reads it back (`202`; poll the `GET`). `409` for a site on your own keys (rotate those in your Cloudflare account), with no widget yet, or while a change is running. Audit-logged. Requires `sites.view` and `sites.panel_access`.
|
|
53361
|
+
*/
|
|
53362
|
+
post: operations["rotateSiteLoginCheckSecret"];
|
|
53363
|
+
delete?: never;
|
|
53364
|
+
options?: never;
|
|
53365
|
+
head?: never;
|
|
53366
|
+
patch?: never;
|
|
53367
|
+
trace?: never;
|
|
53368
|
+
};
|
|
53295
53369
|
"/v1/sites/{siteId}/upgrade-to-php": {
|
|
53296
53370
|
parameters: {
|
|
53297
53371
|
query?: never;
|
|
@@ -68788,6 +68862,87 @@ export interface components {
|
|
|
68788
68862
|
value: number | string;
|
|
68789
68863
|
}[];
|
|
68790
68864
|
};
|
|
68865
|
+
AdsServerEvent: {
|
|
68866
|
+
/** @description Which click ids it carried (never their values). */
|
|
68867
|
+
click_ids: ("gclid" | "gbraid" | "wbraid" | "msclkid" | "fbclid" | "twclid")[];
|
|
68868
|
+
consent: string;
|
|
68869
|
+
currency: string;
|
|
68870
|
+
deliveries: components["schemas"]["AdsServerEventDelivery"][];
|
|
68871
|
+
event_id: string;
|
|
68872
|
+
/** Format: date-time */
|
|
68873
|
+
fanned_out_at: string | null;
|
|
68874
|
+
has_email_hash: boolean;
|
|
68875
|
+
kind: string;
|
|
68876
|
+
/** Format: date-time */
|
|
68877
|
+
occurred_at: string;
|
|
68878
|
+
/** Format: date-time */
|
|
68879
|
+
received_at: string;
|
|
68880
|
+
value_minor: number | null;
|
|
68881
|
+
};
|
|
68882
|
+
AdsServerEventDelivery: {
|
|
68883
|
+
/** Format: uuid */
|
|
68884
|
+
connection_id: string;
|
|
68885
|
+
/** @enum {string} */
|
|
68886
|
+
platform: "google" | "microsoft" | "meta" | "x";
|
|
68887
|
+
reason: string;
|
|
68888
|
+
/** @enum {string} */
|
|
68889
|
+
status: "waiting" | "not_sent" | "pending" | "uploaded" | "failed" | "skipped";
|
|
68890
|
+
/** Format: date-time */
|
|
68891
|
+
uploaded_at: string | null;
|
|
68892
|
+
};
|
|
68893
|
+
AdsServerEventIn: {
|
|
68894
|
+
/** @enum {string} */
|
|
68895
|
+
consent?: "" | "GRANTED" | "DENIED" | "UNSPECIFIED";
|
|
68896
|
+
/** @description ISO 4217; required with `value_minor`. */
|
|
68897
|
+
currency?: string;
|
|
68898
|
+
/**
|
|
68899
|
+
* Format: email
|
|
68900
|
+
* @description Hashed at the door (SHA-256 of the normalised address); never stored.
|
|
68901
|
+
*/
|
|
68902
|
+
email?: string;
|
|
68903
|
+
/** @description SHA-256 of the lower-cased */
|
|
68904
|
+
email_hash?: string;
|
|
68905
|
+
/** @description Your own id for this conversion (the order / trial / lead id). The dedupe key: per organisation here, and the transaction / event id at every network. */
|
|
68906
|
+
event_id: string;
|
|
68907
|
+
/** @description Meta's click id (the `fbclid` query parameter). */
|
|
68908
|
+
fbclid?: string;
|
|
68909
|
+
gbraid?: string;
|
|
68910
|
+
gclid?: string;
|
|
68911
|
+
/** @enum {string} */
|
|
68912
|
+
kind: "purchase" | "trial" | "lead" | "signup" | "activation" | "retained7" | "retained30" | "upgrade" | "free_listing";
|
|
68913
|
+
msclkid?: string;
|
|
68914
|
+
/** Format: date-time */
|
|
68915
|
+
occurred_at: string;
|
|
68916
|
+
/** @description X's click id (the `twclid` query parameter). */
|
|
68917
|
+
twclid?: string;
|
|
68918
|
+
/** @description Integer minor units (4999 = 49.99). A `free_listing` carries none. */
|
|
68919
|
+
value_minor?: number | null;
|
|
68920
|
+
wbraid?: string;
|
|
68921
|
+
};
|
|
68922
|
+
AdsServerEventList: {
|
|
68923
|
+
data: components["schemas"]["AdsServerEvent"][];
|
|
68924
|
+
networks: components["schemas"]["AdsServerEventNetwork"][];
|
|
68925
|
+
waiting: number;
|
|
68926
|
+
};
|
|
68927
|
+
AdsServerEventNetwork: {
|
|
68928
|
+
/** Format: uuid */
|
|
68929
|
+
connection_id: string;
|
|
68930
|
+
external_id: string;
|
|
68931
|
+
label: string;
|
|
68932
|
+
/** @enum {string} */
|
|
68933
|
+
platform: "google" | "microsoft" | "meta" | "x";
|
|
68934
|
+
/** @enum {string} */
|
|
68935
|
+
status: "active" | "paused";
|
|
68936
|
+
};
|
|
68937
|
+
AdsServerEventsReceived: {
|
|
68938
|
+
created: number;
|
|
68939
|
+
/** @description The first 50 duplicate ids. */
|
|
68940
|
+
duplicate_event_ids: string[];
|
|
68941
|
+
/** @description Events whose `event_id` was already stored (or repeated in this request). */
|
|
68942
|
+
duplicates: number;
|
|
68943
|
+
/** @description False only when nothing was new, or the background fan-out could not start (it then runs with the daily step). */
|
|
68944
|
+
fan_out_started: boolean;
|
|
68945
|
+
};
|
|
68791
68946
|
AdsShield: {
|
|
68792
68947
|
avg_cpc_minor: number;
|
|
68793
68948
|
by_reason: {
|
|
@@ -103589,14 +103744,31 @@ export interface components {
|
|
|
103589
103744
|
site: string;
|
|
103590
103745
|
};
|
|
103591
103746
|
SiteLoginCheck: {
|
|
103747
|
+
/** @description Every form the check can protect (the picker's choices). */
|
|
103748
|
+
all_places: string[];
|
|
103592
103749
|
available: boolean;
|
|
103593
103750
|
busy: boolean;
|
|
103751
|
+
/** @description `true` for a platform widget that exists (POST /rotate). */
|
|
103752
|
+
can_rotate: boolean;
|
|
103594
103753
|
/** @description What was last asked for. */
|
|
103595
103754
|
enabled: boolean;
|
|
103596
103755
|
/** @enum {string} */
|
|
103597
|
-
error_code: "" | "readonly" | "no_widget" | "not_supported" | "failed";
|
|
103756
|
+
error_code: "" | "readonly" | "no_widget" | "not_supported" | "own_keys_missing" | "failed";
|
|
103757
|
+
/**
|
|
103758
|
+
* @description `platform`: a widget we create. `own`: the customer's own keys (PUT /keys).
|
|
103759
|
+
* @enum {string}
|
|
103760
|
+
*/
|
|
103761
|
+
key_source: "platform" | "own";
|
|
103762
|
+
/** @description The customer's own PUBLIC sitekey, when set. The secret is never returned. */
|
|
103763
|
+
own_sitekey: string | null;
|
|
103764
|
+
/** @description The forms the check protects. */
|
|
103765
|
+
places: ("login" | "register" | "lostpassword" | "comments" | "cf7" | "wpforms" | "elementor" | "everest" | "fluent" | "formidable" | "forminator" | "happyforms" | "kadence" | "mc4wp" | "metform" | "ninja" | "otter" | "spectra")[];
|
|
103598
103766
|
/** Format: date-time */
|
|
103599
103767
|
requested_at: string | null;
|
|
103768
|
+
/** Format: date-time */
|
|
103769
|
+
rotated_at: string | null;
|
|
103770
|
+
/** @description The PUBLIC sitekey the site uses now. Never the secret. */
|
|
103771
|
+
sitekey: string | null;
|
|
103600
103772
|
stale: boolean;
|
|
103601
103773
|
/** @enum {string} */
|
|
103602
103774
|
status: "off" | "pending" | "active" | "failed";
|
|
@@ -103605,8 +103777,16 @@ export interface components {
|
|
|
103605
103777
|
/** Format: date-time */
|
|
103606
103778
|
verified_at: string | null;
|
|
103607
103779
|
};
|
|
103780
|
+
SiteLoginCheckKeys: {
|
|
103781
|
+
/** @description Your widget's secret key. Checked with Cloudflare, kept in Vault, never returned. */
|
|
103782
|
+
secret: string;
|
|
103783
|
+
/** @description Your widget's sitekey (0x…). */
|
|
103784
|
+
sitekey: string;
|
|
103785
|
+
};
|
|
103608
103786
|
SiteLoginCheckUpdate: {
|
|
103609
103787
|
enabled: boolean;
|
|
103788
|
+
/** @description Which forms to protect (V1's `forms`). Omitted keeps the current choice. */
|
|
103789
|
+
places?: ("login" | "register" | "lostpassword" | "comments" | "cf7" | "wpforms" | "elementor" | "everest" | "fluent" | "formidable" | "forminator" | "happyforms" | "kadence" | "mc4wp" | "metform" | "ninja" | "otter" | "spectra")[];
|
|
103610
103790
|
};
|
|
103611
103791
|
/** @description The site's CloudLinux LVE resource tier — `docs/204` §7b. ⭐ `ep` is the limit that emits `508 Resource Limit Is Reached`, which is why this is on a customer screen at all: it converts "your server is broken" into "you hit your plan's limit, here is the upgrade". */
|
|
103612
103792
|
SiteLveState: {
|
|
@@ -106911,6 +107091,11 @@ export interface components {
|
|
|
106911
107091
|
changed_by?: string;
|
|
106912
107092
|
/** @description What was last asked for. */
|
|
106913
107093
|
enabled?: boolean;
|
|
107094
|
+
/**
|
|
107095
|
+
* @description `own`: the customer's own Turnstile widget keys (1105#26); `sitekey` is theirs and `cf_account_id` empty.
|
|
107096
|
+
* @enum {string}
|
|
107097
|
+
*/
|
|
107098
|
+
key_source?: "platform" | "own";
|
|
106914
107099
|
last_error: string;
|
|
106915
107100
|
places: string[];
|
|
106916
107101
|
/** @description `check` only: what the site answered. */
|
|
@@ -106920,6 +107105,11 @@ export interface components {
|
|
|
106920
107105
|
};
|
|
106921
107106
|
/** Format: date-time */
|
|
106922
107107
|
requested_at?: string | null;
|
|
107108
|
+
/**
|
|
107109
|
+
* Format: date-time
|
|
107110
|
+
* @description When the platform widget's secret was last rotated.
|
|
107111
|
+
*/
|
|
107112
|
+
rotated_at?: string | null;
|
|
106923
107113
|
/** @description PUBLIC (it is in the page HTML). */
|
|
106924
107114
|
sitekey: string;
|
|
106925
107115
|
stale?: boolean;
|
|
@@ -148896,6 +149086,76 @@ export interface operations {
|
|
|
148896
149086
|
429: components["responses"]["TooManyRequests"];
|
|
148897
149087
|
};
|
|
148898
149088
|
};
|
|
149089
|
+
listAdsServerEvents: {
|
|
149090
|
+
parameters: {
|
|
149091
|
+
query?: {
|
|
149092
|
+
org_id?: string;
|
|
149093
|
+
};
|
|
149094
|
+
header?: never;
|
|
149095
|
+
path?: never;
|
|
149096
|
+
cookie?: never;
|
|
149097
|
+
};
|
|
149098
|
+
requestBody?: never;
|
|
149099
|
+
responses: {
|
|
149100
|
+
/** @description The newest events. */
|
|
149101
|
+
200: {
|
|
149102
|
+
headers: {
|
|
149103
|
+
[name: string]: unknown;
|
|
149104
|
+
};
|
|
149105
|
+
content: {
|
|
149106
|
+
"application/json": components["schemas"]["AdsServerEventList"];
|
|
149107
|
+
};
|
|
149108
|
+
};
|
|
149109
|
+
401: components["responses"]["Unauthorized"];
|
|
149110
|
+
403: components["responses"]["Forbidden"];
|
|
149111
|
+
404: components["responses"]["NotFound"];
|
|
149112
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
149113
|
+
};
|
|
149114
|
+
};
|
|
149115
|
+
sendAdsServerEvents: {
|
|
149116
|
+
parameters: {
|
|
149117
|
+
query?: {
|
|
149118
|
+
org_id?: string;
|
|
149119
|
+
};
|
|
149120
|
+
header?: never;
|
|
149121
|
+
path?: never;
|
|
149122
|
+
cookie?: never;
|
|
149123
|
+
};
|
|
149124
|
+
requestBody: {
|
|
149125
|
+
content: {
|
|
149126
|
+
"application/json": {
|
|
149127
|
+
events: components["schemas"]["AdsServerEventIn"][];
|
|
149128
|
+
/** Format: uuid */
|
|
149129
|
+
org_id?: string;
|
|
149130
|
+
};
|
|
149131
|
+
};
|
|
149132
|
+
};
|
|
149133
|
+
responses: {
|
|
149134
|
+
/** @description Every event was already stored (nothing new). */
|
|
149135
|
+
200: {
|
|
149136
|
+
headers: {
|
|
149137
|
+
[name: string]: unknown;
|
|
149138
|
+
};
|
|
149139
|
+
content: {
|
|
149140
|
+
"application/json": components["schemas"]["AdsServerEventsReceived"];
|
|
149141
|
+
};
|
|
149142
|
+
};
|
|
149143
|
+
/** @description Stored; the fan-out to every connected network has started. */
|
|
149144
|
+
202: {
|
|
149145
|
+
headers: {
|
|
149146
|
+
[name: string]: unknown;
|
|
149147
|
+
};
|
|
149148
|
+
content: {
|
|
149149
|
+
"application/json": components["schemas"]["AdsServerEventsReceived"];
|
|
149150
|
+
};
|
|
149151
|
+
};
|
|
149152
|
+
401: components["responses"]["Unauthorized"];
|
|
149153
|
+
403: components["responses"]["Forbidden"];
|
|
149154
|
+
404: components["responses"]["NotFound"];
|
|
149155
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
149156
|
+
429: components["responses"]["TooManyRequests"];
|
|
149157
|
+
};
|
|
149158
|
+
};
|
|
148899
149159
|
getAdsHistoryImport: {
|
|
148900
149160
|
parameters: {
|
|
148901
149161
|
query?: never;
|
|
@@ -201704,6 +201964,118 @@ export interface operations {
|
|
|
201704
201964
|
429: components["responses"]["TooManyRequests"];
|
|
201705
201965
|
};
|
|
201706
201966
|
};
|
|
201967
|
+
setSiteLoginCheckOwnKeys: {
|
|
201968
|
+
parameters: {
|
|
201969
|
+
query?: never;
|
|
201970
|
+
header?: never;
|
|
201971
|
+
path: {
|
|
201972
|
+
/** @description Site ID (UUIDv7). */
|
|
201973
|
+
siteId: components["parameters"]["SiteId"];
|
|
201974
|
+
};
|
|
201975
|
+
cookie?: never;
|
|
201976
|
+
};
|
|
201977
|
+
requestBody: {
|
|
201978
|
+
content: {
|
|
201979
|
+
"application/json": components["schemas"]["SiteLoginCheckKeys"];
|
|
201980
|
+
};
|
|
201981
|
+
};
|
|
201982
|
+
responses: {
|
|
201983
|
+
/** @description Saved; the check is off, so nothing ran. */
|
|
201984
|
+
200: {
|
|
201985
|
+
headers: {
|
|
201986
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
201987
|
+
[name: string]: unknown;
|
|
201988
|
+
};
|
|
201989
|
+
content: {
|
|
201990
|
+
"application/json": components["schemas"]["SiteLoginCheck"];
|
|
201991
|
+
};
|
|
201992
|
+
};
|
|
201993
|
+
/** @description Saved; the site is being switched to your keys. */
|
|
201994
|
+
202: {
|
|
201995
|
+
headers: {
|
|
201996
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
201997
|
+
[name: string]: unknown;
|
|
201998
|
+
};
|
|
201999
|
+
content: {
|
|
202000
|
+
"application/json": components["schemas"]["SiteLoginCheck"];
|
|
202001
|
+
};
|
|
202002
|
+
};
|
|
202003
|
+
401: components["responses"]["Unauthorized"];
|
|
202004
|
+
403: components["responses"]["Forbidden"];
|
|
202005
|
+
404: components["responses"]["NotFound"];
|
|
202006
|
+
409: components["responses"]["Conflict"];
|
|
202007
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
202008
|
+
429: components["responses"]["TooManyRequests"];
|
|
202009
|
+
};
|
|
202010
|
+
};
|
|
202011
|
+
removeSiteLoginCheckOwnKeys: {
|
|
202012
|
+
parameters: {
|
|
202013
|
+
query?: never;
|
|
202014
|
+
header?: never;
|
|
202015
|
+
path: {
|
|
202016
|
+
/** @description Site ID (UUIDv7). */
|
|
202017
|
+
siteId: components["parameters"]["SiteId"];
|
|
202018
|
+
};
|
|
202019
|
+
cookie?: never;
|
|
202020
|
+
};
|
|
202021
|
+
requestBody?: never;
|
|
202022
|
+
responses: {
|
|
202023
|
+
/** @description Done; the check is off. */
|
|
202024
|
+
200: {
|
|
202025
|
+
headers: {
|
|
202026
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
202027
|
+
[name: string]: unknown;
|
|
202028
|
+
};
|
|
202029
|
+
content: {
|
|
202030
|
+
"application/json": components["schemas"]["SiteLoginCheck"];
|
|
202031
|
+
};
|
|
202032
|
+
};
|
|
202033
|
+
/** @description The site is being switched to the platform widget. */
|
|
202034
|
+
202: {
|
|
202035
|
+
headers: {
|
|
202036
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
202037
|
+
[name: string]: unknown;
|
|
202038
|
+
};
|
|
202039
|
+
content: {
|
|
202040
|
+
"application/json": components["schemas"]["SiteLoginCheck"];
|
|
202041
|
+
};
|
|
202042
|
+
};
|
|
202043
|
+
401: components["responses"]["Unauthorized"];
|
|
202044
|
+
403: components["responses"]["Forbidden"];
|
|
202045
|
+
404: components["responses"]["NotFound"];
|
|
202046
|
+
409: components["responses"]["Conflict"];
|
|
202047
|
+
429: components["responses"]["TooManyRequests"];
|
|
202048
|
+
};
|
|
202049
|
+
};
|
|
202050
|
+
rotateSiteLoginCheckSecret: {
|
|
202051
|
+
parameters: {
|
|
202052
|
+
query?: never;
|
|
202053
|
+
header?: never;
|
|
202054
|
+
path: {
|
|
202055
|
+
/** @description Site ID (UUIDv7). */
|
|
202056
|
+
siteId: components["parameters"]["SiteId"];
|
|
202057
|
+
};
|
|
202058
|
+
cookie?: never;
|
|
202059
|
+
};
|
|
202060
|
+
requestBody?: never;
|
|
202061
|
+
responses: {
|
|
202062
|
+
/** @description The secret is being replaced. */
|
|
202063
|
+
202: {
|
|
202064
|
+
headers: {
|
|
202065
|
+
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
202066
|
+
[name: string]: unknown;
|
|
202067
|
+
};
|
|
202068
|
+
content: {
|
|
202069
|
+
"application/json": components["schemas"]["SiteLoginCheck"];
|
|
202070
|
+
};
|
|
202071
|
+
};
|
|
202072
|
+
401: components["responses"]["Unauthorized"];
|
|
202073
|
+
403: components["responses"]["Forbidden"];
|
|
202074
|
+
404: components["responses"]["NotFound"];
|
|
202075
|
+
409: components["responses"]["Conflict"];
|
|
202076
|
+
429: components["responses"]["TooManyRequests"];
|
|
202077
|
+
};
|
|
202078
|
+
};
|
|
201707
202079
|
upgradeSiteToPhp: {
|
|
201708
202080
|
parameters: {
|
|
201709
202081
|
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.1521",
|
|
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>",
|