@story-protocol/core-sdk 0.0.1-beta-rc.12 → 0.0.1-beta-rc.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/declarations/src/client.d.ts +0 -9
  2. package/dist/declarations/src/client.d.ts.map +1 -1
  3. package/dist/declarations/src/clients/storyAPI.d.ts +0 -2
  4. package/dist/declarations/src/clients/storyAPI.d.ts.map +1 -1
  5. package/dist/declarations/src/index.d.ts +1 -3
  6. package/dist/declarations/src/index.d.ts.map +1 -1
  7. package/dist/declarations/src/resources/dispute.d.ts +321 -5
  8. package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
  9. package/dist/declarations/src/resources/ipAccount.d.ts +321 -5
  10. package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
  11. package/dist/declarations/src/resources/license.d.ts +2955 -211
  12. package/dist/declarations/src/resources/license.d.ts.map +1 -1
  13. package/dist/declarations/src/resources/permission.d.ts +642 -10
  14. package/dist/declarations/src/resources/permission.d.ts.map +1 -1
  15. package/dist/declarations/src/resources/royalty.d.ts +963 -15
  16. package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
  17. package/dist/declarations/src/types/config.d.ts +2 -1
  18. package/dist/declarations/src/types/config.d.ts.map +1 -1
  19. package/dist/declarations/src/types/resources/ipAsset.d.ts +1 -1
  20. package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
  21. package/dist/declarations/src/types/resources/license.d.ts +54 -18
  22. package/dist/declarations/src/types/resources/license.d.ts.map +1 -1
  23. package/dist/story-protocol-core-sdk.cjs.dev.js +863 -905
  24. package/dist/story-protocol-core-sdk.cjs.prod.js +863 -905
  25. package/dist/story-protocol-core-sdk.esm.js +865 -906
  26. package/package.json +5 -5
  27. package/dist/declarations/src/resources/policy.d.ts +0 -3253
  28. package/dist/declarations/src/resources/policy.d.ts.map +0 -1
  29. package/dist/declarations/src/types/resources/policy.d.ts +0 -83
  30. package/dist/declarations/src/types/resources/policy.d.ts.map +0 -1
@@ -2,7 +2,6 @@ import { StoryConfig } from "./types/config.js";
2
2
  import { IPAssetClient } from "./resources/ipAsset.js";
3
3
  import { PermissionClient } from "./resources/permission.js";
4
4
  import { LicenseClient } from "./resources/license.js";
5
- import { PolicyClient } from "./resources/policy.js";
6
5
  import { DisputeClient } from "./resources/dispute.js";
7
6
  import { IPAccountClient } from "./resources/ipAccount.js";
8
7
  import { RoyaltyClient } from "./resources/royalty.js";
@@ -17,7 +16,6 @@ export declare class StoryClient {
17
16
  private _ipAsset;
18
17
  private _permission;
19
18
  private _license;
20
- private _policy;
21
19
  private _dispute;
22
20
  private _ipAccount;
23
21
  private _royalty;
@@ -52,13 +50,6 @@ export declare class StoryClient {
52
50
  * @returns the LicenseClient instance
53
51
  */
54
52
  get license(): LicenseClient;
55
- /**
56
- * Getter for the policy client. The client is lazily created when
57
- * this method is called.
58
- *
59
- * @returns the PolicyClient instance
60
- */
61
- get policy(): PolicyClient;
62
53
  /**
63
54
  * Getter for the dispute client. The client is lazily created when
64
55
  * this method is called.
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"../../../src","sources":["client.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAqB,0BAAuB;AAChE,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,YAAY,EAAE,8BAA2B;AAClD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,eAAe,EAAE,iCAA8B;AAGxD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AAKpD;;GAEG;AACH,qBAAa,WAAW;IACtB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+C;IACtE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAe;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;IACtC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAiB;IAC7C,OAAO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AW,CAAiB;IAC7C,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,WAAW,CAAiC;IACpD,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,QAAQ,CAA8B;IAC9C,OAAO,CAAC,UAAU,CAAgC;IAClD,OAAO,CAAC,QAAQ,CAA8B;IAC9C;;OAEG;IACH,OAAO;IAgCP;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW;IAIlD;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,UAAU,IAAI,gBAAgB,CAMxC;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAWlC;IAED;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;IAED;;;;;OAKG;IACH,IAAW,SAAS,IAAI,eAAe,CAMtC;IACD;;;;;OAKG;IACH,IAAW,OAAO,IAAI,aAAa,CAMlC;CACF"}
@@ -1,11 +1,9 @@
1
1
  import { RoyaltyPolicy } from "../types/resources/royalty.js";
2
2
  import { License } from "../types/resources/license.js";
3
- import { Policy } from "../types/resources/policy.js";
4
3
  export declare class StoryAPIClient {
5
4
  private readonly httpClient;
6
5
  constructor();
7
6
  getRoyaltyPolicy(ipId: string): Promise<RoyaltyPolicy>;
8
7
  getLicense(licenseId: string): Promise<License>;
9
- getPolicy(policyId: string): Promise<Policy>;
10
8
  }
11
9
  //# sourceMappingURL=storyAPI.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"storyAPI.d.ts","sourceRoot":"../../../../src/clients","sources":["storyAPI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAA4B,sCAAmC;AACrF,OAAO,EAAE,OAAO,EAAsB,sCAAmC;AACzE,OAAO,EAAE,MAAM,EAAqB,qCAAkC;AAEtE,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;;IAY9B,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAKtD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAK/C,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAI1D"}
1
+ {"version":3,"file":"storyAPI.d.ts","sourceRoot":"../../../../src/clients","sources":["storyAPI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAA4B,sCAAmC;AACrF,OAAO,EAAE,OAAO,EAAsB,sCAAmC;AAEzE,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAgB;;IAY9B,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAKtD,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAI7D"}
@@ -3,13 +3,11 @@ export { AddressZero, HashZero } from "./constants/common.js";
3
3
  export { IPAssetClient } from "./resources/ipAsset.js";
4
4
  export { PermissionClient } from "./resources/permission.js";
5
5
  export { LicenseClient } from "./resources/license.js";
6
- export { PolicyClient } from "./resources/policy.js";
7
6
  export { DisputeClient } from "./resources/dispute.js";
8
7
  export type { StoryConfig } from "./types/config.js";
9
8
  export type { Hex, TypedData } from "./types/common.js";
10
9
  export type { RegisterIpResponse, RegisterRequest } from "./types/resources/ipAsset.js";
11
- export type { MintLicenseRequest, MintLicenseResponse, LinkIpToParentRequest, LinkIpToParentResponse, } from "./types/resources/license.js";
12
- export type { RegisterPILPolicyRequest, RegisterPILPolicyResponse, AddPolicyToIpRequest, AddPolicyToIpResponse, } from "./types/resources/policy.js";
10
+ export type { MintLicenseTokensResponse, MintLicenseTokensRequest, RegisterCommercialUsePILRequest, RegisterLicenseTermsResponse, RegisterCommercialRemixPILRequest, AttachLicenseTermsRequest, LicenseTermsIdResponse, } from "./types/resources/license.js";
13
11
  export type { CollectRoyaltyTokensRequest, CollectRoyaltyTokensResponse, PayRoyaltyOnBehalfRequest, PayRoyaltyOnBehalfResponse, } from "./types/resources/royalty.js";
14
12
  export type { SetPermissionsRequest, SetPermissionsResponse } from "./types/resources/permission.js";
15
13
  export type { Dispute, RaiseDisputeRequest, RaiseDisputeResponse, SetDisputeJudgementRequest, SetDisputeJudgementResponse, CancelDisputeRequest, CancelDisputeResponse, ResolveDisputeRequest, ResolveDisputeResponse, } from "./types/resources/dispute.js";
@@ -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,WAAW,EAAE,QAAQ,EAAE,8BAA2B;AAE3D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,YAAY,EAAE,8BAA2B;AAClD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AAEpD,YAAY,EAAE,WAAW,EAAE,0BAAuB;AAClD,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,0BAAuB;AAErD,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,qCAAkC;AAErF,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,GACtB,oCAAiC;AAElC,YAAY,EACV,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,GAC3B,qCAAkC;AAEnC,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,wCAAqC;AAElG,YAAY,EACV,OAAO,EACP,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,GAChC,uCAAoC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAiB;AACvC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,8BAA2B;AAE3D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,gBAAgB,EAAE,kCAA+B;AAC1D,OAAO,EAAE,aAAa,EAAE,+BAA4B;AACpD,OAAO,EAAE,aAAa,EAAE,+BAA4B;AAEpD,YAAY,EAAE,WAAW,EAAE,0BAAuB;AAClD,YAAY,EAAE,GAAG,EAAE,SAAS,EAAE,0BAAuB;AAErD,YAAY,EAAE,kBAAkB,EAAE,eAAe,EAAE,qCAAkC;AAErF,YAAY,EACV,yBAAyB,EACzB,wBAAwB,EACxB,+BAA+B,EAC/B,4BAA4B,EAC5B,iCAAiC,EACjC,yBAAyB,EACzB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,2BAA2B,EAC3B,4BAA4B,EAC5B,yBAAyB,EACzB,0BAA0B,GAC3B,qCAAkC;AAEnC,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,wCAAqC;AAElG,YAAY,EACV,OAAO,EACP,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAC1B,2BAA2B,EAC3B,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,GACvB,qCAAkC;AAEnC,YAAY,EACV,uBAAuB,EACvB,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,GAChC,uCAAoC"}
@@ -289,6 +289,10 @@ export declare class DisputeClient {
289
289
  readonly inputs: readonly [];
290
290
  readonly name: "IpRoyaltyVault__ClaimerNotAnAncestor";
291
291
  readonly type: "error";
292
+ } | {
293
+ readonly inputs: readonly [];
294
+ readonly name: "IpRoyaltyVault__IpTagged";
295
+ readonly type: "error";
292
296
  } | {
293
297
  readonly inputs: readonly [];
294
298
  readonly name: "IpRoyaltyVault__NotRoyaltyPolicyLAP";
@@ -297,6 +301,10 @@ export declare class DisputeClient {
297
301
  readonly inputs: readonly [];
298
302
  readonly name: "IpRoyaltyVault__SnapshotIntervalTooShort";
299
303
  readonly type: "error";
304
+ } | {
305
+ readonly inputs: readonly [];
306
+ readonly name: "IpRoyaltyVault__ZeroDisputeModule";
307
+ readonly type: "error";
300
308
  } | {
301
309
  readonly inputs: readonly [];
302
310
  readonly name: "IpRoyaltyVault__ZeroIpId";
@@ -309,13 +317,129 @@ export declare class DisputeClient {
309
317
  readonly inputs: readonly [];
310
318
  readonly name: "LicenseRegistry__CallerNotLicensingModule";
311
319
  readonly type: "error";
320
+ } | {
321
+ readonly inputs: readonly [{
322
+ readonly internalType: "address";
323
+ readonly name: "childIpId";
324
+ readonly type: "address";
325
+ }];
326
+ readonly name: "LicenseRegistry__DerivativeAlreadyRegistered";
327
+ readonly type: "error";
328
+ } | {
329
+ readonly inputs: readonly [{
330
+ readonly internalType: "address";
331
+ readonly name: "childIpId";
332
+ readonly type: "address";
333
+ }];
334
+ readonly name: "LicenseRegistry__DerivativeIpAlreadyHasLicense";
335
+ readonly type: "error";
336
+ } | {
337
+ readonly inputs: readonly [{
338
+ readonly internalType: "address";
339
+ readonly name: "ipId";
340
+ readonly type: "address";
341
+ }];
342
+ readonly name: "LicenseRegistry__DerivativeIsParent";
343
+ readonly type: "error";
344
+ } | {
345
+ readonly inputs: readonly [{
346
+ readonly internalType: "address";
347
+ readonly name: "ipId";
348
+ readonly type: "address";
349
+ }, {
350
+ readonly internalType: "uint256";
351
+ readonly name: "index";
352
+ readonly type: "uint256";
353
+ }, {
354
+ readonly internalType: "uint256";
355
+ readonly name: "length";
356
+ readonly type: "uint256";
357
+ }];
358
+ readonly name: "LicenseRegistry__IndexOutOfBounds";
359
+ readonly type: "error";
360
+ } | {
361
+ readonly inputs: readonly [{
362
+ readonly internalType: "address";
363
+ readonly name: "ipId";
364
+ readonly type: "address";
365
+ }];
366
+ readonly name: "LicenseRegistry__IpExpired";
367
+ readonly type: "error";
368
+ } | {
369
+ readonly inputs: readonly [{
370
+ readonly internalType: "address";
371
+ readonly name: "licenseTemplate";
372
+ readonly type: "address";
373
+ }, {
374
+ readonly internalType: "uint256";
375
+ readonly name: "licenseTermsId";
376
+ readonly type: "uint256";
377
+ }];
378
+ readonly name: "LicenseRegistry__LicenseTermsNotExists";
379
+ readonly type: "error";
312
380
  } | {
313
381
  readonly inputs: readonly [];
314
- readonly name: "LicenseRegistry__NotTransferable";
382
+ readonly name: "LicenseRegistry__NoParentIp";
383
+ readonly type: "error";
384
+ } | {
385
+ readonly inputs: readonly [{
386
+ readonly internalType: "address";
387
+ readonly name: "licenseTemplate";
388
+ readonly type: "address";
389
+ }];
390
+ readonly name: "LicenseRegistry__NotLicenseTemplate";
315
391
  readonly type: "error";
316
392
  } | {
317
393
  readonly inputs: readonly [];
318
- readonly name: "LicenseRegistry__RevokedLicense";
394
+ readonly name: "LicenseRegistry__NotTransferable";
395
+ readonly type: "error";
396
+ } | {
397
+ readonly inputs: readonly [{
398
+ readonly internalType: "address";
399
+ readonly name: "ipId";
400
+ readonly type: "address";
401
+ }];
402
+ readonly name: "LicenseRegistry__ParentIpExpired";
403
+ readonly type: "error";
404
+ } | {
405
+ readonly inputs: readonly [{
406
+ readonly internalType: "address";
407
+ readonly name: "ipId";
408
+ readonly type: "address";
409
+ }, {
410
+ readonly internalType: "uint256";
411
+ readonly name: "licenseTermsId";
412
+ readonly type: "uint256";
413
+ }];
414
+ readonly name: "LicenseRegistry__ParentIpHasNoLicenseTerms";
415
+ readonly type: "error";
416
+ } | {
417
+ readonly inputs: readonly [{
418
+ readonly internalType: "address";
419
+ readonly name: "ipId";
420
+ readonly type: "address";
421
+ }];
422
+ readonly name: "LicenseRegistry__ParentIpTagged";
423
+ readonly type: "error";
424
+ } | {
425
+ readonly inputs: readonly [{
426
+ readonly internalType: "address";
427
+ readonly name: "ipId";
428
+ readonly type: "address";
429
+ }, {
430
+ readonly internalType: "address";
431
+ readonly name: "licenseTemplate";
432
+ readonly type: "address";
433
+ }];
434
+ readonly name: "LicenseRegistry__ParentIpUnmachedLicenseTemplate";
435
+ readonly type: "error";
436
+ } | {
437
+ readonly inputs: readonly [{
438
+ readonly internalType: "address";
439
+ readonly name: "licenseTemplate";
440
+ readonly type: "address";
441
+ }];
442
+ readonly name: "LicenseRegistry__UnregisteredLicenseTemplate";
319
443
  readonly type: "error";
320
444
  } | {
321
445
  readonly inputs: readonly [];
@@ -325,10 +449,98 @@ export declare class DisputeClient {
325
449
  readonly inputs: readonly [];
326
450
  readonly name: "LicenseRegistry__ZeroLicensingModule";
327
451
  readonly type: "error";
452
+ } | {
453
+ readonly inputs: readonly [{
454
+ readonly internalType: "address";
455
+ readonly name: "licenseTemplate";
456
+ readonly type: "address";
457
+ }, {
458
+ readonly internalType: "address";
459
+ readonly name: "anotherLicenseTemplate";
460
+ readonly type: "address";
461
+ }];
462
+ readonly name: "LicenseToken__AllLicenseTokensMustFromSameLicenseTemplate";
463
+ readonly type: "error";
464
+ } | {
465
+ readonly inputs: readonly [];
466
+ readonly name: "LicenseToken__CallerNotLicensingModule";
467
+ readonly type: "error";
468
+ } | {
469
+ readonly inputs: readonly [{
470
+ readonly internalType: "uint256";
471
+ readonly name: "tokenId";
472
+ readonly type: "uint256";
473
+ }, {
474
+ readonly internalType: "uint256";
475
+ readonly name: "expiredAt";
476
+ readonly type: "uint256";
477
+ }, {
478
+ readonly internalType: "uint256";
479
+ readonly name: "currentTimestamp";
480
+ readonly type: "uint256";
481
+ }];
482
+ readonly name: "LicenseToken__LicenseTokenExpired";
483
+ readonly type: "error";
484
+ } | {
485
+ readonly inputs: readonly [{
486
+ readonly internalType: "uint256";
487
+ readonly name: "tokenId";
488
+ readonly type: "uint256";
489
+ }, {
490
+ readonly internalType: "address";
491
+ readonly name: "iPowner";
492
+ readonly type: "address";
493
+ }, {
494
+ readonly internalType: "address";
495
+ readonly name: "tokenOwner";
496
+ readonly type: "address";
497
+ }];
498
+ readonly name: "LicenseToken__NotLicenseTokenOwner";
499
+ readonly type: "error";
500
+ } | {
501
+ readonly inputs: readonly [];
502
+ readonly name: "LicenseToken__NotTransferable";
503
+ readonly type: "error";
504
+ } | {
505
+ readonly inputs: readonly [{
506
+ readonly internalType: "uint256";
507
+ readonly name: "tokenId";
508
+ readonly type: "uint256";
509
+ }];
510
+ readonly name: "LicenseToken__RevokedLicense";
511
+ readonly type: "error";
512
+ } | {
513
+ readonly inputs: readonly [];
514
+ readonly name: "LicenseToken__ZeroDisputeModule";
515
+ readonly type: "error";
516
+ } | {
517
+ readonly inputs: readonly [];
518
+ readonly name: "LicenseToken__ZeroLicensingModule";
519
+ readonly type: "error";
328
520
  } | {
329
521
  readonly inputs: readonly [];
330
522
  readonly name: "LicensingModule__CallerNotLicenseRegistry";
331
523
  readonly type: "error";
524
+ } | {
525
+ readonly inputs: readonly [{
526
+ readonly internalType: "address";
527
+ readonly name: "caller";
528
+ readonly type: "address";
529
+ }, {
530
+ readonly internalType: "address";
531
+ readonly name: "licensorIpId";
532
+ readonly type: "address";
533
+ }, {
534
+ readonly internalType: "address";
535
+ readonly name: "licenseTemplate";
536
+ readonly type: "address";
537
+ }, {
538
+ readonly internalType: "uint256";
539
+ readonly name: "licenseTermsId";
540
+ readonly type: "uint256";
541
+ }];
542
+ readonly name: "LicensingModule__CallerNotLicensorAndIpHasNotAttachedLicenseTerms";
543
+ readonly type: "error";
332
544
  } | {
333
545
  readonly inputs: readonly [];
334
546
  readonly name: "LicensingModule__CallerNotLicensorAndPolicyNotSet";
@@ -337,10 +549,30 @@ export declare class DisputeClient {
337
549
  readonly inputs: readonly [];
338
550
  readonly name: "LicensingModule__CommercialTermInNonCommercialPolicy";
339
551
  readonly type: "error";
552
+ } | {
553
+ readonly inputs: readonly [{
554
+ readonly internalType: "address";
555
+ readonly name: "ipId";
556
+ readonly type: "address";
557
+ }];
558
+ readonly name: "LicensingModule__DerivativeAlreadyHasLicenseTerms";
559
+ readonly type: "error";
560
+ } | {
561
+ readonly inputs: readonly [];
562
+ readonly name: "LicensingModule__DerivativeAlreadyRegistered";
563
+ readonly type: "error";
564
+ } | {
565
+ readonly inputs: readonly [];
566
+ readonly name: "LicensingModule__DerivativeIsParent";
567
+ readonly type: "error";
340
568
  } | {
341
569
  readonly inputs: readonly [];
342
570
  readonly name: "LicensingModule__DerivativeRevShareSumExceedsMaxRNFTSupply";
343
571
  readonly type: "error";
572
+ } | {
573
+ readonly inputs: readonly [];
574
+ readonly name: "LicensingModule__DerivativesCannotAddLicenseTerms";
575
+ readonly type: "error";
344
576
  } | {
345
577
  readonly inputs: readonly [];
346
578
  readonly name: "LicensingModule__DerivativesCannotAddPolicy";
@@ -363,11 +595,19 @@ export declare class DisputeClient {
363
595
  readonly type: "error";
364
596
  } | {
365
597
  readonly inputs: readonly [];
366
- readonly name: "LicensingModule__IncompatibleLicensorCommercialPolicy";
598
+ readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
367
599
  readonly type: "error";
368
600
  } | {
369
- readonly inputs: readonly [];
370
- readonly name: "LicensingModule__IncompatibleLicensorRoyaltyDerivativeRevShare";
601
+ readonly inputs: readonly [{
602
+ readonly internalType: "address";
603
+ readonly name: "royaltyPolicy";
604
+ readonly type: "address";
605
+ }, {
606
+ readonly internalType: "address";
607
+ readonly name: "anotherRoyaltyPolicy";
608
+ readonly type: "address";
609
+ }];
610
+ readonly name: "LicensingModule__IncompatibleRoyaltyPolicy";
371
611
  readonly type: "error";
372
612
  } | {
373
613
  readonly inputs: readonly [];
@@ -389,6 +629,50 @@ export declare class DisputeClient {
389
629
  readonly inputs: readonly [];
390
630
  readonly name: "LicensingModule__IpAlreadyLinked";
391
631
  readonly type: "error";
632
+ } | {
633
+ readonly inputs: readonly [{
634
+ readonly internalType: "address";
635
+ readonly name: "childIpId";
636
+ readonly type: "address";
637
+ }];
638
+ readonly name: "LicensingModule__LicenseNotCompatibleForDerivative";
639
+ readonly type: "error";
640
+ } | {
641
+ readonly inputs: readonly [{
642
+ readonly internalType: "uint256";
643
+ readonly name: "ipLength";
644
+ readonly type: "uint256";
645
+ }, {
646
+ readonly internalType: "uint256";
647
+ readonly name: "licenseTermsLength";
648
+ readonly type: "uint256";
649
+ }];
650
+ readonly name: "LicensingModule__LicenseTermsLengthMismatch";
651
+ readonly type: "error";
652
+ } | {
653
+ readonly inputs: readonly [{
654
+ readonly internalType: "address";
655
+ readonly name: "licenseTemplate";
656
+ readonly type: "address";
657
+ }, {
658
+ readonly internalType: "uint256";
659
+ readonly name: "licenseTermsId";
660
+ readonly type: "uint256";
661
+ }];
662
+ readonly name: "LicensingModule__LicenseTermsNotFound";
663
+ readonly type: "error";
664
+ } | {
665
+ readonly inputs: readonly [{
666
+ readonly internalType: "address";
667
+ readonly name: "childIpId";
668
+ readonly type: "address";
669
+ }, {
670
+ readonly internalType: "uint256[]";
671
+ readonly name: "licenseTokenIds";
672
+ readonly type: "uint256[]";
673
+ }];
674
+ readonly name: "LicensingModule__LicenseTokenNotCompatibleForDerivative";
675
+ readonly type: "error";
392
676
  } | {
393
677
  readonly inputs: readonly [];
394
678
  readonly name: "LicensingModule__LicensorDoesntHaveThisPolicy";
@@ -421,6 +705,14 @@ export declare class DisputeClient {
421
705
  readonly inputs: readonly [];
422
706
  readonly name: "LicensingModule__MismatchBetweenRoyaltyPolicy";
423
707
  readonly type: "error";
708
+ } | {
709
+ readonly inputs: readonly [];
710
+ readonly name: "LicensingModule__NoLicenseToken";
711
+ readonly type: "error";
712
+ } | {
713
+ readonly inputs: readonly [];
714
+ readonly name: "LicensingModule__NoParentIp";
715
+ readonly type: "error";
424
716
  } | {
425
717
  readonly inputs: readonly [];
426
718
  readonly name: "LicensingModule__NotLicensee";
@@ -437,6 +729,14 @@ export declare class DisputeClient {
437
729
  readonly inputs: readonly [];
438
730
  readonly name: "LicensingModule__ParentIdEqualThanChild";
439
731
  readonly type: "error";
732
+ } | {
733
+ readonly inputs: readonly [{
734
+ readonly internalType: "address";
735
+ readonly name: "ipId";
736
+ readonly type: "address";
737
+ }];
738
+ readonly name: "LicensingModule__ParentIpHasNoLicenseTerms";
739
+ readonly type: "error";
440
740
  } | {
441
741
  readonly inputs: readonly [];
442
742
  readonly name: "LicensingModule__PolicyAlreadySetForIpId";
@@ -445,6 +745,14 @@ export declare class DisputeClient {
445
745
  readonly inputs: readonly [];
446
746
  readonly name: "LicensingModule__PolicyNotFound";
447
747
  readonly type: "error";
748
+ } | {
749
+ readonly inputs: readonly [{
750
+ readonly internalType: "address";
751
+ readonly name: "receiver";
752
+ readonly type: "address";
753
+ }];
754
+ readonly name: "LicensingModule__ReceiverCheckFailed";
755
+ readonly type: "error";
448
756
  } | {
449
757
  readonly inputs: readonly [];
450
758
  readonly name: "LicensingModule__ReceiverZeroAddress";
@@ -585,6 +893,10 @@ export declare class DisputeClient {
585
893
  readonly inputs: readonly [];
586
894
  readonly name: "RoyaltyModule__IncompatibleRoyaltyPolicy";
587
895
  readonly type: "error";
896
+ } | {
897
+ readonly inputs: readonly [];
898
+ readonly name: "RoyaltyModule__IpIsTagged";
899
+ readonly type: "error";
588
900
  } | {
589
901
  readonly inputs: readonly [];
590
902
  readonly name: "RoyaltyModule__NoParentsOnLinking";
@@ -605,6 +917,10 @@ export declare class DisputeClient {
605
917
  readonly inputs: readonly [];
606
918
  readonly name: "RoyaltyModule__NotWhitelistedRoyaltyToken";
607
919
  readonly type: "error";
920
+ } | {
921
+ readonly inputs: readonly [];
922
+ readonly name: "RoyaltyModule__ZeroDisputeModule";
923
+ readonly type: "error";
608
924
  } | {
609
925
  readonly inputs: readonly [];
610
926
  readonly name: "RoyaltyModule__ZeroLicensingModule";
@@ -1 +1 @@
1
- {"version":3,"file":"dispute.d.ts","sourceRoot":"../../../../src/resources","sources":["dispute.ts"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