bitbadgesjs-sdk 0.3.92 → 0.3.94

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.
@@ -1254,7 +1254,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1254
1254
  const errors = [];
1255
1255
  const __is = input => {
1256
1256
  const $io0 = input => (undefined === input.code || "string" === typeof input.code) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io1(input.options)) && (undefined === input.client_secret || "string" === typeof input.client_secret) && (undefined === input.client_id || "string" === typeof input.client_id) && (undefined === input.redirect_uri || "string" === typeof input.redirect_uri) && (undefined === input.grant_type || "authorization_code" === input.grant_type || "refresh_token" === input.grant_type) && (undefined === input.refresh_token || "string" === typeof input.refresh_token);
1257
- const $io1 = input => (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem)) && (undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs) && (undefined === input.skipAssetVerification || "boolean" === typeof input.skipAssetVerification);
1257
+ const $io1 = input => (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem)) && (undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs) && (undefined === input.skipAssetVerification || "boolean" === typeof input.skipAssetVerification);
1258
1258
  const $io2 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
1259
1259
  const $io3 = input => Array.isArray(input.$or) && input.$or.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
1260
1260
  const $io4 = input => Array.isArray(input.assets) && input.assets.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io7(input.options));
@@ -1319,15 +1319,15 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1319
1319
  value: input.ownershipRequirements
1320
1320
  }), undefined === input.otherSignIns || (Array.isArray(input.otherSignIns) || $report(_exceptionable, {
1321
1321
  path: _path + ".otherSignIns",
1322
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1322
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1323
1323
  value: input.otherSignIns
1324
- })) && input.otherSignIns.map((elem, _index1) => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem || $report(_exceptionable, {
1324
+ })) && input.otherSignIns.map((elem, _index1) => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem || $report(_exceptionable, {
1325
1325
  path: _path + ".otherSignIns[" + _index1 + "]",
1326
1326
  expected: "(\"discord\" | \"github\" | \"google\" | \"twitter\")",
1327
1327
  value: elem
1328
1328
  })).every(flag => flag) || $report(_exceptionable, {
1329
1329
  path: _path + ".otherSignIns",
1330
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1330
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1331
1331
  value: input.otherSignIns
1332
1332
  }), undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs || $report(_exceptionable, {
1333
1333
  path: _path + ".issuedAtTimeWindowMs",
@@ -1569,7 +1569,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1569
1569
  const validateRes = (input => {
1570
1570
  const errors = [];
1571
1571
  const __is = input => {
1572
- const $io0 = input => "string" === typeof input.response_type && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.image || "string" === typeof input.image) && (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.attestationsPresentations || Array.isArray(input.attestationsPresentations) && input.attestationsPresentations.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && "string" === typeof input.client_id && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem)) && (undefined === input.redirect_uri || "string" === typeof input.redirect_uri) && (undefined === input.state || "string" === typeof input.state);
1572
+ const $io0 = input => "string" === typeof input.response_type && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.image || "string" === typeof input.image) && (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.attestationsPresentations || Array.isArray(input.attestationsPresentations) && input.attestationsPresentations.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && "string" === typeof input.client_id && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem)) && (undefined === input.redirect_uri || "string" === typeof input.redirect_uri) && (undefined === input.state || "string" === typeof input.state);
1573
1573
  const $io1 = input => "string" === typeof input.scopeName && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io2(input.options));
1574
1574
  const $io2 = input => true;
1575
1575
  const $io3 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
@@ -1660,15 +1660,15 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1660
1660
  value: input.client_id
1661
1661
  }), undefined === input.otherSignIns || (Array.isArray(input.otherSignIns) || $report(_exceptionable, {
1662
1662
  path: _path + ".otherSignIns",
1663
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1663
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1664
1664
  value: input.otherSignIns
1665
- })) && input.otherSignIns.map((elem, _index3) => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem || $report(_exceptionable, {
1665
+ })) && input.otherSignIns.map((elem, _index3) => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem || $report(_exceptionable, {
1666
1666
  path: _path + ".otherSignIns[" + _index3 + "]",
1667
1667
  expected: "(\"discord\" | \"github\" | \"google\" | \"twitter\")",
1668
1668
  value: elem
1669
1669
  })).every(flag => flag) || $report(_exceptionable, {
1670
1670
  path: _path + ".otherSignIns",
1671
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1671
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1672
1672
  value: input.otherSignIns
1673
1673
  }), undefined === input.redirect_uri || "string" === typeof input.redirect_uri || $report(_exceptionable, {
1674
1674
  path: _path + ".redirect_uri",
@@ -3619,7 +3619,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3619
3619
  const errors = [];
3620
3620
  const __is = input => {
3621
3621
  const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
3622
- const $io1 = input => (undefined === input.seedCode || "string" === typeof input.seedCode) && "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io2(input.balancesToSet)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io8(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io12(elem)));
3622
+ const $io1 = input => "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io2(input.balancesToSet)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io8(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io12(elem)));
3623
3623
  const $io2 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io3(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io6(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
3624
3624
  const $io3 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io4(elem));
3625
3625
  const $io4 = 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 && $io5(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
@@ -3660,11 +3660,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3660
3660
  expected: "Array<CreateClaimRequest<NumberType>>",
3661
3661
  value: input.claims
3662
3662
  })].every(flag => flag);
3663
- const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.seedCode || "string" === typeof input.seedCode || $report(_exceptionable, {
3664
- path: _path + ".seedCode",
3665
- expected: "(string | undefined)",
3666
- value: input.seedCode
3667
- }), "string" === typeof input.claimId || $report(_exceptionable, {
3663
+ const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
3668
3664
  path: _path + ".claimId",
3669
3665
  expected: "string",
3670
3666
  value: input.claimId
@@ -3684,6 +3680,10 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3684
3680
  path: _path + ".approach",
3685
3681
  expected: "(string | undefined)",
3686
3682
  value: input.approach
3683
+ }), undefined === input.seedCode || "string" === typeof input.seedCode || $report(_exceptionable, {
3684
+ path: _path + ".seedCode",
3685
+ expected: "(string | undefined)",
3686
+ value: input.seedCode
3687
3687
  }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3688
3688
  path: _path + ".metadata",
3689
3689
  expected: "(iMetadata<NumberType> | undefined)",
@@ -4133,15 +4133,15 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4133
4133
  const errors = [];
4134
4134
  const __is = input => {
4135
4135
  const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
4136
- const $io1 = input => "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io2(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io8(elem))) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io11(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod);
4137
- const $io2 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io3(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io6(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
4138
- const $io3 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io4(elem));
4139
- const $io4 = 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 && $io5(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
4140
- const $io5 = 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);
4141
- const $io6 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io4(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);
4142
- const $io8 = input => "object" === typeof input.publicState && null !== input.publicState && true && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io9(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io9(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && true) && ("object" === typeof input.privateParams && null !== input.privateParams && true) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io10(input.metadata));
4143
- const $io9 = input => true;
4144
- const $io10 = input => "string" === typeof input.name && "string" === typeof input.description;
4136
+ const $io1 = input => Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) && "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io5(input.balancesToSet)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io11(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod);
4137
+ const $io2 = input => "object" === typeof input.publicState && null !== input.publicState && true && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io3(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io3(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && true) && ("object" === typeof input.privateParams && null !== input.privateParams && true) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io4(input.metadata));
4138
+ const $io3 = input => true;
4139
+ const $io4 = input => "string" === typeof input.name && "string" === typeof input.description;
4140
+ const $io5 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io6(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io9(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
4141
+ const $io6 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io7(elem));
4142
+ const $io7 = 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 && $io8(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io8(elem)));
4143
+ const $io8 = 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);
4144
+ const $io9 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io7(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);
4145
4145
  const $io11 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (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) && $io12(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io13(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io14(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);
4146
4146
  const $io12 = input => Object.keys(input).every(key => {
4147
4147
  const value = input[key];
@@ -4174,19 +4174,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4174
4174
  expected: "Array<Omit<iClaimDetails<NumberType>, \"seedCode\">>",
4175
4175
  value: input.claims
4176
4176
  })].every(flag => flag);
4177
- const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
4178
- path: _path + ".claimId",
4179
- expected: "string",
4180
- value: input.claimId
4181
- }), undefined === input.balancesToSet || ("object" === typeof input.balancesToSet && null !== input.balancesToSet || $report(_exceptionable, {
4182
- path: _path + ".balancesToSet",
4183
- expected: "(iPredeterminedBalances<NumberType> | undefined)",
4184
- value: input.balancesToSet
4185
- })) && $vo2(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
4186
- path: _path + ".balancesToSet",
4187
- expected: "(iPredeterminedBalances<NumberType> | undefined)",
4188
- value: input.balancesToSet
4189
- }), (Array.isArray(input.plugins) || $report(_exceptionable, {
4177
+ const $vo1 = (input, _path, _exceptionable = true) => [(Array.isArray(input.plugins) || $report(_exceptionable, {
4190
4178
  path: _path + ".plugins",
4191
4179
  expected: "Array<IntegrationPluginDetails<string>>",
4192
4180
  value: input.plugins
@@ -4194,7 +4182,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4194
4182
  path: _path + ".plugins[" + _index2 + "]",
4195
4183
  expected: "IntegrationPluginDetails<string>",
4196
4184
  value: elem
4197
- })) && $vo8(elem, _path + ".plugins[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
4185
+ })) && $vo2(elem, _path + ".plugins[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
4198
4186
  path: _path + ".plugins[" + _index2 + "]",
4199
4187
  expected: "IntegrationPluginDetails<string>",
4200
4188
  value: elem
@@ -4202,6 +4190,18 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4202
4190
  path: _path + ".plugins",
4203
4191
  expected: "Array<IntegrationPluginDetails<string>>",
4204
4192
  value: input.plugins
4193
+ }), "string" === typeof input.claimId || $report(_exceptionable, {
4194
+ path: _path + ".claimId",
4195
+ expected: "string",
4196
+ value: input.claimId
4197
+ }), undefined === input.balancesToSet || ("object" === typeof input.balancesToSet && null !== input.balancesToSet || $report(_exceptionable, {
4198
+ path: _path + ".balancesToSet",
4199
+ expected: "(iPredeterminedBalances<NumberType> | undefined)",
4200
+ value: input.balancesToSet
4201
+ })) && $vo5(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
4202
+ path: _path + ".balancesToSet",
4203
+ expected: "(iPredeterminedBalances<NumberType> | undefined)",
4204
+ value: input.balancesToSet
4205
4205
  }), undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution || $report(_exceptionable, {
4206
4206
  path: _path + ".manualDistribution",
4207
4207
  expected: "(boolean | undefined)",
@@ -4223,7 +4223,82 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4223
4223
  expected: "(string | undefined)",
4224
4224
  value: input.assignMethod
4225
4225
  })].every(flag => flag);
4226
- const $vo2 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
4226
+ const $vo2 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
4227
+ path: _path + ".publicState",
4228
+ expected: "__type",
4229
+ value: input.publicState
4230
+ })) && $vo3(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
4231
+ path: _path + ".publicState",
4232
+ expected: "__type",
4233
+ value: input.publicState
4234
+ }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || $report(_exceptionable, {
4235
+ path: _path + ".privateState",
4236
+ expected: "(__type | undefined)",
4237
+ value: input.privateState
4238
+ })) && $vo3(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
4239
+ path: _path + ".privateState",
4240
+ expected: "(__type | undefined)",
4241
+ value: input.privateState
4242
+ }), undefined === input.resetState || "boolean" === typeof input.resetState || $report(_exceptionable, {
4243
+ path: _path + ".resetState",
4244
+ expected: "(boolean | undefined)",
4245
+ value: input.resetState
4246
+ }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || $report(_exceptionable, {
4247
+ path: _path + ".newState",
4248
+ expected: "(__type | undefined)",
4249
+ value: input.newState
4250
+ })) && $vo3(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
4251
+ path: _path + ".newState",
4252
+ expected: "(__type | undefined)",
4253
+ value: input.newState
4254
+ }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || $report(_exceptionable, {
4255
+ path: _path + ".onlyUpdateProvidedNewState",
4256
+ expected: "(boolean | undefined)",
4257
+ value: input.onlyUpdateProvidedNewState
4258
+ }), "string" === typeof input.instanceId || $report(_exceptionable, {
4259
+ path: _path + ".instanceId",
4260
+ expected: "string",
4261
+ value: input.instanceId
4262
+ }), "string" === typeof input.pluginId || $report(_exceptionable, {
4263
+ path: _path + ".pluginId",
4264
+ expected: "string",
4265
+ value: input.pluginId
4266
+ }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || $report(_exceptionable, {
4267
+ path: _path + ".publicParams",
4268
+ expected: "__type",
4269
+ value: input.publicParams
4270
+ })) && $vo3(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
4271
+ path: _path + ".publicParams",
4272
+ expected: "__type",
4273
+ value: input.publicParams
4274
+ }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || $report(_exceptionable, {
4275
+ path: _path + ".privateParams",
4276
+ expected: "__type",
4277
+ value: input.privateParams
4278
+ })) && $vo3(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
4279
+ path: _path + ".privateParams",
4280
+ expected: "__type",
4281
+ value: input.privateParams
4282
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4283
+ path: _path + ".metadata",
4284
+ expected: "(__type.o1 | undefined)",
4285
+ value: input.metadata
4286
+ })) && $vo4(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4287
+ path: _path + ".metadata",
4288
+ expected: "(__type.o1 | undefined)",
4289
+ value: input.metadata
4290
+ })].every(flag => flag);
4291
+ const $vo3 = (input, _path, _exceptionable = true) => true;
4292
+ const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4293
+ path: _path + ".name",
4294
+ expected: "string",
4295
+ value: input.name
4296
+ }), "string" === typeof input.description || $report(_exceptionable, {
4297
+ path: _path + ".description",
4298
+ expected: "string",
4299
+ value: input.description
4300
+ })].every(flag => flag);
4301
+ const $vo5 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
4227
4302
  path: _path + ".manualBalances",
4228
4303
  expected: "Array<iManualBalances<NumberType>>",
4229
4304
  value: input.manualBalances
@@ -4231,7 +4306,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4231
4306
  path: _path + ".manualBalances[" + _index3 + "]",
4232
4307
  expected: "iManualBalances<NumberType>",
4233
4308
  value: elem
4234
- })) && $vo3(elem, _path + ".manualBalances[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
4309
+ })) && $vo6(elem, _path + ".manualBalances[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
4235
4310
  path: _path + ".manualBalances[" + _index3 + "]",
4236
4311
  expected: "iManualBalances<NumberType>",
4237
4312
  value: elem
@@ -4243,7 +4318,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4243
4318
  path: _path + ".incrementedBalances",
4244
4319
  expected: "iIncrementedBalances<NumberType>",
4245
4320
  value: input.incrementedBalances
4246
- })) && $vo6(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
4321
+ })) && $vo9(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
4247
4322
  path: _path + ".incrementedBalances",
4248
4323
  expected: "iIncrementedBalances<NumberType>",
4249
4324
  value: input.incrementedBalances
@@ -4251,12 +4326,12 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4251
4326
  path: _path + ".orderCalculationMethod",
4252
4327
  expected: "iPredeterminedOrderCalculationMethod",
4253
4328
  value: input.orderCalculationMethod
4254
- })) && $vo7(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
4329
+ })) && $vo10(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
4255
4330
  path: _path + ".orderCalculationMethod",
4256
4331
  expected: "iPredeterminedOrderCalculationMethod",
4257
4332
  value: input.orderCalculationMethod
4258
4333
  })].every(flag => flag);
4259
- const $vo3 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
4334
+ const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
4260
4335
  path: _path + ".balances",
4261
4336
  expected: "Array<iBalance<NumberType>>",
4262
4337
  value: input.balances
@@ -4264,7 +4339,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4264
4339
  path: _path + ".balances[" + _index4 + "]",
4265
4340
  expected: "iBalance<NumberType>",
4266
4341
  value: elem
4267
- })) && $vo4(elem, _path + ".balances[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
4342
+ })) && $vo7(elem, _path + ".balances[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
4268
4343
  path: _path + ".balances[" + _index4 + "]",
4269
4344
  expected: "iBalance<NumberType>",
4270
4345
  value: elem
@@ -4273,7 +4348,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4273
4348
  expected: "Array<iBalance<NumberType>>",
4274
4349
  value: input.balances
4275
4350
  })].every(flag => flag);
4276
- const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
4351
+ const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
4277
4352
  path: _path + ".amount",
4278
4353
  expected: "(bigint | number | string)",
4279
4354
  value: input.amount
@@ -4285,7 +4360,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4285
4360
  path: _path + ".badgeIds[" + _index5 + "]",
4286
4361
  expected: "iUintRange<NumberType>",
4287
4362
  value: elem
4288
- })) && $vo5(elem, _path + ".badgeIds[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
4363
+ })) && $vo8(elem, _path + ".badgeIds[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
4289
4364
  path: _path + ".badgeIds[" + _index5 + "]",
4290
4365
  expected: "iUintRange<NumberType>",
4291
4366
  value: elem
@@ -4301,7 +4376,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4301
4376
  path: _path + ".ownershipTimes[" + _index6 + "]",
4302
4377
  expected: "iUintRange<NumberType>",
4303
4378
  value: elem
4304
- })) && $vo5(elem, _path + ".ownershipTimes[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
4379
+ })) && $vo8(elem, _path + ".ownershipTimes[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
4305
4380
  path: _path + ".ownershipTimes[" + _index6 + "]",
4306
4381
  expected: "iUintRange<NumberType>",
4307
4382
  value: elem
@@ -4310,7 +4385,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4310
4385
  expected: "Array<iUintRange<NumberType>>",
4311
4386
  value: input.ownershipTimes
4312
4387
  })].every(flag => flag);
4313
- const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
4388
+ const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
4314
4389
  path: _path + ".start",
4315
4390
  expected: "(bigint | number | string)",
4316
4391
  value: input.start
@@ -4319,7 +4394,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4319
4394
  expected: "(bigint | number | string)",
4320
4395
  value: input.end
4321
4396
  })].every(flag => flag);
4322
- const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
4397
+ const $vo9 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
4323
4398
  path: _path + ".startBalances",
4324
4399
  expected: "Array<iBalance<NumberType>>",
4325
4400
  value: input.startBalances
@@ -4327,7 +4402,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4327
4402
  path: _path + ".startBalances[" + _index7 + "]",
4328
4403
  expected: "iBalance<NumberType>",
4329
4404
  value: elem
4330
- })) && $vo4(elem, _path + ".startBalances[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
4405
+ })) && $vo7(elem, _path + ".startBalances[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
4331
4406
  path: _path + ".startBalances[" + _index7 + "]",
4332
4407
  expected: "iBalance<NumberType>",
4333
4408
  value: elem
@@ -4344,7 +4419,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4344
4419
  expected: "(bigint | number | string)",
4345
4420
  value: input.incrementOwnershipTimesBy
4346
4421
  })].every(flag => flag);
4347
- const $vo7 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
4422
+ const $vo10 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
4348
4423
  path: _path + ".useOverallNumTransfers",
4349
4424
  expected: "boolean",
4350
4425
  value: input.useOverallNumTransfers
@@ -4369,81 +4444,6 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4369
4444
  expected: "string",
4370
4445
  value: input.challengeTrackerId
4371
4446
  })].every(flag => flag);
4372
- const $vo8 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
4373
- path: _path + ".publicState",
4374
- expected: "__type",
4375
- value: input.publicState
4376
- })) && $vo9(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
4377
- path: _path + ".publicState",
4378
- expected: "__type",
4379
- value: input.publicState
4380
- }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || $report(_exceptionable, {
4381
- path: _path + ".privateState",
4382
- expected: "(__type | undefined)",
4383
- value: input.privateState
4384
- })) && $vo9(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
4385
- path: _path + ".privateState",
4386
- expected: "(__type | undefined)",
4387
- value: input.privateState
4388
- }), undefined === input.resetState || "boolean" === typeof input.resetState || $report(_exceptionable, {
4389
- path: _path + ".resetState",
4390
- expected: "(boolean | undefined)",
4391
- value: input.resetState
4392
- }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || $report(_exceptionable, {
4393
- path: _path + ".newState",
4394
- expected: "(__type | undefined)",
4395
- value: input.newState
4396
- })) && $vo9(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
4397
- path: _path + ".newState",
4398
- expected: "(__type | undefined)",
4399
- value: input.newState
4400
- }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || $report(_exceptionable, {
4401
- path: _path + ".onlyUpdateProvidedNewState",
4402
- expected: "(boolean | undefined)",
4403
- value: input.onlyUpdateProvidedNewState
4404
- }), "string" === typeof input.instanceId || $report(_exceptionable, {
4405
- path: _path + ".instanceId",
4406
- expected: "string",
4407
- value: input.instanceId
4408
- }), "string" === typeof input.pluginId || $report(_exceptionable, {
4409
- path: _path + ".pluginId",
4410
- expected: "string",
4411
- value: input.pluginId
4412
- }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || $report(_exceptionable, {
4413
- path: _path + ".publicParams",
4414
- expected: "__type",
4415
- value: input.publicParams
4416
- })) && $vo9(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
4417
- path: _path + ".publicParams",
4418
- expected: "__type",
4419
- value: input.publicParams
4420
- }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || $report(_exceptionable, {
4421
- path: _path + ".privateParams",
4422
- expected: "__type",
4423
- value: input.privateParams
4424
- })) && $vo9(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
4425
- path: _path + ".privateParams",
4426
- expected: "__type",
4427
- value: input.privateParams
4428
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4429
- path: _path + ".metadata",
4430
- expected: "(__type.o1 | undefined)",
4431
- value: input.metadata
4432
- })) && $vo10(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4433
- path: _path + ".metadata",
4434
- expected: "(__type.o1 | undefined)",
4435
- value: input.metadata
4436
- })].every(flag => flag);
4437
- const $vo9 = (input, _path, _exceptionable = true) => true;
4438
- const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4439
- path: _path + ".name",
4440
- expected: "string",
4441
- value: input.name
4442
- }), "string" === typeof input.description || $report(_exceptionable, {
4443
- path: _path + ".description",
4444
- expected: "string",
4445
- value: input.description
4446
- })].every(flag => flag);
4447
4447
  const $vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4448
4448
  path: _path + ".name",
4449
4449
  expected: "string",
@@ -6307,23 +6307,23 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6307
6307
  const errors = [];
6308
6308
  const __is = input => {
6309
6309
  const $io0 = input => undefined === input.contents || Array.isArray(input.contents) && input.contents.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
6310
- const $io1 = input => Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io3(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6311
- const $io2 = 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);
6312
- const $io3 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (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.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);
6313
- const $io4 = input => Object.keys(input).every(key => {
6310
+ const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io2(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io3(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.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);
6311
+ const $io2 = input => Object.keys(input).every(key => {
6314
6312
  const value = input[key];
6315
6313
  if (undefined === value)
6316
6314
  return true;
6317
6315
  return "string" === typeof value;
6318
6316
  });
6319
- const $io5 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
6320
- const $io6 = input => (undefined === input.type || "date" === input.type || "url" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
6321
- const $io7 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io3(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6317
+ const $io3 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
6318
+ const $io4 = input => (undefined === input.type || "date" === input.type || "url" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
6319
+ const $io5 = input => Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io6(elem)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6320
+ const $io6 = 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);
6321
+ const $io7 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6322
6322
  const $io8 = input => Array.isArray(input.leaves) && input.leaves.every(elem => "string" === typeof elem) && "boolean" === typeof input.isHashed && (undefined === input.preimages || Array.isArray(input.preimages) && input.preimages.every(elem => "string" === typeof elem)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.tree || "object" === typeof input.tree && null !== input.tree && $io9(input.tree)) && (undefined === input.treeOptions || "object" === typeof input.treeOptions && null !== input.treeOptions && false === Array.isArray(input.treeOptions) && $io10(input.treeOptions)) && (undefined === input.numLeaves || "string" === typeof input.numLeaves || "number" === typeof input.numLeaves || "bigint" === typeof input.numLeaves) && (undefined === input.currCode || "string" === typeof input.currCode || "number" === typeof input.currCode || "bigint" === typeof input.currCode);
6323
6323
  const $io9 = input => true;
6324
6324
  const $io10 = input => (undefined === input.duplicateOdd || "boolean" === typeof input.duplicateOdd) && (undefined === input.hashLeaves || "boolean" === typeof input.hashLeaves) && (undefined === input.isBitcoinTree || "boolean" === typeof input.isBitcoinTree) && (undefined === input.sortLeaves || "boolean" === typeof input.sortLeaves) && (undefined === input.sortPairs || "boolean" === typeof input.sortPairs) && (undefined === input.sort || "boolean" === typeof input.sort) && (null !== input.fillDefaultHash && (undefined === input.fillDefaultHash || "function" === typeof input.fillDefaultHash || "string" === typeof input.fillDefaultHash || "object" === typeof input.fillDefaultHash && null !== input.fillDefaultHash && $io11(input.fillDefaultHash))) && (undefined === input.complete || "boolean" === typeof input.complete) && (undefined === input.concatenator || true);
6325
- const $io11 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@182"] && Object.keys(input).every(key => {
6326
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6325
+ const $io11 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@1309"] && Object.keys(input).every(key => {
6326
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@1309"].some(prop => key === prop))
6327
6327
  return true;
6328
6328
  const value = input[key];
6329
6329
  if (undefined === value)
@@ -6333,10 +6333,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6333
6333
  return true;
6334
6334
  });
6335
6335
  const $iu0 = input => (() => {
6336
- if (undefined !== input.badgeIds)
6336
+ if (undefined !== input.name)
6337
6337
  return $io1(input);
6338
- else if (undefined !== input.name)
6339
- return $io3(input);
6338
+ else if (undefined !== input.badgeIds)
6339
+ return $io5(input);
6340
6340
  else if (undefined !== input.leaves)
6341
6341
  return $io8(input);
6342
6342
  else
@@ -6350,7 +6350,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6350
6350
  const $join = typia_1.default.validate.join;
6351
6351
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.contents || (Array.isArray(input.contents) || $report(_exceptionable, {
6352
6352
  path: _path + ".contents",
6353
- expected: "(Array<iBadgeMetadataDetails<NumberType> | iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6353
+ expected: "(Array<iMetadata<NumberType> | iBadgeMetadataDetails<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6354
6354
  value: input.contents
6355
6355
  })) && input.contents.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6356
6356
  path: _path + ".contents[" + _index1 + "]",
@@ -6362,60 +6362,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6362
6362
  value: elem
6363
6363
  })).every(flag => flag) || $report(_exceptionable, {
6364
6364
  path: _path + ".contents",
6365
- expected: "(Array<iBadgeMetadataDetails<NumberType> | iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6365
+ expected: "(Array<iMetadata<NumberType> | iBadgeMetadataDetails<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6366
6366
  value: input.contents
6367
6367
  })].every(flag => flag);
6368
- const $vo1 = (input, _path, _exceptionable = true) => [(Array.isArray(input.badgeIds) || $report(_exceptionable, {
6369
- path: _path + ".badgeIds",
6370
- expected: "Array<iUintRange<NumberType>>",
6371
- value: input.badgeIds
6372
- })) && input.badgeIds.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6373
- path: _path + ".badgeIds[" + _index2 + "]",
6374
- expected: "iUintRange<NumberType>",
6375
- value: elem
6376
- })) && $vo2(elem, _path + ".badgeIds[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
6377
- path: _path + ".badgeIds[" + _index2 + "]",
6378
- expected: "iUintRange<NumberType>",
6379
- value: elem
6380
- })).every(flag => flag) || $report(_exceptionable, {
6381
- path: _path + ".badgeIds",
6382
- expected: "Array<iUintRange<NumberType>>",
6383
- value: input.badgeIds
6384
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6385
- path: _path + ".metadata",
6386
- expected: "(iMetadata<NumberType> | undefined)",
6387
- value: input.metadata
6388
- })) && $vo3(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6389
- path: _path + ".metadata",
6390
- expected: "(iMetadata<NumberType> | undefined)",
6391
- value: input.metadata
6392
- }), "string" === typeof input.uri || $report(_exceptionable, {
6393
- path: _path + ".uri",
6394
- expected: "string",
6395
- value: input.uri
6396
- }), undefined === input.fetchedUri || "string" === typeof input.fetchedUri || $report(_exceptionable, {
6397
- path: _path + ".fetchedUri",
6398
- expected: "(string | undefined)",
6399
- value: input.fetchedUri
6400
- }), "string" === typeof input.customData || $report(_exceptionable, {
6401
- path: _path + ".customData",
6402
- expected: "string",
6403
- value: input.customData
6404
- }), undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs || $report(_exceptionable, {
6405
- path: _path + ".toUploadToIpfs",
6406
- expected: "(boolean | undefined)",
6407
- value: input.toUploadToIpfs
6408
- })].every(flag => flag);
6409
- const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
6410
- path: _path + ".start",
6411
- expected: "(bigint | number | string)",
6412
- value: input.start
6413
- }), "string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end || $report(_exceptionable, {
6414
- path: _path + ".end",
6415
- expected: "(bigint | number | string)",
6416
- value: input.end
6417
- })].every(flag => flag);
6418
- const $vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
6368
+ const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
6419
6369
  path: _path + ".name",
6420
6370
  expected: "string",
6421
6371
  value: input.name
@@ -6443,8 +6393,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6443
6393
  path: _path + ".tags",
6444
6394
  expected: "(Array<string> | undefined)",
6445
6395
  value: input.tags
6446
- })) && input.tags.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
6447
- path: _path + ".tags[" + _index3 + "]",
6396
+ })) && input.tags.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable, {
6397
+ path: _path + ".tags[" + _index2 + "]",
6448
6398
  expected: "string",
6449
6399
  value: elem
6450
6400
  })).every(flag => flag) || $report(_exceptionable, {
@@ -6455,7 +6405,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6455
6405
  path: _path + ".socials",
6456
6406
  expected: "(__type | undefined)",
6457
6407
  value: input.socials
6458
- })) && $vo4(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
6408
+ })) && $vo2(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
6459
6409
  path: _path + ".socials",
6460
6410
  expected: "(__type | undefined)",
6461
6411
  value: input.socials
@@ -6463,7 +6413,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6463
6413
  path: _path + ".offChainTransferabilityInfo",
6464
6414
  expected: "(__type.o1 | undefined)",
6465
6415
  value: input.offChainTransferabilityInfo
6466
- })) && $vo5(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
6416
+ })) && $vo3(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
6467
6417
  path: _path + ".offChainTransferabilityInfo",
6468
6418
  expected: "(__type.o1 | undefined)",
6469
6419
  value: input.offChainTransferabilityInfo
@@ -6471,12 +6421,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6471
6421
  path: _path + ".attributes",
6472
6422
  expected: "(Array<__type> | undefined)",
6473
6423
  value: input.attributes
6474
- })) && input.attributes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6475
- path: _path + ".attributes[" + _index4 + "]",
6424
+ })) && input.attributes.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6425
+ path: _path + ".attributes[" + _index3 + "]",
6476
6426
  expected: "__type.o2",
6477
6427
  value: elem
6478
- })) && $vo6(elem, _path + ".attributes[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
6479
- path: _path + ".attributes[" + _index4 + "]",
6428
+ })) && $vo4(elem, _path + ".attributes[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
6429
+ path: _path + ".attributes[" + _index3 + "]",
6480
6430
  expected: "__type.o2",
6481
6431
  value: elem
6482
6432
  })).every(flag => flag) || $report(_exceptionable, {
@@ -6496,7 +6446,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6496
6446
  expected: "(boolean | undefined)",
6497
6447
  value: input._isUpdating
6498
6448
  })].every(flag => flag);
6499
- const $vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
6449
+ const $vo2 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
6500
6450
  const value = input[key];
6501
6451
  if (undefined === value)
6502
6452
  return true;
@@ -6506,7 +6456,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6506
6456
  value: value
6507
6457
  });
6508
6458
  }).every(flag => flag)].every(flag => flag);
6509
- const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
6459
+ const $vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
6510
6460
  path: _path + ".host",
6511
6461
  expected: "string",
6512
6462
  value: input.host
@@ -6515,7 +6465,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6515
6465
  expected: "string",
6516
6466
  value: input.assignMethod
6517
6467
  })].every(flag => flag);
6518
- const $vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
6468
+ const $vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
6519
6469
  path: _path + ".type",
6520
6470
  expected: "(\"date\" | \"url\" | undefined)",
6521
6471
  value: input.type
@@ -6528,11 +6478,61 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6528
6478
  expected: "(boolean | number | string)",
6529
6479
  value: input.value
6530
6480
  })].every(flag => flag);
6481
+ const $vo5 = (input, _path, _exceptionable = true) => [(Array.isArray(input.badgeIds) || $report(_exceptionable, {
6482
+ path: _path + ".badgeIds",
6483
+ expected: "Array<iUintRange<NumberType>>",
6484
+ value: input.badgeIds
6485
+ })) && input.badgeIds.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6486
+ path: _path + ".badgeIds[" + _index4 + "]",
6487
+ expected: "iUintRange<NumberType>",
6488
+ value: elem
6489
+ })) && $vo6(elem, _path + ".badgeIds[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
6490
+ path: _path + ".badgeIds[" + _index4 + "]",
6491
+ expected: "iUintRange<NumberType>",
6492
+ value: elem
6493
+ })).every(flag => flag) || $report(_exceptionable, {
6494
+ path: _path + ".badgeIds",
6495
+ expected: "Array<iUintRange<NumberType>>",
6496
+ value: input.badgeIds
6497
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6498
+ path: _path + ".metadata",
6499
+ expected: "(iMetadata<NumberType> | undefined)",
6500
+ value: input.metadata
6501
+ })) && $vo1(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6502
+ path: _path + ".metadata",
6503
+ expected: "(iMetadata<NumberType> | undefined)",
6504
+ value: input.metadata
6505
+ }), "string" === typeof input.uri || $report(_exceptionable, {
6506
+ path: _path + ".uri",
6507
+ expected: "string",
6508
+ value: input.uri
6509
+ }), undefined === input.fetchedUri || "string" === typeof input.fetchedUri || $report(_exceptionable, {
6510
+ path: _path + ".fetchedUri",
6511
+ expected: "(string | undefined)",
6512
+ value: input.fetchedUri
6513
+ }), "string" === typeof input.customData || $report(_exceptionable, {
6514
+ path: _path + ".customData",
6515
+ expected: "string",
6516
+ value: input.customData
6517
+ }), undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs || $report(_exceptionable, {
6518
+ path: _path + ".toUploadToIpfs",
6519
+ expected: "(boolean | undefined)",
6520
+ value: input.toUploadToIpfs
6521
+ })].every(flag => flag);
6522
+ const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
6523
+ path: _path + ".start",
6524
+ expected: "(bigint | number | string)",
6525
+ value: input.start
6526
+ }), "string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end || $report(_exceptionable, {
6527
+ path: _path + ".end",
6528
+ expected: "(bigint | number | string)",
6529
+ value: input.end
6530
+ })].every(flag => flag);
6531
6531
  const $vo7 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6532
6532
  path: _path + ".metadata",
6533
6533
  expected: "(iMetadata<NumberType> | undefined)",
6534
6534
  value: input.metadata
6535
- })) && $vo3(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6535
+ })) && $vo1(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6536
6536
  path: _path + ".metadata",
6537
6537
  expected: "(iMetadata<NumberType> | undefined)",
6538
6538
  value: input.metadata
@@ -6676,12 +6676,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6676
6676
  path: _path + ".length",
6677
6677
  expected: "number",
6678
6678
  value: input.length
6679
- }), "Uint8Array" === input["__@toStringTag@182"] || $report(_exceptionable, {
6680
- path: _path + "[\"__@toStringTag@182\"]",
6679
+ }), "Uint8Array" === input["__@toStringTag@1309"] || $report(_exceptionable, {
6680
+ path: _path + "[\"__@toStringTag@1309\"]",
6681
6681
  expected: "\"Uint8Array\"",
6682
- value: input["__@toStringTag@182"]
6682
+ value: input["__@toStringTag@1309"]
6683
6683
  }), false === _exceptionable || Object.keys(input).map(key => {
6684
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6684
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@1309"].some(prop => key === prop))
6685
6685
  return true;
6686
6686
  const value = input[key];
6687
6687
  if (undefined === value)
@@ -6695,10 +6695,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6695
6695
  return true;
6696
6696
  }).every(flag => flag)].every(flag => flag);
6697
6697
  const $vu0 = (input, _path, _exceptionable = true) => (() => {
6698
- if (undefined !== input.badgeIds)
6698
+ if (undefined !== input.name)
6699
6699
  return $vo1(input, _path, true && _exceptionable);
6700
- else if (undefined !== input.name)
6701
- return $vo3(input, _path, true && _exceptionable);
6700
+ else if (undefined !== input.badgeIds)
6701
+ return $vo5(input, _path, true && _exceptionable);
6702
6702
  else if (undefined !== input.leaves)
6703
6703
  return $vo8(input, _path, true && _exceptionable);
6704
6704
  else
@@ -6744,8 +6744,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6744
6744
  const $io3 = input => Array.isArray(input.leaves) && input.leaves.every(elem => "string" === typeof elem) && "boolean" === typeof input.isHashed && (undefined === input.preimages || Array.isArray(input.preimages) && input.preimages.every(elem => "string" === typeof elem)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.tree || "object" === typeof input.tree && null !== input.tree && $io4(input.tree)) && (undefined === input.treeOptions || "object" === typeof input.treeOptions && null !== input.treeOptions && false === Array.isArray(input.treeOptions) && $io5(input.treeOptions)) && (undefined === input.numLeaves || "string" === typeof input.numLeaves || "number" === typeof input.numLeaves || "bigint" === typeof input.numLeaves) && (undefined === input.currCode || "string" === typeof input.currCode || "number" === typeof input.currCode || "bigint" === typeof input.currCode);
6745
6745
  const $io4 = input => true;
6746
6746
  const $io5 = input => (undefined === input.duplicateOdd || "boolean" === typeof input.duplicateOdd) && (undefined === input.hashLeaves || "boolean" === typeof input.hashLeaves) && (undefined === input.isBitcoinTree || "boolean" === typeof input.isBitcoinTree) && (undefined === input.sortLeaves || "boolean" === typeof input.sortLeaves) && (undefined === input.sortPairs || "boolean" === typeof input.sortPairs) && (undefined === input.sort || "boolean" === typeof input.sort) && (null !== input.fillDefaultHash && (undefined === input.fillDefaultHash || "function" === typeof input.fillDefaultHash || "string" === typeof input.fillDefaultHash || "object" === typeof input.fillDefaultHash && null !== input.fillDefaultHash && $io6(input.fillDefaultHash))) && (undefined === input.complete || "boolean" === typeof input.complete) && (undefined === input.concatenator || true);
6747
- const $io6 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@182"] && Object.keys(input).every(key => {
6748
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6747
+ const $io6 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@1309"] && Object.keys(input).every(key => {
6748
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@1309"].some(prop => key === prop))
6749
6749
  return true;
6750
6750
  const value = input[key];
6751
6751
  if (undefined === value)
@@ -6960,12 +6960,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6960
6960
  path: _path + ".length",
6961
6961
  expected: "number",
6962
6962
  value: input.length
6963
- }), "Uint8Array" === input["__@toStringTag@182"] || $report(_exceptionable, {
6964
- path: _path + "[\"__@toStringTag@182\"]",
6963
+ }), "Uint8Array" === input["__@toStringTag@1309"] || $report(_exceptionable, {
6964
+ path: _path + "[\"__@toStringTag@1309\"]",
6965
6965
  expected: "\"Uint8Array\"",
6966
- value: input["__@toStringTag@182"]
6966
+ value: input["__@toStringTag@1309"]
6967
6967
  }), false === _exceptionable || Object.keys(input).map(key => {
6968
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6968
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@1309"].some(prop => key === prop))
6969
6969
  return true;
6970
6970
  const value = input[key];
6971
6971
  if (undefined === value)