bitbadgesjs-sdk 0.4.20 → 0.4.22

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.
Files changed (33) hide show
  1. package/dist/cjs/api-indexer/BitBadgesApi.js +269 -157
  2. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  3. package/dist/cjs/api-indexer/docs/docs.d.ts +2 -1
  4. package/dist/cjs/api-indexer/docs/docs.d.ts.map +1 -1
  5. package/dist/cjs/api-indexer/docs/docs.js +1 -0
  6. package/dist/cjs/api-indexer/docs/docs.js.map +1 -1
  7. package/dist/cjs/api-indexer/docs/interfaces.d.ts +6 -0
  8. package/dist/cjs/api-indexer/docs/interfaces.d.ts.map +1 -1
  9. package/dist/cjs/api-indexer/docs/interfaces.js.map +1 -1
  10. package/dist/cjs/api-indexer/requests/requests.d.ts +2 -0
  11. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  12. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  13. package/dist/cjs/core/approvals.d.ts +8 -3
  14. package/dist/cjs/core/approvals.d.ts.map +1 -1
  15. package/dist/cjs/core/approvals.js +11 -3
  16. package/dist/cjs/core/approvals.js.map +1 -1
  17. package/dist/esm/api-indexer/BitBadgesApi.js +269 -157
  18. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  19. package/dist/esm/api-indexer/docs/docs.d.ts +2 -1
  20. package/dist/esm/api-indexer/docs/docs.d.ts.map +1 -1
  21. package/dist/esm/api-indexer/docs/docs.js +3 -1
  22. package/dist/esm/api-indexer/docs/docs.js.map +1 -1
  23. package/dist/esm/api-indexer/docs/interfaces.d.ts +6 -0
  24. package/dist/esm/api-indexer/docs/interfaces.d.ts.map +1 -1
  25. package/dist/esm/api-indexer/docs/interfaces.js.map +1 -1
  26. package/dist/esm/api-indexer/requests/requests.d.ts +2 -0
  27. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  28. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  29. package/dist/esm/core/approvals.d.ts +8 -3
  30. package/dist/esm/core/approvals.d.ts.map +1 -1
  31. package/dist/esm/core/approvals.js +12 -2
  32. package/dist/esm/core/approvals.js.map +1 -1
  33. package/package.json +1 -1
@@ -3343,7 +3343,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3343
3343
  }
3344
3344
  async createClaims(payload) {
3345
3345
  try {
3346
- const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)) && (undefined === input.testClaims || "boolean" === typeof input.testClaims) && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim); const $io1 = input => (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && "string" === typeof input.claimId && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io18(elem))); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.utility || Array.isArray(input.utility) && input.utility.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
3346
+ const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)) && (undefined === input.testClaims || "boolean" === typeof input.testClaims) && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim); const $io1 = input => (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && "string" === typeof input.claimId && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io18(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io19(elem))); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.utility || Array.isArray(input.utility) && input.utility.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
3347
3347
  const value = input[key];
3348
3348
  if (undefined === value)
3349
3349
  return true;
@@ -3353,7 +3353,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3353
3353
  if (undefined === value)
3354
3354
  return true;
3355
3355
  return true;
3356
- }); const $io18 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io19(input.metadata)) && "string" === typeof input.version && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io20(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io20(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io20(input.privateParams)); const $io19 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const $io20 = input => Object.keys(input).every(key => {
3356
+ }); const $io18 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("number" === typeof elem || "object" === typeof elem && null !== elem && $io18(elem)))); const $io19 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io20(input.metadata)) && "string" === typeof input.version && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io21(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io21(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io21(input.privateParams)); const $io20 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const $io21 = input => Object.keys(input).every(key => {
3357
3357
  const value = input[key];
3358
3358
  if (undefined === value)
3359
3359
  return true;
@@ -3362,12 +3362,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3362
3362
  path: _path + ".claims",
3363
3363
  expected: "Array<CreateClaimRequest<NumberType>>",
3364
3364
  value: input.claims
3365
- })) && input.claims.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3366
- path: _path + ".claims[" + _index13 + "]",
3365
+ })) && input.claims.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3366
+ path: _path + ".claims[" + _index14 + "]",
3367
3367
  expected: "CreateClaimRequest<NumberType>",
3368
3368
  value: elem
3369
- })) && $vo1(elem, _path + ".claims[" + _index13 + "]", true && _exceptionable) || $report(_exceptionable, {
3370
- path: _path + ".claims[" + _index13 + "]",
3369
+ })) && $vo1(elem, _path + ".claims[" + _index14 + "]", true && _exceptionable) || $report(_exceptionable, {
3370
+ path: _path + ".claims[" + _index14 + "]",
3371
3371
  expected: "CreateClaimRequest<NumberType>",
3372
3372
  value: elem
3373
3373
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3406,8 +3406,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3406
3406
  path: _path + ".categories",
3407
3407
  expected: "(Array<string> | undefined)",
3408
3408
  value: input.categories
3409
- })) && input.categories.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable, {
3410
- path: _path + ".categories[" + _index14 + "]",
3409
+ })) && input.categories.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable, {
3410
+ path: _path + ".categories[" + _index15 + "]",
3411
3411
  expected: "string",
3412
3412
  value: elem
3413
3413
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3446,12 +3446,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3446
3446
  path: _path + ".rewards",
3447
3447
  expected: "(Array<iClaimReward<NumberType>> | undefined)",
3448
3448
  value: input.rewards
3449
- })) && input.rewards.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3450
- path: _path + ".rewards[" + _index15 + "]",
3449
+ })) && input.rewards.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3450
+ path: _path + ".rewards[" + _index16 + "]",
3451
3451
  expected: "iClaimReward<NumberType>",
3452
3452
  value: elem
3453
- })) && $vo14(elem, _path + ".rewards[" + _index15 + "]", true && _exceptionable) || $report(_exceptionable, {
3454
- path: _path + ".rewards[" + _index15 + "]",
3453
+ })) && $vo14(elem, _path + ".rewards[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
3454
+ path: _path + ".rewards[" + _index16 + "]",
3455
3455
  expected: "iClaimReward<NumberType>",
3456
3456
  value: elem
3457
3457
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3482,6 +3482,14 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3482
3482
  path: _path + ".assignMethod",
3483
3483
  expected: "(string | undefined)",
3484
3484
  value: input.assignMethod
3485
+ }), undefined === input.satisfyMethod || ("object" === typeof input.satisfyMethod && null !== input.satisfyMethod || $report(_exceptionable, {
3486
+ path: _path + ".satisfyMethod",
3487
+ expected: "(iSatisfyMethod | undefined)",
3488
+ value: input.satisfyMethod
3489
+ })) && $vo18(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || $report(_exceptionable, {
3490
+ path: _path + ".satisfyMethod",
3491
+ expected: "(iSatisfyMethod | undefined)",
3492
+ value: input.satisfyMethod
3485
3493
  }), undefined === input.cid || "string" === typeof input.cid || $report(_exceptionable, {
3486
3494
  path: _path + ".cid",
3487
3495
  expected: "(string | undefined)",
@@ -3490,12 +3498,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3490
3498
  path: _path + ".plugins",
3491
3499
  expected: "Array<ManagePluginRequest>",
3492
3500
  value: input.plugins
3493
- })) && input.plugins.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3494
- path: _path + ".plugins[" + _index16 + "]",
3501
+ })) && input.plugins.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3502
+ path: _path + ".plugins[" + _index17 + "]",
3495
3503
  expected: "ManagePluginRequest",
3496
3504
  value: elem
3497
- })) && $vo18(elem, _path + ".plugins[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
3498
- path: _path + ".plugins[" + _index16 + "]",
3505
+ })) && $vo19(elem, _path + ".plugins[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
3506
+ path: _path + ".plugins[" + _index17 + "]",
3499
3507
  expected: "ManagePluginRequest",
3500
3508
  value: elem
3501
3509
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3534,8 +3542,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3534
3542
  path: _path + ".tags",
3535
3543
  expected: "(Array<string> | undefined)",
3536
3544
  value: input.tags
3537
- })) && input.tags.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable, {
3538
- path: _path + ".tags[" + _index17 + "]",
3545
+ })) && input.tags.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable, {
3546
+ path: _path + ".tags[" + _index18 + "]",
3539
3547
  expected: "string",
3540
3548
  value: elem
3541
3549
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3562,12 +3570,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3562
3570
  path: _path + ".attributes",
3563
3571
  expected: "(Array<__type> | undefined)",
3564
3572
  value: input.attributes
3565
- })) && input.attributes.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3566
- path: _path + ".attributes[" + _index18 + "]",
3573
+ })) && input.attributes.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3574
+ path: _path + ".attributes[" + _index19 + "]",
3567
3575
  expected: "__type.o2",
3568
3576
  value: elem
3569
- })) && $vo5(elem, _path + ".attributes[" + _index18 + "]", true && _exceptionable) || $report(_exceptionable, {
3570
- path: _path + ".attributes[" + _index18 + "]",
3577
+ })) && $vo5(elem, _path + ".attributes[" + _index19 + "]", true && _exceptionable) || $report(_exceptionable, {
3578
+ path: _path + ".attributes[" + _index19 + "]",
3571
3579
  expected: "__type.o2",
3572
3580
  value: elem
3573
3581
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3578,12 +3586,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3578
3586
  path: _path + ".utility",
3579
3587
  expected: "(Array<__type>.o1 | undefined)",
3580
3588
  value: input.utility
3581
- })) && input.utility.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3582
- path: _path + ".utility[" + _index19 + "]",
3589
+ })) && input.utility.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3590
+ path: _path + ".utility[" + _index20 + "]",
3583
3591
  expected: "__type.o3",
3584
3592
  value: elem
3585
- })) && $vo6(elem, _path + ".utility[" + _index19 + "]", true && _exceptionable) || $report(_exceptionable, {
3586
- path: _path + ".utility[" + _index19 + "]",
3593
+ })) && $vo6(elem, _path + ".utility[" + _index20 + "]", true && _exceptionable) || $report(_exceptionable, {
3594
+ path: _path + ".utility[" + _index20 + "]",
3587
3595
  expected: "__type.o3",
3588
3596
  value: elem
3589
3597
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3671,12 +3679,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3671
3679
  path: _path + ".manualBalances",
3672
3680
  expected: "Array<iManualBalances<NumberType>>",
3673
3681
  value: input.manualBalances
3674
- })) && input.manualBalances.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3675
- path: _path + ".manualBalances[" + _index20 + "]",
3682
+ })) && input.manualBalances.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3683
+ path: _path + ".manualBalances[" + _index21 + "]",
3676
3684
  expected: "iManualBalances<NumberType>",
3677
3685
  value: elem
3678
- })) && $vo9(elem, _path + ".manualBalances[" + _index20 + "]", true && _exceptionable) || $report(_exceptionable, {
3679
- path: _path + ".manualBalances[" + _index20 + "]",
3686
+ })) && $vo9(elem, _path + ".manualBalances[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
3687
+ path: _path + ".manualBalances[" + _index21 + "]",
3680
3688
  expected: "iManualBalances<NumberType>",
3681
3689
  value: elem
3682
3690
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3703,12 +3711,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3703
3711
  path: _path + ".balances",
3704
3712
  expected: "Array<iBalance<NumberType>>",
3705
3713
  value: input.balances
3706
- })) && input.balances.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3707
- path: _path + ".balances[" + _index21 + "]",
3714
+ })) && input.balances.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3715
+ path: _path + ".balances[" + _index22 + "]",
3708
3716
  expected: "iBalance<NumberType>",
3709
3717
  value: elem
3710
- })) && $vo10(elem, _path + ".balances[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
3711
- path: _path + ".balances[" + _index21 + "]",
3718
+ })) && $vo10(elem, _path + ".balances[" + _index22 + "]", true && _exceptionable) || $report(_exceptionable, {
3719
+ path: _path + ".balances[" + _index22 + "]",
3712
3720
  expected: "iBalance<NumberType>",
3713
3721
  value: elem
3714
3722
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3723,12 +3731,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3723
3731
  path: _path + ".badgeIds",
3724
3732
  expected: "Array<iUintRange<NumberType>>",
3725
3733
  value: input.badgeIds
3726
- })) && input.badgeIds.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3727
- path: _path + ".badgeIds[" + _index22 + "]",
3734
+ })) && input.badgeIds.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3735
+ path: _path + ".badgeIds[" + _index23 + "]",
3728
3736
  expected: "iUintRange<NumberType>",
3729
3737
  value: elem
3730
- })) && $vo11(elem, _path + ".badgeIds[" + _index22 + "]", true && _exceptionable) || $report(_exceptionable, {
3731
- path: _path + ".badgeIds[" + _index22 + "]",
3738
+ })) && $vo11(elem, _path + ".badgeIds[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
3739
+ path: _path + ".badgeIds[" + _index23 + "]",
3732
3740
  expected: "iUintRange<NumberType>",
3733
3741
  value: elem
3734
3742
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3739,12 +3747,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3739
3747
  path: _path + ".ownershipTimes",
3740
3748
  expected: "Array<iUintRange<NumberType>>",
3741
3749
  value: input.ownershipTimes
3742
- })) && input.ownershipTimes.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3743
- path: _path + ".ownershipTimes[" + _index23 + "]",
3750
+ })) && input.ownershipTimes.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3751
+ path: _path + ".ownershipTimes[" + _index24 + "]",
3744
3752
  expected: "iUintRange<NumberType>",
3745
3753
  value: elem
3746
- })) && $vo11(elem, _path + ".ownershipTimes[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
3747
- path: _path + ".ownershipTimes[" + _index23 + "]",
3754
+ })) && $vo11(elem, _path + ".ownershipTimes[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
3755
+ path: _path + ".ownershipTimes[" + _index24 + "]",
3748
3756
  expected: "iUintRange<NumberType>",
3749
3757
  value: elem
3750
3758
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3763,12 +3771,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3763
3771
  path: _path + ".startBalances",
3764
3772
  expected: "Array<iBalance<NumberType>>",
3765
3773
  value: input.startBalances
3766
- })) && input.startBalances.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3767
- path: _path + ".startBalances[" + _index24 + "]",
3774
+ })) && input.startBalances.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3775
+ path: _path + ".startBalances[" + _index25 + "]",
3768
3776
  expected: "iBalance<NumberType>",
3769
3777
  value: elem
3770
- })) && $vo10(elem, _path + ".startBalances[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
3771
- path: _path + ".startBalances[" + _index24 + "]",
3778
+ })) && $vo10(elem, _path + ".startBalances[" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
3779
+ path: _path + ".startBalances[" + _index25 + "]",
3772
3780
  expected: "iBalance<NumberType>",
3773
3781
  value: elem
3774
3782
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3868,11 +3876,39 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3868
3876
  if (undefined === value)
3869
3877
  return true;
3870
3878
  return true;
3871
- }).every(flag => flag)].every(flag => flag); const $vo18 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3879
+ }).every(flag => flag)].every(flag => flag); const $vo18 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || $report(_exceptionable, {
3880
+ path: _path + ".type",
3881
+ expected: "(\"AND\" | \"NOT\" | \"OR\")",
3882
+ value: input.type
3883
+ }), (Array.isArray(input.conditions) || $report(_exceptionable, {
3884
+ path: _path + ".conditions",
3885
+ expected: "Array<number | iSatisfyMethod>",
3886
+ value: input.conditions
3887
+ })) && input.conditions.map((elem, _index26) => (null !== elem || $report(_exceptionable, {
3888
+ path: _path + ".conditions[" + _index26 + "]",
3889
+ expected: "(iSatisfyMethod | number)",
3890
+ value: elem
3891
+ })) && (undefined !== elem || $report(_exceptionable, {
3892
+ path: _path + ".conditions[" + _index26 + "]",
3893
+ expected: "(iSatisfyMethod | number)",
3894
+ value: elem
3895
+ })) && ("number" === typeof elem || ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3896
+ path: _path + ".conditions[" + _index26 + "]",
3897
+ expected: "(iSatisfyMethod | number)",
3898
+ value: elem
3899
+ })) && $vo18(elem, _path + ".conditions[" + _index26 + "]", true && _exceptionable) || $report(_exceptionable, {
3900
+ path: _path + ".conditions[" + _index26 + "]",
3901
+ expected: "(iSatisfyMethod | number)",
3902
+ value: elem
3903
+ }))).every(flag => flag) || $report(_exceptionable, {
3904
+ path: _path + ".conditions",
3905
+ expected: "Array<number | iSatisfyMethod>",
3906
+ value: input.conditions
3907
+ })].every(flag => flag); const $vo19 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3872
3908
  path: _path + ".metadata",
3873
3909
  expected: "(__type.o6 | undefined)",
3874
3910
  value: input.metadata
3875
- })) && $vo19(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
3911
+ })) && $vo20(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
3876
3912
  path: _path + ".metadata",
3877
3913
  expected: "(__type.o6 | undefined)",
3878
3914
  value: input.metadata
@@ -3888,7 +3924,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3888
3924
  path: _path + ".newState",
3889
3925
  expected: "(Record<string, any> | undefined)",
3890
3926
  value: input.newState
3891
- })) && $vo20(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
3927
+ })) && $vo21(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
3892
3928
  path: _path + ".newState",
3893
3929
  expected: "(Record<string, any> | undefined)",
3894
3930
  value: input.newState
@@ -3908,7 +3944,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3908
3944
  path: _path + ".publicParams",
3909
3945
  expected: "Record<string, any>",
3910
3946
  value: input.publicParams
3911
- })) && $vo20(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
3947
+ })) && $vo21(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
3912
3948
  path: _path + ".publicParams",
3913
3949
  expected: "Record<string, any>",
3914
3950
  value: input.publicParams
@@ -3916,11 +3952,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3916
3952
  path: _path + ".privateParams",
3917
3953
  expected: "Record<string, any>",
3918
3954
  value: input.privateParams
3919
- })) && $vo20(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
3955
+ })) && $vo21(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
3920
3956
  path: _path + ".privateParams",
3921
3957
  expected: "Record<string, any>",
3922
3958
  value: input.privateParams
3923
- })].every(flag => flag); const $vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
3959
+ })].every(flag => flag); const $vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
3924
3960
  path: _path + ".name",
3925
3961
  expected: "string",
3926
3962
  value: input.name
@@ -3932,7 +3968,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3932
3968
  path: _path + ".image",
3933
3969
  expected: "(string | undefined)",
3934
3970
  value: input.image
3935
- })].every(flag => flag); const $vo20 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3971
+ })].every(flag => flag); const $vo21 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3936
3972
  const value = input[key];
3937
3973
  if (undefined === value)
3938
3974
  return true;
@@ -4029,7 +4065,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4029
4065
  }
4030
4066
  async updateClaims(payload) {
4031
4067
  try {
4032
- const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && "string" === typeof input.claimId && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io17(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.utility || Array.isArray(input.utility) && input.utility.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
4068
+ const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && "string" === typeof input.claimId && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io17(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io21(input.satisfyMethod)); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.utility || Array.isArray(input.utility) && input.utility.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
4033
4069
  const value = input[key];
4034
4070
  if (undefined === value)
4035
4071
  return true;
@@ -4044,16 +4080,16 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4044
4080
  if (undefined === value)
4045
4081
  return true;
4046
4082
  return true;
4047
- }); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claims) || $report(_exceptionable, {
4083
+ }); const $io21 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("number" === typeof elem || "object" === typeof elem && null !== elem && $io21(elem)))); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claims) || $report(_exceptionable, {
4048
4084
  path: _path + ".claims",
4049
4085
  expected: "Array<Omit<iClaimDetails<NumberType>, \"version\" | \"seedCode\">>",
4050
4086
  value: input.claims
4051
- })) && input.claims.map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4052
- path: _path + ".claims[" + _index13 + "]",
4087
+ })) && input.claims.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4088
+ path: _path + ".claims[" + _index14 + "]",
4053
4089
  expected: "Omit<iClaimDetails<NumberType>, \"version\" | \"seedCode\">",
4054
4090
  value: elem
4055
- })) && $vo1(elem, _path + ".claims[" + _index13 + "]", true && _exceptionable) || $report(_exceptionable, {
4056
- path: _path + ".claims[" + _index13 + "]",
4091
+ })) && $vo1(elem, _path + ".claims[" + _index14 + "]", true && _exceptionable) || $report(_exceptionable, {
4092
+ path: _path + ".claims[" + _index14 + "]",
4057
4093
  expected: "Omit<iClaimDetails<NumberType>, \"version\" | \"seedCode\">",
4058
4094
  value: elem
4059
4095
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4084,8 +4120,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4084
4120
  path: _path + ".categories",
4085
4121
  expected: "(Array<string> | undefined)",
4086
4122
  value: input.categories
4087
- })) && input.categories.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable, {
4088
- path: _path + ".categories[" + _index14 + "]",
4123
+ })) && input.categories.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable, {
4124
+ path: _path + ".categories[" + _index15 + "]",
4089
4125
  expected: "string",
4090
4126
  value: elem
4091
4127
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4120,12 +4156,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4120
4156
  path: _path + ".plugins",
4121
4157
  expected: "Array<IntegrationPluginDetails<string>>",
4122
4158
  value: input.plugins
4123
- })) && input.plugins.map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4124
- path: _path + ".plugins[" + _index15 + "]",
4159
+ })) && input.plugins.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4160
+ path: _path + ".plugins[" + _index16 + "]",
4125
4161
  expected: "IntegrationPluginDetails<string>",
4126
4162
  value: elem
4127
- })) && $vo14(elem, _path + ".plugins[" + _index15 + "]", true && _exceptionable) || $report(_exceptionable, {
4128
- path: _path + ".plugins[" + _index15 + "]",
4163
+ })) && $vo14(elem, _path + ".plugins[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
4164
+ path: _path + ".plugins[" + _index16 + "]",
4129
4165
  expected: "IntegrationPluginDetails<string>",
4130
4166
  value: elem
4131
4167
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4136,12 +4172,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4136
4172
  path: _path + ".rewards",
4137
4173
  expected: "(Array<iClaimReward<NumberType>> | undefined)",
4138
4174
  value: input.rewards
4139
- })) && input.rewards.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4140
- path: _path + ".rewards[" + _index16 + "]",
4175
+ })) && input.rewards.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4176
+ path: _path + ".rewards[" + _index17 + "]",
4141
4177
  expected: "iClaimReward<NumberType>",
4142
4178
  value: elem
4143
- })) && $vo17(elem, _path + ".rewards[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
4144
- path: _path + ".rewards[" + _index16 + "]",
4179
+ })) && $vo17(elem, _path + ".rewards[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
4180
+ path: _path + ".rewards[" + _index17 + "]",
4145
4181
  expected: "iClaimReward<NumberType>",
4146
4182
  value: elem
4147
4183
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4172,6 +4208,14 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4172
4208
  path: _path + ".assignMethod",
4173
4209
  expected: "(string | undefined)",
4174
4210
  value: input.assignMethod
4211
+ }), undefined === input.satisfyMethod || ("object" === typeof input.satisfyMethod && null !== input.satisfyMethod || $report(_exceptionable, {
4212
+ path: _path + ".satisfyMethod",
4213
+ expected: "(iSatisfyMethod | undefined)",
4214
+ value: input.satisfyMethod
4215
+ })) && $vo21(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || $report(_exceptionable, {
4216
+ path: _path + ".satisfyMethod",
4217
+ expected: "(iSatisfyMethod | undefined)",
4218
+ value: input.satisfyMethod
4175
4219
  })].every(flag => flag); const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4176
4220
  path: _path + ".name",
4177
4221
  expected: "string",
@@ -4204,8 +4248,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4204
4248
  path: _path + ".tags",
4205
4249
  expected: "(Array<string> | undefined)",
4206
4250
  value: input.tags
4207
- })) && input.tags.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable, {
4208
- path: _path + ".tags[" + _index17 + "]",
4251
+ })) && input.tags.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable, {
4252
+ path: _path + ".tags[" + _index18 + "]",
4209
4253
  expected: "string",
4210
4254
  value: elem
4211
4255
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4232,12 +4276,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4232
4276
  path: _path + ".attributes",
4233
4277
  expected: "(Array<__type> | undefined)",
4234
4278
  value: input.attributes
4235
- })) && input.attributes.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4236
- path: _path + ".attributes[" + _index18 + "]",
4279
+ })) && input.attributes.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4280
+ path: _path + ".attributes[" + _index19 + "]",
4237
4281
  expected: "__type.o2",
4238
4282
  value: elem
4239
- })) && $vo5(elem, _path + ".attributes[" + _index18 + "]", true && _exceptionable) || $report(_exceptionable, {
4240
- path: _path + ".attributes[" + _index18 + "]",
4283
+ })) && $vo5(elem, _path + ".attributes[" + _index19 + "]", true && _exceptionable) || $report(_exceptionable, {
4284
+ path: _path + ".attributes[" + _index19 + "]",
4241
4285
  expected: "__type.o2",
4242
4286
  value: elem
4243
4287
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4248,12 +4292,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4248
4292
  path: _path + ".utility",
4249
4293
  expected: "(Array<__type>.o1 | undefined)",
4250
4294
  value: input.utility
4251
- })) && input.utility.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4252
- path: _path + ".utility[" + _index19 + "]",
4295
+ })) && input.utility.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4296
+ path: _path + ".utility[" + _index20 + "]",
4253
4297
  expected: "__type.o3",
4254
4298
  value: elem
4255
- })) && $vo6(elem, _path + ".utility[" + _index19 + "]", true && _exceptionable) || $report(_exceptionable, {
4256
- path: _path + ".utility[" + _index19 + "]",
4299
+ })) && $vo6(elem, _path + ".utility[" + _index20 + "]", true && _exceptionable) || $report(_exceptionable, {
4300
+ path: _path + ".utility[" + _index20 + "]",
4257
4301
  expected: "__type.o3",
4258
4302
  value: elem
4259
4303
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4341,12 +4385,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4341
4385
  path: _path + ".manualBalances",
4342
4386
  expected: "Array<iManualBalances<NumberType>>",
4343
4387
  value: input.manualBalances
4344
- })) && input.manualBalances.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4345
- path: _path + ".manualBalances[" + _index20 + "]",
4388
+ })) && input.manualBalances.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4389
+ path: _path + ".manualBalances[" + _index21 + "]",
4346
4390
  expected: "iManualBalances<NumberType>",
4347
4391
  value: elem
4348
- })) && $vo9(elem, _path + ".manualBalances[" + _index20 + "]", true && _exceptionable) || $report(_exceptionable, {
4349
- path: _path + ".manualBalances[" + _index20 + "]",
4392
+ })) && $vo9(elem, _path + ".manualBalances[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
4393
+ path: _path + ".manualBalances[" + _index21 + "]",
4350
4394
  expected: "iManualBalances<NumberType>",
4351
4395
  value: elem
4352
4396
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4373,12 +4417,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4373
4417
  path: _path + ".balances",
4374
4418
  expected: "Array<iBalance<NumberType>>",
4375
4419
  value: input.balances
4376
- })) && input.balances.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4377
- path: _path + ".balances[" + _index21 + "]",
4420
+ })) && input.balances.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4421
+ path: _path + ".balances[" + _index22 + "]",
4378
4422
  expected: "iBalance<NumberType>",
4379
4423
  value: elem
4380
- })) && $vo10(elem, _path + ".balances[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
4381
- path: _path + ".balances[" + _index21 + "]",
4424
+ })) && $vo10(elem, _path + ".balances[" + _index22 + "]", true && _exceptionable) || $report(_exceptionable, {
4425
+ path: _path + ".balances[" + _index22 + "]",
4382
4426
  expected: "iBalance<NumberType>",
4383
4427
  value: elem
4384
4428
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4393,12 +4437,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4393
4437
  path: _path + ".badgeIds",
4394
4438
  expected: "Array<iUintRange<NumberType>>",
4395
4439
  value: input.badgeIds
4396
- })) && input.badgeIds.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4397
- path: _path + ".badgeIds[" + _index22 + "]",
4440
+ })) && input.badgeIds.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4441
+ path: _path + ".badgeIds[" + _index23 + "]",
4398
4442
  expected: "iUintRange<NumberType>",
4399
4443
  value: elem
4400
- })) && $vo11(elem, _path + ".badgeIds[" + _index22 + "]", true && _exceptionable) || $report(_exceptionable, {
4401
- path: _path + ".badgeIds[" + _index22 + "]",
4444
+ })) && $vo11(elem, _path + ".badgeIds[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
4445
+ path: _path + ".badgeIds[" + _index23 + "]",
4402
4446
  expected: "iUintRange<NumberType>",
4403
4447
  value: elem
4404
4448
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4409,12 +4453,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4409
4453
  path: _path + ".ownershipTimes",
4410
4454
  expected: "Array<iUintRange<NumberType>>",
4411
4455
  value: input.ownershipTimes
4412
- })) && input.ownershipTimes.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4413
- path: _path + ".ownershipTimes[" + _index23 + "]",
4456
+ })) && input.ownershipTimes.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4457
+ path: _path + ".ownershipTimes[" + _index24 + "]",
4414
4458
  expected: "iUintRange<NumberType>",
4415
4459
  value: elem
4416
- })) && $vo11(elem, _path + ".ownershipTimes[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
4417
- path: _path + ".ownershipTimes[" + _index23 + "]",
4460
+ })) && $vo11(elem, _path + ".ownershipTimes[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
4461
+ path: _path + ".ownershipTimes[" + _index24 + "]",
4418
4462
  expected: "iUintRange<NumberType>",
4419
4463
  value: elem
4420
4464
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4433,12 +4477,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4433
4477
  path: _path + ".startBalances",
4434
4478
  expected: "Array<iBalance<NumberType>>",
4435
4479
  value: input.startBalances
4436
- })) && input.startBalances.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4437
- path: _path + ".startBalances[" + _index24 + "]",
4480
+ })) && input.startBalances.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4481
+ path: _path + ".startBalances[" + _index25 + "]",
4438
4482
  expected: "iBalance<NumberType>",
4439
4483
  value: elem
4440
- })) && $vo10(elem, _path + ".startBalances[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
4441
- path: _path + ".startBalances[" + _index24 + "]",
4484
+ })) && $vo10(elem, _path + ".startBalances[" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
4485
+ path: _path + ".startBalances[" + _index25 + "]",
4442
4486
  expected: "iBalance<NumberType>",
4443
4487
  value: elem
4444
4488
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4623,7 +4667,35 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4623
4667
  if (undefined === value)
4624
4668
  return true;
4625
4669
  return true;
4626
- }).every(flag => flag)].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
4670
+ }).every(flag => flag)].every(flag => flag); const $vo21 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || $report(_exceptionable, {
4671
+ path: _path + ".type",
4672
+ expected: "(\"AND\" | \"NOT\" | \"OR\")",
4673
+ value: input.type
4674
+ }), (Array.isArray(input.conditions) || $report(_exceptionable, {
4675
+ path: _path + ".conditions",
4676
+ expected: "Array<number | iSatisfyMethod>",
4677
+ value: input.conditions
4678
+ })) && input.conditions.map((elem, _index26) => (null !== elem || $report(_exceptionable, {
4679
+ path: _path + ".conditions[" + _index26 + "]",
4680
+ expected: "(iSatisfyMethod | number)",
4681
+ value: elem
4682
+ })) && (undefined !== elem || $report(_exceptionable, {
4683
+ path: _path + ".conditions[" + _index26 + "]",
4684
+ expected: "(iSatisfyMethod | number)",
4685
+ value: elem
4686
+ })) && ("number" === typeof elem || ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4687
+ path: _path + ".conditions[" + _index26 + "]",
4688
+ expected: "(iSatisfyMethod | number)",
4689
+ value: elem
4690
+ })) && $vo21(elem, _path + ".conditions[" + _index26 + "]", true && _exceptionable) || $report(_exceptionable, {
4691
+ path: _path + ".conditions[" + _index26 + "]",
4692
+ expected: "(iSatisfyMethod | number)",
4693
+ value: elem
4694
+ }))).every(flag => flag) || $report(_exceptionable, {
4695
+ path: _path + ".conditions",
4696
+ expected: "Array<number | iSatisfyMethod>",
4697
+ value: input.conditions
4698
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
4627
4699
  if (false === __is(input)) {
4628
4700
  errors = [];
4629
4701
  $report = typia_1.default.validate.report(errors);
@@ -6954,7 +7026,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6954
7026
  }
6955
7027
  async addToIpfs(payload) {
6956
7028
  try {
6957
- const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => undefined === input.contents || Array.isArray(input.contents) && input.contents.every(elem => "object" === typeof elem && null !== elem && $iu0(elem)); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io2(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io3(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.utility || Array.isArray(input.utility) && input.utility.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io2 = input => Object.keys(input).every(key => {
7029
+ const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => (undefined === input.contents || Array.isArray(input.contents) && input.contents.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && ("ipfs" === input.method || "centralized" === input.method); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io2(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io3(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.utility || Array.isArray(input.utility) && input.utility.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io2 = input => Object.keys(input).every(key => {
6958
7030
  const value = input[key];
6959
7031
  if (undefined === value)
6960
7032
  return true;
@@ -6993,6 +7065,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6993
7065
  path: _path + ".contents",
6994
7066
  expected: "(Array<iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iBadgeMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6995
7067
  value: input.contents
7068
+ }), "ipfs" === input.method || "centralized" === input.method || $report(_exceptionable, {
7069
+ path: _path + ".method",
7070
+ expected: "(\"centralized\" | \"ipfs\")",
7071
+ value: input.method
6996
7072
  })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
6997
7073
  path: _path + ".name",
6998
7074
  expected: "string",
@@ -7356,11 +7432,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7356
7432
  return $vo9(input, _path, true && _exceptionable);
7357
7433
  else
7358
7434
  return $vo6(input, _path, true && _exceptionable);
7359
- })(); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
7435
+ })(); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
7360
7436
  if (false === __is(input)) {
7361
7437
  errors = [];
7362
7438
  $report = typia_1.default.validate.report(errors);
7363
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
7439
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
7364
7440
  path: _path + "",
7365
7441
  expected: "AddToIpfsPayload",
7366
7442
  value: input
@@ -7404,7 +7480,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7404
7480
  if ("number" === typeof Number(key))
7405
7481
  return "number" === typeof value;
7406
7482
  return true;
7407
- }); const $io7 = input => "string" === typeof input.claimId && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io8(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io9(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io15(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io18(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io22(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && ("string" === typeof input.version || "number" === typeof input.version || "bigint" === typeof input.version); const $io8 = input => ("string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.approvalId && "string" === typeof input.challengeTrackerId && ("" === input.approvalLevel || "collection" === input.approvalLevel || "incoming" === input.approvalLevel || "outgoing" === input.approvalLevel) && "string" === typeof input.approverAddress; const $io9 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io10(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io13(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && $io14(input.orderCalculationMethod)); const $io10 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)); const $io11 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io12(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io12(elem))); const $io12 = input => ("string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start) && ("string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end); const $io13 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy); const $io14 = input => "boolean" === typeof input.useOverallNumTransfers && "boolean" === typeof input.usePerToAddressNumTransfers && "boolean" === typeof input.usePerFromAddressNumTransfers && "boolean" === typeof input.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.useMerkleChallengeLeafIndex && "string" === typeof input.challengeTrackerId; const $io15 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && $io16(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io16(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io16(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io16(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io16(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io17(input.metadata)); const $io16 = input => Object.keys(input).every(key => {
7483
+ }); const $io7 = input => "string" === typeof input.claimId && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.siwbbClaim || "boolean" === typeof input.siwbbClaim) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io8(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io9(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io15(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io18(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io22(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && ("string" === typeof input.version || "number" === typeof input.version || "bigint" === typeof input.version) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io27(input.satisfyMethod)); const $io8 = input => ("string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.approvalId && "string" === typeof input.challengeTrackerId && ("" === input.approvalLevel || "collection" === input.approvalLevel || "incoming" === input.approvalLevel || "outgoing" === input.approvalLevel) && "string" === typeof input.approverAddress; const $io9 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io10(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io13(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && $io14(input.orderCalculationMethod)); const $io10 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)); const $io11 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io12(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io12(elem))); const $io12 = input => ("string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start) && ("string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end); const $io13 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy); const $io14 = input => "boolean" === typeof input.useOverallNumTransfers && "boolean" === typeof input.usePerToAddressNumTransfers && "boolean" === typeof input.usePerFromAddressNumTransfers && "boolean" === typeof input.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.useMerkleChallengeLeafIndex && "string" === typeof input.challengeTrackerId; const $io15 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && $io16(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io16(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io16(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io16(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io16(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io17(input.metadata)); const $io16 = input => Object.keys(input).every(key => {
7408
7484
  const value = input[key];
7409
7485
  if (undefined === value)
7410
7486
  return true;
@@ -7419,16 +7495,16 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7419
7495
  if (undefined === value)
7420
7496
  return true;
7421
7497
  return "string" === typeof value;
7422
- }); const $io24 = input => "string" === typeof input.host && "string" === typeof input.assignMethod; const $io25 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io26 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.approvalDetails) || $report(_exceptionable, {
7498
+ }); const $io24 = input => "string" === typeof input.host && "string" === typeof input.assignMethod; const $io25 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io26 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); const $io27 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("number" === typeof elem || "object" === typeof elem && null !== elem && $io27(elem)))); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.approvalDetails) || $report(_exceptionable, {
7423
7499
  path: _path + ".approvalDetails",
7424
7500
  expected: "Array<__type>",
7425
7501
  value: input.approvalDetails
7426
- })) && input.approvalDetails.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7427
- path: _path + ".approvalDetails[" + _index16 + "]",
7502
+ })) && input.approvalDetails.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7503
+ path: _path + ".approvalDetails[" + _index17 + "]",
7428
7504
  expected: "__type",
7429
7505
  value: elem
7430
- })) && $vo1(elem, _path + ".approvalDetails[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
7431
- path: _path + ".approvalDetails[" + _index16 + "]",
7506
+ })) && $vo1(elem, _path + ".approvalDetails[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
7507
+ path: _path + ".approvalDetails[" + _index17 + "]",
7432
7508
  expected: "__type",
7433
7509
  value: elem
7434
7510
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7451,12 +7527,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7451
7527
  path: _path + ".challengeInfoDetails",
7452
7528
  expected: "(Array<iChallengeInfoDetails<NumberType>> | undefined)",
7453
7529
  value: input.challengeInfoDetails
7454
- })) && input.challengeInfoDetails.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7455
- path: _path + ".challengeInfoDetails[" + _index17 + "]",
7530
+ })) && input.challengeInfoDetails.map((elem, _index18) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7531
+ path: _path + ".challengeInfoDetails[" + _index18 + "]",
7456
7532
  expected: "iChallengeInfoDetails<NumberType>",
7457
7533
  value: elem
7458
- })) && $vo2(elem, _path + ".challengeInfoDetails[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
7459
- path: _path + ".challengeInfoDetails[" + _index17 + "]",
7534
+ })) && $vo2(elem, _path + ".challengeInfoDetails[" + _index18 + "]", true && _exceptionable) || $report(_exceptionable, {
7535
+ path: _path + ".challengeInfoDetails[" + _index18 + "]",
7460
7536
  expected: "iChallengeInfoDetails<NumberType>",
7461
7537
  value: elem
7462
7538
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7483,8 +7559,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7483
7559
  path: _path + ".leaves",
7484
7560
  expected: "Array<string>",
7485
7561
  value: input.leaves
7486
- })) && input.leaves.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable, {
7487
- path: _path + ".leaves[" + _index18 + "]",
7562
+ })) && input.leaves.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable, {
7563
+ path: _path + ".leaves[" + _index19 + "]",
7488
7564
  expected: "string",
7489
7565
  value: elem
7490
7566
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7499,8 +7575,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7499
7575
  path: _path + ".preimages",
7500
7576
  expected: "(Array<string> | undefined)",
7501
7577
  value: input.preimages
7502
- })) && input.preimages.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable, {
7503
- path: _path + ".preimages[" + _index19 + "]",
7578
+ })) && input.preimages.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable, {
7579
+ path: _path + ".preimages[" + _index20 + "]",
7504
7580
  expected: "string",
7505
7581
  value: elem
7506
7582
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7652,12 +7728,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7652
7728
  path: _path + ".plugins",
7653
7729
  expected: "Array<IntegrationPluginDetails<string>>",
7654
7730
  value: input.plugins
7655
- })) && input.plugins.map((elem, _index20) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7656
- path: _path + ".plugins[" + _index20 + "]",
7731
+ })) && input.plugins.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7732
+ path: _path + ".plugins[" + _index21 + "]",
7657
7733
  expected: "IntegrationPluginDetails<string>",
7658
7734
  value: elem
7659
- })) && $vo15(elem, _path + ".plugins[" + _index20 + "]", true && _exceptionable) || $report(_exceptionable, {
7660
- path: _path + ".plugins[" + _index20 + "]",
7735
+ })) && $vo15(elem, _path + ".plugins[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
7736
+ path: _path + ".plugins[" + _index21 + "]",
7661
7737
  expected: "IntegrationPluginDetails<string>",
7662
7738
  value: elem
7663
7739
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7668,12 +7744,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7668
7744
  path: _path + ".rewards",
7669
7745
  expected: "(Array<iClaimReward<NumberType>> | undefined)",
7670
7746
  value: input.rewards
7671
- })) && input.rewards.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7672
- path: _path + ".rewards[" + _index21 + "]",
7747
+ })) && input.rewards.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7748
+ path: _path + ".rewards[" + _index22 + "]",
7673
7749
  expected: "iClaimReward<NumberType>",
7674
7750
  value: elem
7675
- })) && $vo18(elem, _path + ".rewards[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
7676
- path: _path + ".rewards[" + _index21 + "]",
7751
+ })) && $vo18(elem, _path + ".rewards[" + _index22 + "]", true && _exceptionable) || $report(_exceptionable, {
7752
+ path: _path + ".rewards[" + _index22 + "]",
7677
7753
  expected: "iClaimReward<NumberType>",
7678
7754
  value: elem
7679
7755
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7692,8 +7768,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7692
7768
  path: _path + ".categories",
7693
7769
  expected: "(Array<string> | undefined)",
7694
7770
  value: input.categories
7695
- })) && input.categories.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable, {
7696
- path: _path + ".categories[" + _index22 + "]",
7771
+ })) && input.categories.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable, {
7772
+ path: _path + ".categories[" + _index23 + "]",
7697
7773
  expected: "string",
7698
7774
  value: elem
7699
7775
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7736,6 +7812,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7736
7812
  path: _path + ".version",
7737
7813
  expected: "(bigint | number | string)",
7738
7814
  value: input.version
7815
+ }), undefined === input.satisfyMethod || ("object" === typeof input.satisfyMethod && null !== input.satisfyMethod || $report(_exceptionable, {
7816
+ path: _path + ".satisfyMethod",
7817
+ expected: "(iSatisfyMethod | undefined)",
7818
+ value: input.satisfyMethod
7819
+ })) && $vo27(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || $report(_exceptionable, {
7820
+ path: _path + ".satisfyMethod",
7821
+ expected: "(iSatisfyMethod | undefined)",
7822
+ value: input.satisfyMethod
7739
7823
  })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || $report(_exceptionable, {
7740
7824
  path: _path + ".collectionId",
7741
7825
  expected: "(bigint | number | string)",
@@ -7760,12 +7844,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7760
7844
  path: _path + ".manualBalances",
7761
7845
  expected: "Array<iManualBalances<NumberType>>",
7762
7846
  value: input.manualBalances
7763
- })) && input.manualBalances.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7764
- path: _path + ".manualBalances[" + _index23 + "]",
7847
+ })) && input.manualBalances.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7848
+ path: _path + ".manualBalances[" + _index24 + "]",
7765
7849
  expected: "iManualBalances<NumberType>",
7766
7850
  value: elem
7767
- })) && $vo10(elem, _path + ".manualBalances[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
7768
- path: _path + ".manualBalances[" + _index23 + "]",
7851
+ })) && $vo10(elem, _path + ".manualBalances[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
7852
+ path: _path + ".manualBalances[" + _index24 + "]",
7769
7853
  expected: "iManualBalances<NumberType>",
7770
7854
  value: elem
7771
7855
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7792,12 +7876,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7792
7876
  path: _path + ".balances",
7793
7877
  expected: "Array<iBalance<NumberType>>",
7794
7878
  value: input.balances
7795
- })) && input.balances.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7796
- path: _path + ".balances[" + _index24 + "]",
7879
+ })) && input.balances.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7880
+ path: _path + ".balances[" + _index25 + "]",
7797
7881
  expected: "iBalance<NumberType>",
7798
7882
  value: elem
7799
- })) && $vo11(elem, _path + ".balances[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
7800
- path: _path + ".balances[" + _index24 + "]",
7883
+ })) && $vo11(elem, _path + ".balances[" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
7884
+ path: _path + ".balances[" + _index25 + "]",
7801
7885
  expected: "iBalance<NumberType>",
7802
7886
  value: elem
7803
7887
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7812,12 +7896,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7812
7896
  path: _path + ".badgeIds",
7813
7897
  expected: "Array<iUintRange<NumberType>>",
7814
7898
  value: input.badgeIds
7815
- })) && input.badgeIds.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7816
- path: _path + ".badgeIds[" + _index25 + "]",
7899
+ })) && input.badgeIds.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7900
+ path: _path + ".badgeIds[" + _index26 + "]",
7817
7901
  expected: "iUintRange<NumberType>",
7818
7902
  value: elem
7819
- })) && $vo12(elem, _path + ".badgeIds[" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
7820
- path: _path + ".badgeIds[" + _index25 + "]",
7903
+ })) && $vo12(elem, _path + ".badgeIds[" + _index26 + "]", true && _exceptionable) || $report(_exceptionable, {
7904
+ path: _path + ".badgeIds[" + _index26 + "]",
7821
7905
  expected: "iUintRange<NumberType>",
7822
7906
  value: elem
7823
7907
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7828,12 +7912,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7828
7912
  path: _path + ".ownershipTimes",
7829
7913
  expected: "Array<iUintRange<NumberType>>",
7830
7914
  value: input.ownershipTimes
7831
- })) && input.ownershipTimes.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7832
- path: _path + ".ownershipTimes[" + _index26 + "]",
7915
+ })) && input.ownershipTimes.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7916
+ path: _path + ".ownershipTimes[" + _index27 + "]",
7833
7917
  expected: "iUintRange<NumberType>",
7834
7918
  value: elem
7835
- })) && $vo12(elem, _path + ".ownershipTimes[" + _index26 + "]", true && _exceptionable) || $report(_exceptionable, {
7836
- path: _path + ".ownershipTimes[" + _index26 + "]",
7919
+ })) && $vo12(elem, _path + ".ownershipTimes[" + _index27 + "]", true && _exceptionable) || $report(_exceptionable, {
7920
+ path: _path + ".ownershipTimes[" + _index27 + "]",
7837
7921
  expected: "iUintRange<NumberType>",
7838
7922
  value: elem
7839
7923
  })).every(flag => flag) || $report(_exceptionable, {
@@ -7852,12 +7936,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7852
7936
  path: _path + ".startBalances",
7853
7937
  expected: "Array<iBalance<NumberType>>",
7854
7938
  value: input.startBalances
7855
- })) && input.startBalances.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7856
- path: _path + ".startBalances[" + _index27 + "]",
7939
+ })) && input.startBalances.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
7940
+ path: _path + ".startBalances[" + _index28 + "]",
7857
7941
  expected: "iBalance<NumberType>",
7858
7942
  value: elem
7859
- })) && $vo11(elem, _path + ".startBalances[" + _index27 + "]", true && _exceptionable) || $report(_exceptionable, {
7860
- path: _path + ".startBalances[" + _index27 + "]",
7943
+ })) && $vo11(elem, _path + ".startBalances[" + _index28 + "]", true && _exceptionable) || $report(_exceptionable, {
7944
+ path: _path + ".startBalances[" + _index28 + "]",
7861
7945
  expected: "iBalance<NumberType>",
7862
7946
  value: elem
7863
7947
  })).every(flag => flag) || $report(_exceptionable, {
@@ -8074,8 +8158,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8074
8158
  path: _path + ".tags",
8075
8159
  expected: "(Array<string> | undefined)",
8076
8160
  value: input.tags
8077
- })) && input.tags.map((elem, _index28) => "string" === typeof elem || $report(_exceptionable, {
8078
- path: _path + ".tags[" + _index28 + "]",
8161
+ })) && input.tags.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable, {
8162
+ path: _path + ".tags[" + _index29 + "]",
8079
8163
  expected: "string",
8080
8164
  value: elem
8081
8165
  })).every(flag => flag) || $report(_exceptionable, {
@@ -8102,12 +8186,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8102
8186
  path: _path + ".attributes",
8103
8187
  expected: "(Array<__type>.o1 | undefined)",
8104
8188
  value: input.attributes
8105
- })) && input.attributes.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
8106
- path: _path + ".attributes[" + _index29 + "]",
8189
+ })) && input.attributes.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
8190
+ path: _path + ".attributes[" + _index30 + "]",
8107
8191
  expected: "__type.o6",
8108
8192
  value: elem
8109
- })) && $vo25(elem, _path + ".attributes[" + _index29 + "]", true && _exceptionable) || $report(_exceptionable, {
8110
- path: _path + ".attributes[" + _index29 + "]",
8193
+ })) && $vo25(elem, _path + ".attributes[" + _index30 + "]", true && _exceptionable) || $report(_exceptionable, {
8194
+ path: _path + ".attributes[" + _index30 + "]",
8111
8195
  expected: "__type.o6",
8112
8196
  value: elem
8113
8197
  })).every(flag => flag) || $report(_exceptionable, {
@@ -8118,12 +8202,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8118
8202
  path: _path + ".utility",
8119
8203
  expected: "(Array<__type>.o2 | undefined)",
8120
8204
  value: input.utility
8121
- })) && input.utility.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
8122
- path: _path + ".utility[" + _index30 + "]",
8205
+ })) && input.utility.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
8206
+ path: _path + ".utility[" + _index31 + "]",
8123
8207
  expected: "__type.o7",
8124
8208
  value: elem
8125
- })) && $vo26(elem, _path + ".utility[" + _index30 + "]", true && _exceptionable) || $report(_exceptionable, {
8126
- path: _path + ".utility[" + _index30 + "]",
8209
+ })) && $vo26(elem, _path + ".utility[" + _index31 + "]", true && _exceptionable) || $report(_exceptionable, {
8210
+ path: _path + ".utility[" + _index31 + "]",
8127
8211
  expected: "__type.o7",
8128
8212
  value: elem
8129
8213
  })).every(flag => flag) || $report(_exceptionable, {
@@ -8187,6 +8271,34 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8187
8271
  path: _path + ".url",
8188
8272
  expected: "(string | undefined)",
8189
8273
  value: input.url
8274
+ })].every(flag => flag); const $vo27 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || $report(_exceptionable, {
8275
+ path: _path + ".type",
8276
+ expected: "(\"AND\" | \"NOT\" | \"OR\")",
8277
+ value: input.type
8278
+ }), (Array.isArray(input.conditions) || $report(_exceptionable, {
8279
+ path: _path + ".conditions",
8280
+ expected: "Array<number | iSatisfyMethod>",
8281
+ value: input.conditions
8282
+ })) && input.conditions.map((elem, _index32) => (null !== elem || $report(_exceptionable, {
8283
+ path: _path + ".conditions[" + _index32 + "]",
8284
+ expected: "(iSatisfyMethod | number)",
8285
+ value: elem
8286
+ })) && (undefined !== elem || $report(_exceptionable, {
8287
+ path: _path + ".conditions[" + _index32 + "]",
8288
+ expected: "(iSatisfyMethod | number)",
8289
+ value: elem
8290
+ })) && ("number" === typeof elem || ("object" === typeof elem && null !== elem || $report(_exceptionable, {
8291
+ path: _path + ".conditions[" + _index32 + "]",
8292
+ expected: "(iSatisfyMethod | number)",
8293
+ value: elem
8294
+ })) && $vo27(elem, _path + ".conditions[" + _index32 + "]", true && _exceptionable) || $report(_exceptionable, {
8295
+ path: _path + ".conditions[" + _index32 + "]",
8296
+ expected: "(iSatisfyMethod | number)",
8297
+ value: elem
8298
+ }))).every(flag => flag) || $report(_exceptionable, {
8299
+ path: _path + ".conditions",
8300
+ expected: "Array<number | iSatisfyMethod>",
8301
+ value: input.conditions
8190
8302
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
8191
8303
  if (false === __is(input)) {
8192
8304
  errors = [];