@zinn-digital/sdk 0.1.1860 → 0.1.1863
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 +10 -0
- package/package.json +1 -1
|
@@ -122209,6 +122209,8 @@ export interface components {
|
|
|
122209
122209
|
headers: {
|
|
122210
122210
|
/** @description Requests remaining in the current rate-limit window. */
|
|
122211
122211
|
RateLimitRemaining: number;
|
|
122212
|
+
/** @description Present only on an ANONYMOUS GET of a route the public read cache covers (PUBCACHE, `docs/16` §12.6). `HIT` — answered from the shared cache, before the rate limiter and the database, so no `RateLimit-Remaining` is sent; `MISS` — computed now and stored for up to 60 s. Absent when the request carried a credential (`Authorization`, `Cookie`, `X-Api-Key`), which is never served from nor stored into the cache. Also absent when the request carried any query parameter other than a supported `locale`, an enabled `currency` (upper case), a known `product_line` or the knowledge-base `limit=200`, a repeated parameter, or a value outside those sets, and when the answer is too large to store: those requests are answered normally and never cached. */
|
|
122213
|
+
ZinnApiCache: "HIT" | "MISS";
|
|
122212
122214
|
};
|
|
122213
122215
|
pathItems: never;
|
|
122214
122216
|
}
|
|
@@ -170470,6 +170472,7 @@ export interface operations {
|
|
|
170470
170472
|
/** @description Strong validator over the catalogue contents. */
|
|
170471
170473
|
ETag?: string;
|
|
170472
170474
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
170475
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
170473
170476
|
[name: string]: unknown;
|
|
170474
170477
|
};
|
|
170475
170478
|
content: {
|
|
@@ -186040,6 +186043,7 @@ export interface operations {
|
|
|
186040
186043
|
/** @description The matching Zinn®s, the filter rail and the paging marker. */
|
|
186041
186044
|
200: {
|
|
186042
186045
|
headers: {
|
|
186046
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
186043
186047
|
[name: string]: unknown;
|
|
186044
186048
|
};
|
|
186045
186049
|
content: {
|
|
@@ -199942,6 +199946,7 @@ export interface operations {
|
|
|
199942
199946
|
200: {
|
|
199943
199947
|
headers: {
|
|
199944
199948
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
199949
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
199945
199950
|
[name: string]: unknown;
|
|
199946
199951
|
};
|
|
199947
199952
|
content: {
|
|
@@ -199971,6 +199976,7 @@ export interface operations {
|
|
|
199971
199976
|
200: {
|
|
199972
199977
|
headers: {
|
|
199973
199978
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
199979
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
199974
199980
|
[name: string]: unknown;
|
|
199975
199981
|
};
|
|
199976
199982
|
content: {
|
|
@@ -199993,6 +199999,7 @@ export interface operations {
|
|
|
199993
199999
|
/** @description The sections. */
|
|
199994
200000
|
200: {
|
|
199995
200001
|
headers: {
|
|
200002
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
199996
200003
|
[name: string]: unknown;
|
|
199997
200004
|
};
|
|
199998
200005
|
content: {
|
|
@@ -200020,6 +200027,7 @@ export interface operations {
|
|
|
200020
200027
|
/** @description One entry per article that is published and was named. */
|
|
200021
200028
|
200: {
|
|
200022
200029
|
headers: {
|
|
200030
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
200023
200031
|
[name: string]: unknown;
|
|
200024
200032
|
};
|
|
200025
200033
|
content: {
|
|
@@ -200042,6 +200050,7 @@ export interface operations {
|
|
|
200042
200050
|
/** @description One entry per published article. */
|
|
200043
200051
|
200: {
|
|
200044
200052
|
headers: {
|
|
200053
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
200045
200054
|
[name: string]: unknown;
|
|
200046
200055
|
};
|
|
200047
200056
|
content: {
|
|
@@ -200795,6 +200804,7 @@ export interface operations {
|
|
|
200795
200804
|
200: {
|
|
200796
200805
|
headers: {
|
|
200797
200806
|
"RateLimit-Remaining": components["headers"]["RateLimitRemaining"];
|
|
200807
|
+
"X-Zinn-Api-Cache": components["headers"]["ZinnApiCache"];
|
|
200798
200808
|
[name: string]: unknown;
|
|
200799
200809
|
};
|
|
200800
200810
|
content: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1863",
|
|
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>",
|