bitbadgesjs-sdk 0.22.0 → 0.22.1

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 (37) hide show
  1. package/dist/cjs/api-indexer/BitBadgesApi.js +118 -394
  2. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  3. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts +1 -1
  4. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  5. package/dist/cjs/api-indexer/docs-types/docs.d.ts +0 -37
  6. package/dist/cjs/api-indexer/docs-types/docs.d.ts.map +1 -1
  7. package/dist/cjs/api-indexer/docs-types/docs.js +0 -1
  8. package/dist/cjs/api-indexer/docs-types/docs.js.map +1 -1
  9. package/dist/cjs/api-indexer/docs-types/interfaces.d.ts +0 -37
  10. package/dist/cjs/api-indexer/docs-types/interfaces.d.ts.map +1 -1
  11. package/dist/cjs/api-indexer/docs-types/interfaces.js.map +1 -1
  12. package/dist/cjs/api-indexer/metadata/badgeMetadata.d.ts +4 -4
  13. package/dist/cjs/api-indexer/metadata/badgeMetadata.d.ts.map +1 -1
  14. package/dist/cjs/api-indexer/requests/requests.d.ts +0 -39
  15. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  16. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  17. package/dist/cjs/tsconfig.build.tsbuildinfo +1 -1
  18. package/dist/esm/api-indexer/BitBadgesApi.js +118 -394
  19. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  20. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts +1 -1
  21. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  22. package/dist/esm/api-indexer/BitBadgesUserInfo.js +1 -1
  23. package/dist/esm/api-indexer/BitBadgesUserInfo.js.map +1 -1
  24. package/dist/esm/api-indexer/docs-types/docs.d.ts +0 -37
  25. package/dist/esm/api-indexer/docs-types/docs.d.ts.map +1 -1
  26. package/dist/esm/api-indexer/docs-types/docs.js +0 -2
  27. package/dist/esm/api-indexer/docs-types/docs.js.map +1 -1
  28. package/dist/esm/api-indexer/docs-types/interfaces.d.ts +0 -37
  29. package/dist/esm/api-indexer/docs-types/interfaces.d.ts.map +1 -1
  30. package/dist/esm/api-indexer/docs-types/interfaces.js.map +1 -1
  31. package/dist/esm/api-indexer/metadata/badgeMetadata.d.ts +4 -4
  32. package/dist/esm/api-indexer/metadata/badgeMetadata.d.ts.map +1 -1
  33. package/dist/esm/api-indexer/requests/requests.d.ts +0 -39
  34. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  35. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  36. package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -1
  37. package/package.json +1 -1
@@ -6623,8 +6623,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6623
6623
  if (undefined === value)
6624
6624
  return true;
6625
6625
  return "string" === typeof value;
6626
- }); const _io3 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const _io4 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); const _io5 = 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); const _io6 = input => Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && _io7(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); const _io7 = 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 _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 && false === Array.isArray(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); const _io9 = input => true; 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); 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@84"] && Object.keys(input).every(key => {
6627
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@84"].some(prop => key === prop))
6626
+ }); const _io3 = input => "string" === typeof input.type && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const _io4 = input => "string" === typeof input.name && "string" === typeof input.image && "string" === typeof input.description && (undefined === input.url || "string" === typeof input.url); const _io5 = 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); const _io6 = input => Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && _io7(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); const _io7 = 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 _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 && false === Array.isArray(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); const _io9 = input => true; 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); 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@81"] && Object.keys(input).every(key => {
6627
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@81"].some(prop => key === prop))
6628
6628
  return true;
6629
6629
  const value = input[key];
6630
6630
  if (undefined === value)
@@ -6978,12 +6978,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6978
6978
  path: _path + ".length",
6979
6979
  expected: "number",
6980
6980
  value: input.length
6981
- }), "Uint8Array" === input["__@toStringTag@84"] || _report(_exceptionable, {
6982
- path: _path + "[\"__@toStringTag@84\"]",
6981
+ }), "Uint8Array" === input["__@toStringTag@81"] || _report(_exceptionable, {
6982
+ path: _path + "[\"__@toStringTag@81\"]",
6983
6983
  expected: "\"Uint8Array\"",
6984
- value: input["__@toStringTag@84"]
6984
+ value: input["__@toStringTag@81"]
6985
6985
  }), false === _exceptionable || Object.keys(input).map(key => {
6986
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@84"].some(prop => key === prop))
6986
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@81"].some(prop => key === prop))
6987
6987
  return true;
6988
6988
  const value = input[key];
6989
6989
  if (undefined === value)
@@ -7045,8 +7045,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7045
7045
  }
7046
7046
  async addApprovalDetailsToOffChainStorage(payload) {
7047
7047
  try {
7048
- const validateRes = (() => { const _io0 = input => Array.isArray(input.approvalDetails) && input.approvalDetails.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.challengeInfoDetails || Array.isArray(input.challengeInfoDetails) && input.challengeInfoDetails.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => "object" === typeof input.challengeDetails && null !== input.challengeDetails && _io3(input.challengeDetails) && (undefined === input.claim || "object" === typeof input.claim && null !== input.claim && _io7(input.claim)); 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 && false === Array.isArray(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); const _io4 = input => true; 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); 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@84"] && Object.keys(input).every(key => {
7049
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@84"].some(prop => key === prop))
7048
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.approvalDetails) && input.approvalDetails.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.challengeInfoDetails || Array.isArray(input.challengeInfoDetails) && input.challengeInfoDetails.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => "object" === typeof input.challengeDetails && null !== input.challengeDetails && _io3(input.challengeDetails) && (undefined === input.claim || "object" === typeof input.claim && null !== input.claim && _io7(input.claim)); 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 && false === Array.isArray(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); const _io4 = input => true; 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); 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@81"] && Object.keys(input).every(key => {
7049
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@81"].some(prop => key === prop))
7050
7050
  return true;
7051
7051
  const value = input[key];
7052
7052
  if (undefined === value)
@@ -7249,12 +7249,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7249
7249
  path: _path + ".length",
7250
7250
  expected: "number",
7251
7251
  value: input.length
7252
- }), "Uint8Array" === input["__@toStringTag@84"] || _report(_exceptionable, {
7253
- path: _path + "[\"__@toStringTag@84\"]",
7252
+ }), "Uint8Array" === input["__@toStringTag@81"] || _report(_exceptionable, {
7253
+ path: _path + "[\"__@toStringTag@81\"]",
7254
7254
  expected: "\"Uint8Array\"",
7255
- value: input["__@toStringTag@84"]
7255
+ value: input["__@toStringTag@81"]
7256
7256
  }), false === _exceptionable || Object.keys(input).map(key => {
7257
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@84"].some(prop => key === prop))
7257
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@81"].some(prop => key === prop))
7258
7258
  return true;
7259
7259
  const value = input[key];
7260
7260
  if (undefined === value)
@@ -8210,7 +8210,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8210
8210
  }
8211
8211
  async updateAccountInfo(payload) {
8212
8212
  try {
8213
- const validateRes = (() => { const _io0 = input => (undefined === input.discord || "string" === typeof input.discord) && (undefined === input.twitter || "string" === typeof input.twitter) && (undefined === input.github || "string" === typeof input.github) && (undefined === input.telegram || "string" === typeof input.telegram) && (undefined === input.bluesky || "string" === typeof input.bluesky) && (undefined === input.affiliateCode || "string" === typeof input.affiliateCode) && (undefined === input.seenActivity || "string" === typeof input.seenActivity || "number" === typeof input.seenActivity || "bigint" === typeof input.seenActivity) && (undefined === input.readme || "string" === typeof input.readme) && (undefined === input.hiddenBadges || Array.isArray(input.hiddenBadges) && input.hiddenBadges.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.hiddenLists || Array.isArray(input.hiddenLists) && input.hiddenLists.every(elem => "string" === typeof elem)) && (undefined === input.customLinks || Array.isArray(input.customLinks) && input.customLinks.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.customPages || "object" === typeof input.customPages && null !== input.customPages && _io4(input.customPages)) && (undefined === input.watchlists || "object" === typeof input.watchlists && null !== input.watchlists && _io6(input.watchlists)) && (undefined === input.profilePicUrl || "string" === typeof input.profilePicUrl) && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.username || "string" === typeof input.username) && true && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io7(input.notifications)) && (undefined === input.approvedSignInMethods || "object" === typeof input.approvedSignInMethods && null !== input.approvedSignInMethods && false === Array.isArray(input.approvedSignInMethods) && _io10(input.approvedSignInMethods)) && (undefined === input.socialConnections || "object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) && _io20(input.socialConnections)) && (undefined === input.publicSocialConnectionsToSet || Array.isArray(input.publicSocialConnectionsToSet) && input.publicSocialConnectionsToSet.every(elem => "object" === typeof elem && null !== elem && _io39(elem))); const _io1 = input => "string" === typeof input.collectionId && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); 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); const _io3 = input => "string" === typeof input.title && "string" === typeof input.url && "string" === typeof input.image; const _io4 = input => Array.isArray(input.badges) && input.badges.every(elem => "object" === typeof elem && null !== elem && _io5(elem)); const _io5 = input => "string" === typeof input.title && "string" === typeof input.description && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io6 = input => Array.isArray(input.badges) && input.badges.every(elem => "object" === typeof elem && null !== elem && _io5(elem)); const _io7 = input => (undefined === input.email || "string" === typeof input.email) && (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io8(input.discord)) && (undefined === input.antiPhishingCode || "string" === typeof input.antiPhishingCode) && (undefined === input.preferences || "object" === typeof input.preferences && null !== input.preferences && false === Array.isArray(input.preferences) && _io9(input.preferences)); const _io8 = input => "string" === typeof input.id && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator); const _io9 = input => (undefined === input.transferActivity || "boolean" === typeof input.transferActivity) && (undefined === input.claimAlerts || "boolean" === typeof input.claimAlerts) && (undefined === input.ignoreIfInitiator || "boolean" === typeof input.ignoreIfInitiator); const _io10 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io11(input.discord)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && _io14(input.github)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && _io15(input.google)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && _io16(input.twitter)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && _io17(input.facebook)) && (undefined === input.addresses || Array.isArray(input.addresses) && input.addresses.every(elem => "object" === typeof elem && null !== elem && _io18(elem))) && (undefined === input.passwords || Array.isArray(input.passwords) && input.passwords.every(elem => "object" === typeof elem && null !== elem && _io19(elem))); const _io11 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem)) && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator) && "string" === typeof input.id; const _io12 = input => "string" === typeof input.scopeName && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && _io13(input.options)); const _io13 = input => true; const _io14 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem)) && "string" === typeof input.username && "string" === typeof input.id; const _io15 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem)) && "string" === typeof input.username && "string" === typeof input.id; const _io16 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem)) && "string" === typeof input.username && "string" === typeof input.id; const _io17 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem)) && "string" === typeof input.username && "string" === typeof input.id; const _io18 = input => "string" === typeof input.address && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io19 = input => "string" === typeof input.passwordHash && "string" === typeof input.salt && (undefined === input.password || "string" === typeof input.password) && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && _io12(elem))); const _io20 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io21(input.discord)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && _io22(input.twitter)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && _io23(input.google)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && _io24(input.github)) && (undefined === input.twitch || "object" === typeof input.twitch && null !== input.twitch && _io25(input.twitch)) && (undefined === input.strava || "object" === typeof input.strava && null !== input.strava && _io26(input.strava)) && (undefined === input.reddit || "object" === typeof input.reddit && null !== input.reddit && _io27(input.reddit)) && (undefined === input.meetup || "object" === typeof input.meetup && null !== input.meetup && _io28(input.meetup)) && (undefined === input.bluesky || "object" === typeof input.bluesky && null !== input.bluesky && _io29(input.bluesky)) && (undefined === input.mailchimp || "object" === typeof input.mailchimp && null !== input.mailchimp && _io30(input.mailchimp)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && _io31(input.facebook)) && (undefined === input.googleCalendar || "object" === typeof input.googleCalendar && null !== input.googleCalendar && _io32(input.googleCalendar)) && (undefined === input.youtube || "object" === typeof input.youtube && null !== input.youtube && _io33(input.youtube)) && (undefined === input.linkedIn || "object" === typeof input.linkedIn && null !== input.linkedIn && _io34(input.linkedIn)) && (undefined === input.shopify || "object" === typeof input.shopify && null !== input.shopify && _io35(input.shopify)) && (undefined === input.telegram || "object" === typeof input.telegram && null !== input.telegram && _io36(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && _io37(input.farcaster)) && (undefined === input.slack || "object" === typeof input.slack && null !== input.slack && _io38(input.slack)); const _io21 = input => "string" === typeof input.username && "string" === typeof input.id && (undefined === input.discriminator || "string" === typeof input.discriminator) && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io22 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io23 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io24 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io25 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io26 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io27 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io28 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io29 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io30 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io31 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io32 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io33 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io34 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io35 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io36 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io37 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io38 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io39 = input => "string" === typeof input.appName && (undefined === input.toDelete || "boolean" === typeof input.toDelete); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || _report(_exceptionable, {
8213
+ const validateRes = (() => { const _io0 = input => (undefined === input.discord || "string" === typeof input.discord) && (undefined === input.twitter || "string" === typeof input.twitter) && (undefined === input.github || "string" === typeof input.github) && (undefined === input.telegram || "string" === typeof input.telegram) && (undefined === input.bluesky || "string" === typeof input.bluesky) && (undefined === input.affiliateCode || "string" === typeof input.affiliateCode) && (undefined === input.seenActivity || "string" === typeof input.seenActivity || "number" === typeof input.seenActivity || "bigint" === typeof input.seenActivity) && (undefined === input.readme || "string" === typeof input.readme) && (undefined === input.hiddenBadges || Array.isArray(input.hiddenBadges) && input.hiddenBadges.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.customLinks || Array.isArray(input.customLinks) && input.customLinks.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.customPages || "object" === typeof input.customPages && null !== input.customPages && _io4(input.customPages)) && (undefined === input.watchlists || "object" === typeof input.watchlists && null !== input.watchlists && _io6(input.watchlists)) && (undefined === input.profilePicUrl || "string" === typeof input.profilePicUrl) && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.username || "string" === typeof input.username) && true && (undefined === input.notifications || "object" === typeof input.notifications && null !== input.notifications && false === Array.isArray(input.notifications) && _io7(input.notifications)) && (undefined === input.socialConnections || "object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) && _io10(input.socialConnections)) && (undefined === input.publicSocialConnectionsToSet || Array.isArray(input.publicSocialConnectionsToSet) && input.publicSocialConnectionsToSet.every(elem => "object" === typeof elem && null !== elem && _io29(elem))); const _io1 = input => "string" === typeof input.collectionId && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); 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); const _io3 = input => "string" === typeof input.title && "string" === typeof input.url && "string" === typeof input.image; const _io4 = input => Array.isArray(input.badges) && input.badges.every(elem => "object" === typeof elem && null !== elem && _io5(elem)); const _io5 = input => "string" === typeof input.title && "string" === typeof input.description && (Array.isArray(input.items) && input.items.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io6 = input => Array.isArray(input.badges) && input.badges.every(elem => "object" === typeof elem && null !== elem && _io5(elem)); const _io7 = input => (undefined === input.email || "string" === typeof input.email) && (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io8(input.discord)) && (undefined === input.antiPhishingCode || "string" === typeof input.antiPhishingCode) && (undefined === input.preferences || "object" === typeof input.preferences && null !== input.preferences && false === Array.isArray(input.preferences) && _io9(input.preferences)); const _io8 = input => "string" === typeof input.id && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator); const _io9 = input => (undefined === input.transferActivity || "boolean" === typeof input.transferActivity) && (undefined === input.claimAlerts || "boolean" === typeof input.claimAlerts) && (undefined === input.ignoreIfInitiator || "boolean" === typeof input.ignoreIfInitiator); const _io10 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io11(input.discord)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && _io12(input.twitter)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && _io13(input.google)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && _io14(input.github)) && (undefined === input.twitch || "object" === typeof input.twitch && null !== input.twitch && _io15(input.twitch)) && (undefined === input.strava || "object" === typeof input.strava && null !== input.strava && _io16(input.strava)) && (undefined === input.reddit || "object" === typeof input.reddit && null !== input.reddit && _io17(input.reddit)) && (undefined === input.meetup || "object" === typeof input.meetup && null !== input.meetup && _io18(input.meetup)) && (undefined === input.bluesky || "object" === typeof input.bluesky && null !== input.bluesky && _io19(input.bluesky)) && (undefined === input.mailchimp || "object" === typeof input.mailchimp && null !== input.mailchimp && _io20(input.mailchimp)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && _io21(input.facebook)) && (undefined === input.googleCalendar || "object" === typeof input.googleCalendar && null !== input.googleCalendar && _io22(input.googleCalendar)) && (undefined === input.youtube || "object" === typeof input.youtube && null !== input.youtube && _io23(input.youtube)) && (undefined === input.linkedIn || "object" === typeof input.linkedIn && null !== input.linkedIn && _io24(input.linkedIn)) && (undefined === input.shopify || "object" === typeof input.shopify && null !== input.shopify && _io25(input.shopify)) && (undefined === input.telegram || "object" === typeof input.telegram && null !== input.telegram && _io26(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && _io27(input.farcaster)) && (undefined === input.slack || "object" === typeof input.slack && null !== input.slack && _io28(input.slack)); const _io11 = input => "string" === typeof input.username && "string" === typeof input.id && (undefined === input.discriminator || "string" === typeof input.discriminator) && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io12 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io13 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io14 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io15 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io16 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io17 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io18 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io19 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io20 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io21 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io22 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io23 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io24 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io25 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io26 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io27 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io28 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io29 = input => "string" === typeof input.appName && (undefined === input.toDelete || "boolean" === typeof input.toDelete); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || _report(_exceptionable, {
8214
8214
  path: _path + ".discord",
8215
8215
  expected: "(string | undefined)",
8216
8216
  value: input.discord
@@ -8246,40 +8246,28 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8246
8246
  path: _path + ".hiddenBadges",
8247
8247
  expected: "(Array<iBatchTokenDetails<NumberType>> | undefined)",
8248
8248
  value: input.hiddenBadges
8249
- })) && input.hiddenBadges.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8250
- path: _path + ".hiddenBadges[" + _index18 + "]",
8249
+ })) && input.hiddenBadges.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8250
+ path: _path + ".hiddenBadges[" + _index8 + "]",
8251
8251
  expected: "iBatchTokenDetails<NumberType>",
8252
8252
  value: elem
8253
- })) && _vo1(elem, _path + ".hiddenBadges[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
8254
- path: _path + ".hiddenBadges[" + _index18 + "]",
8253
+ })) && _vo1(elem, _path + ".hiddenBadges[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
8254
+ path: _path + ".hiddenBadges[" + _index8 + "]",
8255
8255
  expected: "iBatchTokenDetails<NumberType>",
8256
8256
  value: elem
8257
8257
  })).every(flag => flag) || _report(_exceptionable, {
8258
8258
  path: _path + ".hiddenBadges",
8259
8259
  expected: "(Array<iBatchTokenDetails<NumberType>> | undefined)",
8260
8260
  value: input.hiddenBadges
8261
- }), undefined === input.hiddenLists || (Array.isArray(input.hiddenLists) || _report(_exceptionable, {
8262
- path: _path + ".hiddenLists",
8263
- expected: "(Array<string> | undefined)",
8264
- value: input.hiddenLists
8265
- })) && input.hiddenLists.map((elem, _index19) => "string" === typeof elem || _report(_exceptionable, {
8266
- path: _path + ".hiddenLists[" + _index19 + "]",
8267
- expected: "string",
8268
- value: elem
8269
- })).every(flag => flag) || _report(_exceptionable, {
8270
- path: _path + ".hiddenLists",
8271
- expected: "(Array<string> | undefined)",
8272
- value: input.hiddenLists
8273
8261
  }), undefined === input.customLinks || (Array.isArray(input.customLinks) || _report(_exceptionable, {
8274
8262
  path: _path + ".customLinks",
8275
8263
  expected: "(Array<iCustomLink> | undefined)",
8276
8264
  value: input.customLinks
8277
- })) && input.customLinks.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8278
- path: _path + ".customLinks[" + _index20 + "]",
8265
+ })) && input.customLinks.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8266
+ path: _path + ".customLinks[" + _index9 + "]",
8279
8267
  expected: "iCustomLink",
8280
8268
  value: elem
8281
- })) && _vo3(elem, _path + ".customLinks[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
8282
- path: _path + ".customLinks[" + _index20 + "]",
8269
+ })) && _vo3(elem, _path + ".customLinks[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
8270
+ path: _path + ".customLinks[" + _index9 + "]",
8283
8271
  expected: "iCustomLink",
8284
8272
  value: elem
8285
8273
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8322,37 +8310,29 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8322
8310
  path: _path + ".notifications",
8323
8311
  expected: "(__type.o2 | undefined)",
8324
8312
  value: input.notifications
8325
- }), undefined === input.approvedSignInMethods || ("object" === typeof input.approvedSignInMethods && null !== input.approvedSignInMethods && false === Array.isArray(input.approvedSignInMethods) || _report(_exceptionable, {
8326
- path: _path + ".approvedSignInMethods",
8327
- expected: "(__type.o5 | undefined)",
8328
- value: input.approvedSignInMethods
8329
- })) && _vo10(input.approvedSignInMethods, _path + ".approvedSignInMethods", true && _exceptionable) || _report(_exceptionable, {
8330
- path: _path + ".approvedSignInMethods",
8331
- expected: "(__type.o5 | undefined)",
8332
- value: input.approvedSignInMethods
8333
8313
  }), undefined === input.socialConnections || ("object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) || _report(_exceptionable, {
8334
8314
  path: _path + ".socialConnections",
8335
8315
  expected: "(iSocialConnections<NumberType> | undefined)",
8336
8316
  value: input.socialConnections
8337
- })) && _vo20(input.socialConnections, _path + ".socialConnections", true && _exceptionable) || _report(_exceptionable, {
8317
+ })) && _vo10(input.socialConnections, _path + ".socialConnections", true && _exceptionable) || _report(_exceptionable, {
8338
8318
  path: _path + ".socialConnections",
8339
8319
  expected: "(iSocialConnections<NumberType> | undefined)",
8340
8320
  value: input.socialConnections
8341
8321
  }), undefined === input.publicSocialConnectionsToSet || (Array.isArray(input.publicSocialConnectionsToSet) || _report(_exceptionable, {
8342
8322
  path: _path + ".publicSocialConnectionsToSet",
8343
- expected: "(Array<__type>.o2 | undefined)",
8323
+ expected: "(Array<__type> | undefined)",
8344
8324
  value: input.publicSocialConnectionsToSet
8345
- })) && input.publicSocialConnectionsToSet.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8346
- path: _path + ".publicSocialConnectionsToSet[" + _index21 + "]",
8347
- expected: "__type.o31",
8325
+ })) && input.publicSocialConnectionsToSet.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8326
+ path: _path + ".publicSocialConnectionsToSet[" + _index10 + "]",
8327
+ expected: "__type.o23",
8348
8328
  value: elem
8349
- })) && _vo39(elem, _path + ".publicSocialConnectionsToSet[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
8350
- path: _path + ".publicSocialConnectionsToSet[" + _index21 + "]",
8351
- expected: "__type.o31",
8329
+ })) && _vo29(elem, _path + ".publicSocialConnectionsToSet[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
8330
+ path: _path + ".publicSocialConnectionsToSet[" + _index10 + "]",
8331
+ expected: "__type.o23",
8352
8332
  value: elem
8353
8333
  })).every(flag => flag) || _report(_exceptionable, {
8354
8334
  path: _path + ".publicSocialConnectionsToSet",
8355
- expected: "(Array<__type>.o2 | undefined)",
8335
+ expected: "(Array<__type> | undefined)",
8356
8336
  value: input.publicSocialConnectionsToSet
8357
8337
  })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || _report(_exceptionable, {
8358
8338
  path: _path + ".collectionId",
@@ -8362,12 +8342,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8362
8342
  path: _path + ".badgeIds",
8363
8343
  expected: "Array<iUintRange<NumberType>>",
8364
8344
  value: input.badgeIds
8365
- })) && input.badgeIds.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8366
- path: _path + ".badgeIds[" + _index22 + "]",
8345
+ })) && input.badgeIds.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8346
+ path: _path + ".badgeIds[" + _index11 + "]",
8367
8347
  expected: "iUintRange<NumberType>",
8368
8348
  value: elem
8369
- })) && _vo2(elem, _path + ".badgeIds[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
8370
- path: _path + ".badgeIds[" + _index22 + "]",
8349
+ })) && _vo2(elem, _path + ".badgeIds[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
8350
+ path: _path + ".badgeIds[" + _index11 + "]",
8371
8351
  expected: "iUintRange<NumberType>",
8372
8352
  value: elem
8373
8353
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8398,12 +8378,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8398
8378
  path: _path + ".badges",
8399
8379
  expected: "Array<iCustomPage<NumberType>>",
8400
8380
  value: input.badges
8401
- })) && input.badges.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8402
- path: _path + ".badges[" + _index23 + "]",
8381
+ })) && input.badges.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8382
+ path: _path + ".badges[" + _index12 + "]",
8403
8383
  expected: "iCustomPage<NumberType>",
8404
8384
  value: elem
8405
- })) && _vo5(elem, _path + ".badges[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
8406
- path: _path + ".badges[" + _index23 + "]",
8385
+ })) && _vo5(elem, _path + ".badges[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
8386
+ path: _path + ".badges[" + _index12 + "]",
8407
8387
  expected: "iCustomPage<NumberType>",
8408
8388
  value: elem
8409
8389
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8422,12 +8402,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8422
8402
  path: _path + ".items",
8423
8403
  expected: "Array<iBatchTokenDetails<NumberType>>",
8424
8404
  value: input.items
8425
- })) && input.items.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8426
- path: _path + ".items[" + _index24 + "]",
8405
+ })) && input.items.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8406
+ path: _path + ".items[" + _index13 + "]",
8427
8407
  expected: "iBatchTokenDetails<NumberType>",
8428
8408
  value: elem
8429
- })) && _vo1(elem, _path + ".items[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
8430
- path: _path + ".items[" + _index24 + "]",
8409
+ })) && _vo1(elem, _path + ".items[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
8410
+ path: _path + ".items[" + _index13 + "]",
8431
8411
  expected: "iBatchTokenDetails<NumberType>",
8432
8412
  value: elem
8433
8413
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8438,12 +8418,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8438
8418
  path: _path + ".badges",
8439
8419
  expected: "Array<iCustomPage<NumberType>>",
8440
8420
  value: input.badges
8441
- })) && input.badges.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8442
- path: _path + ".badges[" + _index25 + "]",
8421
+ })) && input.badges.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8422
+ path: _path + ".badges[" + _index14 + "]",
8443
8423
  expected: "iCustomPage<NumberType>",
8444
8424
  value: elem
8445
- })) && _vo5(elem, _path + ".badges[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
8446
- path: _path + ".badges[" + _index25 + "]",
8425
+ })) && _vo5(elem, _path + ".badges[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
8426
+ path: _path + ".badges[" + _index14 + "]",
8447
8427
  expected: "iCustomPage<NumberType>",
8448
8428
  value: elem
8449
8429
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8500,405 +8480,149 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8500
8480
  value: input.ignoreIfInitiator
8501
8481
  })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.discord || ("object" === typeof input.discord && null !== input.discord || _report(_exceptionable, {
8502
8482
  path: _path + ".discord",
8503
- expected: "(__type.o6 | undefined)",
8483
+ expected: "(__type.o5 | undefined)",
8504
8484
  value: input.discord
8505
8485
  })) && _vo11(input.discord, _path + ".discord", true && _exceptionable) || _report(_exceptionable, {
8506
8486
  path: _path + ".discord",
8507
- expected: "(__type.o6 | undefined)",
8508
- value: input.discord
8509
- }), undefined === input.github || ("object" === typeof input.github && null !== input.github || _report(_exceptionable, {
8510
- path: _path + ".github",
8511
- expected: "(__type.o7 | undefined)",
8512
- value: input.github
8513
- })) && _vo14(input.github, _path + ".github", true && _exceptionable) || _report(_exceptionable, {
8514
- path: _path + ".github",
8515
- expected: "(__type.o7 | undefined)",
8516
- value: input.github
8517
- }), undefined === input.google || ("object" === typeof input.google && null !== input.google || _report(_exceptionable, {
8518
- path: _path + ".google",
8519
- expected: "(__type.o8 | undefined)",
8520
- value: input.google
8521
- })) && _vo15(input.google, _path + ".google", true && _exceptionable) || _report(_exceptionable, {
8522
- path: _path + ".google",
8523
- expected: "(__type.o8 | undefined)",
8524
- value: input.google
8525
- }), undefined === input.twitter || ("object" === typeof input.twitter && null !== input.twitter || _report(_exceptionable, {
8526
- path: _path + ".twitter",
8527
- expected: "(__type.o9 | undefined)",
8528
- value: input.twitter
8529
- })) && _vo16(input.twitter, _path + ".twitter", true && _exceptionable) || _report(_exceptionable, {
8530
- path: _path + ".twitter",
8531
- expected: "(__type.o9 | undefined)",
8532
- value: input.twitter
8533
- }), undefined === input.facebook || ("object" === typeof input.facebook && null !== input.facebook || _report(_exceptionable, {
8534
- path: _path + ".facebook",
8535
- expected: "(__type.o10 | undefined)",
8536
- value: input.facebook
8537
- })) && _vo17(input.facebook, _path + ".facebook", true && _exceptionable) || _report(_exceptionable, {
8538
- path: _path + ".facebook",
8539
- expected: "(__type.o10 | undefined)",
8540
- value: input.facebook
8541
- }), undefined === input.addresses || (Array.isArray(input.addresses) || _report(_exceptionable, {
8542
- path: _path + ".addresses",
8543
- expected: "(Array<__type> | undefined)",
8544
- value: input.addresses
8545
- })) && input.addresses.map((elem, _index26) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8546
- path: _path + ".addresses[" + _index26 + "]",
8547
- expected: "__type.o11",
8548
- value: elem
8549
- })) && _vo18(elem, _path + ".addresses[" + _index26 + "]", true && _exceptionable) || _report(_exceptionable, {
8550
- path: _path + ".addresses[" + _index26 + "]",
8551
- expected: "__type.o11",
8552
- value: elem
8553
- })).every(flag => flag) || _report(_exceptionable, {
8554
- path: _path + ".addresses",
8555
- expected: "(Array<__type> | undefined)",
8556
- value: input.addresses
8557
- }), undefined === input.passwords || (Array.isArray(input.passwords) || _report(_exceptionable, {
8558
- path: _path + ".passwords",
8559
- expected: "(Array<__type>.o1 | undefined)",
8560
- value: input.passwords
8561
- })) && input.passwords.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8562
- path: _path + ".passwords[" + _index27 + "]",
8563
- expected: "__type.o12",
8564
- value: elem
8565
- })) && _vo19(elem, _path + ".passwords[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
8566
- path: _path + ".passwords[" + _index27 + "]",
8567
- expected: "__type.o12",
8568
- value: elem
8569
- })).every(flag => flag) || _report(_exceptionable, {
8570
- path: _path + ".passwords",
8571
- expected: "(Array<__type>.o1 | undefined)",
8572
- value: input.passwords
8573
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => [(Array.isArray(input.scopes) || _report(_exceptionable, {
8574
- path: _path + ".scopes",
8575
- expected: "Array<OAuthScopeDetails>",
8576
- value: input.scopes
8577
- })) && input.scopes.map((elem, _index28) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8578
- path: _path + ".scopes[" + _index28 + "]",
8579
- expected: "OAuthScopeDetails",
8580
- value: elem
8581
- })) && _vo12(elem, _path + ".scopes[" + _index28 + "]", true && _exceptionable) || _report(_exceptionable, {
8582
- path: _path + ".scopes[" + _index28 + "]",
8583
- expected: "OAuthScopeDetails",
8584
- value: elem
8585
- })).every(flag => flag) || _report(_exceptionable, {
8586
- path: _path + ".scopes",
8587
- expected: "Array<OAuthScopeDetails>",
8588
- value: input.scopes
8589
- }), "string" === typeof input.username || _report(_exceptionable, {
8590
- path: _path + ".username",
8591
- expected: "string",
8592
- value: input.username
8593
- }), undefined === input.discriminator || "string" === typeof input.discriminator || _report(_exceptionable, {
8594
- path: _path + ".discriminator",
8595
- expected: "(string | undefined)",
8596
- value: input.discriminator
8597
- }), "string" === typeof input.id || _report(_exceptionable, {
8598
- path: _path + ".id",
8599
- expected: "string",
8600
- value: input.id
8601
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.scopeName || _report(_exceptionable, {
8602
- path: _path + ".scopeName",
8603
- expected: "string",
8604
- value: input.scopeName
8605
- }), undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || _report(_exceptionable, {
8606
- path: _path + ".options",
8607
- expected: "(object | undefined)",
8608
- value: input.options
8609
- })) && _vo13(input.options, _path + ".options", true && _exceptionable) || _report(_exceptionable, {
8610
- path: _path + ".options",
8611
- expected: "(object | undefined)",
8612
- value: input.options
8613
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => true; const _vo14 = (input, _path, _exceptionable = true) => [(Array.isArray(input.scopes) || _report(_exceptionable, {
8614
- path: _path + ".scopes",
8615
- expected: "Array<OAuthScopeDetails>",
8616
- value: input.scopes
8617
- })) && input.scopes.map((elem, _index29) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8618
- path: _path + ".scopes[" + _index29 + "]",
8619
- expected: "OAuthScopeDetails",
8620
- value: elem
8621
- })) && _vo12(elem, _path + ".scopes[" + _index29 + "]", true && _exceptionable) || _report(_exceptionable, {
8622
- path: _path + ".scopes[" + _index29 + "]",
8623
- expected: "OAuthScopeDetails",
8624
- value: elem
8625
- })).every(flag => flag) || _report(_exceptionable, {
8626
- path: _path + ".scopes",
8627
- expected: "Array<OAuthScopeDetails>",
8628
- value: input.scopes
8629
- }), "string" === typeof input.username || _report(_exceptionable, {
8630
- path: _path + ".username",
8631
- expected: "string",
8632
- value: input.username
8633
- }), "string" === typeof input.id || _report(_exceptionable, {
8634
- path: _path + ".id",
8635
- expected: "string",
8636
- value: input.id
8637
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => [(Array.isArray(input.scopes) || _report(_exceptionable, {
8638
- path: _path + ".scopes",
8639
- expected: "Array<OAuthScopeDetails>",
8640
- value: input.scopes
8641
- })) && input.scopes.map((elem, _index30) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8642
- path: _path + ".scopes[" + _index30 + "]",
8643
- expected: "OAuthScopeDetails",
8644
- value: elem
8645
- })) && _vo12(elem, _path + ".scopes[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
8646
- path: _path + ".scopes[" + _index30 + "]",
8647
- expected: "OAuthScopeDetails",
8648
- value: elem
8649
- })).every(flag => flag) || _report(_exceptionable, {
8650
- path: _path + ".scopes",
8651
- expected: "Array<OAuthScopeDetails>",
8652
- value: input.scopes
8653
- }), "string" === typeof input.username || _report(_exceptionable, {
8654
- path: _path + ".username",
8655
- expected: "string",
8656
- value: input.username
8657
- }), "string" === typeof input.id || _report(_exceptionable, {
8658
- path: _path + ".id",
8659
- expected: "string",
8660
- value: input.id
8661
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => [(Array.isArray(input.scopes) || _report(_exceptionable, {
8662
- path: _path + ".scopes",
8663
- expected: "Array<OAuthScopeDetails>",
8664
- value: input.scopes
8665
- })) && input.scopes.map((elem, _index31) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8666
- path: _path + ".scopes[" + _index31 + "]",
8667
- expected: "OAuthScopeDetails",
8668
- value: elem
8669
- })) && _vo12(elem, _path + ".scopes[" + _index31 + "]", true && _exceptionable) || _report(_exceptionable, {
8670
- path: _path + ".scopes[" + _index31 + "]",
8671
- expected: "OAuthScopeDetails",
8672
- value: elem
8673
- })).every(flag => flag) || _report(_exceptionable, {
8674
- path: _path + ".scopes",
8675
- expected: "Array<OAuthScopeDetails>",
8676
- value: input.scopes
8677
- }), "string" === typeof input.username || _report(_exceptionable, {
8678
- path: _path + ".username",
8679
- expected: "string",
8680
- value: input.username
8681
- }), "string" === typeof input.id || _report(_exceptionable, {
8682
- path: _path + ".id",
8683
- expected: "string",
8684
- value: input.id
8685
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => [(Array.isArray(input.scopes) || _report(_exceptionable, {
8686
- path: _path + ".scopes",
8687
- expected: "Array<OAuthScopeDetails>",
8688
- value: input.scopes
8689
- })) && input.scopes.map((elem, _index32) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8690
- path: _path + ".scopes[" + _index32 + "]",
8691
- expected: "OAuthScopeDetails",
8692
- value: elem
8693
- })) && _vo12(elem, _path + ".scopes[" + _index32 + "]", true && _exceptionable) || _report(_exceptionable, {
8694
- path: _path + ".scopes[" + _index32 + "]",
8695
- expected: "OAuthScopeDetails",
8696
- value: elem
8697
- })).every(flag => flag) || _report(_exceptionable, {
8698
- path: _path + ".scopes",
8699
- expected: "Array<OAuthScopeDetails>",
8700
- value: input.scopes
8701
- }), "string" === typeof input.username || _report(_exceptionable, {
8702
- path: _path + ".username",
8703
- expected: "string",
8704
- value: input.username
8705
- }), "string" === typeof input.id || _report(_exceptionable, {
8706
- path: _path + ".id",
8707
- expected: "string",
8708
- value: input.id
8709
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.address || _report(_exceptionable, {
8710
- path: _path + ".address",
8711
- expected: "string",
8712
- value: input.address
8713
- }), (Array.isArray(input.scopes) || _report(_exceptionable, {
8714
- path: _path + ".scopes",
8715
- expected: "Array<OAuthScopeDetails>",
8716
- value: input.scopes
8717
- })) && input.scopes.map((elem, _index33) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8718
- path: _path + ".scopes[" + _index33 + "]",
8719
- expected: "OAuthScopeDetails",
8720
- value: elem
8721
- })) && _vo12(elem, _path + ".scopes[" + _index33 + "]", true && _exceptionable) || _report(_exceptionable, {
8722
- path: _path + ".scopes[" + _index33 + "]",
8723
- expected: "OAuthScopeDetails",
8724
- value: elem
8725
- })).every(flag => flag) || _report(_exceptionable, {
8726
- path: _path + ".scopes",
8727
- expected: "Array<OAuthScopeDetails>",
8728
- value: input.scopes
8729
- })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.passwordHash || _report(_exceptionable, {
8730
- path: _path + ".passwordHash",
8731
- expected: "string",
8732
- value: input.passwordHash
8733
- }), "string" === typeof input.salt || _report(_exceptionable, {
8734
- path: _path + ".salt",
8735
- expected: "string",
8736
- value: input.salt
8737
- }), undefined === input.password || "string" === typeof input.password || _report(_exceptionable, {
8738
- path: _path + ".password",
8739
- expected: "(string | undefined)",
8740
- value: input.password
8741
- }), (Array.isArray(input.scopes) || _report(_exceptionable, {
8742
- path: _path + ".scopes",
8743
- expected: "Array<OAuthScopeDetails>",
8744
- value: input.scopes
8745
- })) && input.scopes.map((elem, _index34) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8746
- path: _path + ".scopes[" + _index34 + "]",
8747
- expected: "OAuthScopeDetails",
8748
- value: elem
8749
- })) && _vo12(elem, _path + ".scopes[" + _index34 + "]", true && _exceptionable) || _report(_exceptionable, {
8750
- path: _path + ".scopes[" + _index34 + "]",
8751
- expected: "OAuthScopeDetails",
8752
- value: elem
8753
- })).every(flag => flag) || _report(_exceptionable, {
8754
- path: _path + ".scopes",
8755
- expected: "Array<OAuthScopeDetails>",
8756
- value: input.scopes
8757
- })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.discord || ("object" === typeof input.discord && null !== input.discord || _report(_exceptionable, {
8758
- path: _path + ".discord",
8759
- expected: "(__type.o13 | undefined)",
8760
- value: input.discord
8761
- })) && _vo21(input.discord, _path + ".discord", true && _exceptionable) || _report(_exceptionable, {
8762
- path: _path + ".discord",
8763
- expected: "(__type.o13 | undefined)",
8487
+ expected: "(__type.o5 | undefined)",
8764
8488
  value: input.discord
8765
8489
  }), undefined === input.twitter || ("object" === typeof input.twitter && null !== input.twitter || _report(_exceptionable, {
8766
8490
  path: _path + ".twitter",
8767
- expected: "(__type.o14 | undefined)",
8491
+ expected: "(__type.o6 | undefined)",
8768
8492
  value: input.twitter
8769
- })) && _vo22(input.twitter, _path + ".twitter", true && _exceptionable) || _report(_exceptionable, {
8493
+ })) && _vo12(input.twitter, _path + ".twitter", true && _exceptionable) || _report(_exceptionable, {
8770
8494
  path: _path + ".twitter",
8771
- expected: "(__type.o14 | undefined)",
8495
+ expected: "(__type.o6 | undefined)",
8772
8496
  value: input.twitter
8773
8497
  }), undefined === input.google || ("object" === typeof input.google && null !== input.google || _report(_exceptionable, {
8774
8498
  path: _path + ".google",
8775
- expected: "(__type.o15 | undefined)",
8499
+ expected: "(__type.o7 | undefined)",
8776
8500
  value: input.google
8777
- })) && _vo23(input.google, _path + ".google", true && _exceptionable) || _report(_exceptionable, {
8501
+ })) && _vo13(input.google, _path + ".google", true && _exceptionable) || _report(_exceptionable, {
8778
8502
  path: _path + ".google",
8779
- expected: "(__type.o15 | undefined)",
8503
+ expected: "(__type.o7 | undefined)",
8780
8504
  value: input.google
8781
8505
  }), undefined === input.github || ("object" === typeof input.github && null !== input.github || _report(_exceptionable, {
8782
8506
  path: _path + ".github",
8783
- expected: "(__type.o16 | undefined)",
8507
+ expected: "(__type.o8 | undefined)",
8784
8508
  value: input.github
8785
- })) && _vo24(input.github, _path + ".github", true && _exceptionable) || _report(_exceptionable, {
8509
+ })) && _vo14(input.github, _path + ".github", true && _exceptionable) || _report(_exceptionable, {
8786
8510
  path: _path + ".github",
8787
- expected: "(__type.o16 | undefined)",
8511
+ expected: "(__type.o8 | undefined)",
8788
8512
  value: input.github
8789
8513
  }), undefined === input.twitch || ("object" === typeof input.twitch && null !== input.twitch || _report(_exceptionable, {
8790
8514
  path: _path + ".twitch",
8791
- expected: "(__type.o17 | undefined)",
8515
+ expected: "(__type.o9 | undefined)",
8792
8516
  value: input.twitch
8793
- })) && _vo25(input.twitch, _path + ".twitch", true && _exceptionable) || _report(_exceptionable, {
8517
+ })) && _vo15(input.twitch, _path + ".twitch", true && _exceptionable) || _report(_exceptionable, {
8794
8518
  path: _path + ".twitch",
8795
- expected: "(__type.o17 | undefined)",
8519
+ expected: "(__type.o9 | undefined)",
8796
8520
  value: input.twitch
8797
8521
  }), undefined === input.strava || ("object" === typeof input.strava && null !== input.strava || _report(_exceptionable, {
8798
8522
  path: _path + ".strava",
8799
- expected: "(__type.o18 | undefined)",
8523
+ expected: "(__type.o10 | undefined)",
8800
8524
  value: input.strava
8801
- })) && _vo26(input.strava, _path + ".strava", true && _exceptionable) || _report(_exceptionable, {
8525
+ })) && _vo16(input.strava, _path + ".strava", true && _exceptionable) || _report(_exceptionable, {
8802
8526
  path: _path + ".strava",
8803
- expected: "(__type.o18 | undefined)",
8527
+ expected: "(__type.o10 | undefined)",
8804
8528
  value: input.strava
8805
8529
  }), undefined === input.reddit || ("object" === typeof input.reddit && null !== input.reddit || _report(_exceptionable, {
8806
8530
  path: _path + ".reddit",
8807
- expected: "(__type.o19 | undefined)",
8531
+ expected: "(__type.o11 | undefined)",
8808
8532
  value: input.reddit
8809
- })) && _vo27(input.reddit, _path + ".reddit", true && _exceptionable) || _report(_exceptionable, {
8533
+ })) && _vo17(input.reddit, _path + ".reddit", true && _exceptionable) || _report(_exceptionable, {
8810
8534
  path: _path + ".reddit",
8811
- expected: "(__type.o19 | undefined)",
8535
+ expected: "(__type.o11 | undefined)",
8812
8536
  value: input.reddit
8813
8537
  }), undefined === input.meetup || ("object" === typeof input.meetup && null !== input.meetup || _report(_exceptionable, {
8814
8538
  path: _path + ".meetup",
8815
- expected: "(__type.o20 | undefined)",
8539
+ expected: "(__type.o12 | undefined)",
8816
8540
  value: input.meetup
8817
- })) && _vo28(input.meetup, _path + ".meetup", true && _exceptionable) || _report(_exceptionable, {
8541
+ })) && _vo18(input.meetup, _path + ".meetup", true && _exceptionable) || _report(_exceptionable, {
8818
8542
  path: _path + ".meetup",
8819
- expected: "(__type.o20 | undefined)",
8543
+ expected: "(__type.o12 | undefined)",
8820
8544
  value: input.meetup
8821
8545
  }), undefined === input.bluesky || ("object" === typeof input.bluesky && null !== input.bluesky || _report(_exceptionable, {
8822
8546
  path: _path + ".bluesky",
8823
- expected: "(__type.o21 | undefined)",
8547
+ expected: "(__type.o13 | undefined)",
8824
8548
  value: input.bluesky
8825
- })) && _vo29(input.bluesky, _path + ".bluesky", true && _exceptionable) || _report(_exceptionable, {
8549
+ })) && _vo19(input.bluesky, _path + ".bluesky", true && _exceptionable) || _report(_exceptionable, {
8826
8550
  path: _path + ".bluesky",
8827
- expected: "(__type.o21 | undefined)",
8551
+ expected: "(__type.o13 | undefined)",
8828
8552
  value: input.bluesky
8829
8553
  }), undefined === input.mailchimp || ("object" === typeof input.mailchimp && null !== input.mailchimp || _report(_exceptionable, {
8830
8554
  path: _path + ".mailchimp",
8831
- expected: "(__type.o22 | undefined)",
8555
+ expected: "(__type.o14 | undefined)",
8832
8556
  value: input.mailchimp
8833
- })) && _vo30(input.mailchimp, _path + ".mailchimp", true && _exceptionable) || _report(_exceptionable, {
8557
+ })) && _vo20(input.mailchimp, _path + ".mailchimp", true && _exceptionable) || _report(_exceptionable, {
8834
8558
  path: _path + ".mailchimp",
8835
- expected: "(__type.o22 | undefined)",
8559
+ expected: "(__type.o14 | undefined)",
8836
8560
  value: input.mailchimp
8837
8561
  }), undefined === input.facebook || ("object" === typeof input.facebook && null !== input.facebook || _report(_exceptionable, {
8838
8562
  path: _path + ".facebook",
8839
- expected: "(__type.o23 | undefined)",
8563
+ expected: "(__type.o15 | undefined)",
8840
8564
  value: input.facebook
8841
- })) && _vo31(input.facebook, _path + ".facebook", true && _exceptionable) || _report(_exceptionable, {
8565
+ })) && _vo21(input.facebook, _path + ".facebook", true && _exceptionable) || _report(_exceptionable, {
8842
8566
  path: _path + ".facebook",
8843
- expected: "(__type.o23 | undefined)",
8567
+ expected: "(__type.o15 | undefined)",
8844
8568
  value: input.facebook
8845
8569
  }), undefined === input.googleCalendar || ("object" === typeof input.googleCalendar && null !== input.googleCalendar || _report(_exceptionable, {
8846
8570
  path: _path + ".googleCalendar",
8847
- expected: "(__type.o24 | undefined)",
8571
+ expected: "(__type.o16 | undefined)",
8848
8572
  value: input.googleCalendar
8849
- })) && _vo32(input.googleCalendar, _path + ".googleCalendar", true && _exceptionable) || _report(_exceptionable, {
8573
+ })) && _vo22(input.googleCalendar, _path + ".googleCalendar", true && _exceptionable) || _report(_exceptionable, {
8850
8574
  path: _path + ".googleCalendar",
8851
- expected: "(__type.o24 | undefined)",
8575
+ expected: "(__type.o16 | undefined)",
8852
8576
  value: input.googleCalendar
8853
8577
  }), undefined === input.youtube || ("object" === typeof input.youtube && null !== input.youtube || _report(_exceptionable, {
8854
8578
  path: _path + ".youtube",
8855
- expected: "(__type.o25 | undefined)",
8579
+ expected: "(__type.o17 | undefined)",
8856
8580
  value: input.youtube
8857
- })) && _vo33(input.youtube, _path + ".youtube", true && _exceptionable) || _report(_exceptionable, {
8581
+ })) && _vo23(input.youtube, _path + ".youtube", true && _exceptionable) || _report(_exceptionable, {
8858
8582
  path: _path + ".youtube",
8859
- expected: "(__type.o25 | undefined)",
8583
+ expected: "(__type.o17 | undefined)",
8860
8584
  value: input.youtube
8861
8585
  }), undefined === input.linkedIn || ("object" === typeof input.linkedIn && null !== input.linkedIn || _report(_exceptionable, {
8862
8586
  path: _path + ".linkedIn",
8863
- expected: "(__type.o26 | undefined)",
8587
+ expected: "(__type.o18 | undefined)",
8864
8588
  value: input.linkedIn
8865
- })) && _vo34(input.linkedIn, _path + ".linkedIn", true && _exceptionable) || _report(_exceptionable, {
8589
+ })) && _vo24(input.linkedIn, _path + ".linkedIn", true && _exceptionable) || _report(_exceptionable, {
8866
8590
  path: _path + ".linkedIn",
8867
- expected: "(__type.o26 | undefined)",
8591
+ expected: "(__type.o18 | undefined)",
8868
8592
  value: input.linkedIn
8869
8593
  }), undefined === input.shopify || ("object" === typeof input.shopify && null !== input.shopify || _report(_exceptionable, {
8870
8594
  path: _path + ".shopify",
8871
- expected: "(__type.o27 | undefined)",
8595
+ expected: "(__type.o19 | undefined)",
8872
8596
  value: input.shopify
8873
- })) && _vo35(input.shopify, _path + ".shopify", true && _exceptionable) || _report(_exceptionable, {
8597
+ })) && _vo25(input.shopify, _path + ".shopify", true && _exceptionable) || _report(_exceptionable, {
8874
8598
  path: _path + ".shopify",
8875
- expected: "(__type.o27 | undefined)",
8599
+ expected: "(__type.o19 | undefined)",
8876
8600
  value: input.shopify
8877
8601
  }), undefined === input.telegram || ("object" === typeof input.telegram && null !== input.telegram || _report(_exceptionable, {
8878
8602
  path: _path + ".telegram",
8879
- expected: "(__type.o28 | undefined)",
8603
+ expected: "(__type.o20 | undefined)",
8880
8604
  value: input.telegram
8881
- })) && _vo36(input.telegram, _path + ".telegram", true && _exceptionable) || _report(_exceptionable, {
8605
+ })) && _vo26(input.telegram, _path + ".telegram", true && _exceptionable) || _report(_exceptionable, {
8882
8606
  path: _path + ".telegram",
8883
- expected: "(__type.o28 | undefined)",
8607
+ expected: "(__type.o20 | undefined)",
8884
8608
  value: input.telegram
8885
8609
  }), undefined === input.farcaster || ("object" === typeof input.farcaster && null !== input.farcaster || _report(_exceptionable, {
8886
8610
  path: _path + ".farcaster",
8887
- expected: "(__type.o29 | undefined)",
8611
+ expected: "(__type.o21 | undefined)",
8888
8612
  value: input.farcaster
8889
- })) && _vo37(input.farcaster, _path + ".farcaster", true && _exceptionable) || _report(_exceptionable, {
8613
+ })) && _vo27(input.farcaster, _path + ".farcaster", true && _exceptionable) || _report(_exceptionable, {
8890
8614
  path: _path + ".farcaster",
8891
- expected: "(__type.o29 | undefined)",
8615
+ expected: "(__type.o21 | undefined)",
8892
8616
  value: input.farcaster
8893
8617
  }), undefined === input.slack || ("object" === typeof input.slack && null !== input.slack || _report(_exceptionable, {
8894
8618
  path: _path + ".slack",
8895
- expected: "(__type.o30 | undefined)",
8619
+ expected: "(__type.o22 | undefined)",
8896
8620
  value: input.slack
8897
- })) && _vo38(input.slack, _path + ".slack", true && _exceptionable) || _report(_exceptionable, {
8621
+ })) && _vo28(input.slack, _path + ".slack", true && _exceptionable) || _report(_exceptionable, {
8898
8622
  path: _path + ".slack",
8899
- expected: "(__type.o30 | undefined)",
8623
+ expected: "(__type.o22 | undefined)",
8900
8624
  value: input.slack
8901
- })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8625
+ })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8902
8626
  path: _path + ".username",
8903
8627
  expected: "string",
8904
8628
  value: input.username
@@ -8914,7 +8638,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8914
8638
  path: _path + ".lastUpdated",
8915
8639
  expected: "(bigint | number | string)",
8916
8640
  value: input.lastUpdated
8917
- })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8641
+ })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8918
8642
  path: _path + ".username",
8919
8643
  expected: "string",
8920
8644
  value: input.username
@@ -8926,7 +8650,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8926
8650
  path: _path + ".lastUpdated",
8927
8651
  expected: "(bigint | number | string)",
8928
8652
  value: input.lastUpdated
8929
- })].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8653
+ })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8930
8654
  path: _path + ".username",
8931
8655
  expected: "string",
8932
8656
  value: input.username
@@ -8938,7 +8662,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8938
8662
  path: _path + ".lastUpdated",
8939
8663
  expected: "(bigint | number | string)",
8940
8664
  value: input.lastUpdated
8941
- })].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8665
+ })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8942
8666
  path: _path + ".username",
8943
8667
  expected: "string",
8944
8668
  value: input.username
@@ -8950,7 +8674,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8950
8674
  path: _path + ".lastUpdated",
8951
8675
  expected: "(bigint | number | string)",
8952
8676
  value: input.lastUpdated
8953
- })].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8677
+ })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8954
8678
  path: _path + ".username",
8955
8679
  expected: "string",
8956
8680
  value: input.username
@@ -8962,7 +8686,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8962
8686
  path: _path + ".lastUpdated",
8963
8687
  expected: "(bigint | number | string)",
8964
8688
  value: input.lastUpdated
8965
- })].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8689
+ })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8966
8690
  path: _path + ".username",
8967
8691
  expected: "string",
8968
8692
  value: input.username
@@ -8974,7 +8698,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8974
8698
  path: _path + ".lastUpdated",
8975
8699
  expected: "(bigint | number | string)",
8976
8700
  value: input.lastUpdated
8977
- })].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8701
+ })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8978
8702
  path: _path + ".username",
8979
8703
  expected: "string",
8980
8704
  value: input.username
@@ -8986,7 +8710,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8986
8710
  path: _path + ".lastUpdated",
8987
8711
  expected: "(bigint | number | string)",
8988
8712
  value: input.lastUpdated
8989
- })].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8713
+ })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8990
8714
  path: _path + ".username",
8991
8715
  expected: "string",
8992
8716
  value: input.username
@@ -8998,7 +8722,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8998
8722
  path: _path + ".lastUpdated",
8999
8723
  expected: "(bigint | number | string)",
9000
8724
  value: input.lastUpdated
9001
- })].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8725
+ })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9002
8726
  path: _path + ".username",
9003
8727
  expected: "string",
9004
8728
  value: input.username
@@ -9010,7 +8734,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9010
8734
  path: _path + ".lastUpdated",
9011
8735
  expected: "(bigint | number | string)",
9012
8736
  value: input.lastUpdated
9013
- })].every(flag => flag); const _vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8737
+ })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9014
8738
  path: _path + ".username",
9015
8739
  expected: "string",
9016
8740
  value: input.username
@@ -9022,7 +8746,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9022
8746
  path: _path + ".lastUpdated",
9023
8747
  expected: "(bigint | number | string)",
9024
8748
  value: input.lastUpdated
9025
- })].every(flag => flag); const _vo31 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8749
+ })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9026
8750
  path: _path + ".username",
9027
8751
  expected: "string",
9028
8752
  value: input.username
@@ -9034,7 +8758,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9034
8758
  path: _path + ".lastUpdated",
9035
8759
  expected: "(bigint | number | string)",
9036
8760
  value: input.lastUpdated
9037
- })].every(flag => flag); const _vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8761
+ })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9038
8762
  path: _path + ".username",
9039
8763
  expected: "string",
9040
8764
  value: input.username
@@ -9046,7 +8770,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9046
8770
  path: _path + ".lastUpdated",
9047
8771
  expected: "(bigint | number | string)",
9048
8772
  value: input.lastUpdated
9049
- })].every(flag => flag); const _vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8773
+ })].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9050
8774
  path: _path + ".username",
9051
8775
  expected: "string",
9052
8776
  value: input.username
@@ -9058,7 +8782,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9058
8782
  path: _path + ".lastUpdated",
9059
8783
  expected: "(bigint | number | string)",
9060
8784
  value: input.lastUpdated
9061
- })].every(flag => flag); const _vo34 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8785
+ })].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9062
8786
  path: _path + ".username",
9063
8787
  expected: "string",
9064
8788
  value: input.username
@@ -9070,7 +8794,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9070
8794
  path: _path + ".lastUpdated",
9071
8795
  expected: "(bigint | number | string)",
9072
8796
  value: input.lastUpdated
9073
- })].every(flag => flag); const _vo35 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8797
+ })].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9074
8798
  path: _path + ".username",
9075
8799
  expected: "string",
9076
8800
  value: input.username
@@ -9082,7 +8806,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9082
8806
  path: _path + ".lastUpdated",
9083
8807
  expected: "(bigint | number | string)",
9084
8808
  value: input.lastUpdated
9085
- })].every(flag => flag); const _vo36 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8809
+ })].every(flag => flag); const _vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9086
8810
  path: _path + ".username",
9087
8811
  expected: "string",
9088
8812
  value: input.username
@@ -9094,7 +8818,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9094
8818
  path: _path + ".lastUpdated",
9095
8819
  expected: "(bigint | number | string)",
9096
8820
  value: input.lastUpdated
9097
- })].every(flag => flag); const _vo37 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8821
+ })].every(flag => flag); const _vo27 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9098
8822
  path: _path + ".username",
9099
8823
  expected: "string",
9100
8824
  value: input.username
@@ -9106,7 +8830,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9106
8830
  path: _path + ".lastUpdated",
9107
8831
  expected: "(bigint | number | string)",
9108
8832
  value: input.lastUpdated
9109
- })].every(flag => flag); const _vo38 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8833
+ })].every(flag => flag); const _vo28 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
9110
8834
  path: _path + ".username",
9111
8835
  expected: "string",
9112
8836
  value: input.username
@@ -9118,7 +8842,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9118
8842
  path: _path + ".lastUpdated",
9119
8843
  expected: "(bigint | number | string)",
9120
8844
  value: input.lastUpdated
9121
- })].every(flag => flag); const _vo39 = (input, _path, _exceptionable = true) => ["string" === typeof input.appName || _report(_exceptionable, {
8845
+ })].every(flag => flag); const _vo29 = (input, _path, _exceptionable = true) => ["string" === typeof input.appName || _report(_exceptionable, {
9122
8846
  path: _path + ".appName",
9123
8847
  expected: "string",
9124
8848
  value: input.appName