bitbadgesjs-sdk 0.5.45 → 0.5.46

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 +86 -22
  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 +16 -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 +86 -22
  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 +16 -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
@@ -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) && $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, {
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.bluesky || "object" === typeof input.bluesky && null !== input.bluesky && $io29(input.bluesky)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && $io30(input.facebook)) && (undefined === input.googleCalendar || "object" === typeof input.googleCalendar && null !== input.googleCalendar && $io31(input.googleCalendar)) && (undefined === input.linkedIn || "object" === typeof input.linkedIn && null !== input.linkedIn && $io32(input.linkedIn)) && (undefined === input.shopify || "object" === typeof input.shopify && null !== input.shopify && $io33(input.shopify)) && (undefined === input.telegram || "object" === typeof input.telegram && null !== input.telegram && $io34(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && $io35(input.farcaster)) && (undefined === input.slack || "object" === typeof input.slack && null !== input.slack && $io36(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 $io35 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $io36 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const $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
@@ -1025,53 +1025,69 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1025
1025
  path: _path + ".reddit",
1026
1026
  expected: "(__type.o19 | undefined)",
1027
1027
  value: input.reddit
1028
+ }), undefined === input.bluesky || ("object" === typeof input.bluesky && null !== input.bluesky || $report(_exceptionable, {
1029
+ path: _path + ".bluesky",
1030
+ expected: "(__type.o20 | undefined)",
1031
+ value: input.bluesky
1032
+ })) && $vo29(input.bluesky, _path + ".bluesky", true && _exceptionable) || $report(_exceptionable, {
1033
+ path: _path + ".bluesky",
1034
+ expected: "(__type.o20 | undefined)",
1035
+ value: input.bluesky
1028
1036
  }), undefined === input.facebook || ("object" === typeof input.facebook && null !== input.facebook || $report(_exceptionable, {
1029
1037
  path: _path + ".facebook",
1030
- expected: "(__type.o20 | undefined)",
1038
+ expected: "(__type.o21 | undefined)",
1031
1039
  value: input.facebook
1032
- })) && $vo29(input.facebook, _path + ".facebook", true && _exceptionable) || $report(_exceptionable, {
1040
+ })) && $vo30(input.facebook, _path + ".facebook", true && _exceptionable) || $report(_exceptionable, {
1033
1041
  path: _path + ".facebook",
1034
- expected: "(__type.o20 | undefined)",
1042
+ expected: "(__type.o21 | undefined)",
1035
1043
  value: input.facebook
1036
1044
  }), undefined === input.googleCalendar || ("object" === typeof input.googleCalendar && null !== input.googleCalendar || $report(_exceptionable, {
1037
1045
  path: _path + ".googleCalendar",
1038
- expected: "(__type.o21 | undefined)",
1046
+ expected: "(__type.o22 | undefined)",
1039
1047
  value: input.googleCalendar
1040
- })) && $vo30(input.googleCalendar, _path + ".googleCalendar", true && _exceptionable) || $report(_exceptionable, {
1048
+ })) && $vo31(input.googleCalendar, _path + ".googleCalendar", true && _exceptionable) || $report(_exceptionable, {
1041
1049
  path: _path + ".googleCalendar",
1042
- expected: "(__type.o21 | undefined)",
1050
+ expected: "(__type.o22 | undefined)",
1043
1051
  value: input.googleCalendar
1044
1052
  }), undefined === input.linkedIn || ("object" === typeof input.linkedIn && null !== input.linkedIn || $report(_exceptionable, {
1045
1053
  path: _path + ".linkedIn",
1046
- expected: "(__type.o22 | undefined)",
1054
+ expected: "(__type.o23 | undefined)",
1047
1055
  value: input.linkedIn
1048
- })) && $vo31(input.linkedIn, _path + ".linkedIn", true && _exceptionable) || $report(_exceptionable, {
1056
+ })) && $vo32(input.linkedIn, _path + ".linkedIn", true && _exceptionable) || $report(_exceptionable, {
1049
1057
  path: _path + ".linkedIn",
1050
- expected: "(__type.o22 | undefined)",
1058
+ expected: "(__type.o23 | undefined)",
1051
1059
  value: input.linkedIn
1060
+ }), undefined === input.shopify || ("object" === typeof input.shopify && null !== input.shopify || $report(_exceptionable, {
1061
+ path: _path + ".shopify",
1062
+ expected: "(__type.o24 | undefined)",
1063
+ value: input.shopify
1064
+ })) && $vo33(input.shopify, _path + ".shopify", true && _exceptionable) || $report(_exceptionable, {
1065
+ path: _path + ".shopify",
1066
+ expected: "(__type.o24 | undefined)",
1067
+ value: input.shopify
1052
1068
  }), undefined === input.telegram || ("object" === typeof input.telegram && null !== input.telegram || $report(_exceptionable, {
1053
1069
  path: _path + ".telegram",
1054
- expected: "(__type.o23 | undefined)",
1070
+ expected: "(__type.o25 | undefined)",
1055
1071
  value: input.telegram
1056
- })) && $vo32(input.telegram, _path + ".telegram", true && _exceptionable) || $report(_exceptionable, {
1072
+ })) && $vo34(input.telegram, _path + ".telegram", true && _exceptionable) || $report(_exceptionable, {
1057
1073
  path: _path + ".telegram",
1058
- expected: "(__type.o23 | undefined)",
1074
+ expected: "(__type.o25 | undefined)",
1059
1075
  value: input.telegram
1060
1076
  }), undefined === input.farcaster || ("object" === typeof input.farcaster && null !== input.farcaster || $report(_exceptionable, {
1061
1077
  path: _path + ".farcaster",
1062
- expected: "(__type.o24 | undefined)",
1078
+ expected: "(__type.o26 | undefined)",
1063
1079
  value: input.farcaster
1064
- })) && $vo33(input.farcaster, _path + ".farcaster", true && _exceptionable) || $report(_exceptionable, {
1080
+ })) && $vo35(input.farcaster, _path + ".farcaster", true && _exceptionable) || $report(_exceptionable, {
1065
1081
  path: _path + ".farcaster",
1066
- expected: "(__type.o24 | undefined)",
1082
+ expected: "(__type.o26 | undefined)",
1067
1083
  value: input.farcaster
1068
1084
  }), undefined === input.slack || ("object" === typeof input.slack && null !== input.slack || $report(_exceptionable, {
1069
1085
  path: _path + ".slack",
1070
- expected: "(__type.o25 | undefined)",
1086
+ expected: "(__type.o27 | undefined)",
1071
1087
  value: input.slack
1072
- })) && $vo34(input.slack, _path + ".slack", true && _exceptionable) || $report(_exceptionable, {
1088
+ })) && $vo36(input.slack, _path + ".slack", true && _exceptionable) || $report(_exceptionable, {
1073
1089
  path: _path + ".slack",
1074
- expected: "(__type.o25 | undefined)",
1090
+ expected: "(__type.o27 | undefined)",
1075
1091
  value: input.slack
1076
1092
  })].every(flag => flag); const $vo22 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1077
1093
  path: _path + ".username",
@@ -1233,6 +1249,30 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1233
1249
  path: _path + ".lastUpdated",
1234
1250
  expected: "(bigint | number | string)",
1235
1251
  value: input.lastUpdated
1252
+ })].every(flag => flag); const $vo35 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1253
+ path: _path + ".username",
1254
+ expected: "string",
1255
+ value: input.username
1256
+ }), "string" === typeof input.id || $report(_exceptionable, {
1257
+ path: _path + ".id",
1258
+ expected: "string",
1259
+ value: input.id
1260
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1261
+ path: _path + ".lastUpdated",
1262
+ expected: "(bigint | number | string)",
1263
+ value: input.lastUpdated
1264
+ })].every(flag => flag); const $vo36 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || $report(_exceptionable, {
1265
+ path: _path + ".username",
1266
+ expected: "string",
1267
+ value: input.username
1268
+ }), "string" === typeof input.id || $report(_exceptionable, {
1269
+ path: _path + ".id",
1270
+ expected: "string",
1271
+ value: input.id
1272
+ }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || $report(_exceptionable, {
1273
+ path: _path + ".lastUpdated",
1274
+ expected: "(bigint | number | string)",
1275
+ value: input.lastUpdated
1236
1276
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
1237
1277
  if (false === __is(input)) {
1238
1278
  errors = [];
@@ -6050,7 +6090,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6050
6090
  }
6051
6091
  async signOut(payload) {
6052
6092
  try {
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, {
6093
+ 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.signOutBluesky || "boolean" === typeof input.signOutBluesky) && (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) && (undefined === input.signOutShopify || "boolean" === typeof input.signOutShopify); const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
6054
6094
  path: _path + ".signOutBlockin",
6055
6095
  expected: "boolean",
6056
6096
  value: input.signOutBlockin
@@ -6086,6 +6126,10 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6086
6126
  path: _path + ".signOutReddit",
6087
6127
  expected: "(boolean | undefined)",
6088
6128
  value: input.signOutReddit
6129
+ }), undefined === input.signOutBluesky || "boolean" === typeof input.signOutBluesky || $report(_exceptionable, {
6130
+ path: _path + ".signOutBluesky",
6131
+ expected: "(boolean | undefined)",
6132
+ value: input.signOutBluesky
6089
6133
  }), undefined === input.signOutGoogleCalendar || "boolean" === typeof input.signOutGoogleCalendar || $report(_exceptionable, {
6090
6134
  path: _path + ".signOutGoogleCalendar",
6091
6135
  expected: "(boolean | undefined)",
@@ -6114,6 +6158,10 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6114
6158
  path: _path + ".signOutLinkedIn",
6115
6159
  expected: "(boolean | undefined)",
6116
6160
  value: input.signOutLinkedIn
6161
+ }), undefined === input.signOutShopify || "boolean" === typeof input.signOutShopify || $report(_exceptionable, {
6162
+ path: _path + ".signOutShopify",
6163
+ expected: "(boolean | undefined)",
6164
+ value: input.signOutShopify
6117
6165
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
6118
6166
  if (false === __is(input)) {
6119
6167
  errors = [];
@@ -7283,7 +7331,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7283
7331
  }
7284
7332
  async createPlugin(payload) {
7285
7333
  try {
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, {
7334
+ 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) && (undefined === input.passShopify || "boolean" === typeof input.passShopify) && (undefined === input.passBluesky || "boolean" === typeof input.passBluesky) && "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, {
7287
7335
  path: _path + ".pluginId",
7288
7336
  expected: "string",
7289
7337
  value: input.pluginId
@@ -7631,6 +7679,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7631
7679
  path: _path + ".passSlack",
7632
7680
  expected: "(boolean | undefined)",
7633
7681
  value: input.passSlack
7682
+ }), undefined === input.passShopify || "boolean" === typeof input.passShopify || $report(_exceptionable, {
7683
+ path: _path + ".passShopify",
7684
+ expected: "(boolean | undefined)",
7685
+ value: input.passShopify
7686
+ }), undefined === input.passBluesky || "boolean" === typeof input.passBluesky || $report(_exceptionable, {
7687
+ path: _path + ".passBluesky",
7688
+ expected: "(boolean | undefined)",
7689
+ value: input.passBluesky
7634
7690
  }), "string" === typeof input.postProcessingJs || $report(_exceptionable, {
7635
7691
  path: _path + ".postProcessingJs",
7636
7692
  expected: "string",
@@ -7694,7 +7750,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7694
7750
  }
7695
7751
  async updatePlugin(payload) {
7696
7752
  try {
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, {
7753
+ 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) && (undefined === input.passShopify || "boolean" === typeof input.passShopify) && (undefined === input.passBluesky || "boolean" === typeof input.passBluesky) && "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, {
7698
7754
  path: _path + ".pluginId",
7699
7755
  expected: "string",
7700
7756
  value: input.pluginId
@@ -8078,6 +8134,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8078
8134
  path: _path + ".passSlack",
8079
8135
  expected: "(boolean | undefined)",
8080
8136
  value: input.passSlack
8137
+ }), undefined === input.passShopify || "boolean" === typeof input.passShopify || $report(_exceptionable, {
8138
+ path: _path + ".passShopify",
8139
+ expected: "(boolean | undefined)",
8140
+ value: input.passShopify
8141
+ }), undefined === input.passBluesky || "boolean" === typeof input.passBluesky || $report(_exceptionable, {
8142
+ path: _path + ".passBluesky",
8143
+ expected: "(boolean | undefined)",
8144
+ value: input.passBluesky
8081
8145
  }), "string" === typeof input.postProcessingJs || $report(_exceptionable, {
8082
8146
  path: _path + ".postProcessingJs",
8083
8147
  expected: "string",