bitbadgesjs-sdk 0.5.44 → 0.5.45

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 (27) hide show
  1. package/dist/cjs/api-indexer/BitBadgesApi.js +240 -128
  2. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  3. package/dist/cjs/api-indexer/docs/docs.d.ts +9 -0
  4. package/dist/cjs/api-indexer/docs/docs.d.ts.map +1 -1
  5. package/dist/cjs/api-indexer/docs/docs.js +3 -0
  6. package/dist/cjs/api-indexer/docs/docs.js.map +1 -1
  7. package/dist/cjs/api-indexer/docs/interfaces.d.ts +24 -2
  8. package/dist/cjs/api-indexer/docs/interfaces.d.ts.map +1 -1
  9. package/dist/cjs/api-indexer/docs/interfaces.js.map +1 -1
  10. package/dist/cjs/api-indexer/requests/requests.d.ts +33 -0
  11. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  12. package/dist/cjs/api-indexer/requests/requests.js +3 -0
  13. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  14. package/dist/esm/api-indexer/BitBadgesApi.js +240 -128
  15. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  16. package/dist/esm/api-indexer/docs/docs.d.ts +9 -0
  17. package/dist/esm/api-indexer/docs/docs.d.ts.map +1 -1
  18. package/dist/esm/api-indexer/docs/docs.js +6 -0
  19. package/dist/esm/api-indexer/docs/docs.js.map +1 -1
  20. package/dist/esm/api-indexer/docs/interfaces.d.ts +24 -2
  21. package/dist/esm/api-indexer/docs/interfaces.d.ts.map +1 -1
  22. package/dist/esm/api-indexer/docs/interfaces.js.map +1 -1
  23. package/dist/esm/api-indexer/requests/requests.d.ts +33 -0
  24. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  25. package/dist/esm/api-indexer/requests/requests.js +6 -0
  26. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  27. package/package.json +1 -1
@@ -361,7 +361,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
361
361
  }
362
362
  async updateAccountInfo(payload) {
363
363
  try {
364
- 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.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 && $io7(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) && $io8(input.notifications)) && (undefined === input.approvedSignInMethods || "object" === typeof input.approvedSignInMethods && null !== input.approvedSignInMethods && false === Array.isArray(input.approvedSignInMethods) && $io11(input.approvedSignInMethods)) && (undefined === input.socialConnections || "object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) && $io20(input.socialConnections)); const $io1 = input => ("string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === 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)) && (Array.isArray(input.lists) && input.lists.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input.attestations) && input.attestations.every(elem => "object" === typeof elem && null !== elem && $io6(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 => "string" === typeof input.title && "string" === typeof input.description && (Array.isArray(input.items) && input.items.every(elem => "string" === typeof elem)); const $io7 = input => Array.isArray(input.badges) && input.badges.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) && (Array.isArray(input.lists) && input.lists.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input.attestations) && input.attestations.every(elem => "object" === typeof elem && null !== elem && $io6(elem))); const $io8 = input => (undefined === input.email || "string" === typeof input.email) && (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io9(input.discord)) && (undefined === input.antiPhishingCode || "string" === typeof input.antiPhishingCode) && (undefined === input.preferences || "object" === typeof input.preferences && null !== input.preferences && false === Array.isArray(input.preferences) && $io10(input.preferences)); const $io9 = input => "string" === typeof input.id && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator); const $io10 = input => (undefined === input.listActivity || "boolean" === typeof input.listActivity) && (undefined === input.transferActivity || "boolean" === typeof input.transferActivity) && (undefined === input.claimAlerts || "boolean" === typeof input.claimAlerts) && (undefined === input.ignoreIfInitiator || "boolean" === typeof input.ignoreIfInitiator); const $io11 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io12(input.discord)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && $io15(input.github)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && $io16(input.google)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && $io17(input.twitter)) && (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 $io12 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io13(elem)) && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator) && "string" === typeof input.id; const $io13 = input => "string" === typeof input.scopeName && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io14(input.options)); const $io14 = input => true; const $io15 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io13(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 && $io13(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 && $io13(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 && $io13(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 && $io13(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.telegram || "object" === typeof input.telegram && null !== input.telegram && $io28(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && $io29(input.farcaster)) && (undefined === input.slack || "object" === typeof input.slack && null !== input.slack && $io30(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 $vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || $report(_exceptionable, {
364
+ 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.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 && $io7(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) && $io8(input.notifications)) && (undefined === input.approvedSignInMethods || "object" === typeof input.approvedSignInMethods && null !== input.approvedSignInMethods && false === Array.isArray(input.approvedSignInMethods) && $io11(input.approvedSignInMethods)) && (undefined === input.socialConnections || "object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) && $io21(input.socialConnections)); const $io1 = input => ("string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === 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)) && (Array.isArray(input.lists) && input.lists.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input.attestations) && input.attestations.every(elem => "object" === typeof elem && null !== elem && $io6(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 => "string" === typeof input.title && "string" === typeof input.description && (Array.isArray(input.items) && input.items.every(elem => "string" === typeof elem)); const $io7 = input => Array.isArray(input.badges) && input.badges.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) && (Array.isArray(input.lists) && input.lists.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (Array.isArray(input.attestations) && input.attestations.every(elem => "object" === typeof elem && null !== elem && $io6(elem))); const $io8 = input => (undefined === input.email || "string" === typeof input.email) && (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io9(input.discord)) && (undefined === input.antiPhishingCode || "string" === typeof input.antiPhishingCode) && (undefined === input.preferences || "object" === typeof input.preferences && null !== input.preferences && false === Array.isArray(input.preferences) && $io10(input.preferences)); const $io9 = input => "string" === typeof input.id && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator); const $io10 = input => (undefined === input.listActivity || "boolean" === typeof input.listActivity) && (undefined === input.transferActivity || "boolean" === typeof input.transferActivity) && (undefined === input.claimAlerts || "boolean" === typeof input.claimAlerts) && (undefined === input.ignoreIfInitiator || "boolean" === typeof input.ignoreIfInitiator); const $io11 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io12(input.discord)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && $io15(input.github)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && $io16(input.google)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && $io17(input.twitter)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && $io18(input.facebook)) && (undefined === input.addresses || Array.isArray(input.addresses) && input.addresses.every(elem => "object" === typeof elem && null !== elem && $io19(elem))) && (undefined === input.passwords || Array.isArray(input.passwords) && input.passwords.every(elem => "object" === typeof elem && null !== elem && $io20(elem))); const $io12 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io13(elem)) && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator) && "string" === typeof input.id; const $io13 = input => "string" === typeof input.scopeName && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io14(input.options)); const $io14 = input => true; const $io15 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io13(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 && $io13(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 && $io13(elem)) && "string" === typeof input.username && "string" === typeof input.id; const $io18 = input => Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io13(elem)) && "string" === typeof input.username && "string" === typeof input.id; const $io19 = input => "string" === typeof input.address && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io13(elem))); const $io20 = 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 && $io13(elem))); const $io21 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io22(input.discord)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && $io23(input.twitter)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && $io24(input.google)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && $io25(input.github)) && (undefined === input.twitch || "object" === typeof input.twitch && null !== input.twitch && $io26(input.twitch)) && (undefined === input.strava || "object" === typeof input.strava && null !== input.strava && $io27(input.strava)) && (undefined === input.reddit || "object" === typeof input.reddit && null !== input.reddit && $io28(input.reddit)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && $io29(input.facebook)) && (undefined === input.googleCalendar || "object" === typeof input.googleCalendar && null !== input.googleCalendar && $io30(input.googleCalendar)) && (undefined === input.linkedIn || "object" === typeof input.linkedIn && null !== input.linkedIn && $io31(input.linkedIn)) && (undefined === input.telegram || "object" === typeof input.telegram && null !== input.telegram && $io32(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && $io33(input.farcaster)) && (undefined === input.slack || "object" === typeof input.slack && null !== input.slack && $io34(input.slack)); const $io22 = 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 $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 $vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || $report(_exceptionable, {
365
365
  path: _path + ".discord",
366
366
  expected: "(string | undefined)",
367
367
  value: input.discord
@@ -389,12 +389,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
389
389
  path: _path + ".hiddenBadges",
390
390
  expected: "(Array<iBatchBadgeDetails<NumberType>> | undefined)",
391
391
  value: input.hiddenBadges
392
- })) && input.hiddenBadges.map((elem, _index21) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
393
- path: _path + ".hiddenBadges[" + _index21 + "]",
392
+ })) && input.hiddenBadges.map((elem, _index22) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
393
+ path: _path + ".hiddenBadges[" + _index22 + "]",
394
394
  expected: "iBatchBadgeDetails<NumberType>",
395
395
  value: elem
396
- })) && $vo1(elem, _path + ".hiddenBadges[" + _index21 + "]", true && _exceptionable) || $report(_exceptionable, {
397
- path: _path + ".hiddenBadges[" + _index21 + "]",
396
+ })) && $vo1(elem, _path + ".hiddenBadges[" + _index22 + "]", true && _exceptionable) || $report(_exceptionable, {
397
+ path: _path + ".hiddenBadges[" + _index22 + "]",
398
398
  expected: "iBatchBadgeDetails<NumberType>",
399
399
  value: elem
400
400
  })).every(flag => flag) || $report(_exceptionable, {
@@ -405,8 +405,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
405
405
  path: _path + ".hiddenLists",
406
406
  expected: "(Array<string> | undefined)",
407
407
  value: input.hiddenLists
408
- })) && input.hiddenLists.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable, {
409
- path: _path + ".hiddenLists[" + _index22 + "]",
408
+ })) && input.hiddenLists.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable, {
409
+ path: _path + ".hiddenLists[" + _index23 + "]",
410
410
  expected: "string",
411
411
  value: elem
412
412
  })).every(flag => flag) || $report(_exceptionable, {
@@ -417,12 +417,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
417
417
  path: _path + ".customLinks",
418
418
  expected: "(Array<iCustomLink> | undefined)",
419
419
  value: input.customLinks
420
- })) && input.customLinks.map((elem, _index23) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
421
- path: _path + ".customLinks[" + _index23 + "]",
420
+ })) && input.customLinks.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
421
+ path: _path + ".customLinks[" + _index24 + "]",
422
422
  expected: "iCustomLink",
423
423
  value: elem
424
- })) && $vo3(elem, _path + ".customLinks[" + _index23 + "]", true && _exceptionable) || $report(_exceptionable, {
425
- path: _path + ".customLinks[" + _index23 + "]",
424
+ })) && $vo3(elem, _path + ".customLinks[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
425
+ path: _path + ".customLinks[" + _index24 + "]",
426
426
  expected: "iCustomLink",
427
427
  value: elem
428
428
  })).every(flag => flag) || $report(_exceptionable, {
@@ -477,7 +477,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
477
477
  path: _path + ".socialConnections",
478
478
  expected: "(iSocialConnections<NumberType> | undefined)",
479
479
  value: input.socialConnections
480
- })) && $vo20(input.socialConnections, _path + ".socialConnections", true && _exceptionable) || $report(_exceptionable, {
480
+ })) && $vo21(input.socialConnections, _path + ".socialConnections", true && _exceptionable) || $report(_exceptionable, {
481
481
  path: _path + ".socialConnections",
482
482
  expected: "(iSocialConnections<NumberType> | undefined)",
483
483
  value: input.socialConnections
@@ -489,12 +489,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
489
489
  path: _path + ".badgeIds",
490
490
  expected: "Array<iUintRange<NumberType>>",
491
491
  value: input.badgeIds
492
- })) && input.badgeIds.map((elem, _index24) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
493
- path: _path + ".badgeIds[" + _index24 + "]",
492
+ })) && input.badgeIds.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
493
+ path: _path + ".badgeIds[" + _index25 + "]",
494
494
  expected: "iUintRange<NumberType>",
495
495
  value: elem
496
- })) && $vo2(elem, _path + ".badgeIds[" + _index24 + "]", true && _exceptionable) || $report(_exceptionable, {
497
- path: _path + ".badgeIds[" + _index24 + "]",
496
+ })) && $vo2(elem, _path + ".badgeIds[" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
497
+ path: _path + ".badgeIds[" + _index25 + "]",
498
498
  expected: "iUintRange<NumberType>",
499
499
  value: elem
500
500
  })).every(flag => flag) || $report(_exceptionable, {
@@ -525,12 +525,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
525
525
  path: _path + ".badges",
526
526
  expected: "Array<iCustomPage<NumberType>>",
527
527
  value: input.badges
528
- })) && input.badges.map((elem, _index25) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
529
- path: _path + ".badges[" + _index25 + "]",
528
+ })) && input.badges.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
529
+ path: _path + ".badges[" + _index26 + "]",
530
530
  expected: "iCustomPage<NumberType>",
531
531
  value: elem
532
- })) && $vo5(elem, _path + ".badges[" + _index25 + "]", true && _exceptionable) || $report(_exceptionable, {
533
- path: _path + ".badges[" + _index25 + "]",
532
+ })) && $vo5(elem, _path + ".badges[" + _index26 + "]", true && _exceptionable) || $report(_exceptionable, {
533
+ path: _path + ".badges[" + _index26 + "]",
534
534
  expected: "iCustomPage<NumberType>",
535
535
  value: elem
536
536
  })).every(flag => flag) || $report(_exceptionable, {
@@ -541,12 +541,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
541
541
  path: _path + ".lists",
542
542
  expected: "Array<iCustomListPage>",
543
543
  value: input.lists
544
- })) && input.lists.map((elem, _index26) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
545
- path: _path + ".lists[" + _index26 + "]",
544
+ })) && input.lists.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
545
+ path: _path + ".lists[" + _index27 + "]",
546
546
  expected: "iCustomListPage",
547
547
  value: elem
548
- })) && $vo6(elem, _path + ".lists[" + _index26 + "]", true && _exceptionable) || $report(_exceptionable, {
549
- path: _path + ".lists[" + _index26 + "]",
548
+ })) && $vo6(elem, _path + ".lists[" + _index27 + "]", true && _exceptionable) || $report(_exceptionable, {
549
+ path: _path + ".lists[" + _index27 + "]",
550
550
  expected: "iCustomListPage",
551
551
  value: elem
552
552
  })).every(flag => flag) || $report(_exceptionable, {
@@ -557,12 +557,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
557
557
  path: _path + ".attestations",
558
558
  expected: "Array<iCustomListPage>",
559
559
  value: input.attestations
560
- })) && input.attestations.map((elem, _index27) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
561
- path: _path + ".attestations[" + _index27 + "]",
560
+ })) && input.attestations.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
561
+ path: _path + ".attestations[" + _index28 + "]",
562
562
  expected: "iCustomListPage",
563
563
  value: elem
564
- })) && $vo6(elem, _path + ".attestations[" + _index27 + "]", true && _exceptionable) || $report(_exceptionable, {
565
- path: _path + ".attestations[" + _index27 + "]",
564
+ })) && $vo6(elem, _path + ".attestations[" + _index28 + "]", true && _exceptionable) || $report(_exceptionable, {
565
+ path: _path + ".attestations[" + _index28 + "]",
566
566
  expected: "iCustomListPage",
567
567
  value: elem
568
568
  })).every(flag => flag) || $report(_exceptionable, {
@@ -581,12 +581,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
581
581
  path: _path + ".items",
582
582
  expected: "Array<iBatchBadgeDetails<NumberType>>",
583
583
  value: input.items
584
- })) && input.items.map((elem, _index28) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
585
- path: _path + ".items[" + _index28 + "]",
584
+ })) && input.items.map((elem, _index29) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
585
+ path: _path + ".items[" + _index29 + "]",
586
586
  expected: "iBatchBadgeDetails<NumberType>",
587
587
  value: elem
588
- })) && $vo1(elem, _path + ".items[" + _index28 + "]", true && _exceptionable) || $report(_exceptionable, {
589
- path: _path + ".items[" + _index28 + "]",
588
+ })) && $vo1(elem, _path + ".items[" + _index29 + "]", true && _exceptionable) || $report(_exceptionable, {
589
+ path: _path + ".items[" + _index29 + "]",
590
590
  expected: "iBatchBadgeDetails<NumberType>",
591
591
  value: elem
592
592
  })).every(flag => flag) || $report(_exceptionable, {
@@ -605,8 +605,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
605
605
  path: _path + ".items",
606
606
  expected: "Array<string>",
607
607
  value: input.items
608
- })) && input.items.map((elem, _index29) => "string" === typeof elem || $report(_exceptionable, {
609
- path: _path + ".items[" + _index29 + "]",
608
+ })) && input.items.map((elem, _index30) => "string" === typeof elem || $report(_exceptionable, {
609
+ path: _path + ".items[" + _index30 + "]",
610
610
  expected: "string",
611
611
  value: elem
612
612
  })).every(flag => flag) || $report(_exceptionable, {
@@ -617,12 +617,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
617
617
  path: _path + ".badges",
618
618
  expected: "Array<iCustomPage<NumberType>>",
619
619
  value: input.badges
620
- })) && input.badges.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
621
- path: _path + ".badges[" + _index30 + "]",
620
+ })) && input.badges.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
621
+ path: _path + ".badges[" + _index31 + "]",
622
622
  expected: "iCustomPage<NumberType>",
623
623
  value: elem
624
- })) && $vo5(elem, _path + ".badges[" + _index30 + "]", true && _exceptionable) || $report(_exceptionable, {
625
- path: _path + ".badges[" + _index30 + "]",
624
+ })) && $vo5(elem, _path + ".badges[" + _index31 + "]", true && _exceptionable) || $report(_exceptionable, {
625
+ path: _path + ".badges[" + _index31 + "]",
626
626
  expected: "iCustomPage<NumberType>",
627
627
  value: elem
628
628
  })).every(flag => flag) || $report(_exceptionable, {
@@ -633,12 +633,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
633
633
  path: _path + ".lists",
634
634
  expected: "Array<iCustomListPage>",
635
635
  value: input.lists
636
- })) && input.lists.map((elem, _index31) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
637
- path: _path + ".lists[" + _index31 + "]",
636
+ })) && input.lists.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
637
+ path: _path + ".lists[" + _index32 + "]",
638
638
  expected: "iCustomListPage",
639
639
  value: elem
640
- })) && $vo6(elem, _path + ".lists[" + _index31 + "]", true && _exceptionable) || $report(_exceptionable, {
641
- path: _path + ".lists[" + _index31 + "]",
640
+ })) && $vo6(elem, _path + ".lists[" + _index32 + "]", true && _exceptionable) || $report(_exceptionable, {
641
+ path: _path + ".lists[" + _index32 + "]",
642
642
  expected: "iCustomListPage",
643
643
  value: elem
644
644
  })).every(flag => flag) || $report(_exceptionable, {
@@ -649,12 +649,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
649
649
  path: _path + ".attestations",
650
650
  expected: "Array<iCustomListPage>",
651
651
  value: input.attestations
652
- })) && input.attestations.map((elem, _index32) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
653
- path: _path + ".attestations[" + _index32 + "]",
652
+ })) && input.attestations.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
653
+ path: _path + ".attestations[" + _index33 + "]",
654
654
  expected: "iCustomListPage",
655
655
  value: elem
656
- })) && $vo6(elem, _path + ".attestations[" + _index32 + "]", true && _exceptionable) || $report(_exceptionable, {
657
- path: _path + ".attestations[" + _index32 + "]",
656
+ })) && $vo6(elem, _path + ".attestations[" + _index33 + "]", true && _exceptionable) || $report(_exceptionable, {
657
+ path: _path + ".attestations[" + _index33 + "]",
658
658
  expected: "iCustomListPage",
659
659
  value: elem
660
660
  })).every(flag => flag) || $report(_exceptionable, {
@@ -745,17 +745,25 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
745
745
  path: _path + ".twitter",
746
746
  expected: "(__type.o9 | undefined)",
747
747
  value: input.twitter
748
+ }), undefined === input.facebook || ("object" === typeof input.facebook && null !== input.facebook || $report(_exceptionable, {
749
+ path: _path + ".facebook",
750
+ expected: "(__type.o10 | undefined)",
751
+ value: input.facebook
752
+ })) && $vo18(input.facebook, _path + ".facebook", true && _exceptionable) || $report(_exceptionable, {
753
+ path: _path + ".facebook",
754
+ expected: "(__type.o10 | undefined)",
755
+ value: input.facebook
748
756
  }), undefined === input.addresses || (Array.isArray(input.addresses) || $report(_exceptionable, {
749
757
  path: _path + ".addresses",
750
758
  expected: "(Array<__type> | undefined)",
751
759
  value: input.addresses
752
- })) && input.addresses.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
753
- path: _path + ".addresses[" + _index33 + "]",
754
- expected: "__type.o10",
760
+ })) && input.addresses.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
761
+ path: _path + ".addresses[" + _index34 + "]",
762
+ expected: "__type.o11",
755
763
  value: elem
756
- })) && $vo18(elem, _path + ".addresses[" + _index33 + "]", true && _exceptionable) || $report(_exceptionable, {
757
- path: _path + ".addresses[" + _index33 + "]",
758
- expected: "__type.o10",
764
+ })) && $vo19(elem, _path + ".addresses[" + _index34 + "]", true && _exceptionable) || $report(_exceptionable, {
765
+ path: _path + ".addresses[" + _index34 + "]",
766
+ expected: "__type.o11",
759
767
  value: elem
760
768
  })).every(flag => flag) || $report(_exceptionable, {
761
769
  path: _path + ".addresses",
@@ -765,13 +773,13 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
765
773
  path: _path + ".passwords",
766
774
  expected: "(Array<__type>.o1 | undefined)",
767
775
  value: input.passwords
768
- })) && input.passwords.map((elem, _index34) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
769
- path: _path + ".passwords[" + _index34 + "]",
770
- expected: "__type.o11",
776
+ })) && input.passwords.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
777
+ path: _path + ".passwords[" + _index35 + "]",
778
+ expected: "__type.o12",
771
779
  value: elem
772
- })) && $vo19(elem, _path + ".passwords[" + _index34 + "]", true && _exceptionable) || $report(_exceptionable, {
773
- path: _path + ".passwords[" + _index34 + "]",
774
- expected: "__type.o11",
780
+ })) && $vo20(elem, _path + ".passwords[" + _index35 + "]", true && _exceptionable) || $report(_exceptionable, {
781
+ path: _path + ".passwords[" + _index35 + "]",
782
+ expected: "__type.o12",
775
783
  value: elem
776
784
  })).every(flag => flag) || $report(_exceptionable, {
777
785
  path: _path + ".passwords",
@@ -781,12 +789,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
781
789
  path: _path + ".scopes",
782
790
  expected: "Array<OAuthScopeDetails>",
783
791
  value: input.scopes
784
- })) && input.scopes.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
785
- path: _path + ".scopes[" + _index35 + "]",
792
+ })) && input.scopes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
793
+ path: _path + ".scopes[" + _index36 + "]",
786
794
  expected: "OAuthScopeDetails",
787
795
  value: elem
788
- })) && $vo13(elem, _path + ".scopes[" + _index35 + "]", true && _exceptionable) || $report(_exceptionable, {
789
- path: _path + ".scopes[" + _index35 + "]",
796
+ })) && $vo13(elem, _path + ".scopes[" + _index36 + "]", true && _exceptionable) || $report(_exceptionable, {
797
+ path: _path + ".scopes[" + _index36 + "]",
790
798
  expected: "OAuthScopeDetails",
791
799
  value: elem
792
800
  })).every(flag => flag) || $report(_exceptionable, {
@@ -821,12 +829,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
821
829
  path: _path + ".scopes",
822
830
  expected: "Array<OAuthScopeDetails>",
823
831
  value: input.scopes
824
- })) && input.scopes.map((elem, _index36) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
825
- path: _path + ".scopes[" + _index36 + "]",
832
+ })) && input.scopes.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
833
+ path: _path + ".scopes[" + _index37 + "]",
826
834
  expected: "OAuthScopeDetails",
827
835
  value: elem
828
- })) && $vo13(elem, _path + ".scopes[" + _index36 + "]", true && _exceptionable) || $report(_exceptionable, {
829
- path: _path + ".scopes[" + _index36 + "]",
836
+ })) && $vo13(elem, _path + ".scopes[" + _index37 + "]", true && _exceptionable) || $report(_exceptionable, {
837
+ path: _path + ".scopes[" + _index37 + "]",
830
838
  expected: "OAuthScopeDetails",
831
839
  value: elem
832
840
  })).every(flag => flag) || $report(_exceptionable, {
@@ -845,12 +853,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
845
853
  path: _path + ".scopes",
846
854
  expected: "Array<OAuthScopeDetails>",
847
855
  value: input.scopes
848
- })) && input.scopes.map((elem, _index37) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
849
- path: _path + ".scopes[" + _index37 + "]",
856
+ })) && input.scopes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
857
+ path: _path + ".scopes[" + _index38 + "]",
850
858
  expected: "OAuthScopeDetails",
851
859
  value: elem
852
- })) && $vo13(elem, _path + ".scopes[" + _index37 + "]", true && _exceptionable) || $report(_exceptionable, {
853
- path: _path + ".scopes[" + _index37 + "]",
860
+ })) && $vo13(elem, _path + ".scopes[" + _index38 + "]", true && _exceptionable) || $report(_exceptionable, {
861
+ path: _path + ".scopes[" + _index38 + "]",
854
862
  expected: "OAuthScopeDetails",
855
863
  value: elem
856
864
  })).every(flag => flag) || $report(_exceptionable, {
@@ -869,12 +877,12 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
869
877
  path: _path + ".scopes",
870
878
  expected: "Array<OAuthScopeDetails>",
871
879
  value: input.scopes
872
- })) && input.scopes.map((elem, _index38) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
873
- path: _path + ".scopes[" + _index38 + "]",
880
+ })) && input.scopes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
881
+ path: _path + ".scopes[" + _index39 + "]",
874
882
  expected: "OAuthScopeDetails",
875
883
  value: elem
876
- })) && $vo13(elem, _path + ".scopes[" + _index38 + "]", true && _exceptionable) || $report(_exceptionable, {
877
- path: _path + ".scopes[" + _index38 + "]",
884
+ })) && $vo13(elem, _path + ".scopes[" + _index39 + "]", true && _exceptionable) || $report(_exceptionable, {
885
+ path: _path + ".scopes[" + _index39 + "]",
878
886
  expected: "OAuthScopeDetails",
879
887
  value: elem
880
888
  })).every(flag => flag) || $report(_exceptionable, {
@@ -889,7 +897,31 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
889
897
  path: _path + ".id",
890
898
  expected: "string",
891
899
  value: input.id
892
- })].every(flag => flag); const $vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.address || $report(_exceptionable, {
900
+ })].every(flag => flag); const $vo18 = (input, _path, _exceptionable = true) => [(Array.isArray(input.scopes) || $report(_exceptionable, {
901
+ path: _path + ".scopes",
902
+ expected: "Array<OAuthScopeDetails>",
903
+ value: input.scopes
904
+ })) && input.scopes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
905
+ path: _path + ".scopes[" + _index40 + "]",
906
+ expected: "OAuthScopeDetails",
907
+ value: elem
908
+ })) && $vo13(elem, _path + ".scopes[" + _index40 + "]", true && _exceptionable) || $report(_exceptionable, {
909
+ path: _path + ".scopes[" + _index40 + "]",
910
+ expected: "OAuthScopeDetails",
911
+ value: elem
912
+ })).every(flag => flag) || $report(_exceptionable, {
913
+ path: _path + ".scopes",
914
+ expected: "Array<OAuthScopeDetails>",
915
+ value: input.scopes
916
+ }), "string" === typeof input.username || $report(_exceptionable, {
917
+ path: _path + ".username",
918
+ expected: "string",
919
+ value: input.username
920
+ }), "string" === typeof input.id || $report(_exceptionable, {
921
+ path: _path + ".id",
922
+ expected: "string",
923
+ value: input.id
924
+ })].every(flag => flag); const $vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.address || $report(_exceptionable, {
893
925
  path: _path + ".address",
894
926
  expected: "string",
895
927
  value: input.address
@@ -897,19 +929,19 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
897
929
  path: _path + ".scopes",
898
930
  expected: "Array<OAuthScopeDetails>",
899
931
  value: input.scopes
900
- })) && input.scopes.map((elem, _index39) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
901
- path: _path + ".scopes[" + _index39 + "]",
932
+ })) && input.scopes.map((elem, _index41) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
933
+ path: _path + ".scopes[" + _index41 + "]",
902
934
  expected: "OAuthScopeDetails",
903
935
  value: elem
904
- })) && $vo13(elem, _path + ".scopes[" + _index39 + "]", true && _exceptionable) || $report(_exceptionable, {
905
- path: _path + ".scopes[" + _index39 + "]",
936
+ })) && $vo13(elem, _path + ".scopes[" + _index41 + "]", true && _exceptionable) || $report(_exceptionable, {
937
+ path: _path + ".scopes[" + _index41 + "]",
906
938
  expected: "OAuthScopeDetails",
907
939
  value: elem
908
940
  })).every(flag => flag) || $report(_exceptionable, {
909
941
  path: _path + ".scopes",
910
942
  expected: "Array<OAuthScopeDetails>",
911
943
  value: input.scopes
912
- })].every(flag => flag); const $vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.passwordHash || $report(_exceptionable, {
944
+ })].every(flag => flag); const $vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.passwordHash || $report(_exceptionable, {
913
945
  path: _path + ".passwordHash",
914
946
  expected: "string",
915
947
  value: input.passwordHash
@@ -925,99 +957,123 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
925
957
  path: _path + ".scopes",
926
958
  expected: "Array<OAuthScopeDetails>",
927
959
  value: input.scopes
928
- })) && input.scopes.map((elem, _index40) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
929
- path: _path + ".scopes[" + _index40 + "]",
960
+ })) && input.scopes.map((elem, _index42) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
961
+ path: _path + ".scopes[" + _index42 + "]",
930
962
  expected: "OAuthScopeDetails",
931
963
  value: elem
932
- })) && $vo13(elem, _path + ".scopes[" + _index40 + "]", true && _exceptionable) || $report(_exceptionable, {
933
- path: _path + ".scopes[" + _index40 + "]",
964
+ })) && $vo13(elem, _path + ".scopes[" + _index42 + "]", true && _exceptionable) || $report(_exceptionable, {
965
+ path: _path + ".scopes[" + _index42 + "]",
934
966
  expected: "OAuthScopeDetails",
935
967
  value: elem
936
968
  })).every(flag => flag) || $report(_exceptionable, {
937
969
  path: _path + ".scopes",
938
970
  expected: "Array<OAuthScopeDetails>",
939
971
  value: input.scopes
940
- })].every(flag => flag); const $vo20 = (input, _path, _exceptionable = true) => [undefined === input.discord || ("object" === typeof input.discord && null !== input.discord || $report(_exceptionable, {
972
+ })].every(flag => flag); const $vo21 = (input, _path, _exceptionable = true) => [undefined === input.discord || ("object" === typeof input.discord && null !== input.discord || $report(_exceptionable, {
941
973
  path: _path + ".discord",
942
- expected: "(__type.o12 | undefined)",
974
+ expected: "(__type.o13 | undefined)",
943
975
  value: input.discord
944
- })) && $vo21(input.discord, _path + ".discord", true && _exceptionable) || $report(_exceptionable, {
976
+ })) && $vo22(input.discord, _path + ".discord", true && _exceptionable) || $report(_exceptionable, {
945
977
  path: _path + ".discord",
946
- expected: "(__type.o12 | undefined)",
978
+ expected: "(__type.o13 | undefined)",
947
979
  value: input.discord
948
980
  }), undefined === input.twitter || ("object" === typeof input.twitter && null !== input.twitter || $report(_exceptionable, {
949
981
  path: _path + ".twitter",
950
- expected: "(__type.o13 | undefined)",
982
+ expected: "(__type.o14 | undefined)",
951
983
  value: input.twitter
952
- })) && $vo22(input.twitter, _path + ".twitter", true && _exceptionable) || $report(_exceptionable, {
984
+ })) && $vo23(input.twitter, _path + ".twitter", true && _exceptionable) || $report(_exceptionable, {
953
985
  path: _path + ".twitter",
954
- expected: "(__type.o13 | undefined)",
986
+ expected: "(__type.o14 | undefined)",
955
987
  value: input.twitter
956
988
  }), undefined === input.google || ("object" === typeof input.google && null !== input.google || $report(_exceptionable, {
957
989
  path: _path + ".google",
958
- expected: "(__type.o14 | undefined)",
990
+ expected: "(__type.o15 | undefined)",
959
991
  value: input.google
960
- })) && $vo23(input.google, _path + ".google", true && _exceptionable) || $report(_exceptionable, {
992
+ })) && $vo24(input.google, _path + ".google", true && _exceptionable) || $report(_exceptionable, {
961
993
  path: _path + ".google",
962
- expected: "(__type.o14 | undefined)",
994
+ expected: "(__type.o15 | undefined)",
963
995
  value: input.google
964
996
  }), undefined === input.github || ("object" === typeof input.github && null !== input.github || $report(_exceptionable, {
965
997
  path: _path + ".github",
966
- expected: "(__type.o15 | undefined)",
998
+ expected: "(__type.o16 | undefined)",
967
999
  value: input.github
968
- })) && $vo24(input.github, _path + ".github", true && _exceptionable) || $report(_exceptionable, {
1000
+ })) && $vo25(input.github, _path + ".github", true && _exceptionable) || $report(_exceptionable, {
969
1001
  path: _path + ".github",
970
- expected: "(__type.o15 | undefined)",
1002
+ expected: "(__type.o16 | undefined)",
971
1003
  value: input.github
972
1004
  }), undefined === input.twitch || ("object" === typeof input.twitch && null !== input.twitch || $report(_exceptionable, {
973
1005
  path: _path + ".twitch",
974
- expected: "(__type.o16 | undefined)",
1006
+ expected: "(__type.o17 | undefined)",
975
1007
  value: input.twitch
976
- })) && $vo25(input.twitch, _path + ".twitch", true && _exceptionable) || $report(_exceptionable, {
1008
+ })) && $vo26(input.twitch, _path + ".twitch", true && _exceptionable) || $report(_exceptionable, {
977
1009
  path: _path + ".twitch",
978
- expected: "(__type.o16 | undefined)",
1010
+ expected: "(__type.o17 | undefined)",
979
1011
  value: input.twitch
980
1012
  }), undefined === input.strava || ("object" === typeof input.strava && null !== input.strava || $report(_exceptionable, {
981
1013
  path: _path + ".strava",
982
- expected: "(__type.o17 | undefined)",
1014
+ expected: "(__type.o18 | undefined)",
983
1015
  value: input.strava
984
- })) && $vo26(input.strava, _path + ".strava", true && _exceptionable) || $report(_exceptionable, {
1016
+ })) && $vo27(input.strava, _path + ".strava", true && _exceptionable) || $report(_exceptionable, {
985
1017
  path: _path + ".strava",
986
- expected: "(__type.o17 | undefined)",
1018
+ expected: "(__type.o18 | undefined)",
987
1019
  value: input.strava
988
1020
  }), undefined === input.reddit || ("object" === typeof input.reddit && null !== input.reddit || $report(_exceptionable, {
989
1021
  path: _path + ".reddit",
990
- expected: "(__type.o18 | undefined)",
1022
+ expected: "(__type.o19 | undefined)",
991
1023
  value: input.reddit
992
- })) && $vo27(input.reddit, _path + ".reddit", true && _exceptionable) || $report(_exceptionable, {
1024
+ })) && $vo28(input.reddit, _path + ".reddit", true && _exceptionable) || $report(_exceptionable, {
993
1025
  path: _path + ".reddit",
994
- expected: "(__type.o18 | undefined)",
1026
+ expected: "(__type.o19 | undefined)",
995
1027
  value: input.reddit
1028
+ }), undefined === input.facebook || ("object" === typeof input.facebook && null !== input.facebook || $report(_exceptionable, {
1029
+ path: _path + ".facebook",
1030
+ expected: "(__type.o20 | undefined)",
1031
+ value: input.facebook
1032
+ })) && $vo29(input.facebook, _path + ".facebook", true && _exceptionable) || $report(_exceptionable, {
1033
+ path: _path + ".facebook",
1034
+ expected: "(__type.o20 | undefined)",
1035
+ value: input.facebook
1036
+ }), undefined === input.googleCalendar || ("object" === typeof input.googleCalendar && null !== input.googleCalendar || $report(_exceptionable, {
1037
+ path: _path + ".googleCalendar",
1038
+ expected: "(__type.o21 | undefined)",
1039
+ value: input.googleCalendar
1040
+ })) && $vo30(input.googleCalendar, _path + ".googleCalendar", true && _exceptionable) || $report(_exceptionable, {
1041
+ path: _path + ".googleCalendar",
1042
+ expected: "(__type.o21 | undefined)",
1043
+ value: input.googleCalendar
1044
+ }), undefined === input.linkedIn || ("object" === typeof input.linkedIn && null !== input.linkedIn || $report(_exceptionable, {
1045
+ path: _path + ".linkedIn",
1046
+ expected: "(__type.o22 | undefined)",
1047
+ value: input.linkedIn
1048
+ })) && $vo31(input.linkedIn, _path + ".linkedIn", true && _exceptionable) || $report(_exceptionable, {
1049
+ path: _path + ".linkedIn",
1050
+ expected: "(__type.o22 | undefined)",
1051
+ value: input.linkedIn
996
1052
  }), undefined === input.telegram || ("object" === typeof input.telegram && null !== input.telegram || $report(_exceptionable, {
997
1053
  path: _path + ".telegram",
998
- expected: "(__type.o19 | undefined)",
1054
+ expected: "(__type.o23 | undefined)",
999
1055
  value: input.telegram
1000
- })) && $vo28(input.telegram, _path + ".telegram", true && _exceptionable) || $report(_exceptionable, {
1056
+ })) && $vo32(input.telegram, _path + ".telegram", true && _exceptionable) || $report(_exceptionable, {
1001
1057
  path: _path + ".telegram",
1002
- expected: "(__type.o19 | undefined)",
1058
+ expected: "(__type.o23 | undefined)",
1003
1059
  value: input.telegram
1004
1060
  }), undefined === input.farcaster || ("object" === typeof input.farcaster && null !== input.farcaster || $report(_exceptionable, {
1005
1061
  path: _path + ".farcaster",
1006
- expected: "(__type.o20 | undefined)",
1062
+ expected: "(__type.o24 | undefined)",
1007
1063
  value: input.farcaster
1008
- })) && $vo29(input.farcaster, _path + ".farcaster", true && _exceptionable) || $report(_exceptionable, {
1064
+ })) && $vo33(input.farcaster, _path + ".farcaster", true && _exceptionable) || $report(_exceptionable, {
1009
1065
  path: _path + ".farcaster",
1010
- expected: "(__type.o20 | undefined)",
1066
+ expected: "(__type.o24 | undefined)",
1011
1067
  value: input.farcaster
1012
1068
  }), undefined === input.slack || ("object" === typeof input.slack && null !== input.slack || $report(_exceptionable, {
1013
1069
  path: _path + ".slack",
1014
- expected: "(__type.o21 | undefined)",
1070
+ expected: "(__type.o25 | undefined)",
1015
1071
  value: input.slack
1016
- })) && $vo30(input.slack, _path + ".slack", true && _exceptionable) || $report(_exceptionable, {
1072
+ })) && $vo34(input.slack, _path + ".slack", true && _exceptionable) || $report(_exceptionable, {
1017
1073
  path: _path + ".slack",
1018
- expected: "(__type.o21 | undefined)",
1074
+ expected: "(__type.o25 | undefined)",
1019
1075
  value: input.slack
1020
- })].every(flag => flag); const $vo21 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1076
+ })].every(flag => flag); const $vo22 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1021
1077
  path: _path + ".username",
1022
1078
  expected: "string",
1023
1079
  value: input.username
@@ -1033,7 +1089,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1033
1089
  path: _path + ".lastUpdated",
1034
1090
  expected: "(bigint | number | string)",
1035
1091
  value: input.lastUpdated
1036
- })].every(flag => flag); const $vo22 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1092
+ })].every(flag => flag); const $vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1037
1093
  path: _path + ".username",
1038
1094
  expected: "string",
1039
1095
  value: input.username
@@ -1045,7 +1101,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1045
1101
  path: _path + ".lastUpdated",
1046
1102
  expected: "(bigint | number | string)",
1047
1103
  value: input.lastUpdated
1048
- })].every(flag => flag); const $vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1104
+ })].every(flag => flag); const $vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1049
1105
  path: _path + ".username",
1050
1106
  expected: "string",
1051
1107
  value: input.username
@@ -1057,7 +1113,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1057
1113
  path: _path + ".lastUpdated",
1058
1114
  expected: "(bigint | number | string)",
1059
1115
  value: input.lastUpdated
1060
- })].every(flag => flag); const $vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1116
+ })].every(flag => flag); const $vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1061
1117
  path: _path + ".username",
1062
1118
  expected: "string",
1063
1119
  value: input.username
@@ -1069,7 +1125,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1069
1125
  path: _path + ".lastUpdated",
1070
1126
  expected: "(bigint | number | string)",
1071
1127
  value: input.lastUpdated
1072
- })].every(flag => flag); const $vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1128
+ })].every(flag => flag); const $vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1073
1129
  path: _path + ".username",
1074
1130
  expected: "string",
1075
1131
  value: input.username
@@ -1081,7 +1137,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1081
1137
  path: _path + ".lastUpdated",
1082
1138
  expected: "(bigint | number | string)",
1083
1139
  value: input.lastUpdated
1084
- })].every(flag => flag); const $vo26 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1140
+ })].every(flag => flag); const $vo27 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1085
1141
  path: _path + ".username",
1086
1142
  expected: "string",
1087
1143
  value: input.username
@@ -1093,7 +1149,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1093
1149
  path: _path + ".lastUpdated",
1094
1150
  expected: "(bigint | number | string)",
1095
1151
  value: input.lastUpdated
1096
- })].every(flag => flag); const $vo27 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1152
+ })].every(flag => flag); const $vo28 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1097
1153
  path: _path + ".username",
1098
1154
  expected: "string",
1099
1155
  value: input.username
@@ -1105,7 +1161,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1105
1161
  path: _path + ".lastUpdated",
1106
1162
  expected: "(bigint | number | string)",
1107
1163
  value: input.lastUpdated
1108
- })].every(flag => flag); const $vo28 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1164
+ })].every(flag => flag); const $vo29 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1109
1165
  path: _path + ".username",
1110
1166
  expected: "string",
1111
1167
  value: input.username
@@ -1117,7 +1173,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1117
1173
  path: _path + ".lastUpdated",
1118
1174
  expected: "(bigint | number | string)",
1119
1175
  value: input.lastUpdated
1120
- })].every(flag => flag); const $vo29 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1176
+ })].every(flag => flag); const $vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1121
1177
  path: _path + ".username",
1122
1178
  expected: "string",
1123
1179
  value: input.username
@@ -1129,7 +1185,43 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1129
1185
  path: _path + ".lastUpdated",
1130
1186
  expected: "(bigint | number | string)",
1131
1187
  value: input.lastUpdated
1132
- })].every(flag => flag); const $vo30 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1188
+ })].every(flag => flag); const $vo31 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1189
+ path: _path + ".username",
1190
+ expected: "string",
1191
+ value: input.username
1192
+ }), "string" === typeof input.id || $report(_exceptionable, {
1193
+ path: _path + ".id",
1194
+ expected: "string",
1195
+ value: input.id
1196
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1197
+ path: _path + ".lastUpdated",
1198
+ expected: "(bigint | number | string)",
1199
+ value: input.lastUpdated
1200
+ })].every(flag => flag); const $vo32 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1201
+ path: _path + ".username",
1202
+ expected: "string",
1203
+ value: input.username
1204
+ }), "string" === typeof input.id || $report(_exceptionable, {
1205
+ path: _path + ".id",
1206
+ expected: "string",
1207
+ value: input.id
1208
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1209
+ path: _path + ".lastUpdated",
1210
+ expected: "(bigint | number | string)",
1211
+ value: input.lastUpdated
1212
+ })].every(flag => flag); const $vo33 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1213
+ path: _path + ".username",
1214
+ expected: "string",
1215
+ value: input.username
1216
+ }), "string" === typeof input.id || $report(_exceptionable, {
1217
+ path: _path + ".id",
1218
+ expected: "string",
1219
+ value: input.id
1220
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1221
+ path: _path + ".lastUpdated",
1222
+ expected: "(bigint | number | string)",
1223
+ value: input.lastUpdated
1224
+ })].every(flag => flag); const $vo34 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1133
1225
  path: _path + ".username",
1134
1226
  expected: "string",
1135
1227
  value: input.username
@@ -5958,7 +6050,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
5958
6050
  }
5959
6051
  async signOut(payload) {
5960
6052
  try {
5961
- const validateRes = (() => { const $io0 = input => "boolean" === typeof input.signOutBlockin && (undefined === input.signOutDiscord || "boolean" === typeof input.signOutDiscord) && (undefined === input.signOutTwitter || "boolean" === typeof input.signOutTwitter) && (undefined === input.signOutGoogle || "boolean" === typeof input.signOutGoogle) && (undefined === input.signOutGithub || "boolean" === typeof input.signOutGithub) && (undefined === input.signOutTwitch || "boolean" === typeof input.signOutTwitch) && (undefined === input.signOutStrava || "boolean" === typeof input.signOutStrava) && (undefined === input.signOutYoutube || "boolean" === typeof input.signOutYoutube) && (undefined === input.signOutReddit || "boolean" === typeof input.signOutReddit) && (undefined === input.signOutTelegram || "boolean" === typeof input.signOutTelegram) && (undefined === input.signOutFarcaster || "boolean" === typeof input.signOutFarcaster) && (undefined === input.signOutSlack || "boolean" === typeof input.signOutSlack) && (undefined === input.signOutEmail || "boolean" === typeof input.signOutEmail); const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
6053
+ const validateRes = (() => { const $io0 = input => "boolean" === typeof input.signOutBlockin && (undefined === input.signOutDiscord || "boolean" === typeof input.signOutDiscord) && (undefined === input.signOutTwitter || "boolean" === typeof input.signOutTwitter) && (undefined === input.signOutGoogle || "boolean" === typeof input.signOutGoogle) && (undefined === input.signOutGithub || "boolean" === typeof input.signOutGithub) && (undefined === input.signOutTwitch || "boolean" === typeof input.signOutTwitch) && (undefined === input.signOutStrava || "boolean" === typeof input.signOutStrava) && (undefined === input.signOutYoutube || "boolean" === typeof input.signOutYoutube) && (undefined === input.signOutReddit || "boolean" === typeof input.signOutReddit) && (undefined === input.signOutGoogleCalendar || "boolean" === typeof input.signOutGoogleCalendar) && (undefined === input.signOutTelegram || "boolean" === typeof input.signOutTelegram) && (undefined === input.signOutFarcaster || "boolean" === typeof input.signOutFarcaster) && (undefined === input.signOutSlack || "boolean" === typeof input.signOutSlack) && (undefined === input.signOutEmail || "boolean" === typeof input.signOutEmail) && (undefined === input.signOutFacebook || "boolean" === typeof input.signOutFacebook) && (undefined === input.signOutLinkedIn || "boolean" === typeof input.signOutLinkedIn); const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
5962
6054
  path: _path + ".signOutBlockin",
5963
6055
  expected: "boolean",
5964
6056
  value: input.signOutBlockin
@@ -5994,6 +6086,10 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
5994
6086
  path: _path + ".signOutReddit",
5995
6087
  expected: "(boolean | undefined)",
5996
6088
  value: input.signOutReddit
6089
+ }), undefined === input.signOutGoogleCalendar || "boolean" === typeof input.signOutGoogleCalendar || $report(_exceptionable, {
6090
+ path: _path + ".signOutGoogleCalendar",
6091
+ expected: "(boolean | undefined)",
6092
+ value: input.signOutGoogleCalendar
5997
6093
  }), undefined === input.signOutTelegram || "boolean" === typeof input.signOutTelegram || $report(_exceptionable, {
5998
6094
  path: _path + ".signOutTelegram",
5999
6095
  expected: "(boolean | undefined)",
@@ -6010,6 +6106,14 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6010
6106
  path: _path + ".signOutEmail",
6011
6107
  expected: "(boolean | undefined)",
6012
6108
  value: input.signOutEmail
6109
+ }), undefined === input.signOutFacebook || "boolean" === typeof input.signOutFacebook || $report(_exceptionable, {
6110
+ path: _path + ".signOutFacebook",
6111
+ expected: "(boolean | undefined)",
6112
+ value: input.signOutFacebook
6113
+ }), undefined === input.signOutLinkedIn || "boolean" === typeof input.signOutLinkedIn || $report(_exceptionable, {
6114
+ path: _path + ".signOutLinkedIn",
6115
+ expected: "(boolean | undefined)",
6116
+ value: input.signOutLinkedIn
6013
6117
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
6014
6118
  if (false === __is(input)) {
6015
6119
  errors = [];
@@ -7179,7 +7283,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7179
7283
  }
7180
7284
  async createPlugin(payload) {
7181
7285
  try {
7182
- const validateRes = (() => { const $io0 = input => "string" === typeof input.pluginId && (undefined === input.inviteCode || "string" === typeof input.inviteCode) && ("object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && "boolean" === typeof input.toPublish && (undefined === input.approvedUsers || Array.isArray(input.approvedUsers) && input.approvedUsers.every(elem => "string" === typeof elem)) && ("object" === typeof input.initialVersion && null !== input.initialVersion && $io2(input.initialVersion)); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.documentation || "string" === typeof input.documentation) && (undefined === input.parentApp || "string" === typeof input.parentApp) && (undefined === input.sourceCode || "string" === typeof input.sourceCode) && (undefined === input.supportLink || "string" === typeof input.supportLink) && "string" === typeof input.createdBy; const $io2 = input => "boolean" === typeof input.finalized && ("Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && (undefined === input.skipProcessingWebhook || "boolean" === typeof input.skipProcessingWebhook) && (undefined === input.ignoreSimulations || "boolean" === typeof input.ignoreSimulations) && "boolean" === typeof input.reuseForNonIndexed && "boolean" === typeof input.requiresUserInputs && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io3(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io7(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io8(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const $io3 = input => "string" === typeof input.baseUri; const $io4 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && (undefined === input.hyperlink || "object" === typeof input.hyperlink && null !== input.hyperlink && $io5(input.hyperlink)) && (undefined === input.helper || "string" === typeof input.helper) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.hideFromDetailsDisplay || "boolean" === typeof input.hideFromDetailsDisplay) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || "number" === typeof input.defaultValue || "boolean" === typeof input.defaultValue) && (undefined === input.options || Array.isArray(input.options) && input.options.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.arrayField || "boolean" === typeof input.arrayField); const $io5 = input => "string" === typeof input.url && (undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView); const $io6 = input => "string" === typeof input.label && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io7 = input => (undefined === input.toolUri || "string" === typeof input.toolUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); const $io8 = input => "string" === typeof input.uri && ("POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method) && (Array.isArray(input.hardcodedInputs) && input.hardcodedInputs.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && (undefined === input.passAddress || "boolean" === typeof input.passAddress) && (undefined === input.passDiscord || "boolean" === typeof input.passDiscord) && (undefined === input.passEmail || "boolean" === typeof input.passEmail) && (undefined === input.passTwitter || "boolean" === typeof input.passTwitter) && (undefined === input.passGoogle || "boolean" === typeof input.passGoogle) && (undefined === input.passGithub || "boolean" === typeof input.passGithub) && (undefined === input.passStrava || "boolean" === typeof input.passStrava) && (undefined === input.passTwitch || "boolean" === typeof input.passTwitch) && (undefined === input.passReddit || "boolean" === typeof input.passReddit) && (undefined === input.passTelegram || "boolean" === typeof input.passTelegram) && (undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster) && (undefined === input.passSlack || "boolean" === typeof input.passSlack) && "string" === typeof input.postProcessingJs; const $io9 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
7286
+ const validateRes = (() => { const $io0 = input => "string" === typeof input.pluginId && (undefined === input.inviteCode || "string" === typeof input.inviteCode) && ("object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && "boolean" === typeof input.toPublish && (undefined === input.approvedUsers || Array.isArray(input.approvedUsers) && input.approvedUsers.every(elem => "string" === typeof elem)) && ("object" === typeof input.initialVersion && null !== input.initialVersion && $io2(input.initialVersion)); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.documentation || "string" === typeof input.documentation) && (undefined === input.parentApp || "string" === typeof input.parentApp) && (undefined === input.sourceCode || "string" === typeof input.sourceCode) && (undefined === input.supportLink || "string" === typeof input.supportLink) && "string" === typeof input.createdBy; const $io2 = input => "boolean" === typeof input.finalized && ("Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && (undefined === input.skipProcessingWebhook || "boolean" === typeof input.skipProcessingWebhook) && (undefined === input.ignoreSimulations || "boolean" === typeof input.ignoreSimulations) && "boolean" === typeof input.reuseForNonIndexed && "boolean" === typeof input.requiresUserInputs && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io3(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io7(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io8(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const $io3 = input => "string" === typeof input.baseUri; const $io4 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && (undefined === input.hyperlink || "object" === typeof input.hyperlink && null !== input.hyperlink && $io5(input.hyperlink)) && (undefined === input.helper || "string" === typeof input.helper) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.hideFromDetailsDisplay || "boolean" === typeof input.hideFromDetailsDisplay) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || "number" === typeof input.defaultValue || "boolean" === typeof input.defaultValue) && (undefined === input.options || Array.isArray(input.options) && input.options.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.arrayField || "boolean" === typeof input.arrayField); const $io5 = input => "string" === typeof input.url && (undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView); const $io6 = input => "string" === typeof input.label && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io7 = input => (undefined === input.toolUri || "string" === typeof input.toolUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); const $io8 = input => "string" === typeof input.uri && ("POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method) && (Array.isArray(input.hardcodedInputs) && input.hardcodedInputs.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && (undefined === input.passAddress || "boolean" === typeof input.passAddress) && (undefined === input.passDiscord || "boolean" === typeof input.passDiscord) && (undefined === input.passEmail || "boolean" === typeof input.passEmail) && (undefined === input.passTwitter || "boolean" === typeof input.passTwitter) && (undefined === input.passGoogle || "boolean" === typeof input.passGoogle) && (undefined === input.passGithub || "boolean" === typeof input.passGithub) && (undefined === input.passStrava || "boolean" === typeof input.passStrava) && (undefined === input.passTwitch || "boolean" === typeof input.passTwitch) && (undefined === input.passReddit || "boolean" === typeof input.passReddit) && (undefined === input.passFacebook || "boolean" === typeof input.passFacebook) && (undefined === input.passTelegram || "boolean" === typeof input.passTelegram) && (undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster) && (undefined === input.passSlack || "boolean" === typeof input.passSlack) && "string" === typeof input.postProcessingJs; const $io9 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
7183
7287
  path: _path + ".pluginId",
7184
7288
  expected: "string",
7185
7289
  value: input.pluginId
@@ -7511,6 +7615,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7511
7615
  path: _path + ".passReddit",
7512
7616
  expected: "(boolean | undefined)",
7513
7617
  value: input.passReddit
7618
+ }), undefined === input.passFacebook || "boolean" === typeof input.passFacebook || $report(_exceptionable, {
7619
+ path: _path + ".passFacebook",
7620
+ expected: "(boolean | undefined)",
7621
+ value: input.passFacebook
7514
7622
  }), undefined === input.passTelegram || "boolean" === typeof input.passTelegram || $report(_exceptionable, {
7515
7623
  path: _path + ".passTelegram",
7516
7624
  expected: "(boolean | undefined)",
@@ -7586,7 +7694,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7586
7694
  }
7587
7695
  async updatePlugin(payload) {
7588
7696
  try {
7589
- const validateRes = (() => { const $io0 = input => "string" === typeof input.pluginId && (undefined === input.inviteCode || "string" === typeof input.inviteCode) && (undefined === input.removeSelfFromApprovedUsers || "boolean" === typeof input.removeSelfFromApprovedUsers) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && (undefined === input.toPublish || "boolean" === typeof input.toPublish) && (undefined === input.approvedUsers || Array.isArray(input.approvedUsers) && input.approvedUsers.every(elem => "string" === typeof elem)) && (undefined === input.rotatePluginSecret || "boolean" === typeof input.rotatePluginSecret) && (undefined === input.versionUpdates || Array.isArray(input.versionUpdates) && input.versionUpdates.every(elem => "object" === typeof elem && null !== elem && $io2(elem))) && (undefined === input.versionCreate || "object" === typeof input.versionCreate && null !== input.versionCreate && $io11(input.versionCreate)); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.documentation || "string" === typeof input.documentation) && (undefined === input.parentApp || "string" === typeof input.parentApp) && (undefined === input.sourceCode || "string" === typeof input.sourceCode) && (undefined === input.supportLink || "string" === typeof input.supportLink) && (undefined === input.createdBy || "string" === typeof input.createdBy); const $io2 = input => ("string" === typeof input.version || "number" === typeof input.version || "bigint" === typeof input.version) && ("object" === typeof input.config && null !== input.config && false === Array.isArray(input.config) && $io3(input.config)); const $io3 = input => (undefined === input.finalized || "boolean" === typeof input.finalized) && (undefined === input.stateFunctionPreset || "Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset) && (undefined === input.duplicatesAllowed || "boolean" === typeof input.duplicatesAllowed) && (undefined === input.receiveStatusWebhook || "boolean" === typeof input.receiveStatusWebhook) && (undefined === input.skipProcessingWebhook || "boolean" === typeof input.skipProcessingWebhook) && (undefined === input.ignoreSimulations || "boolean" === typeof input.ignoreSimulations) && (undefined === input.reuseForNonIndexed || "boolean" === typeof input.reuseForNonIndexed) && (undefined === input.requiresUserInputs || "boolean" === typeof input.requiresUserInputs) && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io4(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io8(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const $io4 = input => "string" === typeof input.baseUri; const $io5 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && (undefined === input.hyperlink || "object" === typeof input.hyperlink && null !== input.hyperlink && $io6(input.hyperlink)) && (undefined === input.helper || "string" === typeof input.helper) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.hideFromDetailsDisplay || "boolean" === typeof input.hideFromDetailsDisplay) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || "number" === typeof input.defaultValue || "boolean" === typeof input.defaultValue) && (undefined === input.options || Array.isArray(input.options) && input.options.every(elem => "object" === typeof elem && null !== elem && $io7(elem))) && (undefined === input.arrayField || "boolean" === typeof input.arrayField); const $io6 = input => "string" === typeof input.url && (undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView); const $io7 = input => "string" === typeof input.label && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io8 = input => (undefined === input.toolUri || "string" === typeof input.toolUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); const $io9 = input => "string" === typeof input.uri && ("POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method) && (Array.isArray(input.hardcodedInputs) && input.hardcodedInputs.every(elem => "object" === typeof elem && null !== elem && $io10(elem))) && (undefined === input.passAddress || "boolean" === typeof input.passAddress) && (undefined === input.passDiscord || "boolean" === typeof input.passDiscord) && (undefined === input.passEmail || "boolean" === typeof input.passEmail) && (undefined === input.passTwitter || "boolean" === typeof input.passTwitter) && (undefined === input.passGoogle || "boolean" === typeof input.passGoogle) && (undefined === input.passGithub || "boolean" === typeof input.passGithub) && (undefined === input.passStrava || "boolean" === typeof input.passStrava) && (undefined === input.passTwitch || "boolean" === typeof input.passTwitch) && (undefined === input.passReddit || "boolean" === typeof input.passReddit) && (undefined === input.passTelegram || "boolean" === typeof input.passTelegram) && (undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster) && (undefined === input.passSlack || "boolean" === typeof input.passSlack) && "string" === typeof input.postProcessingJs; const $io10 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $io11 = input => "boolean" === typeof input.finalized && ("Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && (undefined === input.skipProcessingWebhook || "boolean" === typeof input.skipProcessingWebhook) && (undefined === input.ignoreSimulations || "boolean" === typeof input.ignoreSimulations) && "boolean" === typeof input.reuseForNonIndexed && "boolean" === typeof input.requiresUserInputs && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io4(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io8(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
7697
+ const validateRes = (() => { const $io0 = input => "string" === typeof input.pluginId && (undefined === input.inviteCode || "string" === typeof input.inviteCode) && (undefined === input.removeSelfFromApprovedUsers || "boolean" === typeof input.removeSelfFromApprovedUsers) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && (undefined === input.toPublish || "boolean" === typeof input.toPublish) && (undefined === input.approvedUsers || Array.isArray(input.approvedUsers) && input.approvedUsers.every(elem => "string" === typeof elem)) && (undefined === input.rotatePluginSecret || "boolean" === typeof input.rotatePluginSecret) && (undefined === input.versionUpdates || Array.isArray(input.versionUpdates) && input.versionUpdates.every(elem => "object" === typeof elem && null !== elem && $io2(elem))) && (undefined === input.versionCreate || "object" === typeof input.versionCreate && null !== input.versionCreate && $io11(input.versionCreate)); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.documentation || "string" === typeof input.documentation) && (undefined === input.parentApp || "string" === typeof input.parentApp) && (undefined === input.sourceCode || "string" === typeof input.sourceCode) && (undefined === input.supportLink || "string" === typeof input.supportLink) && (undefined === input.createdBy || "string" === typeof input.createdBy); const $io2 = input => ("string" === typeof input.version || "number" === typeof input.version || "bigint" === typeof input.version) && ("object" === typeof input.config && null !== input.config && false === Array.isArray(input.config) && $io3(input.config)); const $io3 = input => (undefined === input.finalized || "boolean" === typeof input.finalized) && (undefined === input.stateFunctionPreset || "Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset) && (undefined === input.duplicatesAllowed || "boolean" === typeof input.duplicatesAllowed) && (undefined === input.receiveStatusWebhook || "boolean" === typeof input.receiveStatusWebhook) && (undefined === input.skipProcessingWebhook || "boolean" === typeof input.skipProcessingWebhook) && (undefined === input.ignoreSimulations || "boolean" === typeof input.ignoreSimulations) && (undefined === input.reuseForNonIndexed || "boolean" === typeof input.reuseForNonIndexed) && (undefined === input.requiresUserInputs || "boolean" === typeof input.requiresUserInputs) && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io4(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io8(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const $io4 = input => "string" === typeof input.baseUri; const $io5 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && (undefined === input.hyperlink || "object" === typeof input.hyperlink && null !== input.hyperlink && $io6(input.hyperlink)) && (undefined === input.helper || "string" === typeof input.helper) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.hideFromDetailsDisplay || "boolean" === typeof input.hideFromDetailsDisplay) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || "number" === typeof input.defaultValue || "boolean" === typeof input.defaultValue) && (undefined === input.options || Array.isArray(input.options) && input.options.every(elem => "object" === typeof elem && null !== elem && $io7(elem))) && (undefined === input.arrayField || "boolean" === typeof input.arrayField); const $io6 = input => "string" === typeof input.url && (undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView); const $io7 = input => "string" === typeof input.label && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io8 = input => (undefined === input.toolUri || "string" === typeof input.toolUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); const $io9 = input => "string" === typeof input.uri && ("POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method) && (Array.isArray(input.hardcodedInputs) && input.hardcodedInputs.every(elem => "object" === typeof elem && null !== elem && $io10(elem))) && (undefined === input.passAddress || "boolean" === typeof input.passAddress) && (undefined === input.passDiscord || "boolean" === typeof input.passDiscord) && (undefined === input.passEmail || "boolean" === typeof input.passEmail) && (undefined === input.passTwitter || "boolean" === typeof input.passTwitter) && (undefined === input.passGoogle || "boolean" === typeof input.passGoogle) && (undefined === input.passGithub || "boolean" === typeof input.passGithub) && (undefined === input.passStrava || "boolean" === typeof input.passStrava) && (undefined === input.passTwitch || "boolean" === typeof input.passTwitch) && (undefined === input.passReddit || "boolean" === typeof input.passReddit) && (undefined === input.passFacebook || "boolean" === typeof input.passFacebook) && (undefined === input.passTelegram || "boolean" === typeof input.passTelegram) && (undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster) && (undefined === input.passSlack || "boolean" === typeof input.passSlack) && "string" === typeof input.postProcessingJs; const $io10 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $io11 = input => "boolean" === typeof input.finalized && ("Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && (undefined === input.skipProcessingWebhook || "boolean" === typeof input.skipProcessingWebhook) && (undefined === input.ignoreSimulations || "boolean" === typeof input.ignoreSimulations) && "boolean" === typeof input.reuseForNonIndexed && "boolean" === typeof input.requiresUserInputs && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io4(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io8(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
7590
7698
  path: _path + ".pluginId",
7591
7699
  expected: "string",
7592
7700
  value: input.pluginId
@@ -7954,6 +8062,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7954
8062
  path: _path + ".passReddit",
7955
8063
  expected: "(boolean | undefined)",
7956
8064
  value: input.passReddit
8065
+ }), undefined === input.passFacebook || "boolean" === typeof input.passFacebook || $report(_exceptionable, {
8066
+ path: _path + ".passFacebook",
8067
+ expected: "(boolean | undefined)",
8068
+ value: input.passFacebook
7957
8069
  }), undefined === input.passTelegram || "boolean" === typeof input.passTelegram || $report(_exceptionable, {
7958
8070
  path: _path + ".passTelegram",
7959
8071
  expected: "(boolean | undefined)",