@getlatedev/node 0.2.1366 → 0.2.1367
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/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -59447,6 +59447,12 @@ type CreateBlogArticleData = {
|
|
|
59447
59447
|
[key: string]: unknown;
|
|
59448
59448
|
};
|
|
59449
59449
|
};
|
|
59450
|
+
headers?: {
|
|
59451
|
+
/**
|
|
59452
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. A request cut off mid-handler (for example by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.
|
|
59453
|
+
*/
|
|
59454
|
+
'Idempotency-Key'?: string;
|
|
59455
|
+
};
|
|
59450
59456
|
path: {
|
|
59451
59457
|
/**
|
|
59452
59458
|
* Connected Shopify, WordPress, Wix or Webflow account id.
|
package/dist/index.d.ts
CHANGED
|
@@ -59447,6 +59447,12 @@ type CreateBlogArticleData = {
|
|
|
59447
59447
|
[key: string]: unknown;
|
|
59448
59448
|
};
|
|
59449
59449
|
};
|
|
59450
|
+
headers?: {
|
|
59451
|
+
/**
|
|
59452
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. A request cut off mid-handler (for example by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.
|
|
59453
|
+
*/
|
|
59454
|
+
'Idempotency-Key'?: string;
|
|
59455
|
+
};
|
|
59450
59456
|
path: {
|
|
59451
59457
|
/**
|
|
59452
59458
|
* Connected Shopify, WordPress, Wix or Webflow account id.
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1367",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1367",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -17833,6 +17833,8 @@ export const listBlogArticles = <ThrowOnError extends boolean = false>(options:
|
|
|
17833
17833
|
* top-level HTML element must fit 30,000 characters), and images in
|
|
17834
17834
|
* the body are imported into the site's Media Manager.
|
|
17835
17835
|
*
|
|
17836
|
+
* Send an Idempotency-Key header to make retries safe: a retry with the same key and body replays the original 201 instead of creating a second article. A retry while the first request is still running returns 409; retry after a short backoff.
|
|
17837
|
+
*
|
|
17836
17838
|
* Supported on Shopify (`shopify`), WordPress (`wordpress`), Wix (`wix`) and Webflow (`webflow`). WordPress
|
|
17837
17839
|
* native scheduling depends on the site's scheduler/WP-Cron.
|
|
17838
17840
|
*
|
|
@@ -61024,6 +61024,12 @@ export type CreateBlogArticleData = {
|
|
|
61024
61024
|
[key: string]: unknown;
|
|
61025
61025
|
};
|
|
61026
61026
|
};
|
|
61027
|
+
headers?: {
|
|
61028
|
+
/**
|
|
61029
|
+
* Optional client-generated unique key (e.g. a UUID) that makes retries safe. Same key + same body replays the original response; same key + different body → 422; key still processing → 409. A request cut off mid-handler (for example by a function timeout) can leave its key in progress, answering 409 until the key expires after 24 hours.
|
|
61030
|
+
*/
|
|
61031
|
+
'Idempotency-Key'?: string;
|
|
61032
|
+
};
|
|
61027
61033
|
path: {
|
|
61028
61034
|
/**
|
|
61029
61035
|
* Connected Shopify, WordPress, Wix or Webflow account id.
|