@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,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 HolonsMetaDataModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/holonsMetaData/{id}/activate (query: version) */
|
|
8
|
+
activateHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/holonsMetaData/{id}/clone */
|
|
11
|
+
cloneHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/holonsMetaData/ */
|
|
14
|
+
createHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/holonsMetaData/create */
|
|
17
|
+
createHolonMetaDataWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/holonsMetaData/{id}/deactivate (query: version) */
|
|
20
|
+
deactivateHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** DELETE api/holonsMetaData/{id} */
|
|
23
|
+
deleteHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/holonsMetaData/{id}/download */
|
|
26
|
+
downloadHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** PUT api/holonsMetaData/{id}/edit */
|
|
29
|
+
editHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/holonsMetaData/ */
|
|
32
|
+
getAllHolonsMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/holonsMetaData/{id} */
|
|
35
|
+
getHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/holonsMetaData/{id}/versions */
|
|
38
|
+
getHolonMetaDataVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/holonsMetaData/load-all-for-avatar */
|
|
41
|
+
loadAllHolonMetaDataForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/holonsMetaData/load-from-path (query: path) */
|
|
44
|
+
loadHolonMetaDataFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/holonsMetaData/load-from-published (query: publishedFilePath) */
|
|
47
|
+
loadHolonMetaDataFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/holonsMetaData/{id}/versions/{version} */
|
|
50
|
+
loadHolonMetaDataVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** POST api/holonsMetaData/{id}/publish */
|
|
53
|
+
publishHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** POST api/holonsMetaData/{id}/republish (query: version) */
|
|
56
|
+
republishHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** GET api/holonsMetaData/search (query: searchTerm, showAllVersions, version) */
|
|
59
|
+
searchHolonsMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** POST api/holonsMetaData/search */
|
|
62
|
+
searchHolonsMetaDataPost(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** POST api/holonsMetaData/{id}/unpublish (query: version) */
|
|
65
|
+
unpublishHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** PUT api/holonsMetaData/{id} */
|
|
68
|
+
updateHolonMetaData(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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/holonsMetaData (source: STAR WebAPI HolonsMetaDataController.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 HolonsMetaDataModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/holonsMetaData/{id}/activate (query: version)
|
|
19
|
+
this.activateHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/activate", {"query":["version"]});
|
|
20
|
+
// POST api/holonsMetaData/{id}/clone
|
|
21
|
+
this.cloneHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/clone");
|
|
22
|
+
// POST api/holonsMetaData/
|
|
23
|
+
this.createHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "");
|
|
24
|
+
// POST api/holonsMetaData/create
|
|
25
|
+
this.createHolonMetaDataWithOptions = makeOperation(http, "api/holonsMetaData", "POST", "create");
|
|
26
|
+
// POST api/holonsMetaData/{id}/deactivate (query: version)
|
|
27
|
+
this.deactivateHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/deactivate", {"query":["version"]});
|
|
28
|
+
// DELETE api/holonsMetaData/{id}
|
|
29
|
+
this.deleteHolonMetaData = makeOperation(http, "api/holonsMetaData", "DELETE", "{id}");
|
|
30
|
+
// POST api/holonsMetaData/{id}/download
|
|
31
|
+
this.downloadHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/download");
|
|
32
|
+
// PUT api/holonsMetaData/{id}/edit
|
|
33
|
+
this.editHolonMetaData = makeOperation(http, "api/holonsMetaData", "PUT", "{id}/edit");
|
|
34
|
+
// GET api/holonsMetaData/
|
|
35
|
+
this.getAllHolonsMetaData = makeOperation(http, "api/holonsMetaData", "GET", "");
|
|
36
|
+
// GET api/holonsMetaData/{id}
|
|
37
|
+
this.getHolonMetaData = makeOperation(http, "api/holonsMetaData", "GET", "{id}");
|
|
38
|
+
// GET api/holonsMetaData/{id}/versions
|
|
39
|
+
this.getHolonMetaDataVersions = makeOperation(http, "api/holonsMetaData", "GET", "{id}/versions");
|
|
40
|
+
// GET api/holonsMetaData/load-all-for-avatar
|
|
41
|
+
this.loadAllHolonMetaDataForAvatar = makeOperation(http, "api/holonsMetaData", "GET", "load-all-for-avatar");
|
|
42
|
+
// GET api/holonsMetaData/load-from-path (query: path)
|
|
43
|
+
this.loadHolonMetaDataFromPath = makeOperation(http, "api/holonsMetaData", "GET", "load-from-path", {"query":["path"]});
|
|
44
|
+
// GET api/holonsMetaData/load-from-published (query: publishedFilePath)
|
|
45
|
+
this.loadHolonMetaDataFromPublished = makeOperation(http, "api/holonsMetaData", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
46
|
+
// GET api/holonsMetaData/{id}/versions/{version}
|
|
47
|
+
this.loadHolonMetaDataVersion = makeOperation(http, "api/holonsMetaData", "GET", "{id}/versions/{version}");
|
|
48
|
+
// POST api/holonsMetaData/{id}/publish
|
|
49
|
+
this.publishHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/publish");
|
|
50
|
+
// POST api/holonsMetaData/{id}/republish (query: version)
|
|
51
|
+
this.republishHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/republish", {"query":["version"]});
|
|
52
|
+
// POST api/holonsMetaData/search
|
|
53
|
+
this.searchHolonsMetaData = makeOperation(http, "api/holonsMetaData", "POST", "search");
|
|
54
|
+
// POST api/holonsMetaData/{id}/unpublish (query: version)
|
|
55
|
+
this.unpublishHolonMetaData = makeOperation(http, "api/holonsMetaData", "POST", "{id}/unpublish", {"query":["version"]});
|
|
56
|
+
// PUT api/holonsMetaData/{id}
|
|
57
|
+
this.updateHolonMetaData = makeOperation(http, "api/holonsMetaData", "PUT", "{id}");
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
module.exports = { HolonsMetaDataModule };
|
|
@@ -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 InventoryItemsModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/inventoryItems/{id}/activate (query: version) */
|
|
8
|
+
activateInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/inventoryItems/ */
|
|
11
|
+
createInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/inventoryItems/create */
|
|
14
|
+
createInventoryItemWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/inventoryItems/{id}/deactivate (query: version) */
|
|
17
|
+
deactivateInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** DELETE api/inventoryItems/{id} */
|
|
20
|
+
deleteInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** POST api/inventoryItems/{id}/download (query: version, downloadPath, reInstall) */
|
|
23
|
+
downloadInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/inventoryItems/{id}/edit */
|
|
26
|
+
editInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** GET api/inventoryItems/ */
|
|
29
|
+
getAllInventoryItems(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/inventoryItems/{id} */
|
|
32
|
+
getInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/inventoryItems/by-avatar/{avatarId} */
|
|
35
|
+
getInventoryItemsByAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/inventoryItems/{id}/versions */
|
|
38
|
+
getInventoryItemVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/inventoryItems/load-all-for-avatar (query: showAllVersions, version) */
|
|
41
|
+
loadAllInventoryItemsForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/inventoryItems/{id}/load (query: version, holonType) */
|
|
44
|
+
loadInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/inventoryItems/load-from-path (query: path, holonType) */
|
|
47
|
+
loadInventoryItemFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/inventoryItems/load-from-published (query: publishedFilePath) */
|
|
50
|
+
loadInventoryItemFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/inventoryItems/{id}/version/{version} */
|
|
53
|
+
loadInventoryItemVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** POST api/inventoryItems/{id}/publish */
|
|
56
|
+
publishInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** POST api/inventoryItems/{id}/republish (query: version) */
|
|
59
|
+
republishInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** POST api/inventoryItems/search */
|
|
62
|
+
searchInventoryItems(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** POST api/inventoryItems/{id}/unpublish (query: version) */
|
|
65
|
+
unpublishInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** PUT api/inventoryItems/{id} */
|
|
68
|
+
updateInventoryItem(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
}
|
|
@@ -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/inventoryItems (source: STAR WebAPI InventoryItemsController.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 InventoryItemsModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/inventoryItems/{id}/activate (query: version)
|
|
19
|
+
this.activateInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/activate", {"query":["version"]});
|
|
20
|
+
// POST api/inventoryItems/
|
|
21
|
+
this.createInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "");
|
|
22
|
+
// POST api/inventoryItems/create
|
|
23
|
+
this.createInventoryItemWithOptions = makeOperation(http, "api/inventoryItems", "POST", "create");
|
|
24
|
+
// POST api/inventoryItems/{id}/deactivate (query: version)
|
|
25
|
+
this.deactivateInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/deactivate", {"query":["version"]});
|
|
26
|
+
// DELETE api/inventoryItems/{id}
|
|
27
|
+
this.deleteInventoryItem = makeOperation(http, "api/inventoryItems", "DELETE", "{id}");
|
|
28
|
+
// POST api/inventoryItems/{id}/download (query: version, downloadPath, reInstall)
|
|
29
|
+
this.downloadInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/download", {"query":["version","downloadPath","reInstall"]});
|
|
30
|
+
// POST api/inventoryItems/{id}/edit
|
|
31
|
+
this.editInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/edit");
|
|
32
|
+
// GET api/inventoryItems/
|
|
33
|
+
this.getAllInventoryItems = makeOperation(http, "api/inventoryItems", "GET", "");
|
|
34
|
+
// GET api/inventoryItems/{id}
|
|
35
|
+
this.getInventoryItem = makeOperation(http, "api/inventoryItems", "GET", "{id}");
|
|
36
|
+
// GET api/inventoryItems/{id}/versions
|
|
37
|
+
this.getInventoryItemVersions = makeOperation(http, "api/inventoryItems", "GET", "{id}/versions");
|
|
38
|
+
// GET api/inventoryItems/by-avatar/{avatarId}
|
|
39
|
+
this.getInventoryItemsByAvatar = makeOperation(http, "api/inventoryItems", "GET", "by-avatar/{avatarId}");
|
|
40
|
+
// GET api/inventoryItems/load-all-for-avatar (query: showAllVersions, version)
|
|
41
|
+
this.loadAllInventoryItemsForAvatar = makeOperation(http, "api/inventoryItems", "GET", "load-all-for-avatar", {"query":["showAllVersions","version"]});
|
|
42
|
+
// GET api/inventoryItems/{id}/load (query: version, holonType)
|
|
43
|
+
this.loadInventoryItem = makeOperation(http, "api/inventoryItems", "GET", "{id}/load", {"query":["version","holonType"]});
|
|
44
|
+
// GET api/inventoryItems/load-from-path (query: path, holonType)
|
|
45
|
+
this.loadInventoryItemFromPath = makeOperation(http, "api/inventoryItems", "GET", "load-from-path", {"query":["path","holonType"]});
|
|
46
|
+
// GET api/inventoryItems/load-from-published (query: publishedFilePath)
|
|
47
|
+
this.loadInventoryItemFromPublished = makeOperation(http, "api/inventoryItems", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
48
|
+
// GET api/inventoryItems/{id}/version/{version}
|
|
49
|
+
this.loadInventoryItemVersion = makeOperation(http, "api/inventoryItems", "GET", "{id}/version/{version}");
|
|
50
|
+
// POST api/inventoryItems/{id}/publish
|
|
51
|
+
this.publishInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/publish");
|
|
52
|
+
// POST api/inventoryItems/{id}/republish (query: version)
|
|
53
|
+
this.republishInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/republish", {"query":["version"]});
|
|
54
|
+
// POST api/inventoryItems/search
|
|
55
|
+
this.searchInventoryItems = makeOperation(http, "api/inventoryItems", "POST", "search");
|
|
56
|
+
// POST api/inventoryItems/{id}/unpublish (query: version)
|
|
57
|
+
this.unpublishInventoryItem = makeOperation(http, "api/inventoryItems", "POST", "{id}/unpublish", {"query":["version"]});
|
|
58
|
+
// PUT api/inventoryItems/{id}
|
|
59
|
+
this.updateInventoryItem = makeOperation(http, "api/inventoryItems", "PUT", "{id}");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
module.exports = { InventoryItemsModule };
|
|
@@ -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 LibrariesModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/libraries/{id}/activate (query: version) */
|
|
8
|
+
activateLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/libraries/{id}/clone */
|
|
11
|
+
cloneLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/libraries/ */
|
|
14
|
+
createLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/libraries/create */
|
|
17
|
+
createLibraryWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/libraries/{id}/deactivate (query: version) */
|
|
20
|
+
deactivateLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** DELETE api/libraries/{id} */
|
|
23
|
+
deleteLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/libraries/{id}/download (query: version, downloadPath, reInstall) */
|
|
26
|
+
downloadLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** POST api/libraries/{id}/edit */
|
|
29
|
+
editLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/libraries/ */
|
|
32
|
+
getAllLibraries(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/libraries/by-category/{category} */
|
|
35
|
+
getLibrariesByCategory(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/libraries/{id} */
|
|
38
|
+
getLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/libraries/{id}/versions */
|
|
41
|
+
getLibraryVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/libraries/load-all-for-avatar (query: showAllVersions, version) */
|
|
44
|
+
loadAllLibrariesForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/libraries/{id}/load (query: version, holonType) */
|
|
47
|
+
loadLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/libraries/load-from-path (query: path, holonType) */
|
|
50
|
+
loadLibraryFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/libraries/load-from-published (query: publishedFilePath) */
|
|
53
|
+
loadLibraryFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** GET api/libraries/{id}/version/{version} */
|
|
56
|
+
loadLibraryVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** POST api/libraries/{id}/publish */
|
|
59
|
+
publishLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** POST api/libraries/{id}/republish (query: version) */
|
|
62
|
+
republishLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** GET api/libraries/search (query: searchTerm) */
|
|
65
|
+
searchLibraries(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** POST api/libraries/{id}/unpublish (query: version) */
|
|
68
|
+
unpublishLibrary(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
|
|
70
|
+
/** PUT api/libraries/{id} */
|
|
71
|
+
updateLibrary(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/libraries (source: STAR WebAPI LibrariesController.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 LibrariesModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/libraries/{id}/activate (query: version)
|
|
19
|
+
this.activateLibrary = makeOperation(http, "api/libraries", "POST", "{id}/activate", {"query":["version"]});
|
|
20
|
+
// POST api/libraries/{id}/clone
|
|
21
|
+
this.cloneLibrary = makeOperation(http, "api/libraries", "POST", "{id}/clone");
|
|
22
|
+
// POST api/libraries/
|
|
23
|
+
this.createLibrary = makeOperation(http, "api/libraries", "POST", "");
|
|
24
|
+
// POST api/libraries/create
|
|
25
|
+
this.createLibraryWithOptions = makeOperation(http, "api/libraries", "POST", "create");
|
|
26
|
+
// POST api/libraries/{id}/deactivate (query: version)
|
|
27
|
+
this.deactivateLibrary = makeOperation(http, "api/libraries", "POST", "{id}/deactivate", {"query":["version"]});
|
|
28
|
+
// DELETE api/libraries/{id}
|
|
29
|
+
this.deleteLibrary = makeOperation(http, "api/libraries", "DELETE", "{id}");
|
|
30
|
+
// POST api/libraries/{id}/download (query: version, downloadPath, reInstall)
|
|
31
|
+
this.downloadLibrary = makeOperation(http, "api/libraries", "POST", "{id}/download", {"query":["version","downloadPath","reInstall"]});
|
|
32
|
+
// POST api/libraries/{id}/edit
|
|
33
|
+
this.editLibrary = makeOperation(http, "api/libraries", "POST", "{id}/edit");
|
|
34
|
+
// GET api/libraries/
|
|
35
|
+
this.getAllLibraries = makeOperation(http, "api/libraries", "GET", "");
|
|
36
|
+
// GET api/libraries/by-category/{category}
|
|
37
|
+
this.getLibrariesByCategory = makeOperation(http, "api/libraries", "GET", "by-category/{category}");
|
|
38
|
+
// GET api/libraries/{id}
|
|
39
|
+
this.getLibrary = makeOperation(http, "api/libraries", "GET", "{id}");
|
|
40
|
+
// GET api/libraries/{id}/versions
|
|
41
|
+
this.getLibraryVersions = makeOperation(http, "api/libraries", "GET", "{id}/versions");
|
|
42
|
+
// GET api/libraries/load-all-for-avatar (query: showAllVersions, version)
|
|
43
|
+
this.loadAllLibrariesForAvatar = makeOperation(http, "api/libraries", "GET", "load-all-for-avatar", {"query":["showAllVersions","version"]});
|
|
44
|
+
// GET api/libraries/{id}/load (query: version, holonType)
|
|
45
|
+
this.loadLibrary = makeOperation(http, "api/libraries", "GET", "{id}/load", {"query":["version","holonType"]});
|
|
46
|
+
// GET api/libraries/load-from-path (query: path, holonType)
|
|
47
|
+
this.loadLibraryFromPath = makeOperation(http, "api/libraries", "GET", "load-from-path", {"query":["path","holonType"]});
|
|
48
|
+
// GET api/libraries/load-from-published (query: publishedFilePath)
|
|
49
|
+
this.loadLibraryFromPublished = makeOperation(http, "api/libraries", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
50
|
+
// GET api/libraries/{id}/version/{version}
|
|
51
|
+
this.loadLibraryVersion = makeOperation(http, "api/libraries", "GET", "{id}/version/{version}");
|
|
52
|
+
// POST api/libraries/{id}/publish
|
|
53
|
+
this.publishLibrary = makeOperation(http, "api/libraries", "POST", "{id}/publish");
|
|
54
|
+
// POST api/libraries/{id}/republish (query: version)
|
|
55
|
+
this.republishLibrary = makeOperation(http, "api/libraries", "POST", "{id}/republish", {"query":["version"]});
|
|
56
|
+
// GET api/libraries/search (query: searchTerm)
|
|
57
|
+
this.searchLibraries = makeOperation(http, "api/libraries", "GET", "search", {"query":["searchTerm"]});
|
|
58
|
+
// POST api/libraries/{id}/unpublish (query: version)
|
|
59
|
+
this.unpublishLibrary = makeOperation(http, "api/libraries", "POST", "{id}/unpublish", {"query":["version"]});
|
|
60
|
+
// PUT api/libraries/{id}
|
|
61
|
+
this.updateLibrary = makeOperation(http, "api/libraries", "PUT", "{id}");
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
module.exports = { LibrariesModule };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate-types.js - do not hand-edit.
|
|
2
|
+
import type { OASISResponse } from '../core/types';
|
|
3
|
+
|
|
4
|
+
export declare class MissionsModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/missions/{id}/activate (query: version) */
|
|
8
|
+
activateMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/missions/{id}/clone */
|
|
11
|
+
cloneMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/missions/{id}/complete (body: completionNotes) */
|
|
14
|
+
completeMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/missions/ */
|
|
17
|
+
createMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/missions/create */
|
|
20
|
+
createMissionWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** POST api/missions/{id}/deactivate (query: version) */
|
|
23
|
+
deactivateMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** DELETE api/missions/{id} */
|
|
26
|
+
deleteMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** POST api/missions/{id}/download (query: version, downloadPath, reInstall) */
|
|
29
|
+
downloadMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** POST api/missions/{id}/edit */
|
|
32
|
+
editMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/missions/ */
|
|
35
|
+
getAllMissions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/missions/{id} */
|
|
38
|
+
getMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/missions/{id}/leaderboard (query: limit) */
|
|
41
|
+
getMissionLeaderboard(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/missions/{id}/rewards */
|
|
44
|
+
getMissionRewards(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/missions/by-status/{status} */
|
|
47
|
+
getMissionsByStatus(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/missions/by-type/{type} */
|
|
50
|
+
getMissionsByType(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/missions/stats */
|
|
53
|
+
getMissionStats(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** GET api/missions/{id}/versions */
|
|
56
|
+
getMissionVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** GET api/missions/load-all-for-avatar (query: showAllVersions, version) */
|
|
59
|
+
loadAllMissionsForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** GET api/missions/{id}/load (query: version, holonType) */
|
|
62
|
+
loadMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** GET api/missions/load-from-path (query: path, holonType) */
|
|
65
|
+
loadMissionFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** GET api/missions/load-from-published (query: publishedFilePath) */
|
|
68
|
+
loadMissionFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
|
|
70
|
+
/** GET api/missions/{id}/version/{version} */
|
|
71
|
+
loadMissionVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
72
|
+
|
|
73
|
+
/** POST api/missions/{id}/publish */
|
|
74
|
+
publishMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
75
|
+
|
|
76
|
+
/** POST api/missions/{id}/republish (query: version) */
|
|
77
|
+
republishMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
78
|
+
|
|
79
|
+
/** GET api/missions/search (query: query) */
|
|
80
|
+
searchMissions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
81
|
+
|
|
82
|
+
/** POST api/missions/{id}/unpublish (query: version) */
|
|
83
|
+
unpublishMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
84
|
+
|
|
85
|
+
/** PUT api/missions/{id} */
|
|
86
|
+
updateMission(args?: Record<string, any>): Promise<OASISResponse>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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/missions (source: STAR WebAPI MissionsController.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 MissionsModule {
|
|
15
|
+
constructor(http) {
|
|
16
|
+
this._http = http;
|
|
17
|
+
|
|
18
|
+
// POST api/missions/{id}/activate (query: version)
|
|
19
|
+
this.activateMission = makeOperation(http, "api/missions", "POST", "{id}/activate", {"query":["version"]});
|
|
20
|
+
// POST api/missions/{id}/clone
|
|
21
|
+
this.cloneMission = makeOperation(http, "api/missions", "POST", "{id}/clone");
|
|
22
|
+
// POST api/missions/{id}/complete (body: completionNotes)
|
|
23
|
+
this.completeMission = makeOperation(http, "api/missions", "POST", "{id}/complete", {"bodyParam":"completionNotes"});
|
|
24
|
+
// POST api/missions/
|
|
25
|
+
this.createMission = makeOperation(http, "api/missions", "POST", "");
|
|
26
|
+
// POST api/missions/create
|
|
27
|
+
this.createMissionWithOptions = makeOperation(http, "api/missions", "POST", "create");
|
|
28
|
+
// POST api/missions/{id}/deactivate (query: version)
|
|
29
|
+
this.deactivateMission = makeOperation(http, "api/missions", "POST", "{id}/deactivate", {"query":["version"]});
|
|
30
|
+
// DELETE api/missions/{id}
|
|
31
|
+
this.deleteMission = makeOperation(http, "api/missions", "DELETE", "{id}");
|
|
32
|
+
// POST api/missions/{id}/download (query: version, downloadPath, reInstall)
|
|
33
|
+
this.downloadMission = makeOperation(http, "api/missions", "POST", "{id}/download", {"query":["version","downloadPath","reInstall"]});
|
|
34
|
+
// POST api/missions/{id}/edit
|
|
35
|
+
this.editMission = makeOperation(http, "api/missions", "POST", "{id}/edit");
|
|
36
|
+
// GET api/missions/
|
|
37
|
+
this.getAllMissions = makeOperation(http, "api/missions", "GET", "");
|
|
38
|
+
// GET api/missions/{id}
|
|
39
|
+
this.getMission = makeOperation(http, "api/missions", "GET", "{id}");
|
|
40
|
+
// GET api/missions/{id}/leaderboard (query: limit)
|
|
41
|
+
this.getMissionLeaderboard = makeOperation(http, "api/missions", "GET", "{id}/leaderboard", {"query":["limit"]});
|
|
42
|
+
// GET api/missions/{id}/rewards
|
|
43
|
+
this.getMissionRewards = makeOperation(http, "api/missions", "GET", "{id}/rewards");
|
|
44
|
+
// GET api/missions/stats
|
|
45
|
+
this.getMissionStats = makeOperation(http, "api/missions", "GET", "stats");
|
|
46
|
+
// GET api/missions/{id}/versions
|
|
47
|
+
this.getMissionVersions = makeOperation(http, "api/missions", "GET", "{id}/versions");
|
|
48
|
+
// GET api/missions/by-status/{status}
|
|
49
|
+
this.getMissionsByStatus = makeOperation(http, "api/missions", "GET", "by-status/{status}");
|
|
50
|
+
// GET api/missions/by-type/{type}
|
|
51
|
+
this.getMissionsByType = makeOperation(http, "api/missions", "GET", "by-type/{type}");
|
|
52
|
+
// GET api/missions/load-all-for-avatar (query: showAllVersions, version)
|
|
53
|
+
this.loadAllMissionsForAvatar = makeOperation(http, "api/missions", "GET", "load-all-for-avatar", {"query":["showAllVersions","version"]});
|
|
54
|
+
// GET api/missions/{id}/load (query: version, holonType)
|
|
55
|
+
this.loadMission = makeOperation(http, "api/missions", "GET", "{id}/load", {"query":["version","holonType"]});
|
|
56
|
+
// GET api/missions/load-from-path (query: path, holonType)
|
|
57
|
+
this.loadMissionFromPath = makeOperation(http, "api/missions", "GET", "load-from-path", {"query":["path","holonType"]});
|
|
58
|
+
// GET api/missions/load-from-published (query: publishedFilePath)
|
|
59
|
+
this.loadMissionFromPublished = makeOperation(http, "api/missions", "GET", "load-from-published", {"query":["publishedFilePath"]});
|
|
60
|
+
// GET api/missions/{id}/version/{version}
|
|
61
|
+
this.loadMissionVersion = makeOperation(http, "api/missions", "GET", "{id}/version/{version}");
|
|
62
|
+
// POST api/missions/{id}/publish
|
|
63
|
+
this.publishMission = makeOperation(http, "api/missions", "POST", "{id}/publish");
|
|
64
|
+
// POST api/missions/{id}/republish (query: version)
|
|
65
|
+
this.republishMission = makeOperation(http, "api/missions", "POST", "{id}/republish", {"query":["version"]});
|
|
66
|
+
// GET api/missions/search (query: query)
|
|
67
|
+
this.searchMissions = makeOperation(http, "api/missions", "GET", "search", {"query":["query"]});
|
|
68
|
+
// POST api/missions/{id}/unpublish (query: version)
|
|
69
|
+
this.unpublishMission = makeOperation(http, "api/missions", "POST", "{id}/unpublish", {"query":["version"]});
|
|
70
|
+
// PUT api/missions/{id}
|
|
71
|
+
this.updateMission = makeOperation(http, "api/missions", "PUT", "{id}");
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
module.exports = { MissionsModule };
|
|
@@ -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 NFTsModule {
|
|
5
|
+
constructor(http: unknown);
|
|
6
|
+
|
|
7
|
+
/** POST api/nFTs/{id}/activate (query: version) */
|
|
8
|
+
activateNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
9
|
+
|
|
10
|
+
/** POST api/nFTs/{id}/clone */
|
|
11
|
+
cloneNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
12
|
+
|
|
13
|
+
/** POST api/nFTs/ */
|
|
14
|
+
createNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
15
|
+
|
|
16
|
+
/** POST api/nFTs/create */
|
|
17
|
+
createNFTWithOptions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
18
|
+
|
|
19
|
+
/** POST api/nFTs/{id}/deactivate (query: version) */
|
|
20
|
+
deactivateNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
21
|
+
|
|
22
|
+
/** DELETE api/nFTs/{id} */
|
|
23
|
+
deleteNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
24
|
+
|
|
25
|
+
/** POST api/nFTs/{id}/download (query: version, downloadPath, reInstall) */
|
|
26
|
+
downloadNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
27
|
+
|
|
28
|
+
/** POST api/nFTs/{id}/edit */
|
|
29
|
+
editNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
30
|
+
|
|
31
|
+
/** GET api/nFTs/ */
|
|
32
|
+
getAllNFTs(args?: Record<string, any>): Promise<OASISResponse>;
|
|
33
|
+
|
|
34
|
+
/** GET api/nFTs/{id} */
|
|
35
|
+
getNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
36
|
+
|
|
37
|
+
/** GET api/nFTs/{id}/versions */
|
|
38
|
+
getNFTVersions(args?: Record<string, any>): Promise<OASISResponse>;
|
|
39
|
+
|
|
40
|
+
/** GET api/nFTs/load-all-for-avatar (query: showAllVersions, version) */
|
|
41
|
+
loadAllNFTsForAvatar(args?: Record<string, any>): Promise<OASISResponse>;
|
|
42
|
+
|
|
43
|
+
/** GET api/nFTs/{id}/load (query: version, holonType) */
|
|
44
|
+
loadNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
45
|
+
|
|
46
|
+
/** GET api/nFTs/load-from-path (query: path, holonType) */
|
|
47
|
+
loadNFTFromPath(args?: Record<string, any>): Promise<OASISResponse>;
|
|
48
|
+
|
|
49
|
+
/** GET api/nFTs/load-from-published (query: publishedFilePath) */
|
|
50
|
+
loadNFTFromPublished(args?: Record<string, any>): Promise<OASISResponse>;
|
|
51
|
+
|
|
52
|
+
/** GET api/nFTs/{id}/version/{version} */
|
|
53
|
+
loadNFTVersion(args?: Record<string, any>): Promise<OASISResponse>;
|
|
54
|
+
|
|
55
|
+
/** POST api/nFTs/{id}/publish */
|
|
56
|
+
publishNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
57
|
+
|
|
58
|
+
/** POST api/nFTs/{id}/republish (query: version) */
|
|
59
|
+
republishNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
60
|
+
|
|
61
|
+
/** GET api/nFTs/search (query: searchTerm, searchOnlyForCurrentAvatar, showAllVersions, version) */
|
|
62
|
+
searchNFTs(args?: Record<string, any>): Promise<OASISResponse>;
|
|
63
|
+
|
|
64
|
+
/** POST api/nFTs/{id}/unpublish (query: version) */
|
|
65
|
+
unpublishNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
66
|
+
|
|
67
|
+
/** PUT api/nFTs/{id} */
|
|
68
|
+
updateNFT(args?: Record<string, any>): Promise<OASISResponse>;
|
|
69
|
+
}
|