@omni-commerce/sdk 0.29.1 → 0.30.0
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.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -19
- package/dist/index.d.ts +27 -19
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/dist/react.d.cts +4 -4
- package/dist/react.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -35,7 +35,7 @@ function normalizeClientOptions(options = {}) {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
// src/version.ts
|
|
38
|
-
var SDK_VERSION = "0.
|
|
38
|
+
var SDK_VERSION = "0.30.0";
|
|
39
39
|
var SDK_USER_AGENT = `omnicommerce-js/${SDK_VERSION}`;
|
|
40
40
|
|
|
41
41
|
// src/environments.ts
|
|
@@ -5489,7 +5489,7 @@ var WikiClient = class {
|
|
|
5489
5489
|
/**
|
|
5490
5490
|
* Export Wiki
|
|
5491
5491
|
*
|
|
5492
|
-
* Export
|
|
5492
|
+
* Export active General pages as an OKF v0.3 bundle. Imported paths, frontmatter, and supporting files are preserved. The glossary is returned separately as SKOS in JSON-LD. Requires documents:read.
|
|
5493
5493
|
*
|
|
5494
5494
|
* `GET /api/v1/wiki/export`
|
|
5495
5495
|
*/
|
|
@@ -5506,11 +5506,9 @@ var WikiClient = class {
|
|
|
5506
5506
|
/**
|
|
5507
5507
|
* Import Wiki
|
|
5508
5508
|
*
|
|
5509
|
-
* Create or update General pages from
|
|
5509
|
+
* Create or update General pages from an OKF v0.3 bundle. Requires documents:write. Send the files array returned by the export. Use markdown for UTF-8 text files and base64 for binary assets. Bundle-relative links resolve to pages in the destination organization.
|
|
5510
5510
|
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
A file updates the page that already holds its title and otherwise creates one, so importing an export is idempotent. Each file is saved on its own and reported separately.
|
|
5511
|
+
Concepts can update a General page by its local page ID, imported path, or matching title. Re-importing the same export is idempotent. Valid concepts and supporting files are saved in one transaction, with an outcome per concept. Standalone Markdown and earlier exports are also accepted.
|
|
5514
5512
|
*
|
|
5515
5513
|
* `POST /api/v1/wiki/import`
|
|
5516
5514
|
*/
|