bitbadgesjs-sdk 0.4.13 → 0.4.15

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 +142 -46
  2. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  3. package/dist/cjs/api-indexer/docs/docs.d.ts +4 -0
  4. package/dist/cjs/api-indexer/docs/docs.d.ts.map +1 -1
  5. package/dist/cjs/api-indexer/docs/docs.js +2 -0
  6. package/dist/cjs/api-indexer/docs/docs.js.map +1 -1
  7. package/dist/cjs/api-indexer/docs/interfaces.d.ts +20 -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 +20 -0
  11. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  12. package/dist/cjs/api-indexer/requests/requests.js +2 -0
  13. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  14. package/dist/esm/api-indexer/BitBadgesApi.js +142 -46
  15. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  16. package/dist/esm/api-indexer/docs/docs.d.ts +4 -0
  17. package/dist/esm/api-indexer/docs/docs.d.ts.map +1 -1
  18. package/dist/esm/api-indexer/docs/docs.js +4 -0
  19. package/dist/esm/api-indexer/docs/docs.js.map +1 -1
  20. package/dist/esm/api-indexer/docs/interfaces.d.ts +20 -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 +20 -0
  24. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  25. package/dist/esm/api-indexer/requests/requests.js +4 -0
  26. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  27. package/package.json +1 -1
@@ -337,7 +337,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
337
337
  }
338
338
  async updateAccountInfo(payload) {
339
339
  try {
340
- 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) && $io19(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))); 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 => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io20(input.discord)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && $io21(input.twitter)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && $io22(input.google)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && $io23(input.github)) && (undefined === input.twitch || "object" === typeof input.twitch && null !== input.twitch && $io24(input.twitch)) && (undefined === input.strava || "object" === typeof input.strava && null !== input.strava && $io25(input.strava)) && (undefined === input.reddit || "object" === typeof input.reddit && null !== input.reddit && $io26(input.reddit)); const $io20 = 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 $io21 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io22 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io23 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io24 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io25 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io26 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || $report(_exceptionable, {
340
+ 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) && $io19(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))); 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 => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && $io20(input.discord)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && $io21(input.twitter)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && $io22(input.google)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && $io23(input.github)) && (undefined === input.twitch || "object" === typeof input.twitch && null !== input.twitch && $io24(input.twitch)) && (undefined === input.strava || "object" === typeof input.strava && null !== input.strava && $io25(input.strava)) && (undefined === input.reddit || "object" === typeof input.reddit && null !== input.reddit && $io26(input.reddit)) && (undefined === input.telegram || "object" === typeof input.telegram && null !== input.telegram && $io27(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && $io28(input.farcaster)); const $io20 = 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 $io21 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io22 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io23 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io24 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io25 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io26 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io27 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io28 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || $report(_exceptionable, {
341
341
  path: _path + ".discord",
342
342
  expected: "(string | undefined)",
343
343
  value: input.discord
@@ -925,6 +925,22 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
925
925
  path: _path + ".reddit",
926
926
  expected: "(__type.o17 | undefined)",
927
927
  value: input.reddit
928
+ }), undefined === input.telegram || ("object" === typeof input.telegram && null !== input.telegram || $report(_exceptionable, {
929
+ path: _path + ".telegram",
930
+ expected: "(__type.o18 | undefined)",
931
+ value: input.telegram
932
+ })) && $vo27(input.telegram, _path + ".telegram", true && _exceptionable) || $report(_exceptionable, {
933
+ path: _path + ".telegram",
934
+ expected: "(__type.o18 | undefined)",
935
+ value: input.telegram
936
+ }), undefined === input.farcaster || ("object" === typeof input.farcaster && null !== input.farcaster || $report(_exceptionable, {
937
+ path: _path + ".farcaster",
938
+ expected: "(__type.o19 | undefined)",
939
+ value: input.farcaster
940
+ })) && $vo28(input.farcaster, _path + ".farcaster", true && _exceptionable) || $report(_exceptionable, {
941
+ path: _path + ".farcaster",
942
+ expected: "(__type.o19 | undefined)",
943
+ value: input.farcaster
928
944
  })].every(flag => flag); const $vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
929
945
  path: _path + ".username",
930
946
  expected: "string",
@@ -1013,6 +1029,30 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1013
1029
  path: _path + ".lastUpdated",
1014
1030
  expected: "(bigint | number | string)",
1015
1031
  value: input.lastUpdated
1032
+ })].every(flag => flag); const $vo27 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1033
+ path: _path + ".username",
1034
+ expected: "string",
1035
+ value: input.username
1036
+ }), "string" === typeof input.id || $report(_exceptionable, {
1037
+ path: _path + ".id",
1038
+ expected: "string",
1039
+ value: input.id
1040
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1041
+ path: _path + ".lastUpdated",
1042
+ expected: "(bigint | number | string)",
1043
+ value: input.lastUpdated
1044
+ })].every(flag => flag); const $vo28 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1045
+ path: _path + ".username",
1046
+ expected: "string",
1047
+ value: input.username
1048
+ }), "string" === typeof input.id || $report(_exceptionable, {
1049
+ path: _path + ".id",
1050
+ expected: "string",
1051
+ value: input.id
1052
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1053
+ path: _path + ".lastUpdated",
1054
+ expected: "(bigint | number | string)",
1055
+ value: input.lastUpdated
1016
1056
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
1017
1057
  if (false === __is(input)) {
1018
1058
  errors = [];
@@ -5484,11 +5524,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5484
5524
  }
5485
5525
  async createPlugin(payload) {
5486
5526
  try {
5487
- 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.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 || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && "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 && $iu0(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 && $iu0(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io8(input.verificationCall)); const $io3 = input => "string" === typeof input.baseUri; const $io4 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type) && (undefined === input.helper || "string" === typeof input.helper) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (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 && $io5(elem))) && (undefined === input.arrayField || "boolean" === typeof input.arrayField); const $io5 = input => "string" === typeof input.label && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io6 = input => "string" === typeof input.key && "string" === typeof input.label && ("ownershipRequirements" === input.type || "attestations" === input.type) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.helper || "string" === typeof input.helper); 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) && "string" === typeof input.postProcessingJs; const $io9 = input => "string" === typeof input.key && "string" === typeof input.label && (undefined === input.type || "url" === input.type || "date" === input.type) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $iu0 = input => (() => {
5527
+ 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.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 || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && "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 && $iu0(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 && $iu0(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)); const $io3 = input => "string" === typeof input.baseUri; const $io4 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === 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.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 => "string" === typeof input.key && "string" === typeof input.label && ("ownershipRequirements" === input.type || "attestations" === input.type) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.helper || "string" === typeof input.helper); 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) && "string" === typeof input.postProcessingJs; const $io10 = input => "string" === typeof input.key && "string" === typeof input.label && (undefined === input.type || "url" === input.type || "date" === input.type) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $iu0 = input => (() => {
5488
5528
  if ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type)
5489
5529
  return $io4(input);
5490
5530
  else if ("ownershipRequirements" === input.type || "attestations" === input.type)
5491
- return $io6(input);
5531
+ return $io7(input);
5492
5532
  else
5493
5533
  return false;
5494
5534
  })(); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
@@ -5609,11 +5649,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5609
5649
  value: input.userInputsSchema
5610
5650
  }), undefined === input.claimCreatorRedirect || ("object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) || $report(_exceptionable, {
5611
5651
  path: _path + ".claimCreatorRedirect",
5612
- expected: "(__type.o3 | undefined)",
5652
+ expected: "(__type.o4 | undefined)",
5613
5653
  value: input.claimCreatorRedirect
5614
- })) && $vo7(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || $report(_exceptionable, {
5654
+ })) && $vo8(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || $report(_exceptionable, {
5615
5655
  path: _path + ".claimCreatorRedirect",
5616
- expected: "(__type.o3 | undefined)",
5656
+ expected: "(__type.o4 | undefined)",
5617
5657
  value: input.claimCreatorRedirect
5618
5658
  }), undefined === input.publicParamsSchema || (Array.isArray(input.publicParamsSchema) || $report(_exceptionable, {
5619
5659
  path: _path + ".publicParamsSchema",
@@ -5649,11 +5689,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5649
5689
  value: input.privateParamsSchema
5650
5690
  }), undefined === input.verificationCall || ("object" === typeof input.verificationCall && null !== input.verificationCall || $report(_exceptionable, {
5651
5691
  path: _path + ".verificationCall",
5652
- expected: "(__type.o4 | undefined)",
5692
+ expected: "(__type.o5 | undefined)",
5653
5693
  value: input.verificationCall
5654
- })) && $vo8(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || $report(_exceptionable, {
5694
+ })) && $vo9(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || $report(_exceptionable, {
5655
5695
  path: _path + ".verificationCall",
5656
- expected: "(__type.o4 | undefined)",
5696
+ expected: "(__type.o5 | undefined)",
5657
5697
  value: input.verificationCall
5658
5698
  })].every(flag => flag); const $vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.baseUri || $report(_exceptionable, {
5659
5699
  path: _path + ".baseUri",
@@ -5671,6 +5711,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5671
5711
  path: _path + ".type",
5672
5712
  expected: "(\"boolean\" | \"date\" | \"number\" | \"string\" | \"url\")",
5673
5713
  value: input.type
5714
+ }), undefined === input.hyperlink || ("object" === typeof input.hyperlink && null !== input.hyperlink || $report(_exceptionable, {
5715
+ path: _path + ".hyperlink",
5716
+ expected: "(__type.o2 | undefined)",
5717
+ value: input.hyperlink
5718
+ })) && $vo5(input.hyperlink, _path + ".hyperlink", true && _exceptionable) || $report(_exceptionable, {
5719
+ path: _path + ".hyperlink",
5720
+ expected: "(__type.o2 | undefined)",
5721
+ value: input.hyperlink
5674
5722
  }), undefined === input.helper || "string" === typeof input.helper || $report(_exceptionable, {
5675
5723
  path: _path + ".helper",
5676
5724
  expected: "(string | undefined)",
@@ -5693,11 +5741,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5693
5741
  value: input.options
5694
5742
  })) && input.options.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
5695
5743
  path: _path + ".options[" + _index11 + "]",
5696
- expected: "__type.o2",
5744
+ expected: "__type.o3",
5697
5745
  value: elem
5698
- })) && $vo5(elem, _path + ".options[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
5746
+ })) && $vo6(elem, _path + ".options[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
5699
5747
  path: _path + ".options[" + _index11 + "]",
5700
- expected: "__type.o2",
5748
+ expected: "__type.o3",
5701
5749
  value: elem
5702
5750
  })).every(flag => flag) || $report(_exceptionable, {
5703
5751
  path: _path + ".options",
@@ -5707,7 +5755,15 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5707
5755
  path: _path + ".arrayField",
5708
5756
  expected: "(boolean | undefined)",
5709
5757
  value: input.arrayField
5710
- })].every(flag => flag); const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || $report(_exceptionable, {
5758
+ })].every(flag => flag); const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || $report(_exceptionable, {
5759
+ path: _path + ".url",
5760
+ expected: "string",
5761
+ value: input.url
5762
+ }), undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView || $report(_exceptionable, {
5763
+ path: _path + ".showAsGenericView",
5764
+ expected: "(boolean | undefined)",
5765
+ value: input.showAsGenericView
5766
+ })].every(flag => flag); const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || $report(_exceptionable, {
5711
5767
  path: _path + ".label",
5712
5768
  expected: "string",
5713
5769
  value: input.label
@@ -5715,7 +5771,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5715
5771
  path: _path + ".value",
5716
5772
  expected: "(boolean | number | string)",
5717
5773
  value: input.value
5718
- })].every(flag => flag); const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
5774
+ })].every(flag => flag); const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
5719
5775
  path: _path + ".key",
5720
5776
  expected: "string",
5721
5777
  value: input.key
@@ -5739,7 +5795,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5739
5795
  path: _path + ".helper",
5740
5796
  expected: "(string | undefined)",
5741
5797
  value: input.helper
5742
- })].every(flag => flag); const $vo7 = (input, _path, _exceptionable = true) => [undefined === input.toolUri || "string" === typeof input.toolUri || $report(_exceptionable, {
5798
+ })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => [undefined === input.toolUri || "string" === typeof input.toolUri || $report(_exceptionable, {
5743
5799
  path: _path + ".toolUri",
5744
5800
  expected: "(string | undefined)",
5745
5801
  value: input.toolUri
@@ -5747,7 +5803,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5747
5803
  path: _path + ".tutorialUri",
5748
5804
  expected: "(string | undefined)",
5749
5805
  value: input.tutorialUri
5750
- })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || $report(_exceptionable, {
5806
+ })].every(flag => flag); const $vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || $report(_exceptionable, {
5751
5807
  path: _path + ".uri",
5752
5808
  expected: "string",
5753
5809
  value: input.uri
@@ -5763,7 +5819,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5763
5819
  path: _path + ".hardcodedInputs[" + _index12 + "]",
5764
5820
  expected: "JsonBodyInputWithValue",
5765
5821
  value: elem
5766
- })) && $vo9(elem, _path + ".hardcodedInputs[" + _index12 + "]", true && _exceptionable) || $report(_exceptionable, {
5822
+ })) && $vo10(elem, _path + ".hardcodedInputs[" + _index12 + "]", true && _exceptionable) || $report(_exceptionable, {
5767
5823
  path: _path + ".hardcodedInputs[" + _index12 + "]",
5768
5824
  expected: "JsonBodyInputWithValue",
5769
5825
  value: elem
@@ -5807,11 +5863,19 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5807
5863
  path: _path + ".passReddit",
5808
5864
  expected: "(boolean | undefined)",
5809
5865
  value: input.passReddit
5866
+ }), undefined === input.passTelegram || "boolean" === typeof input.passTelegram || $report(_exceptionable, {
5867
+ path: _path + ".passTelegram",
5868
+ expected: "(boolean | undefined)",
5869
+ value: input.passTelegram
5870
+ }), undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster || $report(_exceptionable, {
5871
+ path: _path + ".passFarcaster",
5872
+ expected: "(boolean | undefined)",
5873
+ value: input.passFarcaster
5810
5874
  }), "string" === typeof input.postProcessingJs || $report(_exceptionable, {
5811
5875
  path: _path + ".postProcessingJs",
5812
5876
  expected: "string",
5813
5877
  value: input.postProcessingJs
5814
- })].every(flag => flag); const $vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
5878
+ })].every(flag => flag); const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
5815
5879
  path: _path + ".key",
5816
5880
  expected: "string",
5817
5881
  value: input.key
@@ -5835,7 +5899,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5835
5899
  if ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type)
5836
5900
  return $vo4(input, _path, true && _exceptionable);
5837
5901
  else if ("ownershipRequirements" === input.type || "attestations" === input.type)
5838
- return $vo6(input, _path, true && _exceptionable);
5902
+ return $vo7(input, _path, true && _exceptionable);
5839
5903
  else
5840
5904
  return $report(_exceptionable, {
5841
5905
  path: _path,
@@ -5881,11 +5945,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5881
5945
  }
5882
5946
  async updatePlugin(payload) {
5883
5947
  try {
5884
- 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.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 || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && (undefined === input.duplicatesAllowed || "boolean" === typeof input.duplicatesAllowed) && (undefined === input.receiveStatusWebhook || "boolean" === typeof input.receiveStatusWebhook) && (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 && $iu0(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 && $iu0(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)); const $io4 = input => "string" === typeof input.baseUri; const $io5 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type) && (undefined === input.helper || "string" === typeof input.helper) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (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 $io6 = input => "string" === typeof input.label && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value); const $io7 = input => "string" === typeof input.key && "string" === typeof input.label && ("ownershipRequirements" === input.type || "attestations" === input.type) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.helper || "string" === typeof input.helper); 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) && "string" === typeof input.postProcessingJs; const $io10 = input => "string" === typeof input.key && "string" === typeof input.label && (undefined === input.type || "url" === input.type || "date" === 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 || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && "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 && $iu0(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 && $iu0(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io9(input.verificationCall)); const $iu0 = input => (() => {
5948
+ 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 && $io12(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.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 || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && (undefined === input.duplicatesAllowed || "boolean" === typeof input.duplicatesAllowed) && (undefined === input.receiveStatusWebhook || "boolean" === typeof input.receiveStatusWebhook) && (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 && $iu0(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io9(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io10(input.verificationCall)); const $io4 = input => "string" === typeof input.baseUri; const $io5 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === 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.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 => "string" === typeof input.key && "string" === typeof input.label && ("ownershipRequirements" === input.type || "attestations" === input.type) && (undefined === input.headerField || "boolean" === typeof input.headerField) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.helper || "string" === typeof input.helper); const $io9 = input => (undefined === input.toolUri || "string" === typeof input.toolUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); const $io10 = 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 && $io11(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) && "string" === typeof input.postProcessingJs; const $io11 = input => "string" === typeof input.key && "string" === typeof input.label && (undefined === input.type || "url" === input.type || "date" === input.type) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value) && (undefined === input.headerField || "boolean" === typeof input.headerField); const $io12 = input => "boolean" === typeof input.finalized && ("Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.receiveStatusWebhook && "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 && $iu0(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) && $io9(input.claimCreatorRedirect)) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && $iu0(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io10(input.verificationCall)); const $iu0 = input => (() => {
5885
5949
  if ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type)
5886
5950
  return $io5(input);
5887
5951
  else if ("ownershipRequirements" === input.type || "attestations" === input.type)
5888
- return $io7(input);
5952
+ return $io8(input);
5889
5953
  else
5890
5954
  return false;
5891
5955
  })(); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
@@ -5948,7 +6012,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5948
6012
  path: _path + ".versionCreate",
5949
6013
  expected: "(PluginVersionConfigPayload | undefined)",
5950
6014
  value: input.versionCreate
5951
- })) && $vo11(input.versionCreate, _path + ".versionCreate", true && _exceptionable) || $report(_exceptionable, {
6015
+ })) && $vo12(input.versionCreate, _path + ".versionCreate", true && _exceptionable) || $report(_exceptionable, {
5952
6016
  path: _path + ".versionCreate",
5953
6017
  expected: "(PluginVersionConfigPayload | undefined)",
5954
6018
  value: input.versionCreate
@@ -6042,11 +6106,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6042
6106
  value: input.userInputsSchema
6043
6107
  }), undefined === input.claimCreatorRedirect || ("object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) || $report(_exceptionable, {
6044
6108
  path: _path + ".claimCreatorRedirect",
6045
- expected: "(__type.o4 | undefined)",
6109
+ expected: "(__type.o5 | undefined)",
6046
6110
  value: input.claimCreatorRedirect
6047
- })) && $vo8(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || $report(_exceptionable, {
6111
+ })) && $vo9(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || $report(_exceptionable, {
6048
6112
  path: _path + ".claimCreatorRedirect",
6049
- expected: "(__type.o4 | undefined)",
6113
+ expected: "(__type.o5 | undefined)",
6050
6114
  value: input.claimCreatorRedirect
6051
6115
  }), undefined === input.publicParamsSchema || (Array.isArray(input.publicParamsSchema) || $report(_exceptionable, {
6052
6116
  path: _path + ".publicParamsSchema",
@@ -6082,11 +6146,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6082
6146
  value: input.privateParamsSchema
6083
6147
  }), undefined === input.verificationCall || ("object" === typeof input.verificationCall && null !== input.verificationCall || $report(_exceptionable, {
6084
6148
  path: _path + ".verificationCall",
6085
- expected: "(__type.o5 | undefined)",
6149
+ expected: "(__type.o6 | undefined)",
6086
6150
  value: input.verificationCall
6087
- })) && $vo9(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || $report(_exceptionable, {
6151
+ })) && $vo10(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || $report(_exceptionable, {
6088
6152
  path: _path + ".verificationCall",
6089
- expected: "(__type.o5 | undefined)",
6153
+ expected: "(__type.o6 | undefined)",
6090
6154
  value: input.verificationCall
6091
6155
  })].every(flag => flag); const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.baseUri || $report(_exceptionable, {
6092
6156
  path: _path + ".baseUri",
@@ -6104,6 +6168,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6104
6168
  path: _path + ".type",
6105
6169
  expected: "(\"boolean\" | \"date\" | \"number\" | \"string\" | \"url\")",
6106
6170
  value: input.type
6171
+ }), undefined === input.hyperlink || ("object" === typeof input.hyperlink && null !== input.hyperlink || $report(_exceptionable, {
6172
+ path: _path + ".hyperlink",
6173
+ expected: "(__type.o3 | undefined)",
6174
+ value: input.hyperlink
6175
+ })) && $vo6(input.hyperlink, _path + ".hyperlink", true && _exceptionable) || $report(_exceptionable, {
6176
+ path: _path + ".hyperlink",
6177
+ expected: "(__type.o3 | undefined)",
6178
+ value: input.hyperlink
6107
6179
  }), undefined === input.helper || "string" === typeof input.helper || $report(_exceptionable, {
6108
6180
  path: _path + ".helper",
6109
6181
  expected: "(string | undefined)",
@@ -6126,11 +6198,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6126
6198
  value: input.options
6127
6199
  })) && input.options.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6128
6200
  path: _path + ".options[" + _index16 + "]",
6129
- expected: "__type.o3",
6201
+ expected: "__type.o4",
6130
6202
  value: elem
6131
- })) && $vo6(elem, _path + ".options[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
6203
+ })) && $vo7(elem, _path + ".options[" + _index16 + "]", true && _exceptionable) || $report(_exceptionable, {
6132
6204
  path: _path + ".options[" + _index16 + "]",
6133
- expected: "__type.o3",
6205
+ expected: "__type.o4",
6134
6206
  value: elem
6135
6207
  })).every(flag => flag) || $report(_exceptionable, {
6136
6208
  path: _path + ".options",
@@ -6140,7 +6212,15 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6140
6212
  path: _path + ".arrayField",
6141
6213
  expected: "(boolean | undefined)",
6142
6214
  value: input.arrayField
6143
- })].every(flag => flag); const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || $report(_exceptionable, {
6215
+ })].every(flag => flag); const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || $report(_exceptionable, {
6216
+ path: _path + ".url",
6217
+ expected: "string",
6218
+ value: input.url
6219
+ }), undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView || $report(_exceptionable, {
6220
+ path: _path + ".showAsGenericView",
6221
+ expected: "(boolean | undefined)",
6222
+ value: input.showAsGenericView
6223
+ })].every(flag => flag); const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || $report(_exceptionable, {
6144
6224
  path: _path + ".label",
6145
6225
  expected: "string",
6146
6226
  value: input.label
@@ -6148,7 +6228,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6148
6228
  path: _path + ".value",
6149
6229
  expected: "(boolean | number | string)",
6150
6230
  value: input.value
6151
- })].every(flag => flag); const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
6231
+ })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
6152
6232
  path: _path + ".key",
6153
6233
  expected: "string",
6154
6234
  value: input.key
@@ -6172,7 +6252,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6172
6252
  path: _path + ".helper",
6173
6253
  expected: "(string | undefined)",
6174
6254
  value: input.helper
6175
- })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => [undefined === input.toolUri || "string" === typeof input.toolUri || $report(_exceptionable, {
6255
+ })].every(flag => flag); const $vo9 = (input, _path, _exceptionable = true) => [undefined === input.toolUri || "string" === typeof input.toolUri || $report(_exceptionable, {
6176
6256
  path: _path + ".toolUri",
6177
6257
  expected: "(string | undefined)",
6178
6258
  value: input.toolUri
@@ -6180,7 +6260,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6180
6260
  path: _path + ".tutorialUri",
6181
6261
  expected: "(string | undefined)",
6182
6262
  value: input.tutorialUri
6183
- })].every(flag => flag); const $vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || $report(_exceptionable, {
6263
+ })].every(flag => flag); const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || $report(_exceptionable, {
6184
6264
  path: _path + ".uri",
6185
6265
  expected: "string",
6186
6266
  value: input.uri
@@ -6196,7 +6276,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6196
6276
  path: _path + ".hardcodedInputs[" + _index17 + "]",
6197
6277
  expected: "JsonBodyInputWithValue",
6198
6278
  value: elem
6199
- })) && $vo10(elem, _path + ".hardcodedInputs[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
6279
+ })) && $vo11(elem, _path + ".hardcodedInputs[" + _index17 + "]", true && _exceptionable) || $report(_exceptionable, {
6200
6280
  path: _path + ".hardcodedInputs[" + _index17 + "]",
6201
6281
  expected: "JsonBodyInputWithValue",
6202
6282
  value: elem
@@ -6240,11 +6320,19 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6240
6320
  path: _path + ".passReddit",
6241
6321
  expected: "(boolean | undefined)",
6242
6322
  value: input.passReddit
6323
+ }), undefined === input.passTelegram || "boolean" === typeof input.passTelegram || $report(_exceptionable, {
6324
+ path: _path + ".passTelegram",
6325
+ expected: "(boolean | undefined)",
6326
+ value: input.passTelegram
6327
+ }), undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster || $report(_exceptionable, {
6328
+ path: _path + ".passFarcaster",
6329
+ expected: "(boolean | undefined)",
6330
+ value: input.passFarcaster
6243
6331
  }), "string" === typeof input.postProcessingJs || $report(_exceptionable, {
6244
6332
  path: _path + ".postProcessingJs",
6245
6333
  expected: "string",
6246
6334
  value: input.postProcessingJs
6247
- })].every(flag => flag); const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
6335
+ })].every(flag => flag); const $vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
6248
6336
  path: _path + ".key",
6249
6337
  expected: "string",
6250
6338
  value: input.key
@@ -6264,7 +6352,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6264
6352
  path: _path + ".headerField",
6265
6353
  expected: "(boolean | undefined)",
6266
6354
  value: input.headerField
6267
- })].every(flag => flag); const $vo11 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.finalized || $report(_exceptionable, {
6355
+ })].every(flag => flag); const $vo12 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.finalized || $report(_exceptionable, {
6268
6356
  path: _path + ".finalized",
6269
6357
  expected: "boolean",
6270
6358
  value: input.finalized
@@ -6314,11 +6402,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6314
6402
  value: input.userInputsSchema
6315
6403
  }), undefined === input.claimCreatorRedirect || ("object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) || $report(_exceptionable, {
6316
6404
  path: _path + ".claimCreatorRedirect",
6317
- expected: "(__type.o4 | undefined)",
6405
+ expected: "(__type.o5 | undefined)",
6318
6406
  value: input.claimCreatorRedirect
6319
- })) && $vo8(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || $report(_exceptionable, {
6407
+ })) && $vo9(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || $report(_exceptionable, {
6320
6408
  path: _path + ".claimCreatorRedirect",
6321
- expected: "(__type.o4 | undefined)",
6409
+ expected: "(__type.o5 | undefined)",
6322
6410
  value: input.claimCreatorRedirect
6323
6411
  }), undefined === input.publicParamsSchema || (Array.isArray(input.publicParamsSchema) || $report(_exceptionable, {
6324
6412
  path: _path + ".publicParamsSchema",
@@ -6354,17 +6442,17 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6354
6442
  value: input.privateParamsSchema
6355
6443
  }), undefined === input.verificationCall || ("object" === typeof input.verificationCall && null !== input.verificationCall || $report(_exceptionable, {
6356
6444
  path: _path + ".verificationCall",
6357
- expected: "(__type.o5 | undefined)",
6445
+ expected: "(__type.o6 | undefined)",
6358
6446
  value: input.verificationCall
6359
- })) && $vo9(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || $report(_exceptionable, {
6447
+ })) && $vo10(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || $report(_exceptionable, {
6360
6448
  path: _path + ".verificationCall",
6361
- expected: "(__type.o5 | undefined)",
6449
+ expected: "(__type.o6 | undefined)",
6362
6450
  value: input.verificationCall
6363
6451
  })].every(flag => flag); const $vu0 = (input, _path, _exceptionable = true) => (() => {
6364
6452
  if ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type)
6365
6453
  return $vo5(input, _path, true && _exceptionable);
6366
6454
  else if ("ownershipRequirements" === input.type || "attestations" === input.type)
6367
- return $vo7(input, _path, true && _exceptionable);
6455
+ return $vo8(input, _path, true && _exceptionable);
6368
6456
  else
6369
6457
  return $report(_exceptionable, {
6370
6458
  path: _path,
@@ -8296,7 +8384,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8296
8384
  }
8297
8385
  async signOut(payload) {
8298
8386
  try {
8299
- 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); const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
8387
+ 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); const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
8300
8388
  path: _path + ".signOutBlockin",
8301
8389
  expected: "boolean",
8302
8390
  value: input.signOutBlockin
@@ -8332,6 +8420,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8332
8420
  path: _path + ".signOutReddit",
8333
8421
  expected: "(boolean | undefined)",
8334
8422
  value: input.signOutReddit
8423
+ }), undefined === input.signOutTelegram || "boolean" === typeof input.signOutTelegram || $report(_exceptionable, {
8424
+ path: _path + ".signOutTelegram",
8425
+ expected: "(boolean | undefined)",
8426
+ value: input.signOutTelegram
8427
+ }), undefined === input.signOutFarcaster || "boolean" === typeof input.signOutFarcaster || $report(_exceptionable, {
8428
+ path: _path + ".signOutFarcaster",
8429
+ expected: "(boolean | undefined)",
8430
+ value: input.signOutFarcaster
8335
8431
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
8336
8432
  if (false === __is(input)) {
8337
8433
  errors = [];