@story-protocol/core-sdk 0.1.0-alpha-rc.3 → 0.1.0-alpha-rc.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/declarations/src/enums/ActionType.d.ts +5 -5
- package/dist/declarations/src/enums/ActionType.d.ts.map +1 -1
- package/dist/declarations/src/enums/HookType.d.ts +2 -2
- package/dist/declarations/src/enums/HookType.d.ts.map +1 -1
- package/dist/declarations/src/enums/Relatables.d.ts +12 -0
- package/dist/declarations/src/enums/Relatables.d.ts.map +1 -0
- package/dist/declarations/src/enums/ResourceType.d.ts +9 -9
- package/dist/declarations/src/enums/ResourceType.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +4 -3
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/hook.d.ts +1 -2
- package/dist/declarations/src/resources/hook.d.ts.map +1 -1
- package/dist/declarations/src/resources/hookReadOnly.d.ts +1 -2
- package/dist/declarations/src/resources/hookReadOnly.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +1 -1
- package/dist/declarations/src/resources/ipAssetReadOnly.d.ts +2 -2
- package/dist/declarations/src/resources/ipOrg.d.ts +1 -2
- package/dist/declarations/src/resources/ipOrg.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipOrgReadOnly.d.ts +2 -3
- package/dist/declarations/src/resources/ipOrgReadOnly.d.ts.map +1 -1
- package/dist/declarations/src/resources/module.d.ts +1 -2
- package/dist/declarations/src/resources/module.d.ts.map +1 -1
- package/dist/declarations/src/resources/moduleReadOnly.d.ts +3 -5
- package/dist/declarations/src/resources/moduleReadOnly.d.ts.map +1 -1
- package/dist/declarations/src/resources/relationship.d.ts +1 -1
- package/dist/declarations/src/resources/relationshipReadOnly.d.ts +5 -5
- package/dist/declarations/src/resources/relationshipReadOnly.d.ts.map +1 -1
- package/dist/declarations/src/resources/relationshipType.d.ts +1 -1
- package/dist/declarations/src/resources/relationshipTypeReadOnly.d.ts +5 -6
- package/dist/declarations/src/resources/relationshipTypeReadOnly.d.ts.map +1 -1
- package/dist/declarations/src/resources/transaction.d.ts +1 -2
- package/dist/declarations/src/resources/transaction.d.ts.map +1 -1
- package/dist/declarations/src/resources/transactionReadOnly.d.ts +3 -5
- package/dist/declarations/src/resources/transactionReadOnly.d.ts.map +1 -1
- package/dist/declarations/src/types/common.d.ts +6 -0
- package/dist/declarations/src/types/common.d.ts.map +1 -0
- package/dist/declarations/src/types/config.d.ts +5 -0
- package/dist/declarations/src/types/config.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/IPOrg.d.ts +8 -8
- package/dist/declarations/src/types/resources/IPOrg.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/hook.d.ts +2 -1
- package/dist/declarations/src/types/resources/hook.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +9 -4
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/relationship.d.ts +34 -100
- package/dist/declarations/src/types/resources/relationship.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/relationshipType.d.ts +50 -5
- package/dist/declarations/src/types/resources/relationshipType.d.ts.map +1 -1
- package/dist/declarations/src/utils/platform.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +979 -125
- package/dist/story-protocol-core-sdk.cjs.prod.js +979 -125
- package/dist/story-protocol-core-sdk.esm.js +980 -126
- package/package.json +1 -1
- package/dist/declarations/src/enums/IPAssetType.d.ts +0 -11
- package/dist/declarations/src/enums/IPAssetType.d.ts.map +0 -1
@@ -2,10 +2,10 @@
|
|
2
2
|
* @public
|
3
3
|
*/
|
4
4
|
export declare enum ActionType {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
Unspecified = "Unspecified",
|
6
|
+
Register = "Register",
|
7
|
+
Unregister = "Unregister",
|
8
|
+
Configure = "Configure",
|
9
|
+
Create = "Create"
|
10
10
|
}
|
11
11
|
//# sourceMappingURL=ActionType.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActionType.d.ts","sourceRoot":"../../../../src/enums","sources":["ActionType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,WAAW,
|
1
|
+
{"version":3,"file":"ActionType.d.ts","sourceRoot":"../../../../src/enums","sources":["ActionType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,MAAM,WAAW;CAClB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HookType.d.ts","sourceRoot":"../../../../src/enums","sources":["HookType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,
|
1
|
+
{"version":3,"file":"HookType.d.ts","sourceRoot":"../../../../src/enums","sources":["HookType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,SAAS,IAAI;IACb,UAAU,IAAI;CACf"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Relatables.d.ts","sourceRoot":"../../../../src/enums","sources":["Relatables.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IACpB,SAAS,IAAI;IACb,GAAG,IAAI;IACP,UAAU,IAAI;IACd,OAAO,IAAI;IACX,OAAO,IAAI;IACX,WAAW,IAAI;CAChB"}
|
@@ -2,14 +2,14 @@
|
|
2
2
|
* @public
|
3
3
|
*/
|
4
4
|
export declare enum ResourceType {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
Unspecified = "Unspecified",
|
6
|
+
IPOrg = "IPOrg",
|
7
|
+
IPAsset = "IPAsset",
|
8
|
+
License = "License",
|
9
|
+
Relationship = "Relationship",
|
10
|
+
RelationshipType = "RelationshipType",
|
11
|
+
Module = "Module",
|
12
|
+
Hook = "Hook",
|
13
|
+
Dispute = "Dispute"
|
14
14
|
}
|
15
15
|
//# sourceMappingURL=ResourceType.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ResourceType.d.ts","sourceRoot":"../../../../src/enums","sources":["ResourceType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,YAAY;IACtB,WAAW,
|
1
|
+
{"version":3,"file":"ResourceType.d.ts","sourceRoot":"../../../../src/enums","sources":["ResourceType.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,YAAY;IACtB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;CACpB"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export { StoryClient } from "./client.js";
|
2
|
-
export { IPAssetType } from "./enums/IPAssetType.js";
|
3
2
|
export { ResourceType } from "./enums/ResourceType.js";
|
4
3
|
export { HookType } from "./enums/HookType.js";
|
5
4
|
export { ActionType } from "./enums/ActionType.js";
|
5
|
+
export { Relatables } from "./enums/Relatables.js";
|
6
6
|
export { HookReadOnlyClient } from "./resources/hookReadOnly.js";
|
7
7
|
export { IPAssetClient } from "./resources/ipAsset.js";
|
8
8
|
export { IPAssetReadOnlyClient } from "./resources/ipAssetReadOnly.js";
|
@@ -16,13 +16,14 @@ export { TransactionClient } from "./resources/transaction.js";
|
|
16
16
|
export { PlatformClient } from "./utils/platform.js";
|
17
17
|
export { AddressZero } from "./constants/addresses.js";
|
18
18
|
export type { StoryConfig, StoryReadOnlyConfig } from "./types/config.js";
|
19
|
+
export type { Client, ReadOnlyClient } from "./types/client.js";
|
20
|
+
export type { Hex, TypedData } from "./types/common.js";
|
19
21
|
export type { IPOrg, GetIPOrgRequest, GetIPOrgResponse, CreateIPOrgRequest, CreateIPOrgResponse, ListIPOrgRequest, ListIPOrgResponse, } from "./types/resources/IPOrg.js";
|
20
|
-
export type { IPAsset, GetIpAssetRequest, GetIpAssetResponse, CreateIpAssetRequest, CreateIpAssetResponse, ListIpAssetRequest, ListIpAssetResponse, } from "./types/resources/ipAsset.js";
|
22
|
+
export type { IPAsset, IPAssetType, GetIpAssetRequest, GetIpAssetResponse, CreateIpAssetRequest, CreateIpAssetResponse, ListIpAssetRequest, ListIpAssetResponse, } from "./types/resources/ipAsset.js";
|
21
23
|
export type { License, GetLicenseRequest, GetLicenseResponse, CreateLicenseNftRequest, CreateIpaBoundLicenseRequest, CreateLicenseResponse, ListLicenseRequest, ListLicenseResponse, } from "./types/resources/license.js";
|
22
24
|
export type { Relationship, RegisterRelationshipRequest, RegisterRelationshipResponse, ListRelationshipRequest, ListRelationshipResponse, GetRelationshipRequest, GetRelationshipResponse, } from "./types/resources/relationship.js";
|
23
25
|
export type { RelationshipType, GetRelationshipTypeRequest, GetRelationshipTypeResponse, ListRelationshipTypesRequest, ListRelationshipTypesResponse, RegisterRelationshipTypeRequest, RegisterRelationshipTypeResponse, } from "./types/resources/relationshipType.js";
|
24
26
|
export type { Transaction, GetTransactionRequest, GetTransactionResponse, ListTransactionRequest, ListTransactionResponse, } from "./types/resources/transaction.js";
|
25
27
|
export type { Module, GetModuleRequest, GetModuleResponse, ListModuleRequest, ListModuleResponse, } from "./types/resources/module.js";
|
26
28
|
export type { Hook, GetHookRequest, GetHookResponse, ListHookRequest, ListHookResponse, } from "./types/resources/hook.js";
|
27
|
-
export type { Client, ReadOnlyClient } from "./types/client.js";
|
28
29
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAiB;AACvC,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAiB;AACvC,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EAAE,QAAQ,EAAE,4BAAyB;AAC5C,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,UAAU,EAAE,8BAA2B;AAChD,OAAO,EAAE,kBAAkB,EAAE,oCAAiC;AAC9D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,qBAAqB,EAAE,uCAAoC;AACpE,OAAO,EAAE,WAAW,EAAE,6BAA0B;AAChD,OAAO,EAAE,mBAAmB,EAAE,qCAAkC;AAChE,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,qBAAqB,EAAE,uCAAoC;AACpE,OAAO,EAAE,oBAAoB,EAAE,sCAAmC;AAClE,OAAO,EAAE,kBAAkB,EAAE,oCAAiC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,mCAAgC;AAC5D,OAAO,EAAE,cAAc,EAAE,4BAAyB;AAClD,OAAO,EAAE,WAAW,EAAE,iCAA8B;AAEpD,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,0BAAuB;AACvE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,0BAAuB;AAC7D,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,0BAAuB;AAErD,YAAY,EACV,KAAK,EACL,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,mCAAgC;AAEjC,YAAY,EACV,OAAO,EACP,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,GACpB,qCAAkC;AAEnC,YAAY,EACV,OAAO,EACP,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,4BAA4B,EAC5B,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,GACpB,qCAAkC;AAEnC,YAAY,EACV,YAAY,EACZ,2BAA2B,EAC3B,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,GACxB,0CAAuC;AAExC,YAAY,EACV,gBAAgB,EAChB,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,gCAAgC,GACjC,8CAA2C;AAE5C,YAAY,EACV,WAAW,EACX,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,GACxB,yCAAsC;AAEvC,YAAY,EACV,MAAM,EACN,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,GACnB,oCAAiC;AAElC,YAAY,EACV,IAAI,EACJ,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,kCAA+B"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient, WalletClient } from "viem";
|
3
3
|
import { HookReadOnlyClient } from "./hookReadOnly.js";
|
4
4
|
/**
|
5
|
-
* HookClient allows you to view and
|
6
|
-
* Story Protocol.
|
5
|
+
* HookClient allows you to view and search hooks on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class HookClient extends HookReadOnlyClient {
|
9
8
|
private readonly wallet;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hook.d.ts","sourceRoot":"../../../../src/resources","sources":["hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,0BAAuB;AAEpD
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"../../../../src/resources","sources":["hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,0BAAuB;AAEpD;;GAEG;AACH,qBAAa,UAAW,SAAQ,kBAAkB;IAChD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;CAIrF"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetHookRequest, GetHookResponse, ListHookRequest, ListHookResponse } from "../types/resources/hook.js";
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* Story Protocol.
|
5
|
+
* HookReadOnlyClient allows you to get and search hooks on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class HookReadOnlyClient {
|
9
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hookReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["hookReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EACjB,mCAAgC;AAEjC
|
1
|
+
{"version":3,"file":"hookReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["hookReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EACjB,mCAAgC;AAEjC;;GAEG;AACH,qBAAa,kBAAkB;IAC7B,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IASnE;;;;;OAKG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;CAexE"}
|
@@ -3,7 +3,7 @@ import { PublicClient, WalletClient } from "viem";
|
|
3
3
|
import { CreateIpAssetRequest, CreateIpAssetResponse } from "../types/resources/ipAsset.js";
|
4
4
|
import { IPAssetReadOnlyClient } from "./ipAssetReadOnly.js";
|
5
5
|
/**
|
6
|
-
* IpAssetClient allows you to create, view, and
|
6
|
+
* IpAssetClient allows you to create, view, and search IP Assets on Story Protocol.
|
7
7
|
*/
|
8
8
|
export declare class IPAssetClient extends IPAssetReadOnlyClient {
|
9
9
|
private readonly wallet;
|
@@ -2,7 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetIpAssetRequest, GetIpAssetResponse, ListIpAssetRequest, ListIpAssetResponse } from "../types/resources/ipAsset.js";
|
4
4
|
/**
|
5
|
-
*
|
5
|
+
* IPAssetReadOnlyClient allows you to view and search IP Assets on Story Protocol.
|
6
6
|
*/
|
7
7
|
export declare class IPAssetReadOnlyClient {
|
8
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -16,7 +16,7 @@ export declare class IPAssetReadOnlyClient {
|
|
16
16
|
*/
|
17
17
|
get(request: GetIpAssetRequest): Promise<GetIpAssetResponse>;
|
18
18
|
/**
|
19
|
-
* List
|
19
|
+
* List IP assets.
|
20
20
|
*
|
21
21
|
* @returns the response object that contains results from listing query.
|
22
22
|
*/
|
@@ -3,8 +3,7 @@ import { PublicClient, WalletClient } from "viem";
|
|
3
3
|
import { CreateIPOrgRequest, CreateIPOrgResponse } from "../types/resources/IPOrg.js";
|
4
4
|
import { IPOrgReadOnlyClient } from "./ipOrgReadOnly.js";
|
5
5
|
/**
|
6
|
-
* IPOrgClient allows you to create,
|
7
|
-
* Story Protocol.
|
6
|
+
* IPOrgClient allows you to create, view, search IPOrgs on Story Protocol.
|
8
7
|
*/
|
9
8
|
export declare class IPOrgClient extends IPOrgReadOnlyClient {
|
10
9
|
private readonly wallet;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipOrg.d.ts","sourceRoot":"../../../../src/resources","sources":["ipOrg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAc,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oCAAiC;AAEnF,OAAO,EAAE,mBAAmB,EAAE,2BAAwB;AAKtD
|
1
|
+
{"version":3,"file":"ipOrg.d.ts","sourceRoot":"../../../../src/resources","sources":["ipOrg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAc,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oCAAiC;AAEnF,OAAO,EAAE,mBAAmB,EAAE,2BAAwB;AAKtD;;GAEG;AACH,qBAAa,WAAY,SAAQ,mBAAmB;IAClD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;IAKpF;;;;;OAKG;IACU,MAAM,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CA4B/E"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetIPOrgRequest, GetIPOrgResponse, ListIPOrgRequest, ListIPOrgResponse } from "../types/resources/IPOrg.js";
|
4
4
|
/**
|
5
|
-
* IPOrgReadOnlyClient allows you to view
|
6
|
-
* Story Protocol.
|
5
|
+
* IPOrgReadOnlyClient allows you to view and search IPOrgs on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class IPOrgReadOnlyClient {
|
9
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -17,7 +16,7 @@ export declare class IPOrgReadOnlyClient {
|
|
17
16
|
*/
|
18
17
|
get(request: GetIPOrgRequest): Promise<GetIPOrgResponse>;
|
19
18
|
/**
|
20
|
-
* List
|
19
|
+
* List IPOrgs.
|
21
20
|
*
|
22
21
|
* @returns the response object that contains a list of IPOrgs
|
23
22
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipOrgReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["ipOrgReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAa,YAAY,EAAE,MAAM,MAAM,CAAC;AAE/C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAClB,oCAAiC;AAGlC
|
1
|
+
{"version":3,"file":"ipOrgReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["ipOrgReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAa,YAAY,EAAE,MAAM,MAAM,CAAC;AAE/C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EAClB,oCAAiC;AAGlC;;GAEG;AACH,qBAAa,mBAAmB;IAC9B,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAYrE;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAW1E"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient, WalletClient } from "viem";
|
3
3
|
import { ModuleReadOnlyClient } from "./moduleReadOnly.js";
|
4
4
|
/**
|
5
|
-
* ModuleClient allows you to view and
|
6
|
-
* Story Protocol.
|
5
|
+
* ModuleClient allows you to view and search modules on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class ModuleClient extends ModuleReadOnlyClient {
|
9
8
|
private readonly wallet;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"../../../../src/resources","sources":["module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,oBAAoB,EAAE,4BAAyB;AAExD
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"../../../../src/resources","sources":["module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,oBAAoB,EAAE,4BAAyB;AAExD;;GAEG;AACH,qBAAa,YAAa,SAAQ,oBAAoB;IACpD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;CAIrF"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetModuleRequest, GetModuleResponse, ListModuleRequest, ListModuleResponse } from "../types/resources/module.js";
|
4
4
|
/**
|
5
|
-
*
|
6
|
-
* Story Protocol.
|
5
|
+
* ModuleReadOnlyClient allows you to view and search modules on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class ModuleReadOnlyClient {
|
9
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -17,10 +16,9 @@ export declare class ModuleReadOnlyClient {
|
|
17
16
|
*/
|
18
17
|
get(request: GetModuleRequest): Promise<GetModuleResponse>;
|
19
18
|
/**
|
20
|
-
*
|
19
|
+
* List Modules.
|
21
20
|
*
|
22
|
-
* @
|
23
|
-
* @returns the response object that contains the fetched module object
|
21
|
+
* @returns the response object that contains a list of modules
|
24
22
|
*/
|
25
23
|
list(request?: ListModuleRequest): Promise<ListModuleResponse>;
|
26
24
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"moduleReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["moduleReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EACnB,qCAAkC;AAEnC
|
1
|
+
{"version":3,"file":"moduleReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["moduleReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EACnB,qCAAkC;AAEnC;;GAEG;AACH,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IASvE;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;CAe5E"}
|
@@ -3,7 +3,7 @@ import { AxiosInstance } from "axios";
|
|
3
3
|
import { RegisterRelationshipRequest, RegisterRelationshipResponse } from "../types/resources/relationship.js";
|
4
4
|
import { RelationshipReadOnlyClient } from "./relationshipReadOnly.js";
|
5
5
|
/**
|
6
|
-
*
|
6
|
+
* RelationshipClient allows you to create, view and search relationships on Story Protocol.
|
7
7
|
*/
|
8
8
|
export declare class RelationshipClient extends RelationshipReadOnlyClient {
|
9
9
|
private readonly wallet;
|
@@ -2,7 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetRelationshipRequest, GetRelationshipResponse, ListRelationshipRequest, ListRelationshipResponse } from "../types/resources/relationship.js";
|
4
4
|
/**
|
5
|
-
*
|
5
|
+
* RelationshipReadOnlyClient allows you to view and search relationships on Story Protocol.
|
6
6
|
*/
|
7
7
|
export declare class RelationshipReadOnlyClient {
|
8
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -11,14 +11,14 @@ export declare class RelationshipReadOnlyClient {
|
|
11
11
|
/**
|
12
12
|
* Get a relationship by its ID.
|
13
13
|
*
|
14
|
-
* @param
|
15
|
-
* @returns
|
14
|
+
* @param request - the request object for getting the relationship
|
15
|
+
* @returns the response object that contains the fetched relationship object
|
16
16
|
*/
|
17
17
|
get(request: GetRelationshipRequest): Promise<GetRelationshipResponse>;
|
18
18
|
/**
|
19
|
-
* List
|
19
|
+
* List relationships.
|
20
20
|
*
|
21
|
-
* @returns
|
21
|
+
* @returns the response object that contains a list of relationships.
|
22
22
|
*/
|
23
23
|
list(request: ListRelationshipRequest): Promise<ListRelationshipResponse>;
|
24
24
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"relationshipReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["relationshipReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACzB,2CAAwC;AAIzC;;GAEG;AACH,qBAAa,0BAA0B;IACrC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAkBnF;;;;OAIG;IACU,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;
|
1
|
+
{"version":3,"file":"relationshipReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["relationshipReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACzB,2CAAwC;AAIzC;;GAEG;AACH,qBAAa,0BAA0B;IACrC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAkBnF;;;;OAIG;IACU,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;CAkBvF"}
|
@@ -3,7 +3,7 @@ import { AxiosInstance } from "axios";
|
|
3
3
|
import { RegisterRelationshipTypeRequest, RegisterRelationshipTypeResponse } from "../types/resources/relationshipType.js";
|
4
4
|
import { RelationshipTypeReadOnlyClient } from "./relationshipTypeReadOnly.js";
|
5
5
|
/**
|
6
|
-
*
|
6
|
+
* RelationshipTypeClient allows you to create, view and search relationship types on Story Protocol.
|
7
7
|
*/
|
8
8
|
export declare class RelationshipTypeClient extends RelationshipTypeReadOnlyClient {
|
9
9
|
private readonly wallet;
|
@@ -2,7 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetRelationshipTypeRequest, GetRelationshipTypeResponse, ListRelationshipTypesRequest, ListRelationshipTypesResponse } from "../types/resources/relationshipType.js";
|
4
4
|
/**
|
5
|
-
*
|
5
|
+
* RelationshipTypeReadOnlyClient allows you to view and search relationship types on Story Protocol.
|
6
6
|
*/
|
7
7
|
export declare class RelationshipTypeReadOnlyClient {
|
8
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -11,15 +11,14 @@ export declare class RelationshipTypeReadOnlyClient {
|
|
11
11
|
/**
|
12
12
|
* Get a RelationshipType by ipOrgId or relType.
|
13
13
|
*
|
14
|
-
* @param
|
15
|
-
* @
|
16
|
-
* @returns A Promise that resolves to the GetRelationshipTypeResponse.
|
14
|
+
* @param request - the request object for getting the relationship type
|
15
|
+
* @returns the response object that contains the fetched relationship type object
|
17
16
|
*/
|
18
17
|
get(request: GetRelationshipTypeRequest): Promise<GetRelationshipTypeResponse>;
|
19
18
|
/**
|
20
|
-
* List
|
19
|
+
* List RelationshipTypes.
|
21
20
|
*
|
22
|
-
* @returns
|
21
|
+
* @returns the response object that contains a list of relationship types
|
23
22
|
*/
|
24
23
|
list(request: ListRelationshipTypesRequest): Promise<ListRelationshipTypesResponse>;
|
25
24
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"relationshipTypeReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["relationshipTypeReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC9B,+CAA4C;
|
1
|
+
{"version":3,"file":"relationshipTypeReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["relationshipTypeReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EACL,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC9B,+CAA4C;AAI7C;;GAEG;AACH,qBAAa,8BAA8B;IACzC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAa3F;;;;OAIG;IACU,IAAI,CAAC,OAAO,EAAE,4BAA4B,GAAG,OAAO,CAAC,6BAA6B,CAAC;CAkBjG"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient, WalletClient } from "viem";
|
3
3
|
import { TransactionReadOnlyClient } from "./transactionReadOnly.js";
|
4
4
|
/**
|
5
|
-
* TransactionClient allows you to view and monitor transactions on
|
6
|
-
* Story Protocol.
|
5
|
+
* TransactionClient allows you to view and monitor transactions on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class TransactionClient extends TransactionReadOnlyClient {
|
9
8
|
private readonly wallet;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transaction.d.ts","sourceRoot":"../../../../src/resources","sources":["transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,iCAA8B;AAElE
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"../../../../src/resources","sources":["transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,yBAAyB,EAAE,iCAA8B;AAElE;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,yBAAyB;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAE1B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY;CAIrF"}
|
@@ -2,8 +2,7 @@ import { AxiosInstance } from "axios";
|
|
2
2
|
import { PublicClient } from "viem";
|
3
3
|
import { GetTransactionRequest, GetTransactionResponse, ListTransactionRequest, ListTransactionResponse } from "../types/resources/transaction.js";
|
4
4
|
/**
|
5
|
-
* TransactionClient allows you to view and monitor transactions on
|
6
|
-
* Story Protocol.
|
5
|
+
* TransactionClient allows you to view and monitor transactions on Story Protocol.
|
7
6
|
*/
|
8
7
|
export declare class TransactionReadOnlyClient {
|
9
8
|
protected readonly httpClient: AxiosInstance;
|
@@ -17,10 +16,9 @@ export declare class TransactionReadOnlyClient {
|
|
17
16
|
*/
|
18
17
|
get(request: GetTransactionRequest): Promise<GetTransactionResponse>;
|
19
18
|
/**
|
20
|
-
*
|
19
|
+
* List Transactions.
|
21
20
|
*
|
22
|
-
* @
|
23
|
-
* @returns the response object that contains the fetched transaction object
|
21
|
+
* @returns the response object that contains a list of transactions
|
24
22
|
*/
|
25
23
|
list(request?: ListTransactionRequest): Promise<ListTransactionResponse>;
|
26
24
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transactionReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["transactionReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACxB,0CAAuC;AAExC
|
1
|
+
{"version":3,"file":"transactionReadOnly.d.ts","sourceRoot":"../../../../src/resources","sources":["transactionReadOnly.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGpC,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACxB,0CAAuC;AAExC;;GAEG;AACH,qBAAa,yBAAyB;IACpC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IAC7C,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,YAAY,CAAC;gBAE/B,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY;IAK9D;;;;;OAKG;IACU,GAAG,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC;IASjF;;;;OAIG;IACU,IAAI,CAAC,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC;CAWtF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"../../../../src/types","sources":["common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG,KAAK,MAAM,EAAE,CAAC;AAEhC,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,EAAE,CAAC;CACjB,CAAC"}
|
@@ -7,6 +7,11 @@ import { Account, Chain, Transport } from "viem";
|
|
7
7
|
export interface StoryConfig extends StoryReadOnlyConfig {
|
8
8
|
readonly account: Account;
|
9
9
|
}
|
10
|
+
/**
|
11
|
+
* Configuration for the read-only SDK Client.
|
12
|
+
*
|
13
|
+
* @public
|
14
|
+
*/
|
10
15
|
export interface StoryReadOnlyConfig {
|
11
16
|
readonly chain?: Chain;
|
12
17
|
readonly transport?: Transport;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"../../../../src/types","sources":["config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;CAChC"}
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"../../../../src/types","sources":["config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,WAAY,SAAQ,mBAAmB;IACtD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACvB,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;CAChC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { QueryOptions, TxOptions } from "../options.js";
|
2
2
|
/**
|
3
|
-
* Core data model for
|
3
|
+
* Core data model for IP Org.
|
4
4
|
*
|
5
5
|
* @public
|
6
6
|
*/
|
@@ -11,12 +11,12 @@ export type IPOrg = {
|
|
11
11
|
owner: string;
|
12
12
|
baseUri?: string;
|
13
13
|
contractUri?: string;
|
14
|
-
ipAssetTypes: string
|
14
|
+
ipAssetTypes: Array<string>;
|
15
15
|
createdAt: string;
|
16
16
|
txHash: string;
|
17
17
|
};
|
18
18
|
/**
|
19
|
-
* Request type for
|
19
|
+
* Request type for iporg.get method.
|
20
20
|
*
|
21
21
|
* @public
|
22
22
|
*/
|
@@ -24,7 +24,7 @@ export type GetIPOrgRequest = {
|
|
24
24
|
ipOrgId: string;
|
25
25
|
};
|
26
26
|
/**
|
27
|
-
* Response type for
|
27
|
+
* Response type for iporg.get method.
|
28
28
|
*
|
29
29
|
* @public
|
30
30
|
*/
|
@@ -32,7 +32,7 @@ export type GetIPOrgResponse = {
|
|
32
32
|
ipOrg: IPOrg;
|
33
33
|
};
|
34
34
|
/**
|
35
|
-
* Request type for
|
35
|
+
* Request type for iporg.create method.
|
36
36
|
*
|
37
37
|
* @public
|
38
38
|
*/
|
@@ -44,7 +44,7 @@ export type CreateIPOrgRequest = {
|
|
44
44
|
txOptions?: TxOptions;
|
45
45
|
};
|
46
46
|
/**
|
47
|
-
* Response type for
|
47
|
+
* Response type for iporg.create method.
|
48
48
|
*
|
49
49
|
* @public
|
50
50
|
*/
|
@@ -53,7 +53,7 @@ export type CreateIPOrgResponse = {
|
|
53
53
|
ipOrgId?: string;
|
54
54
|
};
|
55
55
|
/**
|
56
|
-
* Request type for
|
56
|
+
* Request type for iporg.list method.
|
57
57
|
*
|
58
58
|
* @public
|
59
59
|
*/
|
@@ -61,7 +61,7 @@ export type ListIPOrgRequest = {
|
|
61
61
|
options?: QueryOptions;
|
62
62
|
};
|
63
63
|
/**
|
64
|
-
* Response type for
|
64
|
+
* Response type for iporg.list method.
|
65
65
|
*
|
66
66
|
* @public
|
67
67
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"IPOrg.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["IPOrg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,sBAAmB;AAErD;;;;GAIG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"IPOrg.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["IPOrg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,sBAAmB;AAErD;;;;GAIG;AACH,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { QueryOptions } from "../options.js";
|
2
|
+
import { HookType } from "../../enums/HookType.js";
|
2
3
|
/**
|
3
4
|
* Core data model for Hook.
|
4
5
|
*
|
@@ -8,7 +9,7 @@ export type Hook = {
|
|
8
9
|
id: string;
|
9
10
|
moduleId: string;
|
10
11
|
interface?: string;
|
11
|
-
hookType:
|
12
|
+
hookType: HookType;
|
12
13
|
registryKey: string;
|
13
14
|
registeredAt: string;
|
14
15
|
txHash: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"hook.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sBAAmB;
|
1
|
+
{"version":3,"file":"hook.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["hook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sBAAmB;AAC1C,OAAO,EAAE,QAAQ,EAAE,gCAA6B;AAEhD;;;;GAIG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,IAAI,EAAE,CAAC;CACf,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { QueryOptions, TxOptions } from "../options.js";
|
2
|
+
import { TypedData } from "../common.js";
|
2
3
|
/**
|
3
4
|
* Core data model for IP Asset.
|
4
5
|
*
|
@@ -7,7 +8,7 @@ import { QueryOptions, TxOptions } from "../options.js";
|
|
7
8
|
export type IPAsset = {
|
8
9
|
id: string;
|
9
10
|
name: string;
|
10
|
-
type:
|
11
|
+
type: IPAssetType;
|
11
12
|
ipOrgId: string;
|
12
13
|
owner: string;
|
13
14
|
mediaUrl: string;
|
@@ -15,6 +16,10 @@ export type IPAsset = {
|
|
15
16
|
createdAt: string;
|
16
17
|
txHash: string;
|
17
18
|
};
|
19
|
+
export type IPAssetType = {
|
20
|
+
index: number;
|
21
|
+
value: string;
|
22
|
+
};
|
18
23
|
/**
|
19
24
|
* Request type for ipAsset.get method.
|
20
25
|
*
|
@@ -38,13 +43,13 @@ export type GetIpAssetResponse = {
|
|
38
43
|
*/
|
39
44
|
export type CreateIpAssetRequest = {
|
40
45
|
name: string;
|
41
|
-
|
46
|
+
typeIndex: number;
|
42
47
|
ipOrgId: string;
|
43
48
|
owner?: string;
|
44
49
|
mediaUrl?: string;
|
45
50
|
contentHash?: string;
|
46
|
-
preHookData?: Array<
|
47
|
-
postHookData?: Array<
|
51
|
+
preHookData?: Array<TypedData>;
|
52
|
+
postHookData?: Array<TypedData>;
|
48
53
|
txOptions?: TxOptions;
|
49
54
|
};
|
50
55
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,sBAAmB;
|
1
|
+
{"version":3,"file":"ipAsset.d.ts","sourceRoot":"../../../../../src/types/resources","sources":["ipAsset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,sBAAmB;AACrD,OAAO,EAAE,SAAS,EAAE,qBAAkB;AAEtC;;;;GAIG;AACH,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAC/B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB,CAAC"}
|