bitbadgesjs-sdk 0.9.8 → 0.9.10

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 (57) hide show
  1. package/dist/cjs/api-indexer/BitBadgesAddressList.js +90 -146
  2. package/dist/cjs/api-indexer/BitBadgesAddressList.js.map +1 -1
  3. package/dist/cjs/api-indexer/BitBadgesApi.js +244 -336
  4. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  5. package/dist/cjs/api-indexer/docs/docs.d.ts +3 -0
  6. package/dist/cjs/api-indexer/docs/docs.d.ts.map +1 -1
  7. package/dist/cjs/api-indexer/docs/docs.js +1 -0
  8. package/dist/cjs/api-indexer/docs/docs.js.map +1 -1
  9. package/dist/cjs/api-indexer/docs/interfaces.d.ts +11 -6
  10. package/dist/cjs/api-indexer/docs/interfaces.d.ts.map +1 -1
  11. package/dist/cjs/api-indexer/docs/interfaces.js.map +1 -1
  12. package/dist/cjs/api-indexer/requests/requests.d.ts +15 -4
  13. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  14. package/dist/cjs/api-indexer/requests/requests.js +5 -2
  15. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  16. package/dist/cjs/index.d.ts +0 -1
  17. package/dist/cjs/index.d.ts.map +1 -1
  18. package/dist/cjs/index.js +0 -1
  19. package/dist/cjs/index.js.map +1 -1
  20. package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
  21. package/dist/esm/api-indexer/BitBadgesAddressList.js +90 -146
  22. package/dist/esm/api-indexer/BitBadgesAddressList.js.map +1 -1
  23. package/dist/esm/api-indexer/BitBadgesApi.js +244 -336
  24. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  25. package/dist/esm/api-indexer/docs/docs.d.ts +3 -0
  26. package/dist/esm/api-indexer/docs/docs.d.ts.map +1 -1
  27. package/dist/esm/api-indexer/docs/docs.js +2 -0
  28. package/dist/esm/api-indexer/docs/docs.js.map +1 -1
  29. package/dist/esm/api-indexer/docs/interfaces.d.ts +11 -6
  30. package/dist/esm/api-indexer/docs/interfaces.d.ts.map +1 -1
  31. package/dist/esm/api-indexer/docs/interfaces.js.map +1 -1
  32. package/dist/esm/api-indexer/requests/requests.d.ts +15 -4
  33. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  34. package/dist/esm/api-indexer/requests/requests.js +8 -3
  35. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  36. package/dist/esm/index.d.ts +0 -1
  37. package/dist/esm/index.d.ts.map +1 -1
  38. package/dist/esm/index.js +0 -1
  39. package/dist/esm/index.js.map +1 -1
  40. package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -1
  41. package/package.json +1 -2
  42. package/dist/cjs/auth/auth.d.ts +0 -12
  43. package/dist/cjs/auth/auth.d.ts.map +0 -1
  44. package/dist/cjs/auth/auth.js +0 -87
  45. package/dist/cjs/auth/auth.js.map +0 -1
  46. package/dist/cjs/auth/index.d.ts +0 -2
  47. package/dist/cjs/auth/index.d.ts.map +0 -1
  48. package/dist/cjs/auth/index.js +0 -18
  49. package/dist/cjs/auth/index.js.map +0 -1
  50. package/dist/esm/auth/auth.d.ts +0 -12
  51. package/dist/esm/auth/auth.d.ts.map +0 -1
  52. package/dist/esm/auth/auth.js +0 -83
  53. package/dist/esm/auth/auth.js.map +0 -1
  54. package/dist/esm/auth/index.d.ts +0 -2
  55. package/dist/esm/auth/index.d.ts.map +0 -1
  56. package/dist/esm/auth/index.js +0 -2
  57. package/dist/esm/auth/index.js.map +0 -1
@@ -253,22 +253,22 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
253
253
  }
254
254
  static async CreateAddressList(api, payload) {
255
255
  try {
256
- const validateRes = (() => { const _io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.uri && "string" === typeof input.customData && "boolean" === typeof input.whitelist && "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io25(input.metadata)); const _io2 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io3(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.claimId && (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)) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && _io15(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.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && _io20(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && _io22(elem))); const _io3 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(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 _io4 = input => Object.keys(input).every(key => {
256
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.uri && "string" === typeof input.customData && "boolean" === typeof input.whitelist && "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io24(input.metadata)); const _io2 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io3(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.claimId && (undefined === input.listId || "string" === typeof input.listId) && (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.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.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && _io19(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && _io21(elem))); const _io3 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(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 _io4 = input => Object.keys(input).every(key => {
257
257
  const value = input[key];
258
258
  if (undefined === value)
259
259
  return true;
260
260
  return "string" === typeof value;
261
- }); const _io5 = input => "string" === typeof input.host && "string" === typeof input.assignMethod; const _io6 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const _io7 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); 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 => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io16(input.metadata)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && _io17(input.gatedContent)) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && _io19(input.calculationMethod)); const _io16 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const _io17 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _io18(input.params)); const _io18 = input => Object.keys(input).every(key => {
261
+ }); const _io5 = input => "string" === typeof input.host && "string" === typeof input.assignMethod; const _io6 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const _io7 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); const _io8 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && _io9(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && _io12(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && _io13(input.orderCalculationMethod)); const _io9 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && _io10(elem)); const _io10 = 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 && _io11(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && _io11(elem))); const _io11 = 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 _io12 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && _io10(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 _io13 = 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 _io14 = input => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io15(input.metadata)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && _io16(input.gatedContent)) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && _io18(input.calculationMethod)); const _io15 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const _io16 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _io17(input.params)); const _io17 = input => Object.keys(input).every(key => {
262
262
  const value = input[key];
263
263
  if (undefined === value)
264
264
  return true;
265
265
  return true;
266
- }); const _io19 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const _io20 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io20(elem)))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io21(input.options)); const _io21 = input => undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied; const _io22 = input => (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && _io23(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) && _io23(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && _io23(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io24(input.metadata)); const _io23 = input => Object.keys(input).every(key => {
266
+ }); const _io18 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const _io19 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io19(elem)))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io20(input.options)); const _io20 = input => undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied; const _io21 = input => (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && _io22(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) && _io22(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && _io22(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io23(input.metadata)); const _io22 = input => Object.keys(input).every(key => {
267
267
  const value = input[key];
268
268
  if (undefined === value)
269
269
  return true;
270
270
  return true;
271
- }); const _io24 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const _io25 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || _report(_exceptionable, {
271
+ }); const _io23 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const _io24 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || _report(_exceptionable, {
272
272
  path: _path + ".addressLists",
273
273
  expected: "Array<iAddressListCreateObject<T>>",
274
274
  value: input.addressLists
@@ -336,17 +336,17 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
336
336
  path: _path + ".metadata",
337
337
  expected: "(iMetadataWithoutInternals<T> | undefined)",
338
338
  value: input.metadata
339
- })) && _vo25(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
339
+ })) && _vo24(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
340
340
  path: _path + ".metadata",
341
341
  expected: "(iMetadataWithoutInternals<T> | undefined)",
342
342
  value: input.metadata
343
343
  })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
344
344
  path: _path + ".metadata",
345
- expected: "(iMetadata<NumberType> | undefined)",
345
+ expected: "(iMetadata<NumberType> & iMetadataWithoutInternals<NumberType> | undefined)",
346
346
  value: input.metadata
347
347
  })) && _vo3(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
348
348
  path: _path + ".metadata",
349
- expected: "(iMetadata<NumberType> | undefined)",
349
+ expected: "(iMetadata<NumberType> & iMetadataWithoutInternals<NumberType> | undefined)",
350
350
  value: input.metadata
351
351
  }), undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || _report(_exceptionable, {
352
352
  path: _path + ".collectionId",
@@ -360,19 +360,11 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
360
360
  path: _path + ".listId",
361
361
  expected: "(string | undefined)",
362
362
  value: input.listId
363
- }), undefined === input.trackerDetails || ("object" === typeof input.trackerDetails && null !== input.trackerDetails || _report(_exceptionable, {
364
- path: _path + ".trackerDetails",
365
- expected: "(iChallengeTrackerIdDetails<NumberType> | undefined)",
366
- value: input.trackerDetails
367
- })) && _vo8(input.trackerDetails, _path + ".trackerDetails", true && _exceptionable) || _report(_exceptionable, {
368
- path: _path + ".trackerDetails",
369
- expected: "(iChallengeTrackerIdDetails<NumberType> | undefined)",
370
- value: input.trackerDetails
371
363
  }), undefined === input.balancesToSet || ("object" === typeof input.balancesToSet && null !== input.balancesToSet || _report(_exceptionable, {
372
364
  path: _path + ".balancesToSet",
373
365
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
374
366
  value: input.balancesToSet
375
- })) && _vo9(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || _report(_exceptionable, {
367
+ })) && _vo8(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || _report(_exceptionable, {
376
368
  path: _path + ".balancesToSet",
377
369
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
378
370
  value: input.balancesToSet
@@ -384,7 +376,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
384
376
  path: _path + ".rewards[" + _index22 + "]",
385
377
  expected: "iClaimReward<NumberType>",
386
378
  value: elem
387
- })) && _vo15(elem, _path + ".rewards[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
379
+ })) && _vo14(elem, _path + ".rewards[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
388
380
  path: _path + ".rewards[" + _index22 + "]",
389
381
  expected: "iClaimReward<NumberType>",
390
382
  value: elem
@@ -436,7 +428,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
436
428
  path: _path + ".satisfyMethod",
437
429
  expected: "(iSatisfyMethod | undefined)",
438
430
  value: input.satisfyMethod
439
- })) && _vo20(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || _report(_exceptionable, {
431
+ })) && _vo19(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || _report(_exceptionable, {
440
432
  path: _path + ".satisfyMethod",
441
433
  expected: "(iSatisfyMethod | undefined)",
442
434
  value: input.satisfyMethod
@@ -452,7 +444,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
452
444
  path: _path + ".plugins[" + _index24 + "]",
453
445
  expected: "ManagePluginRequest",
454
446
  value: elem
455
- })) && _vo22(elem, _path + ".plugins[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
447
+ })) && _vo21(elem, _path + ".plugins[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
456
448
  path: _path + ".plugins[" + _index24 + "]",
457
449
  expected: "ManagePluginRequest",
458
450
  value: elem
@@ -605,27 +597,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
605
597
  path: _path + ".url",
606
598
  expected: "(string | undefined)",
607
599
  value: input.url
608
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || _report(_exceptionable, {
609
- path: _path + ".collectionId",
610
- expected: "(bigint | number | string)",
611
- value: input.collectionId
612
- }), "string" === typeof input.approvalId || _report(_exceptionable, {
613
- path: _path + ".approvalId",
614
- expected: "string",
615
- value: input.approvalId
616
- }), "string" === typeof input.challengeTrackerId || _report(_exceptionable, {
617
- path: _path + ".challengeTrackerId",
618
- expected: "string",
619
- value: input.challengeTrackerId
620
- }), "" === input.approvalLevel || "collection" === input.approvalLevel || "incoming" === input.approvalLevel || "outgoing" === input.approvalLevel || _report(_exceptionable, {
621
- path: _path + ".approvalLevel",
622
- expected: "(\"\" | \"collection\" | \"incoming\" | \"outgoing\")",
623
- value: input.approvalLevel
624
- }), "string" === typeof input.approverAddress || _report(_exceptionable, {
625
- path: _path + ".approverAddress",
626
- expected: "string",
627
- value: input.approverAddress
628
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || _report(_exceptionable, {
600
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || _report(_exceptionable, {
629
601
  path: _path + ".manualBalances",
630
602
  expected: "Array<iManualBalances<NumberType>>",
631
603
  value: input.manualBalances
@@ -633,7 +605,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
633
605
  path: _path + ".manualBalances[" + _index28 + "]",
634
606
  expected: "iManualBalances<NumberType>",
635
607
  value: elem
636
- })) && _vo10(elem, _path + ".manualBalances[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
608
+ })) && _vo9(elem, _path + ".manualBalances[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
637
609
  path: _path + ".manualBalances[" + _index28 + "]",
638
610
  expected: "iManualBalances<NumberType>",
639
611
  value: elem
@@ -645,7 +617,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
645
617
  path: _path + ".incrementedBalances",
646
618
  expected: "iIncrementedBalances<NumberType>",
647
619
  value: input.incrementedBalances
648
- })) && _vo13(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || _report(_exceptionable, {
620
+ })) && _vo12(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || _report(_exceptionable, {
649
621
  path: _path + ".incrementedBalances",
650
622
  expected: "iIncrementedBalances<NumberType>",
651
623
  value: input.incrementedBalances
@@ -653,11 +625,11 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
653
625
  path: _path + ".orderCalculationMethod",
654
626
  expected: "iPredeterminedOrderCalculationMethod",
655
627
  value: input.orderCalculationMethod
656
- })) && _vo14(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || _report(_exceptionable, {
628
+ })) && _vo13(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || _report(_exceptionable, {
657
629
  path: _path + ".orderCalculationMethod",
658
630
  expected: "iPredeterminedOrderCalculationMethod",
659
631
  value: input.orderCalculationMethod
660
- })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || _report(_exceptionable, {
632
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || _report(_exceptionable, {
661
633
  path: _path + ".balances",
662
634
  expected: "Array<iBalance<NumberType>>",
663
635
  value: input.balances
@@ -665,7 +637,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
665
637
  path: _path + ".balances[" + _index29 + "]",
666
638
  expected: "iBalance<NumberType>",
667
639
  value: elem
668
- })) && _vo11(elem, _path + ".balances[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
640
+ })) && _vo10(elem, _path + ".balances[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
669
641
  path: _path + ".balances[" + _index29 + "]",
670
642
  expected: "iBalance<NumberType>",
671
643
  value: elem
@@ -673,7 +645,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
673
645
  path: _path + ".balances",
674
646
  expected: "Array<iBalance<NumberType>>",
675
647
  value: input.balances
676
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || _report(_exceptionable, {
648
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || _report(_exceptionable, {
677
649
  path: _path + ".amount",
678
650
  expected: "(bigint | number | string)",
679
651
  value: input.amount
@@ -685,7 +657,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
685
657
  path: _path + ".badgeIds[" + _index30 + "]",
686
658
  expected: "iUintRange<NumberType>",
687
659
  value: elem
688
- })) && _vo12(elem, _path + ".badgeIds[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
660
+ })) && _vo11(elem, _path + ".badgeIds[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
689
661
  path: _path + ".badgeIds[" + _index30 + "]",
690
662
  expected: "iUintRange<NumberType>",
691
663
  value: elem
@@ -701,7 +673,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
701
673
  path: _path + ".ownershipTimes[" + _index31 + "]",
702
674
  expected: "iUintRange<NumberType>",
703
675
  value: elem
704
- })) && _vo12(elem, _path + ".ownershipTimes[" + _index31 + "]", true && _exceptionable) || _report(_exceptionable, {
676
+ })) && _vo11(elem, _path + ".ownershipTimes[" + _index31 + "]", true && _exceptionable) || _report(_exceptionable, {
705
677
  path: _path + ".ownershipTimes[" + _index31 + "]",
706
678
  expected: "iUintRange<NumberType>",
707
679
  value: elem
@@ -709,7 +681,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
709
681
  path: _path + ".ownershipTimes",
710
682
  expected: "Array<iUintRange<NumberType>>",
711
683
  value: input.ownershipTimes
712
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || _report(_exceptionable, {
684
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || _report(_exceptionable, {
713
685
  path: _path + ".start",
714
686
  expected: "(bigint | number | string)",
715
687
  value: input.start
@@ -717,7 +689,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
717
689
  path: _path + ".end",
718
690
  expected: "(bigint | number | string)",
719
691
  value: input.end
720
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || _report(_exceptionable, {
692
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || _report(_exceptionable, {
721
693
  path: _path + ".startBalances",
722
694
  expected: "Array<iBalance<NumberType>>",
723
695
  value: input.startBalances
@@ -725,7 +697,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
725
697
  path: _path + ".startBalances[" + _index32 + "]",
726
698
  expected: "iBalance<NumberType>",
727
699
  value: elem
728
- })) && _vo11(elem, _path + ".startBalances[" + _index32 + "]", true && _exceptionable) || _report(_exceptionable, {
700
+ })) && _vo10(elem, _path + ".startBalances[" + _index32 + "]", true && _exceptionable) || _report(_exceptionable, {
729
701
  path: _path + ".startBalances[" + _index32 + "]",
730
702
  expected: "iBalance<NumberType>",
731
703
  value: elem
@@ -741,7 +713,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
741
713
  path: _path + ".incrementOwnershipTimesBy",
742
714
  expected: "(bigint | number | string)",
743
715
  value: input.incrementOwnershipTimesBy
744
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || _report(_exceptionable, {
716
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || _report(_exceptionable, {
745
717
  path: _path + ".useOverallNumTransfers",
746
718
  expected: "boolean",
747
719
  value: input.useOverallNumTransfers
@@ -765,7 +737,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
765
737
  path: _path + ".challengeTrackerId",
766
738
  expected: "string",
767
739
  value: input.challengeTrackerId
768
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || _report(_exceptionable, {
740
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || _report(_exceptionable, {
769
741
  path: _path + ".rewardId",
770
742
  expected: "string",
771
743
  value: input.rewardId
@@ -777,7 +749,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
777
749
  path: _path + ".metadata",
778
750
  expected: "(__type.o4 | undefined)",
779
751
  value: input.metadata
780
- })) && _vo16(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
752
+ })) && _vo15(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
781
753
  path: _path + ".metadata",
782
754
  expected: "(__type.o4 | undefined)",
783
755
  value: input.metadata
@@ -789,7 +761,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
789
761
  path: _path + ".gatedContent",
790
762
  expected: "iClaimGatedContent",
791
763
  value: input.gatedContent
792
- })) && _vo17(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || _report(_exceptionable, {
764
+ })) && _vo16(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || _report(_exceptionable, {
793
765
  path: _path + ".gatedContent",
794
766
  expected: "iClaimGatedContent",
795
767
  value: input.gatedContent
@@ -797,11 +769,11 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
797
769
  path: _path + ".calculationMethod",
798
770
  expected: "(__type.o6 | undefined)",
799
771
  value: input.calculationMethod
800
- })) && _vo19(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || _report(_exceptionable, {
772
+ })) && _vo18(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || _report(_exceptionable, {
801
773
  path: _path + ".calculationMethod",
802
774
  expected: "(__type.o6 | undefined)",
803
775
  value: input.calculationMethod
804
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
776
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
805
777
  path: _path + ".name",
806
778
  expected: "string",
807
779
  value: input.name
@@ -813,7 +785,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
813
785
  path: _path + ".image",
814
786
  expected: "string",
815
787
  value: input.image
816
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
788
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
817
789
  path: _path + ".content",
818
790
  expected: "(string | undefined)",
819
791
  value: input.content
@@ -825,16 +797,16 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
825
797
  path: _path + ".params",
826
798
  expected: "(__type.o5 | undefined)",
827
799
  value: input.params
828
- })) && _vo18(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
800
+ })) && _vo17(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
829
801
  path: _path + ".params",
830
802
  expected: "(__type.o5 | undefined)",
831
803
  value: input.params
832
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
804
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
833
805
  const value = input[key];
834
806
  if (undefined === value)
835
807
  return true;
836
808
  return true;
837
- }).every(flag => flag)].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || _report(_exceptionable, {
809
+ }).every(flag => flag)].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || _report(_exceptionable, {
838
810
  path: _path + ".alwaysShow",
839
811
  expected: "(boolean | undefined)",
840
812
  value: input.alwaysShow
@@ -842,7 +814,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
842
814
  path: _path + ".minClaimSuccesses",
843
815
  expected: "(number | undefined)",
844
816
  value: input.minClaimSuccesses
845
- })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || _report(_exceptionable, {
817
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || _report(_exceptionable, {
846
818
  path: _path + ".type",
847
819
  expected: "(\"AND\" | \"NOT\" | \"OR\")",
848
820
  value: input.type
@@ -862,7 +834,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
862
834
  path: _path + ".conditions[" + _index33 + "]",
863
835
  expected: "(iSatisfyMethod | string)",
864
836
  value: elem
865
- })) && _vo20(elem, _path + ".conditions[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
837
+ })) && _vo19(elem, _path + ".conditions[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
866
838
  path: _path + ".conditions[" + _index33 + "]",
867
839
  expected: "(iSatisfyMethod | string)",
868
840
  value: elem
@@ -874,15 +846,15 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
874
846
  path: _path + ".options",
875
847
  expected: "(__type.o7 | undefined)",
876
848
  value: input.options
877
- })) && _vo21(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
849
+ })) && _vo20(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
878
850
  path: _path + ".options",
879
851
  expected: "(__type.o7 | undefined)",
880
852
  value: input.options
881
- })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied || _report(_exceptionable, {
853
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied || _report(_exceptionable, {
882
854
  path: _path + ".minNumSatisfied",
883
855
  expected: "(number | undefined)",
884
856
  value: input.minNumSatisfied
885
- })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.resetState || "boolean" === typeof input.resetState || _report(_exceptionable, {
857
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.resetState || "boolean" === typeof input.resetState || _report(_exceptionable, {
886
858
  path: _path + ".resetState",
887
859
  expected: "(boolean | undefined)",
888
860
  value: input.resetState
@@ -890,7 +862,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
890
862
  path: _path + ".newState",
891
863
  expected: "(Record<string, any> | undefined)",
892
864
  value: input.newState
893
- })) && _vo23(input.newState, _path + ".newState", true && _exceptionable) || _report(_exceptionable, {
865
+ })) && _vo22(input.newState, _path + ".newState", true && _exceptionable) || _report(_exceptionable, {
894
866
  path: _path + ".newState",
895
867
  expected: "(Record<string, any> | undefined)",
896
868
  value: input.newState
@@ -914,7 +886,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
914
886
  path: _path + ".publicParams",
915
887
  expected: "Record<string, any>",
916
888
  value: input.publicParams
917
- })) && _vo23(input.publicParams, _path + ".publicParams", true && _exceptionable) || _report(_exceptionable, {
889
+ })) && _vo22(input.publicParams, _path + ".publicParams", true && _exceptionable) || _report(_exceptionable, {
918
890
  path: _path + ".publicParams",
919
891
  expected: "Record<string, any>",
920
892
  value: input.publicParams
@@ -922,7 +894,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
922
894
  path: _path + ".privateParams",
923
895
  expected: "Record<string, any>",
924
896
  value: input.privateParams
925
- })) && _vo23(input.privateParams, _path + ".privateParams", true && _exceptionable) || _report(_exceptionable, {
897
+ })) && _vo22(input.privateParams, _path + ".privateParams", true && _exceptionable) || _report(_exceptionable, {
926
898
  path: _path + ".privateParams",
927
899
  expected: "Record<string, any>",
928
900
  value: input.privateParams
@@ -930,16 +902,16 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
930
902
  path: _path + ".metadata",
931
903
  expected: "(__type.o8 | undefined)",
932
904
  value: input.metadata
933
- })) && _vo24(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
905
+ })) && _vo23(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
934
906
  path: _path + ".metadata",
935
907
  expected: "(__type.o8 | undefined)",
936
908
  value: input.metadata
937
- })].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
909
+ })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
938
910
  const value = input[key];
939
911
  if (undefined === value)
940
912
  return true;
941
913
  return true;
942
- }).every(flag => flag)].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
914
+ }).every(flag => flag)].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
943
915
  path: _path + ".name",
944
916
  expected: "string",
945
917
  value: input.name
@@ -951,7 +923,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
951
923
  path: _path + ".image",
952
924
  expected: "(string | undefined)",
953
925
  value: input.image
954
- })].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
926
+ })].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
955
927
  path: _path + ".name",
956
928
  expected: "string",
957
929
  value: input.name
@@ -1080,22 +1052,22 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1080
1052
  }
1081
1053
  static async UpdateAddressList(api, payload) {
1082
1054
  try {
1083
- const validateRes = (() => { const _io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.uri && "string" === typeof input.customData && "boolean" === typeof input.whitelist && "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io25(input.metadata)); const _io2 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io3(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.claimId && (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)) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && _io15(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.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && _io20(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && _io22(elem))); const _io3 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(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 _io4 = input => Object.keys(input).every(key => {
1055
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.uri && "string" === typeof input.customData && "boolean" === typeof input.whitelist && "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io24(input.metadata)); const _io2 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io3(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.claimId && (undefined === input.listId || "string" === typeof input.listId) && (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.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.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && _io19(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && _io21(elem))); const _io3 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(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 _io4 = input => Object.keys(input).every(key => {
1084
1056
  const value = input[key];
1085
1057
  if (undefined === value)
1086
1058
  return true;
1087
1059
  return "string" === typeof value;
1088
- }); const _io5 = input => "string" === typeof input.host && "string" === typeof input.assignMethod; const _io6 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const _io7 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); 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 => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io16(input.metadata)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && _io17(input.gatedContent)) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && _io19(input.calculationMethod)); const _io16 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const _io17 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _io18(input.params)); const _io18 = input => Object.keys(input).every(key => {
1060
+ }); const _io5 = input => "string" === typeof input.host && "string" === typeof input.assignMethod; const _io6 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const _io7 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); const _io8 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && _io9(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && _io12(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && _io13(input.orderCalculationMethod)); const _io9 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && _io10(elem)); const _io10 = 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 && _io11(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && _io11(elem))); const _io11 = 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 _io12 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && _io10(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 _io13 = 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 _io14 = input => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io15(input.metadata)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && _io16(input.gatedContent)) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && _io18(input.calculationMethod)); const _io15 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const _io16 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _io17(input.params)); const _io17 = input => Object.keys(input).every(key => {
1089
1061
  const value = input[key];
1090
1062
  if (undefined === value)
1091
1063
  return true;
1092
1064
  return true;
1093
- }); const _io19 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const _io20 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io20(elem)))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io21(input.options)); const _io21 = input => undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied; const _io22 = input => (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && _io23(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) && _io23(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && _io23(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io24(input.metadata)); const _io23 = input => Object.keys(input).every(key => {
1065
+ }); const _io18 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const _io19 = input => ("AND" === input.type || "OR" === input.type || "NOT" === input.type) && (Array.isArray(input.conditions) && input.conditions.every(elem => null !== elem && undefined !== elem && ("string" === typeof elem || "object" === typeof elem && null !== elem && _io19(elem)))) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io20(input.options)); const _io20 = input => undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied; const _io21 = input => (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && _io22(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) && _io22(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && _io22(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io23(input.metadata)); const _io22 = input => Object.keys(input).every(key => {
1094
1066
  const value = input[key];
1095
1067
  if (undefined === value)
1096
1068
  return true;
1097
1069
  return true;
1098
- }); const _io24 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const _io25 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || _report(_exceptionable, {
1070
+ }); const _io23 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const _io24 = 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) && _io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && _io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && _io7(elem))); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || _report(_exceptionable, {
1099
1071
  path: _path + ".addressLists",
1100
1072
  expected: "Array<iAddressListCreateObject<T>>",
1101
1073
  value: input.addressLists
@@ -1163,17 +1135,17 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1163
1135
  path: _path + ".metadata",
1164
1136
  expected: "(iMetadataWithoutInternals<T> | undefined)",
1165
1137
  value: input.metadata
1166
- })) && _vo25(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1138
+ })) && _vo24(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1167
1139
  path: _path + ".metadata",
1168
1140
  expected: "(iMetadataWithoutInternals<T> | undefined)",
1169
1141
  value: input.metadata
1170
1142
  })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
1171
1143
  path: _path + ".metadata",
1172
- expected: "(iMetadata<NumberType> | undefined)",
1144
+ expected: "(iMetadata<NumberType> & iMetadataWithoutInternals<NumberType> | undefined)",
1173
1145
  value: input.metadata
1174
1146
  })) && _vo3(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1175
1147
  path: _path + ".metadata",
1176
- expected: "(iMetadata<NumberType> | undefined)",
1148
+ expected: "(iMetadata<NumberType> & iMetadataWithoutInternals<NumberType> | undefined)",
1177
1149
  value: input.metadata
1178
1150
  }), undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || _report(_exceptionable, {
1179
1151
  path: _path + ".collectionId",
@@ -1187,19 +1159,11 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1187
1159
  path: _path + ".listId",
1188
1160
  expected: "(string | undefined)",
1189
1161
  value: input.listId
1190
- }), undefined === input.trackerDetails || ("object" === typeof input.trackerDetails && null !== input.trackerDetails || _report(_exceptionable, {
1191
- path: _path + ".trackerDetails",
1192
- expected: "(iChallengeTrackerIdDetails<NumberType> | undefined)",
1193
- value: input.trackerDetails
1194
- })) && _vo8(input.trackerDetails, _path + ".trackerDetails", true && _exceptionable) || _report(_exceptionable, {
1195
- path: _path + ".trackerDetails",
1196
- expected: "(iChallengeTrackerIdDetails<NumberType> | undefined)",
1197
- value: input.trackerDetails
1198
1162
  }), undefined === input.balancesToSet || ("object" === typeof input.balancesToSet && null !== input.balancesToSet || _report(_exceptionable, {
1199
1163
  path: _path + ".balancesToSet",
1200
1164
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
1201
1165
  value: input.balancesToSet
1202
- })) && _vo9(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || _report(_exceptionable, {
1166
+ })) && _vo8(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || _report(_exceptionable, {
1203
1167
  path: _path + ".balancesToSet",
1204
1168
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
1205
1169
  value: input.balancesToSet
@@ -1211,7 +1175,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1211
1175
  path: _path + ".rewards[" + _index22 + "]",
1212
1176
  expected: "iClaimReward<NumberType>",
1213
1177
  value: elem
1214
- })) && _vo15(elem, _path + ".rewards[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1178
+ })) && _vo14(elem, _path + ".rewards[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
1215
1179
  path: _path + ".rewards[" + _index22 + "]",
1216
1180
  expected: "iClaimReward<NumberType>",
1217
1181
  value: elem
@@ -1263,7 +1227,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1263
1227
  path: _path + ".satisfyMethod",
1264
1228
  expected: "(iSatisfyMethod | undefined)",
1265
1229
  value: input.satisfyMethod
1266
- })) && _vo20(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || _report(_exceptionable, {
1230
+ })) && _vo19(input.satisfyMethod, _path + ".satisfyMethod", true && _exceptionable) || _report(_exceptionable, {
1267
1231
  path: _path + ".satisfyMethod",
1268
1232
  expected: "(iSatisfyMethod | undefined)",
1269
1233
  value: input.satisfyMethod
@@ -1279,7 +1243,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1279
1243
  path: _path + ".plugins[" + _index24 + "]",
1280
1244
  expected: "ManagePluginRequest",
1281
1245
  value: elem
1282
- })) && _vo22(elem, _path + ".plugins[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
1246
+ })) && _vo21(elem, _path + ".plugins[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
1283
1247
  path: _path + ".plugins[" + _index24 + "]",
1284
1248
  expected: "ManagePluginRequest",
1285
1249
  value: elem
@@ -1432,27 +1396,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1432
1396
  path: _path + ".url",
1433
1397
  expected: "(string | undefined)",
1434
1398
  value: input.url
1435
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || _report(_exceptionable, {
1436
- path: _path + ".collectionId",
1437
- expected: "(bigint | number | string)",
1438
- value: input.collectionId
1439
- }), "string" === typeof input.approvalId || _report(_exceptionable, {
1440
- path: _path + ".approvalId",
1441
- expected: "string",
1442
- value: input.approvalId
1443
- }), "string" === typeof input.challengeTrackerId || _report(_exceptionable, {
1444
- path: _path + ".challengeTrackerId",
1445
- expected: "string",
1446
- value: input.challengeTrackerId
1447
- }), "" === input.approvalLevel || "collection" === input.approvalLevel || "incoming" === input.approvalLevel || "outgoing" === input.approvalLevel || _report(_exceptionable, {
1448
- path: _path + ".approvalLevel",
1449
- expected: "(\"\" | \"collection\" | \"incoming\" | \"outgoing\")",
1450
- value: input.approvalLevel
1451
- }), "string" === typeof input.approverAddress || _report(_exceptionable, {
1452
- path: _path + ".approverAddress",
1453
- expected: "string",
1454
- value: input.approverAddress
1455
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || _report(_exceptionable, {
1399
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || _report(_exceptionable, {
1456
1400
  path: _path + ".manualBalances",
1457
1401
  expected: "Array<iManualBalances<NumberType>>",
1458
1402
  value: input.manualBalances
@@ -1460,7 +1404,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1460
1404
  path: _path + ".manualBalances[" + _index28 + "]",
1461
1405
  expected: "iManualBalances<NumberType>",
1462
1406
  value: elem
1463
- })) && _vo10(elem, _path + ".manualBalances[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
1407
+ })) && _vo9(elem, _path + ".manualBalances[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
1464
1408
  path: _path + ".manualBalances[" + _index28 + "]",
1465
1409
  expected: "iManualBalances<NumberType>",
1466
1410
  value: elem
@@ -1472,7 +1416,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1472
1416
  path: _path + ".incrementedBalances",
1473
1417
  expected: "iIncrementedBalances<NumberType>",
1474
1418
  value: input.incrementedBalances
1475
- })) && _vo13(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || _report(_exceptionable, {
1419
+ })) && _vo12(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || _report(_exceptionable, {
1476
1420
  path: _path + ".incrementedBalances",
1477
1421
  expected: "iIncrementedBalances<NumberType>",
1478
1422
  value: input.incrementedBalances
@@ -1480,11 +1424,11 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1480
1424
  path: _path + ".orderCalculationMethod",
1481
1425
  expected: "iPredeterminedOrderCalculationMethod",
1482
1426
  value: input.orderCalculationMethod
1483
- })) && _vo14(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || _report(_exceptionable, {
1427
+ })) && _vo13(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || _report(_exceptionable, {
1484
1428
  path: _path + ".orderCalculationMethod",
1485
1429
  expected: "iPredeterminedOrderCalculationMethod",
1486
1430
  value: input.orderCalculationMethod
1487
- })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || _report(_exceptionable, {
1431
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || _report(_exceptionable, {
1488
1432
  path: _path + ".balances",
1489
1433
  expected: "Array<iBalance<NumberType>>",
1490
1434
  value: input.balances
@@ -1492,7 +1436,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1492
1436
  path: _path + ".balances[" + _index29 + "]",
1493
1437
  expected: "iBalance<NumberType>",
1494
1438
  value: elem
1495
- })) && _vo11(elem, _path + ".balances[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
1439
+ })) && _vo10(elem, _path + ".balances[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
1496
1440
  path: _path + ".balances[" + _index29 + "]",
1497
1441
  expected: "iBalance<NumberType>",
1498
1442
  value: elem
@@ -1500,7 +1444,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1500
1444
  path: _path + ".balances",
1501
1445
  expected: "Array<iBalance<NumberType>>",
1502
1446
  value: input.balances
1503
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || _report(_exceptionable, {
1447
+ })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || _report(_exceptionable, {
1504
1448
  path: _path + ".amount",
1505
1449
  expected: "(bigint | number | string)",
1506
1450
  value: input.amount
@@ -1512,7 +1456,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1512
1456
  path: _path + ".badgeIds[" + _index30 + "]",
1513
1457
  expected: "iUintRange<NumberType>",
1514
1458
  value: elem
1515
- })) && _vo12(elem, _path + ".badgeIds[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
1459
+ })) && _vo11(elem, _path + ".badgeIds[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
1516
1460
  path: _path + ".badgeIds[" + _index30 + "]",
1517
1461
  expected: "iUintRange<NumberType>",
1518
1462
  value: elem
@@ -1528,7 +1472,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1528
1472
  path: _path + ".ownershipTimes[" + _index31 + "]",
1529
1473
  expected: "iUintRange<NumberType>",
1530
1474
  value: elem
1531
- })) && _vo12(elem, _path + ".ownershipTimes[" + _index31 + "]", true && _exceptionable) || _report(_exceptionable, {
1475
+ })) && _vo11(elem, _path + ".ownershipTimes[" + _index31 + "]", true && _exceptionable) || _report(_exceptionable, {
1532
1476
  path: _path + ".ownershipTimes[" + _index31 + "]",
1533
1477
  expected: "iUintRange<NumberType>",
1534
1478
  value: elem
@@ -1536,7 +1480,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1536
1480
  path: _path + ".ownershipTimes",
1537
1481
  expected: "Array<iUintRange<NumberType>>",
1538
1482
  value: input.ownershipTimes
1539
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || _report(_exceptionable, {
1483
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || _report(_exceptionable, {
1540
1484
  path: _path + ".start",
1541
1485
  expected: "(bigint | number | string)",
1542
1486
  value: input.start
@@ -1544,7 +1488,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1544
1488
  path: _path + ".end",
1545
1489
  expected: "(bigint | number | string)",
1546
1490
  value: input.end
1547
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || _report(_exceptionable, {
1491
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || _report(_exceptionable, {
1548
1492
  path: _path + ".startBalances",
1549
1493
  expected: "Array<iBalance<NumberType>>",
1550
1494
  value: input.startBalances
@@ -1552,7 +1496,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1552
1496
  path: _path + ".startBalances[" + _index32 + "]",
1553
1497
  expected: "iBalance<NumberType>",
1554
1498
  value: elem
1555
- })) && _vo11(elem, _path + ".startBalances[" + _index32 + "]", true && _exceptionable) || _report(_exceptionable, {
1499
+ })) && _vo10(elem, _path + ".startBalances[" + _index32 + "]", true && _exceptionable) || _report(_exceptionable, {
1556
1500
  path: _path + ".startBalances[" + _index32 + "]",
1557
1501
  expected: "iBalance<NumberType>",
1558
1502
  value: elem
@@ -1568,7 +1512,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1568
1512
  path: _path + ".incrementOwnershipTimesBy",
1569
1513
  expected: "(bigint | number | string)",
1570
1514
  value: input.incrementOwnershipTimesBy
1571
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || _report(_exceptionable, {
1515
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || _report(_exceptionable, {
1572
1516
  path: _path + ".useOverallNumTransfers",
1573
1517
  expected: "boolean",
1574
1518
  value: input.useOverallNumTransfers
@@ -1592,7 +1536,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1592
1536
  path: _path + ".challengeTrackerId",
1593
1537
  expected: "string",
1594
1538
  value: input.challengeTrackerId
1595
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || _report(_exceptionable, {
1539
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || _report(_exceptionable, {
1596
1540
  path: _path + ".rewardId",
1597
1541
  expected: "string",
1598
1542
  value: input.rewardId
@@ -1604,7 +1548,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1604
1548
  path: _path + ".metadata",
1605
1549
  expected: "(__type.o4 | undefined)",
1606
1550
  value: input.metadata
1607
- })) && _vo16(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1551
+ })) && _vo15(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1608
1552
  path: _path + ".metadata",
1609
1553
  expected: "(__type.o4 | undefined)",
1610
1554
  value: input.metadata
@@ -1616,7 +1560,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1616
1560
  path: _path + ".gatedContent",
1617
1561
  expected: "iClaimGatedContent",
1618
1562
  value: input.gatedContent
1619
- })) && _vo17(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || _report(_exceptionable, {
1563
+ })) && _vo16(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || _report(_exceptionable, {
1620
1564
  path: _path + ".gatedContent",
1621
1565
  expected: "iClaimGatedContent",
1622
1566
  value: input.gatedContent
@@ -1624,11 +1568,11 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1624
1568
  path: _path + ".calculationMethod",
1625
1569
  expected: "(__type.o6 | undefined)",
1626
1570
  value: input.calculationMethod
1627
- })) && _vo19(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || _report(_exceptionable, {
1571
+ })) && _vo18(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || _report(_exceptionable, {
1628
1572
  path: _path + ".calculationMethod",
1629
1573
  expected: "(__type.o6 | undefined)",
1630
1574
  value: input.calculationMethod
1631
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1575
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1632
1576
  path: _path + ".name",
1633
1577
  expected: "string",
1634
1578
  value: input.name
@@ -1640,7 +1584,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1640
1584
  path: _path + ".image",
1641
1585
  expected: "string",
1642
1586
  value: input.image
1643
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
1587
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
1644
1588
  path: _path + ".content",
1645
1589
  expected: "(string | undefined)",
1646
1590
  value: input.content
@@ -1652,16 +1596,16 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1652
1596
  path: _path + ".params",
1653
1597
  expected: "(__type.o5 | undefined)",
1654
1598
  value: input.params
1655
- })) && _vo18(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
1599
+ })) && _vo17(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
1656
1600
  path: _path + ".params",
1657
1601
  expected: "(__type.o5 | undefined)",
1658
1602
  value: input.params
1659
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1603
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1660
1604
  const value = input[key];
1661
1605
  if (undefined === value)
1662
1606
  return true;
1663
1607
  return true;
1664
- }).every(flag => flag)].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || _report(_exceptionable, {
1608
+ }).every(flag => flag)].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || _report(_exceptionable, {
1665
1609
  path: _path + ".alwaysShow",
1666
1610
  expected: "(boolean | undefined)",
1667
1611
  value: input.alwaysShow
@@ -1669,7 +1613,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1669
1613
  path: _path + ".minClaimSuccesses",
1670
1614
  expected: "(number | undefined)",
1671
1615
  value: input.minClaimSuccesses
1672
- })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || _report(_exceptionable, {
1616
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["AND" === input.type || "OR" === input.type || "NOT" === input.type || _report(_exceptionable, {
1673
1617
  path: _path + ".type",
1674
1618
  expected: "(\"AND\" | \"NOT\" | \"OR\")",
1675
1619
  value: input.type
@@ -1689,7 +1633,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1689
1633
  path: _path + ".conditions[" + _index33 + "]",
1690
1634
  expected: "(iSatisfyMethod | string)",
1691
1635
  value: elem
1692
- })) && _vo20(elem, _path + ".conditions[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
1636
+ })) && _vo19(elem, _path + ".conditions[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
1693
1637
  path: _path + ".conditions[" + _index33 + "]",
1694
1638
  expected: "(iSatisfyMethod | string)",
1695
1639
  value: elem
@@ -1701,15 +1645,15 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1701
1645
  path: _path + ".options",
1702
1646
  expected: "(__type.o7 | undefined)",
1703
1647
  value: input.options
1704
- })) && _vo21(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
1648
+ })) && _vo20(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
1705
1649
  path: _path + ".options",
1706
1650
  expected: "(__type.o7 | undefined)",
1707
1651
  value: input.options
1708
- })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied || _report(_exceptionable, {
1652
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.minNumSatisfied || "number" === typeof input.minNumSatisfied || _report(_exceptionable, {
1709
1653
  path: _path + ".minNumSatisfied",
1710
1654
  expected: "(number | undefined)",
1711
1655
  value: input.minNumSatisfied
1712
- })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [undefined === input.resetState || "boolean" === typeof input.resetState || _report(_exceptionable, {
1656
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => [undefined === input.resetState || "boolean" === typeof input.resetState || _report(_exceptionable, {
1713
1657
  path: _path + ".resetState",
1714
1658
  expected: "(boolean | undefined)",
1715
1659
  value: input.resetState
@@ -1717,7 +1661,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1717
1661
  path: _path + ".newState",
1718
1662
  expected: "(Record<string, any> | undefined)",
1719
1663
  value: input.newState
1720
- })) && _vo23(input.newState, _path + ".newState", true && _exceptionable) || _report(_exceptionable, {
1664
+ })) && _vo22(input.newState, _path + ".newState", true && _exceptionable) || _report(_exceptionable, {
1721
1665
  path: _path + ".newState",
1722
1666
  expected: "(Record<string, any> | undefined)",
1723
1667
  value: input.newState
@@ -1741,7 +1685,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1741
1685
  path: _path + ".publicParams",
1742
1686
  expected: "Record<string, any>",
1743
1687
  value: input.publicParams
1744
- })) && _vo23(input.publicParams, _path + ".publicParams", true && _exceptionable) || _report(_exceptionable, {
1688
+ })) && _vo22(input.publicParams, _path + ".publicParams", true && _exceptionable) || _report(_exceptionable, {
1745
1689
  path: _path + ".publicParams",
1746
1690
  expected: "Record<string, any>",
1747
1691
  value: input.publicParams
@@ -1749,7 +1693,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1749
1693
  path: _path + ".privateParams",
1750
1694
  expected: "Record<string, any>",
1751
1695
  value: input.privateParams
1752
- })) && _vo23(input.privateParams, _path + ".privateParams", true && _exceptionable) || _report(_exceptionable, {
1696
+ })) && _vo22(input.privateParams, _path + ".privateParams", true && _exceptionable) || _report(_exceptionable, {
1753
1697
  path: _path + ".privateParams",
1754
1698
  expected: "Record<string, any>",
1755
1699
  value: input.privateParams
@@ -1757,16 +1701,16 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1757
1701
  path: _path + ".metadata",
1758
1702
  expected: "(__type.o8 | undefined)",
1759
1703
  value: input.metadata
1760
- })) && _vo24(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1704
+ })) && _vo23(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
1761
1705
  path: _path + ".metadata",
1762
1706
  expected: "(__type.o8 | undefined)",
1763
1707
  value: input.metadata
1764
- })].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1708
+ })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
1765
1709
  const value = input[key];
1766
1710
  if (undefined === value)
1767
1711
  return true;
1768
1712
  return true;
1769
- }).every(flag => flag)].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1713
+ }).every(flag => flag)].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1770
1714
  path: _path + ".name",
1771
1715
  expected: "string",
1772
1716
  value: input.name
@@ -1778,7 +1722,7 @@ class BitBadgesAddressList extends docs_js_1.AddressListDoc {
1778
1722
  path: _path + ".image",
1779
1723
  expected: "(string | undefined)",
1780
1724
  value: input.image
1781
- })].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1725
+ })].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
1782
1726
  path: _path + ".name",
1783
1727
  expected: "string",
1784
1728
  value: input.name