@orq-ai/node 4.16.0-rc.4 → 4.16.0-rc.5
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/README.md +64 -37
- package/funcs/wikisCreate.d.ts +11 -0
- package/funcs/wikisCreate.d.ts.map +1 -0
- package/funcs/wikisCreate.js +109 -0
- package/funcs/wikisCreate.js.map +1 -0
- package/funcs/wikisDelete.d.ts +12 -0
- package/funcs/wikisDelete.d.ts.map +1 -0
- package/funcs/wikisDelete.js +115 -0
- package/funcs/wikisDelete.js.map +1 -0
- package/funcs/wikisGet.d.ts +12 -0
- package/funcs/wikisGet.d.ts.map +1 -0
- package/funcs/wikisGet.js +115 -0
- package/funcs/wikisGet.js.map +1 -0
- package/funcs/wikisGetPage.d.ts +12 -0
- package/funcs/wikisGetPage.d.ts.map +1 -0
- package/funcs/wikisGetPage.js +120 -0
- package/funcs/wikisGetPage.js.map +1 -0
- package/funcs/wikisGetTree.d.ts +12 -0
- package/funcs/wikisGetTree.d.ts.map +1 -0
- package/funcs/wikisGetTree.js +115 -0
- package/funcs/wikisGetTree.js.map +1 -0
- package/funcs/wikisInspectRepository.d.ts +11 -0
- package/funcs/wikisInspectRepository.d.ts.map +1 -0
- package/funcs/wikisInspectRepository.js +109 -0
- package/funcs/wikisInspectRepository.js.map +1 -0
- package/funcs/wikisList.d.ts +12 -0
- package/funcs/wikisList.d.ts.map +1 -0
- package/funcs/wikisList.js +118 -0
- package/funcs/wikisList.js.map +1 -0
- package/funcs/wikisListRuns.d.ts +12 -0
- package/funcs/wikisListRuns.d.ts.map +1 -0
- package/funcs/wikisListRuns.js +119 -0
- package/funcs/wikisListRuns.js.map +1 -0
- package/funcs/wikisRefresh.d.ts +12 -0
- package/funcs/wikisRefresh.d.ts.map +1 -0
- package/funcs/wikisRefresh.js +118 -0
- package/funcs/wikisRefresh.js.map +1 -0
- package/funcs/wikisSearch.d.ts +12 -0
- package/funcs/wikisSearch.d.ts.map +1 -0
- package/funcs/wikisSearch.js +120 -0
- package/funcs/wikisSearch.js.map +1 -0
- package/funcs/wikisUpdate.d.ts +12 -0
- package/funcs/wikisUpdate.d.ts.map +1 -0
- package/funcs/wikisUpdate.js +116 -0
- package/funcs/wikisUpdate.js.map +1 -0
- package/funcs/wikisUpdatePage.d.ts +12 -0
- package/funcs/wikisUpdatePage.d.ts.map +1 -0
- package/funcs/wikisUpdatePage.js +118 -0
- package/funcs/wikisUpdatePage.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/createapikeyrequest.d.ts +2 -2
- package/models/components/createapikeyrequest.d.ts.map +1 -1
- package/models/components/createapikeyrequest.js +1 -1
- package/models/components/createapikeyrequest.js.map +1 -1
- package/models/components/createwikirequest.d.ts +26 -0
- package/models/components/createwikirequest.d.ts.map +1 -0
- package/models/components/createwikirequest.js +65 -0
- package/models/components/createwikirequest.js.map +1 -0
- package/models/components/createwikiresponse.d.ts +11 -0
- package/models/components/createwikiresponse.d.ts.map +1 -0
- package/models/components/createwikiresponse.js +51 -0
- package/models/components/createwikiresponse.js.map +1 -0
- package/models/components/deletewikiresponse.d.ts +8 -0
- package/models/components/deletewikiresponse.d.ts.map +1 -0
- package/models/components/deletewikiresponse.js +48 -0
- package/models/components/deletewikiresponse.js.map +1 -0
- package/models/components/getwikipageresponse.d.ts +11 -0
- package/models/components/getwikipageresponse.d.ts.map +1 -0
- package/models/components/getwikipageresponse.js +51 -0
- package/models/components/getwikipageresponse.js.map +1 -0
- package/models/components/getwikiresponse.d.ts +11 -0
- package/models/components/getwikiresponse.d.ts.map +1 -0
- package/models/components/getwikiresponse.js +51 -0
- package/models/components/getwikiresponse.js.map +1 -0
- package/models/components/getwikitreeresponse.d.ts +11 -0
- package/models/components/getwikitreeresponse.d.ts.map +1 -0
- package/models/components/getwikitreeresponse.js +51 -0
- package/models/components/getwikitreeresponse.js.map +1 -0
- package/models/components/index.d.ts +25 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +25 -0
- package/models/components/index.js.map +1 -1
- package/models/components/inspectrepositorywikirequest.d.ts +16 -0
- package/models/components/inspectrepositorywikirequest.d.ts.map +1 -0
- package/models/components/inspectrepositorywikirequest.js +57 -0
- package/models/components/inspectrepositorywikirequest.js.map +1 -0
- package/models/components/inspectrepositorywikiresponse.d.ts +11 -0
- package/models/components/inspectrepositorywikiresponse.d.ts.map +1 -0
- package/models/components/inspectrepositorywikiresponse.js +56 -0
- package/models/components/inspectrepositorywikiresponse.js.map +1 -0
- package/models/components/listwikirunsresponse.d.ts +11 -0
- package/models/components/listwikirunsresponse.d.ts.map +1 -0
- package/models/components/listwikirunsresponse.js +51 -0
- package/models/components/listwikirunsresponse.js.map +1 -0
- package/models/components/listwikisresponse.d.ts +12 -0
- package/models/components/listwikisresponse.d.ts.map +1 -0
- package/models/components/listwikisresponse.js +57 -0
- package/models/components/listwikisresponse.js.map +1 -0
- package/models/components/reasoningpart.js +1 -1
- package/models/components/refreshwikirequest.d.ts +12 -0
- package/models/components/refreshwikirequest.d.ts.map +1 -0
- package/models/components/refreshwikirequest.js +49 -0
- package/models/components/refreshwikirequest.js.map +1 -0
- package/models/components/refreshwikiresponse.d.ts +11 -0
- package/models/components/refreshwikiresponse.d.ts.map +1 -0
- package/models/components/refreshwikiresponse.js +51 -0
- package/models/components/refreshwikiresponse.js.map +1 -0
- package/models/components/searchwikiresponse.d.ts +11 -0
- package/models/components/searchwikiresponse.d.ts.map +1 -0
- package/models/components/searchwikiresponse.js +51 -0
- package/models/components/searchwikiresponse.js.map +1 -0
- package/models/components/updatewikipagerequest.d.ts +16 -0
- package/models/components/updatewikipagerequest.d.ts.map +1 -0
- package/models/components/updatewikipagerequest.js +56 -0
- package/models/components/updatewikipagerequest.js.map +1 -0
- package/models/components/updatewikipageresponse.d.ts +11 -0
- package/models/components/updatewikipageresponse.d.ts.map +1 -0
- package/models/components/updatewikipageresponse.js +51 -0
- package/models/components/updatewikipageresponse.js.map +1 -0
- package/models/components/updatewikirequest.d.ts +17 -0
- package/models/components/updatewikirequest.d.ts.map +1 -0
- package/models/components/updatewikirequest.js +58 -0
- package/models/components/updatewikirequest.js.map +1 -0
- package/models/components/updatewikiresponse.d.ts +11 -0
- package/models/components/updatewikiresponse.d.ts.map +1 -0
- package/models/components/updatewikiresponse.js +51 -0
- package/models/components/updatewikiresponse.js.map +1 -0
- package/models/components/wiki.d.ts +29 -0
- package/models/components/wiki.d.ts.map +1 -0
- package/models/components/wiki.js +88 -0
- package/models/components/wiki.js.map +1 -0
- package/models/components/wikipage.d.ts +19 -0
- package/models/components/wikipage.d.ts.map +1 -0
- package/models/components/wikipage.js +68 -0
- package/models/components/wikipage.js.map +1 -0
- package/models/components/wikirepository.d.ts +25 -0
- package/models/components/wikirepository.d.ts.map +1 -0
- package/models/components/wikirepository.js +75 -0
- package/models/components/wikirepository.js.map +1 -0
- package/models/components/wikirun.d.ts +25 -0
- package/models/components/wikirun.d.ts.map +1 -0
- package/models/components/wikirun.js +79 -0
- package/models/components/wikirun.js.map +1 -0
- package/models/components/wikirunstats.d.ts +13 -0
- package/models/components/wikirunstats.d.ts.map +1 -0
- package/models/components/wikirunstats.js +60 -0
- package/models/components/wikirunstats.js.map +1 -0
- package/models/components/wikisearchhit.d.ts +14 -0
- package/models/components/wikisearchhit.d.ts.map +1 -0
- package/models/components/wikisearchhit.js +60 -0
- package/models/components/wikisearchhit.js.map +1 -0
- package/models/components/wikisettings.d.ts +25 -0
- package/models/components/wikisettings.d.ts.map +1 -0
- package/models/components/wikisettings.js +79 -0
- package/models/components/wikisettings.js.map +1 -0
- package/models/components/wikitreepage.d.ts +15 -0
- package/models/components/wikitreepage.d.ts.map +1 -0
- package/models/components/wikitreepage.js +61 -0
- package/models/components/wikitreepage.js.map +1 -0
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createtool.js +4 -4
- package/models/operations/deletewiki.d.ts +12 -0
- package/models/operations/deletewiki.d.ts.map +1 -0
- package/models/operations/deletewiki.js +54 -0
- package/models/operations/deletewiki.js.map +1 -0
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getwiki.d.ts +12 -0
- package/models/operations/getwiki.d.ts.map +1 -0
- package/models/operations/getwiki.js +54 -0
- package/models/operations/getwiki.js.map +1 -0
- package/models/operations/getwikipage.d.ts +16 -0
- package/models/operations/getwikipage.d.ts.map +1 -0
- package/models/operations/getwikipage.js +57 -0
- package/models/operations/getwikipage.js.map +1 -0
- package/models/operations/getwikitree.d.ts +12 -0
- package/models/operations/getwikitree.d.ts.map +1 -0
- package/models/operations/getwikitree.js +54 -0
- package/models/operations/getwikitree.js.map +1 -0
- package/models/operations/index.d.ts +10 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +10 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listwikiruns.d.ts +14 -0
- package/models/operations/listwikiruns.d.ts.map +1 -0
- package/models/operations/listwikiruns.js +55 -0
- package/models/operations/listwikiruns.js.map +1 -0
- package/models/operations/listwikis.d.ts +22 -0
- package/models/operations/listwikis.d.ts.map +1 -0
- package/models/operations/listwikis.js +62 -0
- package/models/operations/listwikis.js.map +1 -0
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/refreshwiki.d.ts +15 -0
- package/models/operations/refreshwiki.d.ts.map +1 -0
- package/models/operations/refreshwiki.js +57 -0
- package/models/operations/refreshwiki.js.map +1 -0
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.js +1 -1
- package/models/operations/searchwiki.d.ts +16 -0
- package/models/operations/searchwiki.d.ts.map +1 -0
- package/models/operations/searchwiki.js +56 -0
- package/models/operations/searchwiki.js.map +1 -0
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/models/operations/updatewiki.d.ts +15 -0
- package/models/operations/updatewiki.d.ts.map +1 -0
- package/models/operations/updatewiki.js +57 -0
- package/models/operations/updatewiki.js.map +1 -0
- package/models/operations/updatewikipage.d.ts +15 -0
- package/models/operations/updatewikipage.d.ts.map +1 -0
- package/models/operations/updatewikipage.js +57 -0
- package/models/operations/updatewikipage.js.map +1 -0
- package/package.json +3 -3
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/wikis.d.ts +18 -0
- package/sdk/wikis.d.ts.map +1 -0
- package/sdk/wikis.js +60 -0
- package/sdk/wikis.js.map +1 -0
- package/src/funcs/wikisCreate.ts +156 -0
- package/src/funcs/wikisDelete.ts +162 -0
- package/src/funcs/wikisGet.ts +162 -0
- package/src/funcs/wikisGetPage.ts +168 -0
- package/src/funcs/wikisGetTree.ts +162 -0
- package/src/funcs/wikisInspectRepository.ts +157 -0
- package/src/funcs/wikisList.ts +167 -0
- package/src/funcs/wikisListRuns.ts +167 -0
- package/src/funcs/wikisRefresh.ts +165 -0
- package/src/funcs/wikisSearch.ts +168 -0
- package/src/funcs/wikisUpdate.ts +163 -0
- package/src/funcs/wikisUpdatePage.ts +165 -0
- package/src/lib/config.ts +3 -3
- package/src/models/components/createapikeyrequest.ts +3 -3
- package/src/models/components/createwikirequest.ts +67 -0
- package/src/models/components/createwikiresponse.ts +32 -0
- package/src/models/components/deletewikiresponse.ts +27 -0
- package/src/models/components/getwikipageresponse.ts +32 -0
- package/src/models/components/getwikiresponse.ts +32 -0
- package/src/models/components/getwikitreeresponse.ts +32 -0
- package/src/models/components/index.ts +25 -0
- package/src/models/components/inspectrepositorywikirequest.ts +45 -0
- package/src/models/components/inspectrepositorywikiresponse.ts +38 -0
- package/src/models/components/listwikirunsresponse.ts +32 -0
- package/src/models/components/listwikisresponse.ts +39 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/refreshwikirequest.ts +31 -0
- package/src/models/components/refreshwikiresponse.ts +32 -0
- package/src/models/components/searchwikiresponse.ts +32 -0
- package/src/models/components/updatewikipagerequest.ts +42 -0
- package/src/models/components/updatewikipageresponse.ts +32 -0
- package/src/models/components/updatewikirequest.ts +48 -0
- package/src/models/components/updatewikiresponse.ts +32 -0
- package/src/models/components/wiki.ts +91 -0
- package/src/models/components/wikipage.ts +58 -0
- package/src/models/components/wikirepository.ts +72 -0
- package/src/models/components/wikirun.ts +71 -0
- package/src/models/components/wikirunstats.ts +44 -0
- package/src/models/components/wikisearchhit.ts +45 -0
- package/src/models/components/wikisettings.ts +76 -0
- package/src/models/components/wikitreepage.ts +47 -0
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/deletewiki.ts +36 -0
- package/src/models/operations/getalltools.ts +4 -4
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getwiki.ts +32 -0
- package/src/models/operations/getwikipage.ts +43 -0
- package/src/models/operations/getwikitree.ts +36 -0
- package/src/models/operations/index.ts +10 -0
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listwikiruns.ts +39 -0
- package/src/models/operations/listwikis.ts +54 -0
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/refreshwiki.ts +41 -0
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +1 -1
- package/src/models/operations/searchwiki.ts +42 -0
- package/src/models/operations/streamrunagent.ts +1 -1
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatetool.ts +4 -4
- package/src/models/operations/updatewiki.ts +41 -0
- package/src/models/operations/updatewikipage.ts +41 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/wikis.ts +154 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.wikisUpdatePage = wikisUpdatePage;
|
|
40
|
+
const encodings_js_1 = require("../lib/encodings.js");
|
|
41
|
+
const http_js_1 = require("../lib/http.js");
|
|
42
|
+
const M = __importStar(require("../lib/matchers.js"));
|
|
43
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
44
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
45
|
+
const security_js_1 = require("../lib/security.js");
|
|
46
|
+
const url_js_1 = require("../lib/url.js");
|
|
47
|
+
const components = __importStar(require("../models/components/index.js"));
|
|
48
|
+
const operations = __importStar(require("../models/operations/index.js"));
|
|
49
|
+
const async_js_1 = require("../types/async.js");
|
|
50
|
+
function wikisUpdatePage(client, request, options) {
|
|
51
|
+
return new async_js_1.APIPromise($do(client, request, options));
|
|
52
|
+
}
|
|
53
|
+
async function $do(client, request, options) {
|
|
54
|
+
const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.UpdateWikiPageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55
|
+
if (!parsed.ok) {
|
|
56
|
+
return [parsed, { status: "invalid" }];
|
|
57
|
+
}
|
|
58
|
+
const payload = parsed.value;
|
|
59
|
+
const body = (0, encodings_js_1.encodeJSON)("body", payload.UpdateWikiPageRequest, {
|
|
60
|
+
explode: true,
|
|
61
|
+
});
|
|
62
|
+
const pathParams = {
|
|
63
|
+
wiki_id: (0, encodings_js_1.encodeSimple)("wiki_id", payload.wiki_id, {
|
|
64
|
+
explode: false,
|
|
65
|
+
charEncoding: "percent",
|
|
66
|
+
}),
|
|
67
|
+
};
|
|
68
|
+
const path = (0, url_js_1.pathToFunc)("/v2/wikis/{wiki_id}/page")(pathParams);
|
|
69
|
+
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
70
|
+
"Content-Type": "application/json",
|
|
71
|
+
Accept: "application/json",
|
|
72
|
+
}));
|
|
73
|
+
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
74
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
75
|
+
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
76
|
+
const context = {
|
|
77
|
+
options: client._options,
|
|
78
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
79
|
+
operationID: "UpdateWikiPage",
|
|
80
|
+
oAuth2Scopes: null,
|
|
81
|
+
resolvedSecurity: requestSecurity,
|
|
82
|
+
securitySource: client._options.apiKey,
|
|
83
|
+
retryConfig: options?.retries
|
|
84
|
+
|| client._options.retryConfig
|
|
85
|
+
|| { strategy: "none" },
|
|
86
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
87
|
+
};
|
|
88
|
+
const requestRes = client._createRequest(context, {
|
|
89
|
+
security: requestSecurity,
|
|
90
|
+
method: "PATCH",
|
|
91
|
+
baseURL: options?.serverURL,
|
|
92
|
+
path: path,
|
|
93
|
+
headers: headers,
|
|
94
|
+
body: body,
|
|
95
|
+
userAgent: client._options.userAgent,
|
|
96
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000,
|
|
97
|
+
}, options);
|
|
98
|
+
if (!requestRes.ok) {
|
|
99
|
+
return [requestRes, { status: "invalid" }];
|
|
100
|
+
}
|
|
101
|
+
const req = requestRes.value;
|
|
102
|
+
const doResult = await client._do(req, {
|
|
103
|
+
context,
|
|
104
|
+
isErrorStatusCode: (statusCode) => (0, http_js_1.matchStatusCode)({ status: statusCode }, ["4XX", "5XX"]),
|
|
105
|
+
retryConfig: context.retryConfig,
|
|
106
|
+
retryCodes: context.retryCodes,
|
|
107
|
+
});
|
|
108
|
+
if (!doResult.ok) {
|
|
109
|
+
return [doResult, { status: "request-error", request: req }];
|
|
110
|
+
}
|
|
111
|
+
const response = doResult.value;
|
|
112
|
+
const [result] = await M.match(M.json(200, components.UpdateWikiPageResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
113
|
+
if (!result.ok) {
|
|
114
|
+
return [result, { status: "complete", request: req, response }];
|
|
115
|
+
}
|
|
116
|
+
return [result, { status: "complete", request: req, response }];
|
|
117
|
+
}
|
|
118
|
+
//# sourceMappingURL=wikisUpdatePage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wikisUpdatePage.js","sourceRoot":"","sources":["../src/funcs/wikisUpdatePage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BH,0CAsBC;AA7CD,sDAA+D;AAC/D,4CAAiD;AACjD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAC3C,0EAA4D;AAW5D,0EAA4D;AAC5D,gDAAwD;AAGxD,SAAgB,eAAe,CAC7B,MAAe,EACf,OAAyC,EACzC,OAAwB;IAcxB,OAAO,IAAI,qBAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AACL,CAAC;AAED,KAAK,UAAU,GAAG,CAChB,MAAe,EACf,OAAyC,EACzC,OAAwB;IAiBxB,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,oCAAoC,CAAC,KAAK,CAAC,KAAK,CAAC,EACvE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE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AM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,oCAAoC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAClE,CAAC"}
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.16.0-rc.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
34
|
+
readonly sdkVersion: "4.16.0-rc.5";
|
|
35
|
+
readonly genVersion: "2.938.0";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.16.0-rc.5 2.938.0 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.16.0-rc.
|
|
32
|
-
genVersion: "2.
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
31
|
+
sdkVersion: "4.16.0-rc.5",
|
|
32
|
+
genVersion: "2.938.0",
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.5 2.938.0 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
package/lib/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsCH,oDAeC;AAhDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,mBAAmB;CACX,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/lib/config.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAsCH,oDAeC;AAhDD,qCAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,mBAAmB;CACX,CAAC;AA0BX,SAAgB,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;QACzC,IAAI,SAAS,GAAG,CAAC,IAAI,SAAS,IAAI,kBAAU,CAAC,MAAM,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK,CAAC,wBAAwB,SAAS,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,SAAS,GAAG,kBAAU,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,GAAG,IAAA,mBAAU,EAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAEY,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,KAAK;IACxB,UAAU,EAAE,aAAa;IACzB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,+DAA+D;CAClE,CAAC"}
|
|
@@ -17,7 +17,7 @@ export type CreateApiKeyRequest = {
|
|
|
17
17
|
* Project authorization scope. Defaults to all-projects when omitted.
|
|
18
18
|
*/
|
|
19
19
|
projectScope?: ProjectScope | undefined;
|
|
20
|
-
permissionMode
|
|
20
|
+
permissionMode: PermissionMode;
|
|
21
21
|
/**
|
|
22
22
|
* Per-domain access map. Required when `permission_mode` =
|
|
23
23
|
*
|
|
@@ -59,7 +59,7 @@ export type CreateApiKeyRequest$Outbound = {
|
|
|
59
59
|
name: string;
|
|
60
60
|
owner?: ApiKeyOwner$Outbound | undefined;
|
|
61
61
|
project_scope?: ProjectScope$Outbound | undefined;
|
|
62
|
-
permission_mode
|
|
62
|
+
permission_mode: string;
|
|
63
63
|
access?: {
|
|
64
64
|
[k: string]: string;
|
|
65
65
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createapikeyrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/createapikeyrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,WAAW,EAA8B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EACL,WAAW,EACX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EACT,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,cAAc,
|
|
1
|
+
{"version":3,"file":"createapikeyrequest.d.ts","sourceRoot":"","sources":["../../src/models/components/createapikeyrequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,WAAW,EAA8B,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EACL,WAAW,EACX,oBAAoB,EAErB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EACT,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,cAAc,EAEf,MAAM,qBAAqB,CAAC;AAC7B,O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CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAiBnB,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR"}
|
|
@@ -50,7 +50,7 @@ exports.CreateApiKeyRequest$outboundSchema = z.object({
|
|
|
50
50
|
name: z.string(),
|
|
51
51
|
owner: apikeyowner_js_1.ApiKeyOwner$outboundSchema.optional(),
|
|
52
52
|
projectScope: projectscope_js_1.ProjectScope$outboundSchema.optional(),
|
|
53
|
-
permissionMode: permissionmode_js_1.PermissionMode$outboundSchema
|
|
53
|
+
permissionMode: permissionmode_js_1.PermissionMode$outboundSchema,
|
|
54
54
|
access: z.record(accesslevel_js_1.AccessLevel$outboundSchema).optional(),
|
|
55
55
|
expiresAt: z.date().transform(v => v.toISOString()).optional(),
|
|
56
56
|
mcpAccess: mcpaccess_js_1.McpAccess$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createapikeyrequest.js","sourceRoot":"","sources":["../../src/models/components/createapikeyrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GH,8DAMC;AA/GD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAA2E;AAC3E,qDAI0B;AAC1B,iDAIwB;AACxB,2DAG6B;AAC7B,uDAI2B;AA6D3B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,2CAA0B,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,6CAA2B,CAAC,QAAQ,EAAE;IACpD,cAAc,EAAE,iDAA6B
|
|
1
|
+
{"version":3,"file":"createapikeyrequest.js","sourceRoot":"","sources":["../../src/models/components/createapikeyrequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;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bound } from "./wikisettings.js";
|
|
4
|
+
export type CreateWikiRequest = {
|
|
5
|
+
displayName?: string | undefined;
|
|
6
|
+
repository?: WikiRepository | undefined;
|
|
7
|
+
branch?: string | undefined;
|
|
8
|
+
scmConnectionId?: string | undefined;
|
|
9
|
+
settings?: WikiSettings | undefined;
|
|
10
|
+
importExisting?: boolean | undefined;
|
|
11
|
+
factoryId?: string | undefined;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export type CreateWikiRequest$Outbound = {
|
|
15
|
+
display_name?: string | undefined;
|
|
16
|
+
repository?: WikiRepository$Outbound | undefined;
|
|
17
|
+
branch?: string | undefined;
|
|
18
|
+
scm_connection_id?: string | undefined;
|
|
19
|
+
settings?: WikiSettings$Outbound | undefined;
|
|
20
|
+
import_existing?: boolean | undefined;
|
|
21
|
+
factory_id?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
/** @internal */
|
|
24
|
+
export declare const CreateWikiRequest$outboundSchema: z.ZodType<CreateWikiRequest$Outbound, z.ZodTypeDef, CreateWikiRequest>;
|
|
25
|
+
export declare function createWikiRequestToJSON(createWikiRequest: CreateWikiRequest): string;
|
|
26
|
+
//# sourceMappingURL=createwikirequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwikirequest.d.ts","sourceRoot":"","sources":["../../src/models/components/createwikirequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,iBAAiB,GAAG;IAC9B,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACpC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IACjD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAC7C,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAgBjB,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateWikiRequest$outboundSchema = void 0;
|
|
40
|
+
exports.createWikiRequestToJSON = createWikiRequestToJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const wikirepository_js_1 = require("./wikirepository.js");
|
|
44
|
+
const wikisettings_js_1 = require("./wikisettings.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.CreateWikiRequest$outboundSchema = z.object({
|
|
47
|
+
displayName: z.string().optional(),
|
|
48
|
+
repository: wikirepository_js_1.WikiRepository$outboundSchema.optional(),
|
|
49
|
+
branch: z.string().optional(),
|
|
50
|
+
scmConnectionId: z.string().optional(),
|
|
51
|
+
settings: wikisettings_js_1.WikiSettings$outboundSchema.optional(),
|
|
52
|
+
importExisting: z.boolean().optional(),
|
|
53
|
+
factoryId: z.string().optional(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return (0, primitives_js_1.remap)(v, {
|
|
56
|
+
displayName: "display_name",
|
|
57
|
+
scmConnectionId: "scm_connection_id",
|
|
58
|
+
importExisting: "import_existing",
|
|
59
|
+
factoryId: "factory_id",
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
function createWikiRequestToJSON(createWikiRequest) {
|
|
63
|
+
return JSON.stringify(exports.CreateWikiRequest$outboundSchema.parse(createWikiRequest));
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=createwikirequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwikirequest.js","sourceRoot":"","sources":["../../src/models/components/createwikirequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DH,0DAMC;AA9DD,0CAA4B;AAC5B,2DAA0D;AAC1D,2DAI6B;AAC7B,uDAI2B;AAuB3B,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,iDAA6B,CAAC,QAAQ,EAAE;IACpD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,QAAQ,EAAE,6CAA2B,CAAC,QAAQ,EAAE;IAChD,cAAc,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACtC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,eAAe,EAAE,mBAAmB;QACpC,cAAc,EAAE,iBAAiB;QACjC,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,iBAAoC;IAEpC,OAAO,IAAI,CAAC,SAAS,CACnB,wCAAgC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAC1D,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { Wiki } from "./wiki.js";
|
|
5
|
+
export type CreateWikiResponse = {
|
|
6
|
+
wiki?: Wiki | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const CreateWikiResponse$inboundSchema: z.ZodType<CreateWikiResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function createWikiResponseFromJSON(jsonString: string): SafeParseResult<CreateWikiResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=createwikiresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwikiresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/createwikiresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,IAAI,EAAsB,MAAM,WAAW,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateWikiResponse$inboundSchema = void 0;
|
|
40
|
+
exports.createWikiResponseFromJSON = createWikiResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const wiki_js_1 = require("./wiki.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.CreateWikiResponse$inboundSchema = z.object({
|
|
46
|
+
wiki: wiki_js_1.Wiki$inboundSchema.optional(),
|
|
47
|
+
});
|
|
48
|
+
function createWikiResponseFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateWikiResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateWikiResponse' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=createwikiresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createwikiresponse.js","sourceRoot":"","sources":["../../src/models/components/createwikiresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBH,gEAQC;AA3BD,0CAA4B;AAC5B,qDAAiD;AAGjD,uCAAqD;AAMrD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,4BAAkB,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type DeleteWikiResponse = {};
|
|
5
|
+
/** @internal */
|
|
6
|
+
export declare const DeleteWikiResponse$inboundSchema: z.ZodType<DeleteWikiResponse, z.ZodTypeDef, unknown>;
|
|
7
|
+
export declare function deleteWikiResponseFromJSON(jsonString: string): SafeParseResult<DeleteWikiResponse, SDKValidationError>;
|
|
8
|
+
//# sourceMappingURL=deletewikiresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deletewikiresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/deletewikiresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAEpC,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CACO,CAAC;AAEjB,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DeleteWikiResponse$inboundSchema = void 0;
|
|
40
|
+
exports.deleteWikiResponseFromJSON = deleteWikiResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.DeleteWikiResponse$inboundSchema = z.object({});
|
|
45
|
+
function deleteWikiResponseFromJSON(jsonString) {
|
|
46
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeleteWikiResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteWikiResponse' from JSON`);
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=deletewikiresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deletewikiresponse.js","sourceRoot":"","sources":["../../src/models/components/deletewikiresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBH,gEAQC;AAtBD,0CAA4B;AAC5B,qDAAiD;AAMjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { WikiPage } from "./wikipage.js";
|
|
5
|
+
export type GetWikiPageResponse = {
|
|
6
|
+
page?: WikiPage | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const GetWikiPageResponse$inboundSchema: z.ZodType<GetWikiPageResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function getWikiPageResponseFromJSON(jsonString: string): SafeParseResult<GetWikiPageResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=getwikipageresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getwikipageresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getwikipageresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAA0B,MAAM,eAAe,CAAC;AAEjE,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetWikiPageResponse$inboundSchema = void 0;
|
|
40
|
+
exports.getWikiPageResponseFromJSON = getWikiPageResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const wikipage_js_1 = require("./wikipage.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.GetWikiPageResponse$inboundSchema = z.object({
|
|
46
|
+
page: wikipage_js_1.WikiPage$inboundSchema.optional(),
|
|
47
|
+
});
|
|
48
|
+
function getWikiPageResponseFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetWikiPageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetWikiPageResponse' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=getwikipageresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getwikipageresponse.js","sourceRoot":"","sources":["../../src/models/components/getwikipageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBH,kEAQC;AA3BD,0CAA4B;AAC5B,qDAAiD;AAGjD,+CAAiE;AAMjE,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,oCAAsB,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEH,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { Wiki } from "./wiki.js";
|
|
5
|
+
export type GetWikiResponse = {
|
|
6
|
+
wiki?: Wiki | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const GetWikiResponse$inboundSchema: z.ZodType<GetWikiResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function getWikiResponseFromJSON(jsonString: string): SafeParseResult<GetWikiResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=getwikiresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getwikiresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getwikiresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,IAAI,EAAsB,MAAM,WAAW,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;CACzB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,eAAe,EAAE,kBAAkB,CAAC,CAMtD"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.GetWikiResponse$inboundSchema = void 0;
|
|
40
|
+
exports.getWikiResponseFromJSON = getWikiResponseFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const wiki_js_1 = require("./wiki.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.GetWikiResponse$inboundSchema = z.object({
|
|
46
|
+
wiki: wiki_js_1.Wiki$inboundSchema.optional(),
|
|
47
|
+
});
|
|
48
|
+
function getWikiResponseFromJSON(jsonString) {
|
|
49
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetWikiResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetWikiResponse' from JSON`);
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=getwikiresponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getwikiresponse.js","sourceRoot":"","sources":["../../src/models/components/getwikiresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBH,0DAQC;AA3BD,0CAA4B;AAC5B,qDAAiD;AAGjD,uCAAqD;AAMrD,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,4BAAkB,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,SAAgB,uBAAuB,CACrC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAA6B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzD,6CAA6C,CAC9C,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { WikiTreePage } from "./wikitreepage.js";
|
|
5
|
+
export type GetWikiTreeResponse = {
|
|
6
|
+
pages?: Array<WikiTreePage> | undefined;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const GetWikiTreeResponse$inboundSchema: z.ZodType<GetWikiTreeResponse, z.ZodTypeDef, unknown>;
|
|
10
|
+
export declare function getWikiTreeResponseFromJSON(jsonString: string): SafeParseResult<GetWikiTreeResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=getwikitreeresponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getwikitreeresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/getwikitreeresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,YAAY,EAA8B,MAAM,mBAAmB,CAAC;AAE7E,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|