@story-protocol/ipkit 0.4.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Accordion/Accordion.d.ts +8 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/__docs__/Accordion.stories.d.ts +18 -0
- package/dist/components/Accordion/__docs__/Accordion.stories.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +13 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/__docs__/Button.stories.d.ts +23 -0
- package/dist/components/Button/__docs__/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Calendar/Calendar.d.ts +9 -0
- package/dist/components/Calendar/Calendar.d.ts.map +1 -0
- package/dist/components/Calendar/index.d.ts +1 -0
- package/dist/components/Calendar/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +9 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/__docs__/Checkbox.stories.d.ts +17 -0
- package/dist/components/Checkbox/__docs__/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/DateInputPicker/DateInputPicker.d.ts +23 -0
- package/dist/components/DateInputPicker/DateInputPicker.d.ts.map +1 -0
- package/dist/components/DateInputPicker/__docs__/DateInputPicker.stories.d.ts +31 -0
- package/dist/components/DateInputPicker/__docs__/DateInputPicker.stories.d.ts.map +1 -0
- package/dist/components/DateInputPicker/dateUtils.d.ts +18 -0
- package/dist/components/DateInputPicker/dateUtils.d.ts.map +1 -0
- package/dist/components/DateInputPicker/index.d.ts +2 -0
- package/dist/components/DateInputPicker/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +13 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/__docs__/Input.stories.d.ts +26 -0
- package/dist/components/Input/__docs__/Input.stories.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +7 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/__docs__/Popover.stories.d.ts +17 -0
- package/dist/components/Popover/__docs__/Popover.stories.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +14 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -0
- package/dist/components/RadioGroup/__docs__/RadioGroup.stories.d.ts +31 -0
- package/dist/components/RadioGroup/__docs__/RadioGroup.stories.d.ts.map +1 -0
- package/dist/components/RadioGroup/index.d.ts +2 -0
- package/dist/components/RadioGroup/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/utility/If.d.ts +9 -0
- package/dist/components/utility/If.d.ts.map +1 -0
- package/dist/components/utility/context.d.ts +12 -0
- package/dist/components/utility/context.d.ts.map +1 -0
- package/dist/constants/api.d.ts +5 -0
- package/dist/constants/api.d.ts.map +1 -0
- package/dist/constants/chains.d.ts +10 -0
- package/dist/constants/chains.d.ts.map +1 -0
- package/dist/constants/index.d.ts +3 -0
- package/dist/constants/index.d.ts.map +1 -0
- package/dist/constants/pil-flavors.d.ts +7 -0
- package/dist/constants/pil-flavors.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +15 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/stories/(components)/CopyText.d.ts +8 -0
- package/dist/hooks/stories/(components)/CopyText.d.ts.map +1 -0
- package/dist/hooks/stories/(components)/DataTable.d.ts +8 -0
- package/dist/hooks/stories/(components)/DataTable.d.ts.map +1 -0
- package/dist/hooks/stories/useCollection.stories.d.ts +20 -0
- package/dist/hooks/stories/useCollection.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useCollections.stories.d.ts +28 -0
- package/dist/hooks/stories/useCollections.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useDispute.stories.d.ts +20 -0
- package/dist/hooks/stories/useDispute.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useDisputes.stories.d.ts +37 -0
- package/dist/hooks/stories/useDisputes.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAsset.stories.d.ts +21 -0
- package/dist/hooks/stories/useIpAsset.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetChildren.stories.d.ts +28 -0
- package/dist/hooks/stories/useIpAssetChildren.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetEdges.stories.d.ts +27 -0
- package/dist/hooks/stories/useIpAssetEdges.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetLicenses.stories.d.ts +20 -0
- package/dist/hooks/stories/useIpAssetLicenses.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetParents.stories.d.ts +28 -0
- package/dist/hooks/stories/useIpAssetParents.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssets.stories.d.ts +38 -0
- package/dist/hooks/stories/useIpAssets.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useIpAssetsByOwner.stories.d.ts +30 -0
- package/dist/hooks/stories/useIpAssetsByOwner.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useSearch.stories.d.ts +19 -0
- package/dist/hooks/stories/useSearch.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useTransaction.stories.d.ts +20 -0
- package/dist/hooks/stories/useTransaction.stories.d.ts.map +1 -0
- package/dist/hooks/stories/useTransactions.stories.d.ts +30 -0
- package/dist/hooks/stories/useTransactions.stories.d.ts.map +1 -0
- package/dist/hooks/useCollection.d.ts +10 -0
- package/dist/hooks/useCollection.d.ts.map +1 -0
- package/dist/hooks/useCollections.d.ts +11 -0
- package/dist/hooks/useCollections.d.ts.map +1 -0
- package/dist/hooks/useDispute.d.ts +8 -0
- package/dist/hooks/useDispute.d.ts.map +1 -0
- package/dist/hooks/useDisputes.d.ts +12 -0
- package/dist/hooks/useDisputes.d.ts.map +1 -0
- package/dist/hooks/useIpAsset.d.ts +11 -0
- package/dist/hooks/useIpAsset.d.ts.map +1 -0
- package/dist/hooks/useIpAssetChildren.d.ts +11 -0
- package/dist/hooks/useIpAssetChildren.d.ts.map +1 -0
- package/dist/hooks/useIpAssetEdges.d.ts +12 -0
- package/dist/hooks/useIpAssetEdges.d.ts.map +1 -0
- package/dist/hooks/useIpAssetLicenses.d.ts +10 -0
- package/dist/hooks/useIpAssetLicenses.d.ts.map +1 -0
- package/dist/hooks/useIpAssetParents.d.ts +11 -0
- package/dist/hooks/useIpAssetParents.d.ts.map +1 -0
- package/dist/hooks/useIpAssets.d.ts +14 -0
- package/dist/hooks/useIpAssets.d.ts.map +1 -0
- package/dist/hooks/useIpAssetsByOwner.d.ts +13 -0
- package/dist/hooks/useIpAssetsByOwner.d.ts.map +1 -0
- package/dist/hooks/useSearch.d.ts +10 -0
- package/dist/hooks/useSearch.d.ts.map +1 -0
- package/dist/hooks/useTransaction.d.ts +9 -0
- package/dist/hooks/useTransaction.d.ts.map +1 -0
- package/dist/hooks/useTransactions.d.ts +14 -0
- package/dist/hooks/useTransactions.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/api/apiClient.d.ts +7 -0
- package/dist/lib/api/apiClient.d.ts.map +1 -0
- package/dist/lib/api/getCollections.d.ts +346 -0
- package/dist/lib/api/getCollections.d.ts.map +1 -0
- package/dist/lib/api/getDispute.d.ts +134 -0
- package/dist/lib/api/getDispute.d.ts.map +1 -0
- package/dist/lib/api/getDisputes.d.ts +320 -0
- package/dist/lib/api/getDisputes.d.ts.map +1 -0
- package/dist/lib/api/getIpAssetEdges.d.ts +292 -0
- package/dist/lib/api/getIpAssetEdges.d.ts.map +1 -0
- package/dist/lib/api/getIpAssets.d.ts +675 -0
- package/dist/lib/api/getIpAssets.d.ts.map +1 -0
- package/dist/lib/api/getQuery.d.ts +18 -0
- package/dist/lib/api/getQuery.d.ts.map +1 -0
- package/dist/lib/api/getSearch.d.ts +246 -0
- package/dist/lib/api/getSearch.d.ts.map +1 -0
- package/dist/lib/api/getTransactions.d.ts +292 -0
- package/dist/lib/api/getTransactions.d.ts.map +1 -0
- package/dist/lib/api/index.d.ts +9 -0
- package/dist/lib/api/index.d.ts.map +1 -0
- package/dist/lib/api/listQuery.d.ts +16 -0
- package/dist/lib/api/listQuery.d.ts.map +1 -0
- package/dist/lib/functions/convertLicenseTermObject.d.ts +6 -0
- package/dist/lib/functions/convertLicenseTermObject.d.ts.map +1 -0
- package/dist/lib/index.d.ts +4 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +12 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/IpKitProvider.d.ts +25 -0
- package/dist/providers/IpKitProvider/IpKitProvider.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/__docs__/Example.d.ts +11 -0
- package/dist/providers/IpKitProvider/__docs__/Example.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/__docs__/IpKitProvider.stories.d.ts +37 -0
- package/dist/providers/IpKitProvider/__docs__/IpKitProvider.stories.d.ts.map +1 -0
- package/dist/providers/IpKitProvider/index.d.ts +2 -0
- package/dist/providers/IpKitProvider/index.d.ts.map +1 -0
- package/dist/providers/index.d.ts +2 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/server-types.d.ts +3494 -0
- package/dist/server.cjs.js +2 -0
- package/dist/server.cjs.js.map +1 -0
- package/dist/server.d.ts +4 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.esm.js +2 -0
- package/dist/server.esm.js.map +1 -0
- package/dist/stories/data/index.d.ts +9 -0
- package/dist/stories/data/index.d.ts.map +1 -0
- package/dist/storyprotocol-storykit.cjs.js +2 -0
- package/dist/storyprotocol-storykit.cjs.js.map +1 -0
- package/dist/storyprotocol-storykit.esm.js +2 -0
- package/dist/storyprotocol-storykit.esm.js.map +1 -0
- package/dist/types/assets.d.ts +58 -0
- package/dist/types/assets.d.ts.map +1 -0
- package/dist/types/chains.d.ts +25 -0
- package/dist/types/chains.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/openapi.d.ts +30 -0
- package/dist/types/openapi.d.ts.map +1 -0
- package/dist/types/schema.d.ts +1065 -0
- package/dist/types/schema.d.ts.map +1 -0
- package/dist/types.d.ts +3622 -0
- package/package.json +132 -0
|
@@ -0,0 +1,675 @@
|
|
|
1
|
+
import { paths } from "@/types/schema";
|
|
2
|
+
import { Address } from "viem";
|
|
3
|
+
import { ApiClient } from "./apiClient";
|
|
4
|
+
export type IpAssetsResponse = paths["/assets"]["post"]["responses"][200]["content"]["application/json"];
|
|
5
|
+
export type IpAssetsOptions = Partial<paths["/assets"]["post"]["requestBody"]["content"]["application/json"]>;
|
|
6
|
+
export type GetIpAssetsOptions = {
|
|
7
|
+
apiClient: ApiClient;
|
|
8
|
+
ownerAddress?: Address;
|
|
9
|
+
tokenContract?: Address;
|
|
10
|
+
includeLicenses?: boolean;
|
|
11
|
+
moderated?: boolean;
|
|
12
|
+
ipIds?: Address[];
|
|
13
|
+
options?: IpAssetsOptions;
|
|
14
|
+
apiKey: string;
|
|
15
|
+
};
|
|
16
|
+
export declare function getIpAssets({ apiClient, ownerAddress, tokenContract, includeLicenses, moderated, ipIds, options, apiKey, }: GetIpAssetsOptions): Promise<import("openapi-fetch").FetchResponse<{
|
|
17
|
+
parameters: {
|
|
18
|
+
query?: undefined;
|
|
19
|
+
header?: undefined;
|
|
20
|
+
path?: undefined;
|
|
21
|
+
cookie?: undefined;
|
|
22
|
+
};
|
|
23
|
+
requestBody: {
|
|
24
|
+
content: {
|
|
25
|
+
"application/json": {
|
|
26
|
+
readonly $schema?: string | undefined;
|
|
27
|
+
includeLicenses?: boolean | undefined;
|
|
28
|
+
moderated?: boolean | undefined;
|
|
29
|
+
orderBy: "blockNumber" | "descendantCount" | "createdAt";
|
|
30
|
+
orderDirection: "asc" | "desc";
|
|
31
|
+
pagination?: {
|
|
32
|
+
limit: number;
|
|
33
|
+
offset: number;
|
|
34
|
+
} | undefined;
|
|
35
|
+
where?: {
|
|
36
|
+
ipIds?: string[] | null | undefined;
|
|
37
|
+
ownerAddress?: string | undefined;
|
|
38
|
+
tokenContract?: string | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
responses: {
|
|
44
|
+
200: {
|
|
45
|
+
headers: {
|
|
46
|
+
[name: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
content: {
|
|
49
|
+
"application/json": {
|
|
50
|
+
readonly $schema?: string | undefined;
|
|
51
|
+
data: {
|
|
52
|
+
ancestorsCount: number;
|
|
53
|
+
blockNumber: number;
|
|
54
|
+
chainId: string;
|
|
55
|
+
childrenCount: number;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
descendantsCount: number;
|
|
58
|
+
description: string;
|
|
59
|
+
infringementStatus?: {
|
|
60
|
+
createdAt: string;
|
|
61
|
+
customData: string;
|
|
62
|
+
infringementDetails: string;
|
|
63
|
+
isInfringing: boolean;
|
|
64
|
+
providerName: string;
|
|
65
|
+
providerURL: string;
|
|
66
|
+
responseTime: string;
|
|
67
|
+
status: string;
|
|
68
|
+
updatedAt: string;
|
|
69
|
+
}[] | null | undefined;
|
|
70
|
+
ipId: string;
|
|
71
|
+
ipaMetadataUri?: string | undefined;
|
|
72
|
+
isInGroup: boolean;
|
|
73
|
+
lastUpdatedAt: string;
|
|
74
|
+
licenses?: {
|
|
75
|
+
createdAt: string;
|
|
76
|
+
licenseTemplateId: string;
|
|
77
|
+
licenseTermsId: string;
|
|
78
|
+
licensingConfig: {
|
|
79
|
+
commercialRevShare: number;
|
|
80
|
+
disabled: boolean;
|
|
81
|
+
expectGroupRewardPool: string;
|
|
82
|
+
expectMinimumGroupRewardShare: number;
|
|
83
|
+
hookData: string;
|
|
84
|
+
isSet: boolean;
|
|
85
|
+
licensingHook: string;
|
|
86
|
+
mintingFee: number;
|
|
87
|
+
};
|
|
88
|
+
templateMetadataUri: string;
|
|
89
|
+
templateName: string;
|
|
90
|
+
terms: {
|
|
91
|
+
commercialAttribution: boolean;
|
|
92
|
+
commercialRevCeiling: string;
|
|
93
|
+
commercialRevShare: number;
|
|
94
|
+
commercialUse: boolean;
|
|
95
|
+
commercializerChecker: string;
|
|
96
|
+
commercializerCheckerData: string;
|
|
97
|
+
currency: string;
|
|
98
|
+
defaultMintingFee: string;
|
|
99
|
+
derivativeRevCeiling: string;
|
|
100
|
+
derivativesAllowed: boolean;
|
|
101
|
+
derivativesApproval: boolean;
|
|
102
|
+
derivativesAttribution: boolean;
|
|
103
|
+
derivativesReciprocal: boolean;
|
|
104
|
+
expiration: string;
|
|
105
|
+
royaltyPolicy: string;
|
|
106
|
+
transferable: boolean;
|
|
107
|
+
uri: string;
|
|
108
|
+
};
|
|
109
|
+
updatedAt: string;
|
|
110
|
+
}[] | null | undefined;
|
|
111
|
+
logIndex: number;
|
|
112
|
+
moderationStatus?: {
|
|
113
|
+
adult: string;
|
|
114
|
+
medical: string;
|
|
115
|
+
racy: string;
|
|
116
|
+
spoof: string;
|
|
117
|
+
violence: string;
|
|
118
|
+
} | undefined;
|
|
119
|
+
name: string;
|
|
120
|
+
nftMetadata?: {
|
|
121
|
+
animation: {
|
|
122
|
+
cachedUrl: string;
|
|
123
|
+
contentType: string;
|
|
124
|
+
originalUrl: string;
|
|
125
|
+
size: number;
|
|
126
|
+
};
|
|
127
|
+
collection: {
|
|
128
|
+
bannerImageUrl: string;
|
|
129
|
+
externalUrl: string | null;
|
|
130
|
+
name: string;
|
|
131
|
+
slug: string;
|
|
132
|
+
};
|
|
133
|
+
contract: {
|
|
134
|
+
address: string;
|
|
135
|
+
chain: string;
|
|
136
|
+
contractDeployer: string;
|
|
137
|
+
deployedBlockNumber: number;
|
|
138
|
+
name: string;
|
|
139
|
+
openSeaMetadata: {
|
|
140
|
+
bannerImageUrl: string;
|
|
141
|
+
collectionName: string;
|
|
142
|
+
collectionSlug: string;
|
|
143
|
+
description: string;
|
|
144
|
+
discordUrl: string;
|
|
145
|
+
externalUrl: string | null;
|
|
146
|
+
floorPrice: number;
|
|
147
|
+
imageUrl: string;
|
|
148
|
+
lastIngestedAt: string;
|
|
149
|
+
safelistRequestStatus: string;
|
|
150
|
+
twitterUsername: string;
|
|
151
|
+
};
|
|
152
|
+
symbol: string;
|
|
153
|
+
tokenType: string;
|
|
154
|
+
totalSupply: string;
|
|
155
|
+
};
|
|
156
|
+
contract_address: string;
|
|
157
|
+
description: string | null;
|
|
158
|
+
image: {
|
|
159
|
+
cachedUrl: string;
|
|
160
|
+
contentType: string;
|
|
161
|
+
originalUrl: string;
|
|
162
|
+
pngUrl: string;
|
|
163
|
+
size: number;
|
|
164
|
+
thumbnailUrl: string;
|
|
165
|
+
};
|
|
166
|
+
mint: {
|
|
167
|
+
blockNumber: number | null;
|
|
168
|
+
mintAddress: string | null;
|
|
169
|
+
timestamp: string | null;
|
|
170
|
+
transactionHash: string | null;
|
|
171
|
+
};
|
|
172
|
+
name: string;
|
|
173
|
+
nft_id: string;
|
|
174
|
+
raw: unknown;
|
|
175
|
+
timeLastUpdated: string;
|
|
176
|
+
tokenId: string;
|
|
177
|
+
tokenType: string;
|
|
178
|
+
tokenUri: string;
|
|
179
|
+
} | undefined;
|
|
180
|
+
ownerAddress: string;
|
|
181
|
+
parentsCount: number;
|
|
182
|
+
registrationDate: string;
|
|
183
|
+
rootIPs: string[] | null;
|
|
184
|
+
title: string;
|
|
185
|
+
tokenContract: string;
|
|
186
|
+
tokenId: string;
|
|
187
|
+
txHash: string;
|
|
188
|
+
uri: string;
|
|
189
|
+
}[] | null;
|
|
190
|
+
pagination?: {
|
|
191
|
+
hasMore: boolean;
|
|
192
|
+
limit: number;
|
|
193
|
+
offset: number;
|
|
194
|
+
total?: number | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
default: {
|
|
200
|
+
headers: {
|
|
201
|
+
[name: string]: unknown;
|
|
202
|
+
};
|
|
203
|
+
content: {
|
|
204
|
+
"application/problem+json": {
|
|
205
|
+
readonly $schema?: string | undefined;
|
|
206
|
+
detail?: string | undefined;
|
|
207
|
+
errors?: {
|
|
208
|
+
location?: string | undefined;
|
|
209
|
+
message?: string | undefined;
|
|
210
|
+
value?: unknown;
|
|
211
|
+
}[] | null | undefined;
|
|
212
|
+
instance?: string | undefined;
|
|
213
|
+
status?: number | undefined;
|
|
214
|
+
title?: string | undefined;
|
|
215
|
+
type: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
}, {
|
|
221
|
+
params?: {
|
|
222
|
+
query?: undefined;
|
|
223
|
+
header?: undefined;
|
|
224
|
+
path?: undefined;
|
|
225
|
+
cookie?: undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
} & {
|
|
228
|
+
body: {
|
|
229
|
+
readonly $schema?: string | undefined;
|
|
230
|
+
includeLicenses?: boolean | undefined;
|
|
231
|
+
moderated?: boolean | undefined;
|
|
232
|
+
orderBy: "blockNumber" | "descendantCount" | "createdAt";
|
|
233
|
+
orderDirection: "asc" | "desc";
|
|
234
|
+
pagination?: {
|
|
235
|
+
limit: number;
|
|
236
|
+
offset: number;
|
|
237
|
+
} | undefined;
|
|
238
|
+
where?: {
|
|
239
|
+
ipIds?: string[] | null | undefined;
|
|
240
|
+
ownerAddress?: string | undefined;
|
|
241
|
+
tokenContract?: string | undefined;
|
|
242
|
+
} | undefined;
|
|
243
|
+
};
|
|
244
|
+
} & {
|
|
245
|
+
baseUrl?: string | undefined;
|
|
246
|
+
querySerializer?: import("openapi-fetch").QuerySerializerOptions | import("openapi-fetch").QuerySerializer<{
|
|
247
|
+
parameters: {
|
|
248
|
+
query?: undefined;
|
|
249
|
+
header?: undefined;
|
|
250
|
+
path?: undefined;
|
|
251
|
+
cookie?: undefined;
|
|
252
|
+
};
|
|
253
|
+
requestBody: {
|
|
254
|
+
content: {
|
|
255
|
+
"application/json": {
|
|
256
|
+
readonly $schema?: string | undefined;
|
|
257
|
+
includeLicenses?: boolean | undefined;
|
|
258
|
+
moderated?: boolean | undefined;
|
|
259
|
+
orderBy: "blockNumber" | "descendantCount" | "createdAt";
|
|
260
|
+
orderDirection: "asc" | "desc";
|
|
261
|
+
pagination?: {
|
|
262
|
+
limit: number;
|
|
263
|
+
offset: number;
|
|
264
|
+
} | undefined;
|
|
265
|
+
where?: {
|
|
266
|
+
ipIds?: string[] | null | undefined;
|
|
267
|
+
ownerAddress?: string | undefined;
|
|
268
|
+
tokenContract?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
responses: {
|
|
274
|
+
200: {
|
|
275
|
+
headers: {
|
|
276
|
+
[name: string]: unknown;
|
|
277
|
+
};
|
|
278
|
+
content: {
|
|
279
|
+
"application/json": {
|
|
280
|
+
readonly $schema?: string | undefined;
|
|
281
|
+
data: {
|
|
282
|
+
ancestorsCount: number;
|
|
283
|
+
blockNumber: number;
|
|
284
|
+
chainId: string;
|
|
285
|
+
childrenCount: number;
|
|
286
|
+
createdAt: string;
|
|
287
|
+
descendantsCount: number;
|
|
288
|
+
description: string;
|
|
289
|
+
infringementStatus?: {
|
|
290
|
+
createdAt: string;
|
|
291
|
+
customData: string;
|
|
292
|
+
infringementDetails: string;
|
|
293
|
+
isInfringing: boolean;
|
|
294
|
+
providerName: string;
|
|
295
|
+
providerURL: string;
|
|
296
|
+
responseTime: string;
|
|
297
|
+
status: string;
|
|
298
|
+
updatedAt: string;
|
|
299
|
+
}[] | null | undefined;
|
|
300
|
+
ipId: string;
|
|
301
|
+
ipaMetadataUri?: string | undefined;
|
|
302
|
+
isInGroup: boolean;
|
|
303
|
+
lastUpdatedAt: string;
|
|
304
|
+
licenses?: {
|
|
305
|
+
createdAt: string;
|
|
306
|
+
licenseTemplateId: string;
|
|
307
|
+
licenseTermsId: string;
|
|
308
|
+
licensingConfig: {
|
|
309
|
+
commercialRevShare: number;
|
|
310
|
+
disabled: boolean;
|
|
311
|
+
expectGroupRewardPool: string;
|
|
312
|
+
expectMinimumGroupRewardShare: number;
|
|
313
|
+
hookData: string;
|
|
314
|
+
isSet: boolean;
|
|
315
|
+
licensingHook: string;
|
|
316
|
+
mintingFee: number;
|
|
317
|
+
};
|
|
318
|
+
templateMetadataUri: string;
|
|
319
|
+
templateName: string;
|
|
320
|
+
terms: {
|
|
321
|
+
commercialAttribution: boolean;
|
|
322
|
+
commercialRevCeiling: string;
|
|
323
|
+
commercialRevShare: number;
|
|
324
|
+
commercialUse: boolean;
|
|
325
|
+
commercializerChecker: string;
|
|
326
|
+
commercializerCheckerData: string;
|
|
327
|
+
currency: string;
|
|
328
|
+
defaultMintingFee: string;
|
|
329
|
+
derivativeRevCeiling: string;
|
|
330
|
+
derivativesAllowed: boolean;
|
|
331
|
+
derivativesApproval: boolean;
|
|
332
|
+
derivativesAttribution: boolean;
|
|
333
|
+
derivativesReciprocal: boolean;
|
|
334
|
+
expiration: string;
|
|
335
|
+
royaltyPolicy: string;
|
|
336
|
+
transferable: boolean;
|
|
337
|
+
uri: string;
|
|
338
|
+
};
|
|
339
|
+
updatedAt: string;
|
|
340
|
+
}[] | null | undefined;
|
|
341
|
+
logIndex: number;
|
|
342
|
+
moderationStatus?: {
|
|
343
|
+
adult: string;
|
|
344
|
+
medical: string;
|
|
345
|
+
racy: string;
|
|
346
|
+
spoof: string;
|
|
347
|
+
violence: string;
|
|
348
|
+
} | undefined;
|
|
349
|
+
name: string;
|
|
350
|
+
nftMetadata?: {
|
|
351
|
+
animation: {
|
|
352
|
+
cachedUrl: string;
|
|
353
|
+
contentType: string;
|
|
354
|
+
originalUrl: string;
|
|
355
|
+
size: number;
|
|
356
|
+
};
|
|
357
|
+
collection: {
|
|
358
|
+
bannerImageUrl: string;
|
|
359
|
+
externalUrl: string | null;
|
|
360
|
+
name: string;
|
|
361
|
+
slug: string;
|
|
362
|
+
};
|
|
363
|
+
contract: {
|
|
364
|
+
address: string;
|
|
365
|
+
chain: string;
|
|
366
|
+
contractDeployer: string;
|
|
367
|
+
deployedBlockNumber: number;
|
|
368
|
+
name: string;
|
|
369
|
+
openSeaMetadata: {
|
|
370
|
+
bannerImageUrl: string;
|
|
371
|
+
collectionName: string;
|
|
372
|
+
collectionSlug: string;
|
|
373
|
+
description: string;
|
|
374
|
+
discordUrl: string;
|
|
375
|
+
externalUrl: string | null;
|
|
376
|
+
floorPrice: number;
|
|
377
|
+
imageUrl: string;
|
|
378
|
+
lastIngestedAt: string;
|
|
379
|
+
safelistRequestStatus: string;
|
|
380
|
+
twitterUsername: string;
|
|
381
|
+
};
|
|
382
|
+
symbol: string;
|
|
383
|
+
tokenType: string;
|
|
384
|
+
totalSupply: string;
|
|
385
|
+
};
|
|
386
|
+
contract_address: string;
|
|
387
|
+
description: string | null;
|
|
388
|
+
image: {
|
|
389
|
+
cachedUrl: string;
|
|
390
|
+
contentType: string;
|
|
391
|
+
originalUrl: string;
|
|
392
|
+
pngUrl: string;
|
|
393
|
+
size: number;
|
|
394
|
+
thumbnailUrl: string;
|
|
395
|
+
};
|
|
396
|
+
mint: {
|
|
397
|
+
blockNumber: number | null;
|
|
398
|
+
mintAddress: string | null;
|
|
399
|
+
timestamp: string | null;
|
|
400
|
+
transactionHash: string | null;
|
|
401
|
+
};
|
|
402
|
+
name: string;
|
|
403
|
+
nft_id: string;
|
|
404
|
+
raw: unknown;
|
|
405
|
+
timeLastUpdated: string;
|
|
406
|
+
tokenId: string;
|
|
407
|
+
tokenType: string;
|
|
408
|
+
tokenUri: string;
|
|
409
|
+
} | undefined;
|
|
410
|
+
ownerAddress: string;
|
|
411
|
+
parentsCount: number;
|
|
412
|
+
registrationDate: string;
|
|
413
|
+
rootIPs: string[] | null;
|
|
414
|
+
title: string;
|
|
415
|
+
tokenContract: string;
|
|
416
|
+
tokenId: string;
|
|
417
|
+
txHash: string;
|
|
418
|
+
uri: string;
|
|
419
|
+
}[] | null;
|
|
420
|
+
pagination?: {
|
|
421
|
+
hasMore: boolean;
|
|
422
|
+
limit: number;
|
|
423
|
+
offset: number;
|
|
424
|
+
total?: number | undefined;
|
|
425
|
+
} | undefined;
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
default: {
|
|
430
|
+
headers: {
|
|
431
|
+
[name: string]: unknown;
|
|
432
|
+
};
|
|
433
|
+
content: {
|
|
434
|
+
"application/problem+json": {
|
|
435
|
+
readonly $schema?: string | undefined;
|
|
436
|
+
detail?: string | undefined;
|
|
437
|
+
errors?: {
|
|
438
|
+
location?: string | undefined;
|
|
439
|
+
message?: string | undefined;
|
|
440
|
+
value?: unknown;
|
|
441
|
+
}[] | null | undefined;
|
|
442
|
+
instance?: string | undefined;
|
|
443
|
+
status?: number | undefined;
|
|
444
|
+
title?: string | undefined;
|
|
445
|
+
type: string;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
};
|
|
450
|
+
}> | undefined;
|
|
451
|
+
bodySerializer?: import("openapi-fetch").BodySerializer<{
|
|
452
|
+
parameters: {
|
|
453
|
+
query?: undefined;
|
|
454
|
+
header?: undefined;
|
|
455
|
+
path?: undefined;
|
|
456
|
+
cookie?: undefined;
|
|
457
|
+
};
|
|
458
|
+
requestBody: {
|
|
459
|
+
content: {
|
|
460
|
+
"application/json": {
|
|
461
|
+
readonly $schema?: string | undefined;
|
|
462
|
+
includeLicenses?: boolean | undefined;
|
|
463
|
+
moderated?: boolean | undefined;
|
|
464
|
+
orderBy: "blockNumber" | "descendantCount" | "createdAt";
|
|
465
|
+
orderDirection: "asc" | "desc";
|
|
466
|
+
pagination?: {
|
|
467
|
+
limit: number;
|
|
468
|
+
offset: number;
|
|
469
|
+
} | undefined;
|
|
470
|
+
where?: {
|
|
471
|
+
ipIds?: string[] | null | undefined;
|
|
472
|
+
ownerAddress?: string | undefined;
|
|
473
|
+
tokenContract?: string | undefined;
|
|
474
|
+
} | undefined;
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
responses: {
|
|
479
|
+
200: {
|
|
480
|
+
headers: {
|
|
481
|
+
[name: string]: unknown;
|
|
482
|
+
};
|
|
483
|
+
content: {
|
|
484
|
+
"application/json": {
|
|
485
|
+
readonly $schema?: string | undefined;
|
|
486
|
+
data: {
|
|
487
|
+
ancestorsCount: number;
|
|
488
|
+
blockNumber: number;
|
|
489
|
+
chainId: string;
|
|
490
|
+
childrenCount: number;
|
|
491
|
+
createdAt: string;
|
|
492
|
+
descendantsCount: number;
|
|
493
|
+
description: string;
|
|
494
|
+
infringementStatus?: {
|
|
495
|
+
createdAt: string;
|
|
496
|
+
customData: string;
|
|
497
|
+
infringementDetails: string;
|
|
498
|
+
isInfringing: boolean;
|
|
499
|
+
providerName: string;
|
|
500
|
+
providerURL: string;
|
|
501
|
+
responseTime: string;
|
|
502
|
+
status: string;
|
|
503
|
+
updatedAt: string;
|
|
504
|
+
}[] | null | undefined;
|
|
505
|
+
ipId: string;
|
|
506
|
+
ipaMetadataUri?: string | undefined;
|
|
507
|
+
isInGroup: boolean;
|
|
508
|
+
lastUpdatedAt: string;
|
|
509
|
+
licenses?: {
|
|
510
|
+
createdAt: string;
|
|
511
|
+
licenseTemplateId: string;
|
|
512
|
+
licenseTermsId: string;
|
|
513
|
+
licensingConfig: {
|
|
514
|
+
commercialRevShare: number;
|
|
515
|
+
disabled: boolean;
|
|
516
|
+
expectGroupRewardPool: string;
|
|
517
|
+
expectMinimumGroupRewardShare: number;
|
|
518
|
+
hookData: string;
|
|
519
|
+
isSet: boolean;
|
|
520
|
+
licensingHook: string;
|
|
521
|
+
mintingFee: number;
|
|
522
|
+
};
|
|
523
|
+
templateMetadataUri: string;
|
|
524
|
+
templateName: string;
|
|
525
|
+
terms: {
|
|
526
|
+
commercialAttribution: boolean;
|
|
527
|
+
commercialRevCeiling: string;
|
|
528
|
+
commercialRevShare: number;
|
|
529
|
+
commercialUse: boolean;
|
|
530
|
+
commercializerChecker: string;
|
|
531
|
+
commercializerCheckerData: string;
|
|
532
|
+
currency: string;
|
|
533
|
+
defaultMintingFee: string;
|
|
534
|
+
derivativeRevCeiling: string;
|
|
535
|
+
derivativesAllowed: boolean;
|
|
536
|
+
derivativesApproval: boolean;
|
|
537
|
+
derivativesAttribution: boolean;
|
|
538
|
+
derivativesReciprocal: boolean;
|
|
539
|
+
expiration: string;
|
|
540
|
+
royaltyPolicy: string;
|
|
541
|
+
transferable: boolean;
|
|
542
|
+
uri: string;
|
|
543
|
+
};
|
|
544
|
+
updatedAt: string;
|
|
545
|
+
}[] | null | undefined;
|
|
546
|
+
logIndex: number;
|
|
547
|
+
moderationStatus?: {
|
|
548
|
+
adult: string;
|
|
549
|
+
medical: string;
|
|
550
|
+
racy: string;
|
|
551
|
+
spoof: string;
|
|
552
|
+
violence: string;
|
|
553
|
+
} | undefined;
|
|
554
|
+
name: string;
|
|
555
|
+
nftMetadata?: {
|
|
556
|
+
animation: {
|
|
557
|
+
cachedUrl: string;
|
|
558
|
+
contentType: string;
|
|
559
|
+
originalUrl: string;
|
|
560
|
+
size: number;
|
|
561
|
+
};
|
|
562
|
+
collection: {
|
|
563
|
+
bannerImageUrl: string;
|
|
564
|
+
externalUrl: string | null;
|
|
565
|
+
name: string;
|
|
566
|
+
slug: string;
|
|
567
|
+
};
|
|
568
|
+
contract: {
|
|
569
|
+
address: string;
|
|
570
|
+
chain: string;
|
|
571
|
+
contractDeployer: string;
|
|
572
|
+
deployedBlockNumber: number;
|
|
573
|
+
name: string;
|
|
574
|
+
openSeaMetadata: {
|
|
575
|
+
bannerImageUrl: string;
|
|
576
|
+
collectionName: string;
|
|
577
|
+
collectionSlug: string;
|
|
578
|
+
description: string;
|
|
579
|
+
discordUrl: string;
|
|
580
|
+
externalUrl: string | null;
|
|
581
|
+
floorPrice: number;
|
|
582
|
+
imageUrl: string;
|
|
583
|
+
lastIngestedAt: string;
|
|
584
|
+
safelistRequestStatus: string;
|
|
585
|
+
twitterUsername: string;
|
|
586
|
+
};
|
|
587
|
+
symbol: string;
|
|
588
|
+
tokenType: string;
|
|
589
|
+
totalSupply: string;
|
|
590
|
+
};
|
|
591
|
+
contract_address: string;
|
|
592
|
+
description: string | null;
|
|
593
|
+
image: {
|
|
594
|
+
cachedUrl: string;
|
|
595
|
+
contentType: string;
|
|
596
|
+
originalUrl: string;
|
|
597
|
+
pngUrl: string;
|
|
598
|
+
size: number;
|
|
599
|
+
thumbnailUrl: string;
|
|
600
|
+
};
|
|
601
|
+
mint: {
|
|
602
|
+
blockNumber: number | null;
|
|
603
|
+
mintAddress: string | null;
|
|
604
|
+
timestamp: string | null;
|
|
605
|
+
transactionHash: string | null;
|
|
606
|
+
};
|
|
607
|
+
name: string;
|
|
608
|
+
nft_id: string;
|
|
609
|
+
raw: unknown;
|
|
610
|
+
timeLastUpdated: string;
|
|
611
|
+
tokenId: string;
|
|
612
|
+
tokenType: string;
|
|
613
|
+
tokenUri: string;
|
|
614
|
+
} | undefined;
|
|
615
|
+
ownerAddress: string;
|
|
616
|
+
parentsCount: number;
|
|
617
|
+
registrationDate: string;
|
|
618
|
+
rootIPs: string[] | null;
|
|
619
|
+
title: string;
|
|
620
|
+
tokenContract: string;
|
|
621
|
+
tokenId: string;
|
|
622
|
+
txHash: string;
|
|
623
|
+
uri: string;
|
|
624
|
+
}[] | null;
|
|
625
|
+
pagination?: {
|
|
626
|
+
hasMore: boolean;
|
|
627
|
+
limit: number;
|
|
628
|
+
offset: number;
|
|
629
|
+
total?: number | undefined;
|
|
630
|
+
} | undefined;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
default: {
|
|
635
|
+
headers: {
|
|
636
|
+
[name: string]: unknown;
|
|
637
|
+
};
|
|
638
|
+
content: {
|
|
639
|
+
"application/problem+json": {
|
|
640
|
+
readonly $schema?: string | undefined;
|
|
641
|
+
detail?: string | undefined;
|
|
642
|
+
errors?: {
|
|
643
|
+
location?: string | undefined;
|
|
644
|
+
message?: string | undefined;
|
|
645
|
+
value?: unknown;
|
|
646
|
+
}[] | null | undefined;
|
|
647
|
+
instance?: string | undefined;
|
|
648
|
+
status?: number | undefined;
|
|
649
|
+
title?: string | undefined;
|
|
650
|
+
type: string;
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
}> | undefined;
|
|
656
|
+
parseAs?: keyof import("openapi-fetch").BodyType<unknown> | undefined;
|
|
657
|
+
fetch?: ((input: Request) => Promise<Response>) | undefined;
|
|
658
|
+
headers?: import("openapi-fetch").HeadersOptions | undefined;
|
|
659
|
+
} & Omit<RequestInit, "headers" | "body"> & {
|
|
660
|
+
readonly $schema?: string | undefined;
|
|
661
|
+
includeLicenses?: boolean | undefined;
|
|
662
|
+
moderated?: boolean | undefined;
|
|
663
|
+
orderBy: "blockNumber" | "descendantCount" | "createdAt";
|
|
664
|
+
orderDirection: "asc" | "desc";
|
|
665
|
+
pagination?: {
|
|
666
|
+
limit: number;
|
|
667
|
+
offset: number;
|
|
668
|
+
} | undefined;
|
|
669
|
+
where?: {
|
|
670
|
+
ipIds?: string[] | null | undefined;
|
|
671
|
+
ownerAddress?: string | undefined;
|
|
672
|
+
tokenContract?: string | undefined;
|
|
673
|
+
} | undefined;
|
|
674
|
+
}, `${string}/${string}`>>;
|
|
675
|
+
//# sourceMappingURL=getIpAssets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIpAssets.d.ts","sourceRoot":"","sources":["../../../src/lib/api/getIpAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAGvC,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAA;AACxG,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAA;AAE7G,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,SAAS,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,EAAE,CAAA;IACjB,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,YAAY,EACZ,aAAa,EACb,eAAe,EACf,SAAS,EACT,KAAK,EACL,OAAO,EACP,MAAM,GACP,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAmBpB"}
|