@oasisomniverse/web5-api 1.0.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/README.md +250 -0
- package/docs/README.md +44 -0
- package/docs/modules/Avatar.md +606 -0
- package/docs/modules/CelestialBodies.md +1051 -0
- package/docs/modules/CelestialBodiesMetaData.md +949 -0
- package/docs/modules/CelestialSpaces.md +1051 -0
- package/docs/modules/Chapters.md +955 -0
- package/docs/modules/Competition.md +594 -0
- package/docs/modules/Cosmic.md +3653 -0
- package/docs/modules/Games.md +2619 -0
- package/docs/modules/GeoHotSpots.md +1027 -0
- package/docs/modules/GeoNFTs.md +1049 -0
- package/docs/modules/Health.md +90 -0
- package/docs/modules/Holons.md +1139 -0
- package/docs/modules/HolonsMetaData.md +949 -0
- package/docs/modules/InventoryItems.md +1071 -0
- package/docs/modules/Libraries.md +1052 -0
- package/docs/modules/Missions.md +1286 -0
- package/docs/modules/NFTs.md +1008 -0
- package/docs/modules/OAPPs.md +1190 -0
- package/docs/modules/Parks.md +1079 -0
- package/docs/modules/Plugins.md +1138 -0
- package/docs/modules/Quests.md +1941 -0
- package/docs/modules/Runtimes.md +1112 -0
- package/docs/modules/STAR.md +178 -0
- package/docs/modules/Templates.md +990 -0
- package/docs/modules/Zomes.md +1049 -0
- package/docs/modules/ZomesMetaData.md +949 -0
- package/index.d.ts +97 -0
- package/index.js +3 -0
- package/index.mjs +4 -0
- package/package.json +117 -0
- package/src/core/httpClient.js +110 -0
- package/src/core/routeHelper.js +85 -0
- package/src/core/tokenStore.js +52 -0
- package/src/core/types.d.ts +18 -0
- package/src/index.js +60 -0
- package/src/modules/Auth.d.ts +15 -0
- package/src/modules/Auth.js +62 -0
- package/src/modules/Avatar.d.ts +45 -0
- package/src/modules/Avatar.js +47 -0
- package/src/modules/CelestialBodies.d.ts +72 -0
- package/src/modules/CelestialBodies.js +65 -0
- package/src/modules/CelestialBodiesMetaData.d.ts +69 -0
- package/src/modules/CelestialBodiesMetaData.js +61 -0
- package/src/modules/CelestialSpaces.d.ts +72 -0
- package/src/modules/CelestialSpaces.js +65 -0
- package/src/modules/Chapters.d.ts +66 -0
- package/src/modules/Chapters.js +61 -0
- package/src/modules/Competition.d.ts +33 -0
- package/src/modules/Competition.js +39 -0
- package/src/modules/Cosmic.d.ts +222 -0
- package/src/modules/Cosmic.js +165 -0
- package/src/modules/Games.d.ts +171 -0
- package/src/modules/Games.js +131 -0
- package/src/modules/GeoHotSpots.d.ts +66 -0
- package/src/modules/GeoHotSpots.js +61 -0
- package/src/modules/GeoNFTs.d.ts +72 -0
- package/src/modules/GeoNFTs.js +65 -0
- package/src/modules/Health.d.ts +12 -0
- package/src/modules/Health.js +25 -0
- package/src/modules/Holons.d.ts +78 -0
- package/src/modules/Holons.js +69 -0
- package/src/modules/HolonsMetaData.d.ts +69 -0
- package/src/modules/HolonsMetaData.js +61 -0
- package/src/modules/InventoryItems.d.ts +69 -0
- package/src/modules/InventoryItems.js +63 -0
- package/src/modules/Libraries.d.ts +72 -0
- package/src/modules/Libraries.js +65 -0
- package/src/modules/Missions.d.ts +87 -0
- package/src/modules/Missions.js +75 -0
- package/src/modules/NFTs.d.ts +69 -0
- package/src/modules/NFTs.js +63 -0
- package/src/modules/OAPPs.d.ts +69 -0
- package/src/modules/OAPPs.js +61 -0
- package/src/modules/Parks.d.ts +72 -0
- package/src/modules/Parks.js +65 -0
- package/src/modules/Plugins.d.ts +78 -0
- package/src/modules/Plugins.js +69 -0
- package/src/modules/Quests.d.ts +129 -0
- package/src/modules/Quests.js +101 -0
- package/src/modules/Runtimes.d.ts +81 -0
- package/src/modules/Runtimes.js +69 -0
- package/src/modules/STAR.d.ts +18 -0
- package/src/modules/STAR.js +29 -0
- package/src/modules/Templates.d.ts +72 -0
- package/src/modules/Templates.js +63 -0
- package/src/modules/Zomes.d.ts +72 -0
- package/src/modules/Zomes.js +65 -0
- package/src/modules/ZomesMetaData.d.ts +69 -0
- package/src/modules/ZomesMetaData.js +61 -0
- package/src/modules/index.js +67 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-modules.js from endpoints.json - do not hand-edit.
|
|
4
|
+
// Regenerate with: node scripts/generate-modules.js
|
|
5
|
+
|
|
6
|
+
const { makeOperation } = require('../core/routeHelper');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generated wrapper for api/quests (source: STAR WebAPI QuestsController.cs).
|
|
10
|
+
* Every method takes a single args object: path-template tokens (e.g. {id})
|
|
11
|
+
* are consumed from it automatically; any remaining keys are sent as the
|
|
12
|
+
* query string (GET/DELETE) or JSON body (POST/PUT).
|
|
13
|
+
*/
|
|
14
|
+
class QuestsModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/quests/{id}/activate (query: version)
|
|
19
|
+
this.activateQuest = makeOperation(http, "api/quests", "POST", "{id}/activate", {"query":["version"]});
|
|
20
|
+
// POST api/quests/{id}/objectives
|
|
21
|
+
this.addQuestObjective = makeOperation(http, "api/quests", "POST", "{id}/objectives");
|
|
22
|
+
// POST api/quests/{id}/subquests
|
|
23
|
+
this.addSubQuest = makeOperation(http, "api/quests", "POST", "{id}/subquests");
|
|
24
|
+
// POST api/quests/{id}/progress
|
|
25
|
+
this.applyQuestProgress = makeOperation(http, "api/quests", "POST", "{id}/progress");
|
|
26
|
+
// GET api/quests/{id}/can-start
|
|
27
|
+
this.canStartQuest = makeOperation(http, "api/quests", "GET", "{id}/can-start");
|
|
28
|
+
// POST api/quests/{id}/clone
|
|
29
|
+
this.cloneQuest = makeOperation(http, "api/quests", "POST", "{id}/clone");
|
|
30
|
+
// POST api/quests/{id}/complete (body: completionNotes)
|
|
31
|
+
this.completeQuest = makeOperation(http, "api/quests", "POST", "{id}/complete", {"bodyParam":"completionNotes"});
|
|
32
|
+
// POST api/quests/{id}/objectives/{objectiveId}/complete
|
|
33
|
+
this.completeQuestObjective = makeOperation(http, "api/quests", "POST", "{id}/objectives/{objectiveId}/complete");
|
|
34
|
+
// POST api/quests/objectives/complete
|
|
35
|
+
this.completeQuestObjectiveByIdentifiers = makeOperation(http, "api/quests", "POST", "objectives/complete");
|
|
36
|
+
// POST api/quests/
|
|
37
|
+
this.createIQuest = makeOperation(http, "api/quests", "POST", "");
|
|
38
|
+
// POST api/quests/create
|
|
39
|
+
this.createQuestWithOptions = makeOperation(http, "api/quests", "POST", "create");
|
|
40
|
+
// POST api/quests/{id}/deactivate (query: version)
|
|
41
|
+
this.deactivateQuest = makeOperation(http, "api/quests", "POST", "{id}/deactivate", {"query":["version"]});
|
|
42
|
+
// DELETE api/quests/{id}
|
|
43
|
+
this.deleteIQuest = makeOperation(http, "api/quests", "DELETE", "{id}");
|
|
44
|
+
// POST api/quests/{id}/download (query: version, downloadPath, reInstall)
|
|
45
|
+
this.downloadQuest = makeOperation(http, "api/quests", "POST", "{id}/download", {"query":["version","downloadPath","reInstall"]});
|
|
46
|
+
// POST api/quests/{id}/edit
|
|
47
|
+
this.editQuest = makeOperation(http, "api/quests", "POST", "{id}/edit");
|
|
48
|
+
// GET api/quests/
|
|
49
|
+
this.getAllIQuests = makeOperation(http, "api/quests", "GET", "");
|
|
50
|
+
// GET api/quests/all-for-avatar
|
|
51
|
+
this.getAllQuestsForAvatar = makeOperation(http, "api/quests", "GET", "all-for-avatar");
|
|
52
|
+
// GET api/quests/all-for-avatar/game
|
|
53
|
+
this.getAllQuestsForAvatarGame = makeOperation(http, "api/quests", "GET", "all-for-avatar/game");
|
|
54
|
+
// GET api/quests/{id}
|
|
55
|
+
this.getIQuest = makeOperation(http, "api/quests", "GET", "{id}");
|
|
56
|
+
// GET api/quests/by-avatar/{avatarId}
|
|
57
|
+
this.getIQuestsByAvatar = makeOperation(http, "api/quests", "GET", "by-avatar/{avatarId}");
|
|
58
|
+
// GET api/quests/{id}/leaderboard (query: limit)
|
|
59
|
+
this.getQuestLeaderboard = makeOperation(http, "api/quests", "GET", "{id}/leaderboard", {"query":["limit"]});
|
|
60
|
+
// GET api/quests/{id}/rewards
|
|
61
|
+
this.getQuestRewards = makeOperation(http, "api/quests", "GET", "{id}/rewards");
|
|
62
|
+
// GET api/quests/stats
|
|
63
|
+
this.getQuestStats = makeOperation(http, "api/quests", "GET", "stats");
|
|
64
|
+
// GET api/quests/{id}/versions
|
|
65
|
+
this.getQuestVersions = makeOperation(http, "api/quests", "GET", "{id}/versions");
|
|
66
|
+
// GET api/quests/by-status/{status}
|
|
67
|
+
this.getQuestsByStatus = makeOperation(http, "api/quests", "GET", "by-status/{status}");
|
|
68
|
+
// GET api/quests/by-status/{status}/game
|
|
69
|
+
this.getQuestsByStatusGame = makeOperation(http, "api/quests", "GET", "by-status/{status}/game");
|
|
70
|
+
// GET api/quests/by-type/{type}
|
|
71
|
+
this.getQuestsByType = makeOperation(http, "api/quests", "GET", "by-type/{type}");
|
|
72
|
+
// GET api/quests/load-all-for-avatar (query: showAllVersions, version)
|
|
73
|
+
this.loadAllQuestsForAvatar = makeOperation(http, "api/quests", "GET", "load-all-for-avatar", {"query":["showAllVersions","version"]});
|
|
74
|
+
// GET api/quests/{id}/load (query: version, holonType)
|
|
75
|
+
this.loadQuest = makeOperation(http, "api/quests", "GET", "{id}/load", {"query":["version","holonType"]});
|
|
76
|
+
// GET api/quests/load-from-path (query: path, holonType)
|
|
77
|
+
this.loadQuestFromPath = makeOperation(http, "api/quests", "GET", "load-from-path", {"query":["path","holonType"]});
|
|
78
|
+
// GET api/quests/load-from-published (query: publishedFilePath)
|
|
79
|
+
this.loadQuestFromPublished = makeOperation(http, "api/quests", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
80
|
+
// GET api/quests/{id}/version/{version}
|
|
81
|
+
this.loadQuestVersion = makeOperation(http, "api/quests", "GET", "{id}/version/{version}");
|
|
82
|
+
// POST api/quests/{id}/publish
|
|
83
|
+
this.publishQuest = makeOperation(http, "api/quests", "POST", "{id}/publish");
|
|
84
|
+
// DELETE api/quests/{parentId}/objectives/{objectiveId}
|
|
85
|
+
this.removeQuestObjective = makeOperation(http, "api/quests", "DELETE", "{parentId}/objectives/{objectiveId}");
|
|
86
|
+
// DELETE api/quests/{parentId}/subquests/{subQuestId}
|
|
87
|
+
this.removeSubQuest = makeOperation(http, "api/quests", "DELETE", "{parentId}/subquests/{subQuestId}");
|
|
88
|
+
// POST api/quests/{id}/republish (query: version)
|
|
89
|
+
this.republishQuest = makeOperation(http, "api/quests", "POST", "{id}/republish", {"query":["version"]});
|
|
90
|
+
// POST api/quests/{id}/progress/reset
|
|
91
|
+
this.resetObjectiveProgress = makeOperation(http, "api/quests", "POST", "{id}/progress/reset");
|
|
92
|
+
// GET api/quests/search (query: query)
|
|
93
|
+
this.searchQuests = makeOperation(http, "api/quests", "GET", "search", {"query":["query"]});
|
|
94
|
+
// POST api/quests/{id}/unpublish (query: version)
|
|
95
|
+
this.unpublishQuest = makeOperation(http, "api/quests", "POST", "{id}/unpublish", {"query":["version"]});
|
|
96
|
+
// PUT api/quests/{id}
|
|
97
|
+
this.updateIQuest = makeOperation(http, "api/quests", "PUT", "{id}");
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
module.exports = { QuestsModule };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit.
|
|
2
|
+
import type { OASISResponse } from '../core/types';
|
|
3
|
+
|
|
4
|
+
export declare class RuntimesModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/runtimes/{id}/activate */
|
|
8
|
+
activateRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/runtimes/{id}/clone */
|
|
11
|
+
cloneRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/runtimes/ */
|
|
14
|
+
createRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/runtimes/create */
|
|
17
|
+
createRuntimeWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/runtimes/{id}/deactivate */
|
|
20
|
+
deactivateRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** DELETE api/runtimes/{id} */
|
|
23
|
+
deleteRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/runtimes/{id}/download */
|
|
26
|
+
downloadRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** PUT api/runtimes/{id}/edit */
|
|
29
|
+
editRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/runtimes/ */
|
|
32
|
+
getAllRuntimes(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/runtimes/{id} */
|
|
35
|
+
getRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/runtimes/by-type/{type} */
|
|
38
|
+
getRuntimesByType(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/runtimes/{id}/status */
|
|
41
|
+
getRuntimeStatus(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/runtimes/{id}/versions */
|
|
44
|
+
getRuntimeVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/runtimes/load-all-for-avatar */
|
|
47
|
+
loadAllRuntimesForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/runtimes/load-from-path (query: path) */
|
|
50
|
+
loadRuntimeFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/runtimes/load-from-published (query: publishedFilePath) */
|
|
53
|
+
loadRuntimeFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** GET api/runtimes/{id}/versions/{version} */
|
|
56
|
+
loadRuntimeVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** POST api/runtimes/{id}/publish */
|
|
59
|
+
publishRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** POST api/runtimes/{id}/republish */
|
|
62
|
+
republishRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** GET api/runtimes/search (query: searchTerm) */
|
|
65
|
+
searchRuntimes(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** POST api/runtimes/search */
|
|
68
|
+
searchRuntimesPost(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
|
|
70
|
+
/** POST api/runtimes/{id}/start */
|
|
71
|
+
startRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
72
|
+
|
|
73
|
+
/** POST api/runtimes/{id}/stop */
|
|
74
|
+
stopRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
75
|
+
|
|
76
|
+
/** POST api/runtimes/{id}/unpublish */
|
|
77
|
+
unpublishRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
78
|
+
|
|
79
|
+
/** PUT api/runtimes/{id} */
|
|
80
|
+
updateRuntime(args?: Record<string, any>): Promise<OASISResponse>;
|
|
81
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-modules.js from endpoints.json - do not hand-edit.
|
|
4
|
+
// Regenerate with: node scripts/generate-modules.js
|
|
5
|
+
|
|
6
|
+
const { makeOperation } = require('../core/routeHelper');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generated wrapper for api/runtimes (source: STAR WebAPI RuntimesController.cs).
|
|
10
|
+
* Every method takes a single args object: path-template tokens (e.g. {id})
|
|
11
|
+
* are consumed from it automatically; any remaining keys are sent as the
|
|
12
|
+
* query string (GET/DELETE) or JSON body (POST/PUT).
|
|
13
|
+
*/
|
|
14
|
+
class RuntimesModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/runtimes/{id}/activate
|
|
19
|
+
this.activateRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/activate");
|
|
20
|
+
// POST api/runtimes/{id}/clone
|
|
21
|
+
this.cloneRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/clone");
|
|
22
|
+
// POST api/runtimes/
|
|
23
|
+
this.createRuntime = makeOperation(http, "api/runtimes", "POST", "");
|
|
24
|
+
// POST api/runtimes/create
|
|
25
|
+
this.createRuntimeWithOptions = makeOperation(http, "api/runtimes", "POST", "create");
|
|
26
|
+
// POST api/runtimes/{id}/deactivate
|
|
27
|
+
this.deactivateRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/deactivate");
|
|
28
|
+
// DELETE api/runtimes/{id}
|
|
29
|
+
this.deleteRuntime = makeOperation(http, "api/runtimes", "DELETE", "{id}");
|
|
30
|
+
// POST api/runtimes/{id}/download
|
|
31
|
+
this.downloadRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/download");
|
|
32
|
+
// PUT api/runtimes/{id}/edit
|
|
33
|
+
this.editRuntime = makeOperation(http, "api/runtimes", "PUT", "{id}/edit");
|
|
34
|
+
// GET api/runtimes/
|
|
35
|
+
this.getAllRuntimes = makeOperation(http, "api/runtimes", "GET", "");
|
|
36
|
+
// GET api/runtimes/{id}
|
|
37
|
+
this.getRuntime = makeOperation(http, "api/runtimes", "GET", "{id}");
|
|
38
|
+
// GET api/runtimes/{id}/status
|
|
39
|
+
this.getRuntimeStatus = makeOperation(http, "api/runtimes", "GET", "{id}/status");
|
|
40
|
+
// GET api/runtimes/{id}/versions
|
|
41
|
+
this.getRuntimeVersions = makeOperation(http, "api/runtimes", "GET", "{id}/versions");
|
|
42
|
+
// GET api/runtimes/by-type/{type}
|
|
43
|
+
this.getRuntimesByType = makeOperation(http, "api/runtimes", "GET", "by-type/{type}");
|
|
44
|
+
// GET api/runtimes/load-all-for-avatar
|
|
45
|
+
this.loadAllRuntimesForAvatar = makeOperation(http, "api/runtimes", "GET", "load-all-for-avatar");
|
|
46
|
+
// GET api/runtimes/load-from-path (query: path)
|
|
47
|
+
this.loadRuntimeFromPath = makeOperation(http, "api/runtimes", "GET", "load-from-path", {"query":["path"]});
|
|
48
|
+
// GET api/runtimes/load-from-published (query: publishedFilePath)
|
|
49
|
+
this.loadRuntimeFromPublished = makeOperation(http, "api/runtimes", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
50
|
+
// GET api/runtimes/{id}/versions/{version}
|
|
51
|
+
this.loadRuntimeVersion = makeOperation(http, "api/runtimes", "GET", "{id}/versions/{version}");
|
|
52
|
+
// POST api/runtimes/{id}/publish
|
|
53
|
+
this.publishRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/publish");
|
|
54
|
+
// POST api/runtimes/{id}/republish
|
|
55
|
+
this.republishRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/republish");
|
|
56
|
+
// GET api/runtimes/search (query: searchTerm)
|
|
57
|
+
this.searchRuntimes = makeOperation(http, "api/runtimes", "GET", "search", {"query":["searchTerm"]});
|
|
58
|
+
// POST api/runtimes/{id}/start
|
|
59
|
+
this.startRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/start");
|
|
60
|
+
// POST api/runtimes/{id}/stop
|
|
61
|
+
this.stopRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/stop");
|
|
62
|
+
// POST api/runtimes/{id}/unpublish
|
|
63
|
+
this.unpublishRuntime = makeOperation(http, "api/runtimes", "POST", "{id}/unpublish");
|
|
64
|
+
// PUT api/runtimes/{id}
|
|
65
|
+
this.updateRuntime = makeOperation(http, "api/runtimes", "PUT", "{id}");
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
module.exports = { RuntimesModule };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit.
|
|
2
|
+
import type { OASISResponse } from '../core/types';
|
|
3
|
+
|
|
4
|
+
export declare class STARModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/sTAR/beam-in */
|
|
8
|
+
beamIn(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/sTAR/extinguish */
|
|
11
|
+
extinguishSTAR(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** GET api/sTAR/status */
|
|
14
|
+
getStatus(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/sTAR/ignite */
|
|
17
|
+
igniteSTAR(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-modules.js from endpoints.json - do not hand-edit.
|
|
4
|
+
// Regenerate with: node scripts/generate-modules.js
|
|
5
|
+
|
|
6
|
+
const { makeOperation } = require('../core/routeHelper');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generated wrapper for api/sTAR (source: STAR WebAPI STARController.cs).
|
|
10
|
+
* Every method takes a single args object: path-template tokens (e.g. {id})
|
|
11
|
+
* are consumed from it automatically; any remaining keys are sent as the
|
|
12
|
+
* query string (GET/DELETE) or JSON body (POST/PUT).
|
|
13
|
+
*/
|
|
14
|
+
class STARModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/sTAR/beam-in
|
|
19
|
+
this.beamIn = makeOperation(http, "api/sTAR", "POST", "beam-in");
|
|
20
|
+
// POST api/sTAR/extinguish
|
|
21
|
+
this.extinguishSTAR = makeOperation(http, "api/sTAR", "POST", "extinguish");
|
|
22
|
+
// GET api/sTAR/status
|
|
23
|
+
this.getStatus = makeOperation(http, "api/sTAR", "GET", "status");
|
|
24
|
+
// POST api/sTAR/ignite
|
|
25
|
+
this.igniteSTAR = makeOperation(http, "api/sTAR", "POST", "ignite");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
module.exports = { STARModule };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit.
|
|
2
|
+
import type { OASISResponse } from '../core/types';
|
|
3
|
+
|
|
4
|
+
export declare class TemplatesModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/templates/{id}/activate */
|
|
8
|
+
activateTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/templates/{id}/clone */
|
|
11
|
+
cloneTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/templates/ */
|
|
14
|
+
createTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/templates/create */
|
|
17
|
+
createTemplateWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/templates/{id}/deactivate */
|
|
20
|
+
deactivateTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** DELETE api/templates/{id} */
|
|
23
|
+
deleteTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/templates/{id}/download */
|
|
26
|
+
downloadTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** PUT api/templates/{id}/edit */
|
|
29
|
+
editTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/templates/ */
|
|
32
|
+
getAllTemplates(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/templates/{id} */
|
|
35
|
+
getTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/templates/by-type/{type} */
|
|
38
|
+
getTemplatesByType(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/templates/{id}/versions */
|
|
41
|
+
getTemplateVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/templates/load-all-for-avatar */
|
|
44
|
+
loadAllTemplatesForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/templates/load-from-path (query: path) */
|
|
47
|
+
loadTemplateFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/templates/load-from-published (query: publishedFilePath) */
|
|
50
|
+
loadTemplateFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/templates/{id}/versions/{version} */
|
|
53
|
+
loadTemplateVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** POST api/templates/{id}/publish */
|
|
56
|
+
publishTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** POST api/templates/{id}/republish */
|
|
59
|
+
republishTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** GET api/templates/search (query: searchTerm) */
|
|
62
|
+
searchTemplates(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** POST api/templates/search */
|
|
65
|
+
searchTemplatesPost(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** POST api/templates/{id}/unpublish */
|
|
68
|
+
unpublishTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
|
|
70
|
+
/** PUT api/templates/{id} */
|
|
71
|
+
updateTemplate(args?: Record<string, any>): Promise<OASISResponse>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-modules.js from endpoints.json - do not hand-edit.
|
|
4
|
+
// Regenerate with: node scripts/generate-modules.js
|
|
5
|
+
|
|
6
|
+
const { makeOperation } = require('../core/routeHelper');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generated wrapper for api/templates (source: STAR WebAPI TemplatesController.cs).
|
|
10
|
+
* Every method takes a single args object: path-template tokens (e.g. {id})
|
|
11
|
+
* are consumed from it automatically; any remaining keys are sent as the
|
|
12
|
+
* query string (GET/DELETE) or JSON body (POST/PUT).
|
|
13
|
+
*/
|
|
14
|
+
class TemplatesModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/templates/{id}/activate
|
|
19
|
+
this.activateTemplate = makeOperation(http, "api/templates", "POST", "{id}/activate");
|
|
20
|
+
// POST api/templates/{id}/clone
|
|
21
|
+
this.cloneTemplate = makeOperation(http, "api/templates", "POST", "{id}/clone");
|
|
22
|
+
// POST api/templates/
|
|
23
|
+
this.createTemplate = makeOperation(http, "api/templates", "POST", "");
|
|
24
|
+
// POST api/templates/create
|
|
25
|
+
this.createTemplateWithOptions = makeOperation(http, "api/templates", "POST", "create");
|
|
26
|
+
// POST api/templates/{id}/deactivate
|
|
27
|
+
this.deactivateTemplate = makeOperation(http, "api/templates", "POST", "{id}/deactivate");
|
|
28
|
+
// DELETE api/templates/{id}
|
|
29
|
+
this.deleteTemplate = makeOperation(http, "api/templates", "DELETE", "{id}");
|
|
30
|
+
// POST api/templates/{id}/download
|
|
31
|
+
this.downloadTemplate = makeOperation(http, "api/templates", "POST", "{id}/download");
|
|
32
|
+
// PUT api/templates/{id}/edit
|
|
33
|
+
this.editTemplate = makeOperation(http, "api/templates", "PUT", "{id}/edit");
|
|
34
|
+
// GET api/templates/
|
|
35
|
+
this.getAllTemplates = makeOperation(http, "api/templates", "GET", "");
|
|
36
|
+
// GET api/templates/{id}
|
|
37
|
+
this.getTemplate = makeOperation(http, "api/templates", "GET", "{id}");
|
|
38
|
+
// GET api/templates/{id}/versions
|
|
39
|
+
this.getTemplateVersions = makeOperation(http, "api/templates", "GET", "{id}/versions");
|
|
40
|
+
// GET api/templates/by-type/{type}
|
|
41
|
+
this.getTemplatesByType = makeOperation(http, "api/templates", "GET", "by-type/{type}");
|
|
42
|
+
// GET api/templates/load-all-for-avatar
|
|
43
|
+
this.loadAllTemplatesForAvatar = makeOperation(http, "api/templates", "GET", "load-all-for-avatar");
|
|
44
|
+
// GET api/templates/load-from-path (query: path)
|
|
45
|
+
this.loadTemplateFromPath = makeOperation(http, "api/templates", "GET", "load-from-path", {"query":["path"]});
|
|
46
|
+
// GET api/templates/load-from-published (query: publishedFilePath)
|
|
47
|
+
this.loadTemplateFromPublished = makeOperation(http, "api/templates", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
48
|
+
// GET api/templates/{id}/versions/{version}
|
|
49
|
+
this.loadTemplateVersion = makeOperation(http, "api/templates", "GET", "{id}/versions/{version}");
|
|
50
|
+
// POST api/templates/{id}/publish
|
|
51
|
+
this.publishTemplate = makeOperation(http, "api/templates", "POST", "{id}/publish");
|
|
52
|
+
// POST api/templates/{id}/republish
|
|
53
|
+
this.republishTemplate = makeOperation(http, "api/templates", "POST", "{id}/republish");
|
|
54
|
+
// GET api/templates/search (query: searchTerm)
|
|
55
|
+
this.searchTemplates = makeOperation(http, "api/templates", "GET", "search", {"query":["searchTerm"]});
|
|
56
|
+
// POST api/templates/{id}/unpublish
|
|
57
|
+
this.unpublishTemplate = makeOperation(http, "api/templates", "POST", "{id}/unpublish");
|
|
58
|
+
// PUT api/templates/{id}
|
|
59
|
+
this.updateTemplate = makeOperation(http, "api/templates", "PUT", "{id}");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
module.exports = { TemplatesModule };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit.
|
|
2
|
+
import type { OASISResponse } from '../core/types';
|
|
3
|
+
|
|
4
|
+
export declare class ZomesModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/zomes/{id}/activate (query: version) */
|
|
8
|
+
activateZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/zomes/ */
|
|
11
|
+
createZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/zomes/create */
|
|
14
|
+
createZomeWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/zomes/{id}/deactivate (query: version) */
|
|
17
|
+
deactivateZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** DELETE api/zomes/{id} */
|
|
20
|
+
deleteZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** POST api/zomes/{id}/download (query: version, downloadPath, reInstall) */
|
|
23
|
+
downloadZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/zomes/{id}/edit */
|
|
26
|
+
editZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** GET api/zomes/ */
|
|
29
|
+
getAllZomes(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/zomes/{id} */
|
|
32
|
+
getZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/zomes/by-type/{type} */
|
|
35
|
+
getZomesByType(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/zomes/in-space/{spaceId} */
|
|
38
|
+
getZomesInSpace(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/zomes/{id}/versions */
|
|
41
|
+
getZomeVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/zomes/load-all-for-avatar (query: showAllVersions, version) */
|
|
44
|
+
loadAllZomesForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/zomes/{id}/load (query: version, holonType) */
|
|
47
|
+
loadZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/zomes/load-from-path (query: path, holonType) */
|
|
50
|
+
loadZomeFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/zomes/load-from-published (query: publishedFilePath) */
|
|
53
|
+
loadZomeFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** GET api/zomes/{id}/version/{version} */
|
|
56
|
+
loadZomeVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** POST api/zomes/{id}/publish */
|
|
59
|
+
publishZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** POST api/zomes/{id}/republish (query: version) */
|
|
62
|
+
republishZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** GET api/zomes/search (query: searchTerm, searchOnlyForCurrentAvatar, showAllVersions, version) */
|
|
65
|
+
searchZomes(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** POST api/zomes/{id}/unpublish (query: version) */
|
|
68
|
+
unpublishZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
|
|
70
|
+
/** PUT api/zomes/{id} */
|
|
71
|
+
updateZome(args?: Record<string, any>): Promise<OASISResponse>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// AUTO-GENERATED by scripts/generate-modules.js from endpoints.json - do not hand-edit.
|
|
4
|
+
// Regenerate with: node scripts/generate-modules.js
|
|
5
|
+
|
|
6
|
+
const { makeOperation } = require('../core/routeHelper');
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Generated wrapper for api/zomes (source: STAR WebAPI ZomesController.cs).
|
|
10
|
+
* Every method takes a single args object: path-template tokens (e.g. {id})
|
|
11
|
+
* are consumed from it automatically; any remaining keys are sent as the
|
|
12
|
+
* query string (GET/DELETE) or JSON body (POST/PUT).
|
|
13
|
+
*/
|
|
14
|
+
class ZomesModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/zomes/{id}/activate (query: version)
|
|
19
|
+
this.activateZome = makeOperation(http, "api/zomes", "POST", "{id}/activate", {"query":["version"]});
|
|
20
|
+
// POST api/zomes/
|
|
21
|
+
this.createZome = makeOperation(http, "api/zomes", "POST", "");
|
|
22
|
+
// POST api/zomes/create
|
|
23
|
+
this.createZomeWithOptions = makeOperation(http, "api/zomes", "POST", "create");
|
|
24
|
+
// POST api/zomes/{id}/deactivate (query: version)
|
|
25
|
+
this.deactivateZome = makeOperation(http, "api/zomes", "POST", "{id}/deactivate", {"query":["version"]});
|
|
26
|
+
// DELETE api/zomes/{id}
|
|
27
|
+
this.deleteZome = makeOperation(http, "api/zomes", "DELETE", "{id}");
|
|
28
|
+
// POST api/zomes/{id}/download (query: version, downloadPath, reInstall)
|
|
29
|
+
this.downloadZome = makeOperation(http, "api/zomes", "POST", "{id}/download", {"query":["version","downloadPath","reInstall"]});
|
|
30
|
+
// POST api/zomes/{id}/edit
|
|
31
|
+
this.editZome = makeOperation(http, "api/zomes", "POST", "{id}/edit");
|
|
32
|
+
// GET api/zomes/
|
|
33
|
+
this.getAllZomes = makeOperation(http, "api/zomes", "GET", "");
|
|
34
|
+
// GET api/zomes/{id}
|
|
35
|
+
this.getZome = makeOperation(http, "api/zomes", "GET", "{id}");
|
|
36
|
+
// GET api/zomes/{id}/versions
|
|
37
|
+
this.getZomeVersions = makeOperation(http, "api/zomes", "GET", "{id}/versions");
|
|
38
|
+
// GET api/zomes/by-type/{type}
|
|
39
|
+
this.getZomesByType = makeOperation(http, "api/zomes", "GET", "by-type/{type}");
|
|
40
|
+
// GET api/zomes/in-space/{spaceId}
|
|
41
|
+
this.getZomesInSpace = makeOperation(http, "api/zomes", "GET", "in-space/{spaceId}");
|
|
42
|
+
// GET api/zomes/load-all-for-avatar (query: showAllVersions, version)
|
|
43
|
+
this.loadAllZomesForAvatar = makeOperation(http, "api/zomes", "GET", "load-all-for-avatar", {"query":["showAllVersions","version"]});
|
|
44
|
+
// GET api/zomes/{id}/load (query: version, holonType)
|
|
45
|
+
this.loadZome = makeOperation(http, "api/zomes", "GET", "{id}/load", {"query":["version","holonType"]});
|
|
46
|
+
// GET api/zomes/load-from-path (query: path, holonType)
|
|
47
|
+
this.loadZomeFromPath = makeOperation(http, "api/zomes", "GET", "load-from-path", {"query":["path","holonType"]});
|
|
48
|
+
// GET api/zomes/load-from-published (query: publishedFilePath)
|
|
49
|
+
this.loadZomeFromPublished = makeOperation(http, "api/zomes", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
50
|
+
// GET api/zomes/{id}/version/{version}
|
|
51
|
+
this.loadZomeVersion = makeOperation(http, "api/zomes", "GET", "{id}/version/{version}");
|
|
52
|
+
// POST api/zomes/{id}/publish
|
|
53
|
+
this.publishZome = makeOperation(http, "api/zomes", "POST", "{id}/publish");
|
|
54
|
+
// POST api/zomes/{id}/republish (query: version)
|
|
55
|
+
this.republishZome = makeOperation(http, "api/zomes", "POST", "{id}/republish", {"query":["version"]});
|
|
56
|
+
// GET api/zomes/search (query: searchTerm, searchOnlyForCurrentAvatar, showAllVersions, version)
|
|
57
|
+
this.searchZomes = makeOperation(http, "api/zomes", "GET", "search", {"query":["searchTerm","searchOnlyForCurrentAvatar","showAllVersions","version"]});
|
|
58
|
+
// POST api/zomes/{id}/unpublish (query: version)
|
|
59
|
+
this.unpublishZome = makeOperation(http, "api/zomes", "POST", "{id}/unpublish", {"query":["version"]});
|
|
60
|
+
// PUT api/zomes/{id}
|
|
61
|
+
this.updateZome = makeOperation(http, "api/zomes", "PUT", "{id}");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
module.exports = { ZomesModule };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit.
|
|
2
|
+
import type { OASISResponse } from '../core/types';
|
|
3
|
+
|
|
4
|
+
export declare class ZomesMetaDataModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/zomesMetaData/{id}/activate (query: version) */
|
|
8
|
+
activateZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/zomesMetaData/{id}/clone */
|
|
11
|
+
cloneZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/zomesMetaData/ */
|
|
14
|
+
createZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/zomesMetaData/create */
|
|
17
|
+
createZomeMetaDataWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/zomesMetaData/{id}/deactivate (query: version) */
|
|
20
|
+
deactivateZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** DELETE api/zomesMetaData/{id} */
|
|
23
|
+
deleteZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/zomesMetaData/{id}/download */
|
|
26
|
+
downloadZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** PUT api/zomesMetaData/{id}/edit */
|
|
29
|
+
editZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/zomesMetaData/ */
|
|
32
|
+
getAllZomesMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/zomesMetaData/{id} */
|
|
35
|
+
getZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/zomesMetaData/{id}/versions */
|
|
38
|
+
getZomeMetaDataVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/zomesMetaData/load-all-for-avatar */
|
|
41
|
+
loadAllZomeMetaDataForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/zomesMetaData/load-from-path (query: path) */
|
|
44
|
+
loadZomeMetaDataFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/zomesMetaData/load-from-published (query: publishedFilePath) */
|
|
47
|
+
loadZomeMetaDataFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/zomesMetaData/{id}/versions/{version} */
|
|
50
|
+
loadZomeMetaDataVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** POST api/zomesMetaData/{id}/publish */
|
|
53
|
+
publishZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** POST api/zomesMetaData/{id}/republish (query: version) */
|
|
56
|
+
republishZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** GET api/zomesMetaData/search (query: searchTerm, showAllVersions, version) */
|
|
59
|
+
searchZomesMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** POST api/zomesMetaData/search */
|
|
62
|
+
searchZomesMetaDataPost(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** POST api/zomesMetaData/{id}/unpublish (query: version) */
|
|
65
|
+
unpublishZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** PUT api/zomesMetaData/{id} */
|
|
68
|
+
updateZomeMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
}
|