@zinn-digital/sdk 0.1.1517 → 0.1.1519
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 +410 -2
- package/package.json +1 -1
|
@@ -21776,6 +21776,106 @@ export interface paths {
|
|
|
21776
21776
|
patch?: never;
|
|
21777
21777
|
trace?: never;
|
|
21778
21778
|
};
|
|
21779
|
+
"/v1/ads/zaraz/connections/{connection_id}/install": {
|
|
21780
|
+
parameters: {
|
|
21781
|
+
query?: never;
|
|
21782
|
+
header?: never;
|
|
21783
|
+
path?: never;
|
|
21784
|
+
cookie?: never;
|
|
21785
|
+
};
|
|
21786
|
+
get?: never;
|
|
21787
|
+
put?: never;
|
|
21788
|
+
/**
|
|
21789
|
+
* One-click install - write the tracking hub's tools, triggers and consent into the zone.
|
|
21790
|
+
* @description za-132 (docs/1006 §110). Gated on `ads.manage`; audit action `ads.zaraz_install`. Reads the zone's whole Zaraz configuration, replaces only the `zinn_*` tools and triggers and our two consent purposes from the org's tracking hub (za-126), keeps everything else of the customer's, and writes it back (published when the zone uses the preview workflow). No site code. Networks Zaraz cannot run from a public id are listed in `skipped`. Refusals (422, `refusal.adsconnect.zarazSync.<code>` or `refusal.adsconnect.zaraz.<code>`): `hubEmpty`, `foreignSecrets` (the zone holds secret variables that a write could erase), `consentShape`, `tokenRejected`, `permissionMissing`, `zoneNotFound`, `rateLimited`, `unavailable` (Cloudflare answered 5xx), `unexpected` (our side failed, §2.57), `vaultUnavailable`.
|
|
21791
|
+
*/
|
|
21792
|
+
post: operations["installAdsZaraz"];
|
|
21793
|
+
delete?: never;
|
|
21794
|
+
options?: never;
|
|
21795
|
+
head?: never;
|
|
21796
|
+
patch?: never;
|
|
21797
|
+
trace?: never;
|
|
21798
|
+
};
|
|
21799
|
+
"/v1/ads/zaraz/connections/{connection_id}/sync": {
|
|
21800
|
+
parameters: {
|
|
21801
|
+
query?: never;
|
|
21802
|
+
header?: never;
|
|
21803
|
+
path?: never;
|
|
21804
|
+
cookie?: never;
|
|
21805
|
+
};
|
|
21806
|
+
/**
|
|
21807
|
+
* The zone's sync state - drift against the agreed version and the hub, and the versions.
|
|
21808
|
+
* @description za-133 (docs/1006 §110). Gated on `ads.view`. `drift.state` is `not_installed`, `in_sync`, `edited_in_cloudflare`, `hub_ahead` or `both`, as of `drift_checked_at` (the daily sweep, or a refresh). Versions from the last `undo_days` days can be restored.
|
|
21809
|
+
*/
|
|
21810
|
+
get: operations["getAdsZarazSync"];
|
|
21811
|
+
put?: never;
|
|
21812
|
+
post?: never;
|
|
21813
|
+
delete?: never;
|
|
21814
|
+
options?: never;
|
|
21815
|
+
head?: never;
|
|
21816
|
+
patch?: never;
|
|
21817
|
+
trace?: never;
|
|
21818
|
+
};
|
|
21819
|
+
"/v1/ads/zaraz/connections/{connection_id}/sync/adopt": {
|
|
21820
|
+
parameters: {
|
|
21821
|
+
query?: never;
|
|
21822
|
+
header?: never;
|
|
21823
|
+
path?: never;
|
|
21824
|
+
cookie?: never;
|
|
21825
|
+
};
|
|
21826
|
+
get?: never;
|
|
21827
|
+
put?: never;
|
|
21828
|
+
/**
|
|
21829
|
+
* Keep Cloudflare's version - it becomes the agreed version and its ids go back into the hub.
|
|
21830
|
+
* @description za-133 (docs/1006 §110), the second way of the two-way sync. Gated on `ads.manage`; audit action `ads.zaraz_adopt`. The tag and conversion ids found in the zone's `zinn_*` tools are written into the tracking hub (other hub ids are kept; a tool removed in Cloudflare does not remove its hub id). Refusals: `hubRefused`, `hubUnavailable`, and the token codes.
|
|
21831
|
+
*/
|
|
21832
|
+
post: operations["adoptAdsZarazSync"];
|
|
21833
|
+
delete?: never;
|
|
21834
|
+
options?: never;
|
|
21835
|
+
head?: never;
|
|
21836
|
+
patch?: never;
|
|
21837
|
+
trace?: never;
|
|
21838
|
+
};
|
|
21839
|
+
"/v1/ads/zaraz/connections/{connection_id}/sync/refresh": {
|
|
21840
|
+
parameters: {
|
|
21841
|
+
query?: never;
|
|
21842
|
+
header?: never;
|
|
21843
|
+
path?: never;
|
|
21844
|
+
cookie?: never;
|
|
21845
|
+
};
|
|
21846
|
+
get?: never;
|
|
21847
|
+
put?: never;
|
|
21848
|
+
/**
|
|
21849
|
+
* Read the zone now and compare it (nothing is written to Cloudflare).
|
|
21850
|
+
* @description za-133 (docs/1006 §110). Gated on `ads.manage`. A change found in Cloudflare is recorded as a `seen` version. Refusals as for install (`tokenRejected`, `rateLimited`, ...).
|
|
21851
|
+
*/
|
|
21852
|
+
post: operations["refreshAdsZarazSync"];
|
|
21853
|
+
delete?: never;
|
|
21854
|
+
options?: never;
|
|
21855
|
+
head?: never;
|
|
21856
|
+
patch?: never;
|
|
21857
|
+
trace?: never;
|
|
21858
|
+
};
|
|
21859
|
+
"/v1/ads/zaraz/connections/{connection_id}/versions/{version_id}/restore": {
|
|
21860
|
+
parameters: {
|
|
21861
|
+
query?: never;
|
|
21862
|
+
header?: never;
|
|
21863
|
+
path?: never;
|
|
21864
|
+
cookie?: never;
|
|
21865
|
+
};
|
|
21866
|
+
get?: never;
|
|
21867
|
+
put?: never;
|
|
21868
|
+
/**
|
|
21869
|
+
* Undo - write an earlier version of the zone's Zaraz configuration back (30 days).
|
|
21870
|
+
* @description za-133 (docs/1006 §110). Gated on `ads.manage`; audit action `ads.zaraz_undo`. A version of another connection is 404; one older than 30 days is `undoExpired`; a zone holding secret variables not ours is `foreignSecrets`.
|
|
21871
|
+
*/
|
|
21872
|
+
post: operations["restoreAdsZarazVersion"];
|
|
21873
|
+
delete?: never;
|
|
21874
|
+
options?: never;
|
|
21875
|
+
head?: never;
|
|
21876
|
+
patch?: never;
|
|
21877
|
+
trace?: never;
|
|
21878
|
+
};
|
|
21779
21879
|
"/v1/ads/zaraz/zones": {
|
|
21780
21880
|
parameters: {
|
|
21781
21881
|
query?: never;
|
|
@@ -51254,6 +51354,29 @@ export interface paths {
|
|
|
51254
51354
|
patch?: never;
|
|
51255
51355
|
trace?: never;
|
|
51256
51356
|
};
|
|
51357
|
+
"/v1/sites/{siteId}/moodle-upgrade/branch-pin": {
|
|
51358
|
+
parameters: {
|
|
51359
|
+
query?: never;
|
|
51360
|
+
header?: never;
|
|
51361
|
+
path: {
|
|
51362
|
+
/** @description Site ID (UUIDv7). */
|
|
51363
|
+
siteId: components["parameters"]["SiteId"];
|
|
51364
|
+
};
|
|
51365
|
+
cookie?: never;
|
|
51366
|
+
};
|
|
51367
|
+
get?: never;
|
|
51368
|
+
/**
|
|
51369
|
+
* Keep a Moodle site on its installed branch, or let it follow new major versions.
|
|
51370
|
+
* @description `stay_on_branch` true offers only the installed branch's own weekly builds (security and bug fixes); a newer major is listed in `blocked` as `BRANCH_PINNED`. False follows new major versions again (plugins that do not support a release still hold it). The choice is the customer's and a later check never overwrites it; with no choice made, a site is kept on its branch automatically while a plugin would break on the newest major. `409 MOODLE_UPGRADE_REFUSED` for a site that is not on our servers or not live. Requires `sites.view` and `hosting.applications.manage`.
|
|
51371
|
+
*/
|
|
51372
|
+
put: operations["setSiteMoodleBranchPin"];
|
|
51373
|
+
post?: never;
|
|
51374
|
+
delete?: never;
|
|
51375
|
+
options?: never;
|
|
51376
|
+
head?: never;
|
|
51377
|
+
patch?: never;
|
|
51378
|
+
trace?: never;
|
|
51379
|
+
};
|
|
51257
51380
|
"/v1/sites/{siteId}/moodle-upgrade/check": {
|
|
51258
51381
|
parameters: {
|
|
51259
51382
|
query?: never;
|
|
@@ -69791,6 +69914,11 @@ export interface components {
|
|
|
69791
69914
|
/** Format: int64 */
|
|
69792
69915
|
total_budget_micros: number | null;
|
|
69793
69916
|
};
|
|
69917
|
+
AdsZarazActionResult: {
|
|
69918
|
+
drift: components["schemas"]["AdsZarazDrift"];
|
|
69919
|
+
skipped?: components["schemas"]["AdsZarazSkipped"][];
|
|
69920
|
+
version: components["schemas"]["AdsZarazVersion"];
|
|
69921
|
+
};
|
|
69794
69922
|
/** @description A Cloudflare zone connected for Zaraz (za-131). The token is in Vault, never here; `token_hint` is its last four characters. */
|
|
69795
69923
|
AdsZarazConnection: {
|
|
69796
69924
|
account_name: string;
|
|
@@ -69814,6 +69942,67 @@ export interface components {
|
|
|
69814
69942
|
zone_id: string;
|
|
69815
69943
|
zone_name: string;
|
|
69816
69944
|
};
|
|
69945
|
+
AdsZarazDrift: {
|
|
69946
|
+
/** Format: date-time */
|
|
69947
|
+
checked_at?: string;
|
|
69948
|
+
edited?: boolean;
|
|
69949
|
+
/** @description The last daily read's refusal code (empty when it worked). */
|
|
69950
|
+
error?: string;
|
|
69951
|
+
hub_ahead?: boolean;
|
|
69952
|
+
hub_version?: number;
|
|
69953
|
+
installed_hub_version?: number;
|
|
69954
|
+
item_count?: number;
|
|
69955
|
+
items?: components["schemas"]["AdsZarazDriftItem"][];
|
|
69956
|
+
/** @enum {string} */
|
|
69957
|
+
state: "not_installed" | "in_sync" | "edited_in_cloudflare" | "hub_ahead" | "both" | "unknown";
|
|
69958
|
+
};
|
|
69959
|
+
AdsZarazDriftItem: {
|
|
69960
|
+
/** @enum {string} */
|
|
69961
|
+
area: "tool" | "trigger" | "variable" | "consent" | "purpose" | "setting";
|
|
69962
|
+
/** @enum {string} */
|
|
69963
|
+
change: "added" | "removed" | "changed";
|
|
69964
|
+
key: string;
|
|
69965
|
+
/** @description A `zinn_*` part (written by Zinn® Ads). */
|
|
69966
|
+
managed: boolean;
|
|
69967
|
+
name: string;
|
|
69968
|
+
};
|
|
69969
|
+
AdsZarazSkipped: {
|
|
69970
|
+
network: string;
|
|
69971
|
+
/** @enum {string} */
|
|
69972
|
+
reason: "needsServerKey" | "noIdSetting" | "noComponent";
|
|
69973
|
+
};
|
|
69974
|
+
AdsZarazSync: {
|
|
69975
|
+
/** Format: uuid */
|
|
69976
|
+
connection_id: string;
|
|
69977
|
+
consent_on?: boolean;
|
|
69978
|
+
drift: components["schemas"]["AdsZarazDrift"];
|
|
69979
|
+
/** Format: date-time */
|
|
69980
|
+
drift_checked_at?: string | null;
|
|
69981
|
+
hub_version?: number;
|
|
69982
|
+
/** Format: date-time */
|
|
69983
|
+
installed_at?: string | null;
|
|
69984
|
+
networks?: {
|
|
69985
|
+
network: string;
|
|
69986
|
+
tool: string;
|
|
69987
|
+
}[];
|
|
69988
|
+
skipped?: components["schemas"]["AdsZarazSkipped"][];
|
|
69989
|
+
undo_days: number;
|
|
69990
|
+
versions: components["schemas"]["AdsZarazVersion"][];
|
|
69991
|
+
};
|
|
69992
|
+
AdsZarazVersion: {
|
|
69993
|
+
actor?: string;
|
|
69994
|
+
/** Format: date-time */
|
|
69995
|
+
created_at: string;
|
|
69996
|
+
hub_version?: number;
|
|
69997
|
+
/** Format: uuid */
|
|
69998
|
+
id: string;
|
|
69999
|
+
/** @enum {string} */
|
|
70000
|
+
source: "install" | "seen" | "adopt" | "undo";
|
|
70001
|
+
summary?: components["schemas"]["AdsZarazDriftItem"][];
|
|
70002
|
+
tools?: string[];
|
|
70003
|
+
/** @description Inside the 30-day undo window. */
|
|
70004
|
+
undoable: boolean;
|
|
70005
|
+
};
|
|
69817
70006
|
/** @description One Cloudflare zone a Zaraz token reaches (za-131). */
|
|
69818
70007
|
AdsZarazZone: {
|
|
69819
70008
|
account_id: string;
|
|
@@ -90164,10 +90353,26 @@ export interface components {
|
|
|
90164
90353
|
refusal: components["schemas"]["MoodleRefusal"];
|
|
90165
90354
|
release: string;
|
|
90166
90355
|
};
|
|
90356
|
+
/** @description Whether the site stays on its installed Moodle branch (docs/1160 §10). Following new major versions is the default; a site is kept on its branch automatically while a plugin would break on the newest major (`source` `plugins`, `held_by` names them) or when the customer chose so. A pinned site still gets its branch's own weekly builds. */
|
|
90357
|
+
MoodleBranchPin: {
|
|
90358
|
+
/** @description `4.5`; null before the first check. */
|
|
90359
|
+
branch: string | null;
|
|
90360
|
+
/** @description Plugins that would break on the newest release on another branch. */
|
|
90361
|
+
held_by: string[];
|
|
90362
|
+
pinned: boolean;
|
|
90363
|
+
/** @enum {string} */
|
|
90364
|
+
source: "follow" | "plugins" | "customer_pin" | "customer_follow";
|
|
90365
|
+
};
|
|
90366
|
+
MoodlePluginWarning: {
|
|
90367
|
+
component: string;
|
|
90368
|
+
/** @enum {string} */
|
|
90369
|
+
key: "formatTilesModalFactory" | "unsupportedBranch";
|
|
90370
|
+
reason: string;
|
|
90371
|
+
};
|
|
90167
90372
|
/** @description Why a Moodle upgrade cannot run. `key` is `refusal.moodleUpgrade.<camel>`; `params` fill it; `message` is the English fallback. */
|
|
90168
90373
|
MoodleRefusal: {
|
|
90169
90374
|
/** @enum {string} */
|
|
90170
|
-
code: "NOT_MOODLE" | "NOT_OWN_FLEET" | "NOT_ACTIVE" | "NOT_CHECKED" | "UP_TO_DATE" | "UPGRADE_RUNNING" | "TARGET_NOT_OFFERED" | "DB_TOO_OLD" | "PHP_TOO_OLD" | "PLUGIN_INCOMPATIBLE" | "REQUIREMENTS_UNKNOWN";
|
|
90375
|
+
code: "NOT_MOODLE" | "NOT_OWN_FLEET" | "NOT_ACTIVE" | "NOT_CHECKED" | "UP_TO_DATE" | "UPGRADE_RUNNING" | "TARGET_NOT_OFFERED" | "DB_TOO_OLD" | "PHP_TOO_OLD" | "PLUGIN_INCOMPATIBLE" | "REQUIREMENTS_UNKNOWN" | "BRANCH_PINNED";
|
|
90171
90376
|
key: string;
|
|
90172
90377
|
message: string;
|
|
90173
90378
|
params: {
|
|
@@ -104053,6 +104258,7 @@ export interface components {
|
|
|
104053
104258
|
/** @description The highest release this server can run that is newer than installed. */
|
|
104054
104259
|
available: components["schemas"]["MoodleRelease"] | null;
|
|
104055
104260
|
blocked: components["schemas"]["MoodleBlockedRelease"][];
|
|
104261
|
+
branch_pin: components["schemas"]["MoodleBranchPin"];
|
|
104056
104262
|
can_upgrade: boolean;
|
|
104057
104263
|
check_pending: boolean;
|
|
104058
104264
|
/** Format: date-time */
|
|
@@ -104060,6 +104266,8 @@ export interface components {
|
|
|
104060
104266
|
current_run: components["schemas"]["MoodleUpgradeRun"] | null;
|
|
104061
104267
|
installed: components["schemas"]["MoodleRelease"] | null;
|
|
104062
104268
|
is_moodle: boolean;
|
|
104269
|
+
/** @description Installed plugins that may not work on the INSTALLED release (a warning, never a hold). `key` is the dashboard's `moodleUpgrade.pluginWarning.<key>`; `reason` is the English fallback. */
|
|
104270
|
+
plugin_warnings: components["schemas"]["MoodlePluginWarning"][];
|
|
104063
104271
|
refusal: components["schemas"]["MoodleRefusal"] | null;
|
|
104064
104272
|
/** @description Newest first, at most ten. */
|
|
104065
104273
|
runs: components["schemas"]["MoodleUpgradeRun"][];
|
|
@@ -110954,7 +111162,7 @@ export interface components {
|
|
|
110954
111162
|
* @example page
|
|
110955
111163
|
* @enum {string}
|
|
110956
111164
|
*/
|
|
110957
|
-
TranslationSurface: "ui" | "page" | "kb" | "meta_title" | "meta_description" | "open_graph" | "schema" | "alt_text" | "breadcrumb" | "sitemap" | "slug" | "notification" | "email" | "sms" | "push" | "image" | "listing_field" | "listing_copy" | "offer" | "site_content" | "survey" | "extra" | "site_panel" | "admin_ui" | "holder_page";
|
|
111165
|
+
TranslationSurface: "ui" | "page" | "kb" | "meta_title" | "meta_description" | "open_graph" | "schema" | "alt_text" | "breadcrumb" | "sitemap" | "slug" | "notification" | "email" | "sms" | "push" | "image" | "listing_field" | "listing_copy" | "offer" | "site_content" | "survey" | "extra" | "site_panel" | "admin_ui" | "holder_page" | "zaraz_consent";
|
|
110958
111166
|
Trial: {
|
|
110959
111167
|
/** @description s1014 APPTRIAL — the app picked at trial start, empty when none was. */
|
|
110960
111168
|
app?: string;
|
|
@@ -150480,6 +150688,171 @@ export interface operations {
|
|
|
150480
150688
|
429: components["responses"]["TooManyRequests"];
|
|
150481
150689
|
};
|
|
150482
150690
|
};
|
|
150691
|
+
installAdsZaraz: {
|
|
150692
|
+
parameters: {
|
|
150693
|
+
query?: {
|
|
150694
|
+
org_id?: string;
|
|
150695
|
+
};
|
|
150696
|
+
header?: never;
|
|
150697
|
+
path: {
|
|
150698
|
+
connection_id: string;
|
|
150699
|
+
};
|
|
150700
|
+
cookie?: never;
|
|
150701
|
+
};
|
|
150702
|
+
requestBody?: {
|
|
150703
|
+
content: {
|
|
150704
|
+
"application/json": {
|
|
150705
|
+
/**
|
|
150706
|
+
* @description Ask visitors for consent with Zaraz's banner (a banner already on stays on).
|
|
150707
|
+
* @default true
|
|
150708
|
+
*/
|
|
150709
|
+
consent?: boolean;
|
|
150710
|
+
};
|
|
150711
|
+
};
|
|
150712
|
+
};
|
|
150713
|
+
responses: {
|
|
150714
|
+
/** @description Installed. */
|
|
150715
|
+
200: {
|
|
150716
|
+
headers: {
|
|
150717
|
+
[name: string]: unknown;
|
|
150718
|
+
};
|
|
150719
|
+
content: {
|
|
150720
|
+
"application/json": {
|
|
150721
|
+
data: components["schemas"]["AdsZarazActionResult"];
|
|
150722
|
+
};
|
|
150723
|
+
};
|
|
150724
|
+
};
|
|
150725
|
+
401: components["responses"]["Unauthorized"];
|
|
150726
|
+
403: components["responses"]["Forbidden"];
|
|
150727
|
+
404: components["responses"]["NotFound"];
|
|
150728
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
150729
|
+
429: components["responses"]["TooManyRequests"];
|
|
150730
|
+
};
|
|
150731
|
+
};
|
|
150732
|
+
getAdsZarazSync: {
|
|
150733
|
+
parameters: {
|
|
150734
|
+
query?: {
|
|
150735
|
+
org_id?: string;
|
|
150736
|
+
};
|
|
150737
|
+
header?: never;
|
|
150738
|
+
path: {
|
|
150739
|
+
connection_id: string;
|
|
150740
|
+
};
|
|
150741
|
+
cookie?: never;
|
|
150742
|
+
};
|
|
150743
|
+
requestBody?: never;
|
|
150744
|
+
responses: {
|
|
150745
|
+
/** @description The sync card. */
|
|
150746
|
+
200: {
|
|
150747
|
+
headers: {
|
|
150748
|
+
[name: string]: unknown;
|
|
150749
|
+
};
|
|
150750
|
+
content: {
|
|
150751
|
+
"application/json": {
|
|
150752
|
+
data: components["schemas"]["AdsZarazSync"];
|
|
150753
|
+
};
|
|
150754
|
+
};
|
|
150755
|
+
};
|
|
150756
|
+
401: components["responses"]["Unauthorized"];
|
|
150757
|
+
403: components["responses"]["Forbidden"];
|
|
150758
|
+
404: components["responses"]["NotFound"];
|
|
150759
|
+
429: components["responses"]["TooManyRequests"];
|
|
150760
|
+
};
|
|
150761
|
+
};
|
|
150762
|
+
adoptAdsZarazSync: {
|
|
150763
|
+
parameters: {
|
|
150764
|
+
query?: {
|
|
150765
|
+
org_id?: string;
|
|
150766
|
+
};
|
|
150767
|
+
header?: never;
|
|
150768
|
+
path: {
|
|
150769
|
+
connection_id: string;
|
|
150770
|
+
};
|
|
150771
|
+
cookie?: never;
|
|
150772
|
+
};
|
|
150773
|
+
requestBody?: never;
|
|
150774
|
+
responses: {
|
|
150775
|
+
/** @description Kept. */
|
|
150776
|
+
200: {
|
|
150777
|
+
headers: {
|
|
150778
|
+
[name: string]: unknown;
|
|
150779
|
+
};
|
|
150780
|
+
content: {
|
|
150781
|
+
"application/json": {
|
|
150782
|
+
data: components["schemas"]["AdsZarazActionResult"];
|
|
150783
|
+
};
|
|
150784
|
+
};
|
|
150785
|
+
};
|
|
150786
|
+
401: components["responses"]["Unauthorized"];
|
|
150787
|
+
403: components["responses"]["Forbidden"];
|
|
150788
|
+
404: components["responses"]["NotFound"];
|
|
150789
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
150790
|
+
429: components["responses"]["TooManyRequests"];
|
|
150791
|
+
};
|
|
150792
|
+
};
|
|
150793
|
+
refreshAdsZarazSync: {
|
|
150794
|
+
parameters: {
|
|
150795
|
+
query?: {
|
|
150796
|
+
org_id?: string;
|
|
150797
|
+
};
|
|
150798
|
+
header?: never;
|
|
150799
|
+
path: {
|
|
150800
|
+
connection_id: string;
|
|
150801
|
+
};
|
|
150802
|
+
cookie?: never;
|
|
150803
|
+
};
|
|
150804
|
+
requestBody?: never;
|
|
150805
|
+
responses: {
|
|
150806
|
+
/** @description The sync card after the read. */
|
|
150807
|
+
200: {
|
|
150808
|
+
headers: {
|
|
150809
|
+
[name: string]: unknown;
|
|
150810
|
+
};
|
|
150811
|
+
content: {
|
|
150812
|
+
"application/json": {
|
|
150813
|
+
data: components["schemas"]["AdsZarazSync"];
|
|
150814
|
+
};
|
|
150815
|
+
};
|
|
150816
|
+
};
|
|
150817
|
+
401: components["responses"]["Unauthorized"];
|
|
150818
|
+
403: components["responses"]["Forbidden"];
|
|
150819
|
+
404: components["responses"]["NotFound"];
|
|
150820
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
150821
|
+
429: components["responses"]["TooManyRequests"];
|
|
150822
|
+
};
|
|
150823
|
+
};
|
|
150824
|
+
restoreAdsZarazVersion: {
|
|
150825
|
+
parameters: {
|
|
150826
|
+
query?: {
|
|
150827
|
+
org_id?: string;
|
|
150828
|
+
};
|
|
150829
|
+
header?: never;
|
|
150830
|
+
path: {
|
|
150831
|
+
connection_id: string;
|
|
150832
|
+
version_id: string;
|
|
150833
|
+
};
|
|
150834
|
+
cookie?: never;
|
|
150835
|
+
};
|
|
150836
|
+
requestBody?: never;
|
|
150837
|
+
responses: {
|
|
150838
|
+
/** @description Restored. */
|
|
150839
|
+
200: {
|
|
150840
|
+
headers: {
|
|
150841
|
+
[name: string]: unknown;
|
|
150842
|
+
};
|
|
150843
|
+
content: {
|
|
150844
|
+
"application/json": {
|
|
150845
|
+
data: components["schemas"]["AdsZarazActionResult"];
|
|
150846
|
+
};
|
|
150847
|
+
};
|
|
150848
|
+
};
|
|
150849
|
+
401: components["responses"]["Unauthorized"];
|
|
150850
|
+
403: components["responses"]["Forbidden"];
|
|
150851
|
+
404: components["responses"]["NotFound"];
|
|
150852
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
150853
|
+
429: components["responses"]["TooManyRequests"];
|
|
150854
|
+
};
|
|
150855
|
+
};
|
|
150483
150856
|
listAdsZarazZones: {
|
|
150484
150857
|
parameters: {
|
|
150485
150858
|
query?: never;
|
|
@@ -198410,6 +198783,41 @@ export interface operations {
|
|
|
198410
198783
|
503: components["responses"]["ServiceUnavailable"];
|
|
198411
198784
|
};
|
|
198412
198785
|
};
|
|
198786
|
+
setSiteMoodleBranchPin: {
|
|
198787
|
+
parameters: {
|
|
198788
|
+
query?: never;
|
|
198789
|
+
header?: never;
|
|
198790
|
+
path: {
|
|
198791
|
+
/** @description Site ID (UUIDv7). */
|
|
198792
|
+
siteId: components["parameters"]["SiteId"];
|
|
198793
|
+
};
|
|
198794
|
+
cookie?: never;
|
|
198795
|
+
};
|
|
198796
|
+
requestBody: {
|
|
198797
|
+
content: {
|
|
198798
|
+
"application/json": {
|
|
198799
|
+
stay_on_branch: boolean;
|
|
198800
|
+
};
|
|
198801
|
+
};
|
|
198802
|
+
};
|
|
198803
|
+
responses: {
|
|
198804
|
+
/** @description The site's upgrade state with the new pin. */
|
|
198805
|
+
200: {
|
|
198806
|
+
headers: {
|
|
198807
|
+
[name: string]: unknown;
|
|
198808
|
+
};
|
|
198809
|
+
content: {
|
|
198810
|
+
"application/json": components["schemas"]["SiteMoodleUpgrade"];
|
|
198811
|
+
};
|
|
198812
|
+
};
|
|
198813
|
+
401: components["responses"]["Unauthorized"];
|
|
198814
|
+
403: components["responses"]["Forbidden"];
|
|
198815
|
+
404: components["responses"]["NotFound"];
|
|
198816
|
+
409: components["responses"]["Conflict"];
|
|
198817
|
+
422: components["responses"]["UnprocessableEntity"];
|
|
198818
|
+
429: components["responses"]["TooManyRequests"];
|
|
198819
|
+
};
|
|
198820
|
+
};
|
|
198413
198821
|
checkSiteMoodleUpgrade: {
|
|
198414
198822
|
parameters: {
|
|
198415
198823
|
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.1519",
|
|
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>",
|