bitbadgesjs-sdk 0.30.3 → 0.31.0

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 (83) hide show
  1. package/dist/cjs/api-indexer/BitBadgesApi.d.ts +3 -3
  2. package/dist/cjs/api-indexer/BitBadgesApi.d.ts.map +1 -1
  3. package/dist/cjs/api-indexer/BitBadgesApi.js +182 -871
  4. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  5. package/dist/cjs/api-indexer/docs-types/docs.d.ts +49 -98
  6. package/dist/cjs/api-indexer/docs-types/docs.d.ts.map +1 -1
  7. package/dist/cjs/api-indexer/docs-types/docs.js +59 -88
  8. package/dist/cjs/api-indexer/docs-types/docs.js.map +1 -1
  9. package/dist/cjs/api-indexer/docs-types/interfaces.d.ts +23 -203
  10. package/dist/cjs/api-indexer/docs-types/interfaces.d.ts.map +1 -1
  11. package/dist/cjs/api-indexer/docs-types/interfaces.js +0 -1
  12. package/dist/cjs/api-indexer/docs-types/interfaces.js.map +1 -1
  13. package/dist/cjs/api-indexer/requests/requests.d.ts +73 -82
  14. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  15. package/dist/cjs/api-indexer/requests/requests.js +49 -16
  16. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  17. package/dist/cjs/api-indexer/requests/routes.d.ts +1 -1
  18. package/dist/cjs/api-indexer/requests/routes.d.ts.map +1 -1
  19. package/dist/cjs/api-indexer/requests/routes.js +1 -1
  20. package/dist/cjs/api-indexer/requests/routes.js.map +1 -1
  21. package/dist/cjs/common/constants.js +1 -1
  22. package/dist/cjs/common/constants.js.map +1 -1
  23. package/dist/cjs/signing/BitBadgesSigningClient.d.ts +2 -0
  24. package/dist/cjs/signing/BitBadgesSigningClient.d.ts.map +1 -1
  25. package/dist/cjs/signing/BitBadgesSigningClient.js +35 -1
  26. package/dist/cjs/signing/BitBadgesSigningClient.js.map +1 -1
  27. package/dist/cjs/signing/adapters/GenericCosmosAdapter.d.ts +7 -3
  28. package/dist/cjs/signing/adapters/GenericCosmosAdapter.d.ts.map +1 -1
  29. package/dist/cjs/signing/adapters/GenericCosmosAdapter.js +21 -11
  30. package/dist/cjs/signing/adapters/GenericCosmosAdapter.js.map +1 -1
  31. package/dist/cjs/signing/adapters/GenericEvmAdapter.d.ts +20 -0
  32. package/dist/cjs/signing/adapters/GenericEvmAdapter.d.ts.map +1 -1
  33. package/dist/cjs/signing/adapters/GenericEvmAdapter.js +92 -0
  34. package/dist/cjs/signing/adapters/GenericEvmAdapter.js.map +1 -1
  35. package/dist/cjs/signing/adapters/WalletAdapter.d.ts +2 -0
  36. package/dist/cjs/signing/adapters/WalletAdapter.d.ts.map +1 -1
  37. package/dist/cjs/signing/adapters/WalletAdapter.js.map +1 -1
  38. package/dist/cjs/signing/types.d.ts +3 -0
  39. package/dist/cjs/signing/types.d.ts.map +1 -1
  40. package/dist/cjs/signing/types.js +6 -3
  41. package/dist/cjs/signing/types.js.map +1 -1
  42. package/dist/esm/api-indexer/BitBadgesApi.d.ts +3 -3
  43. package/dist/esm/api-indexer/BitBadgesApi.d.ts.map +1 -1
  44. package/dist/esm/api-indexer/BitBadgesApi.js +184 -873
  45. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  46. package/dist/esm/api-indexer/docs-types/docs.d.ts +49 -98
  47. package/dist/esm/api-indexer/docs-types/docs.d.ts.map +1 -1
  48. package/dist/esm/api-indexer/docs-types/docs.js +90 -129
  49. package/dist/esm/api-indexer/docs-types/docs.js.map +1 -1
  50. package/dist/esm/api-indexer/docs-types/interfaces.d.ts +23 -203
  51. package/dist/esm/api-indexer/docs-types/interfaces.d.ts.map +1 -1
  52. package/dist/esm/api-indexer/docs-types/interfaces.js +0 -1
  53. package/dist/esm/api-indexer/docs-types/interfaces.js.map +1 -1
  54. package/dist/esm/api-indexer/requests/requests.d.ts +73 -82
  55. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  56. package/dist/esm/api-indexer/requests/requests.js +48 -16
  57. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  58. package/dist/esm/api-indexer/requests/routes.d.ts +1 -1
  59. package/dist/esm/api-indexer/requests/routes.d.ts.map +1 -1
  60. package/dist/esm/api-indexer/requests/routes.js +1 -1
  61. package/dist/esm/api-indexer/requests/routes.js.map +1 -1
  62. package/dist/esm/common/constants.js +1 -1
  63. package/dist/esm/common/constants.js.map +1 -1
  64. package/dist/esm/signing/BitBadgesSigningClient.d.ts +2 -0
  65. package/dist/esm/signing/BitBadgesSigningClient.d.ts.map +1 -1
  66. package/dist/esm/signing/BitBadgesSigningClient.js +35 -1
  67. package/dist/esm/signing/BitBadgesSigningClient.js.map +1 -1
  68. package/dist/esm/signing/adapters/GenericCosmosAdapter.d.ts +7 -3
  69. package/dist/esm/signing/adapters/GenericCosmosAdapter.d.ts.map +1 -1
  70. package/dist/esm/signing/adapters/GenericCosmosAdapter.js +21 -11
  71. package/dist/esm/signing/adapters/GenericCosmosAdapter.js.map +1 -1
  72. package/dist/esm/signing/adapters/GenericEvmAdapter.d.ts +20 -0
  73. package/dist/esm/signing/adapters/GenericEvmAdapter.d.ts.map +1 -1
  74. package/dist/esm/signing/adapters/GenericEvmAdapter.js +59 -0
  75. package/dist/esm/signing/adapters/GenericEvmAdapter.js.map +1 -1
  76. package/dist/esm/signing/adapters/WalletAdapter.d.ts +2 -0
  77. package/dist/esm/signing/adapters/WalletAdapter.d.ts.map +1 -1
  78. package/dist/esm/signing/adapters/WalletAdapter.js.map +1 -1
  79. package/dist/esm/signing/types.d.ts +3 -0
  80. package/dist/esm/signing/types.d.ts.map +1 -1
  81. package/dist/esm/signing/types.js +6 -3
  82. package/dist/esm/signing/types.js.map +1 -1
  83. package/package.json +1 -1
@@ -7,9 +7,9 @@ import { BitBadgesUserInfo } from './BitBadgesUserInfo.js';
7
7
  import { BaseBitBadgesApi } from './base.js';
8
8
  import { FilterSuggestionsSuccessResponse, GetBalanceByAddressSuccessResponse } from './requests/collections.js';
9
9
  import { GetMapSuccessResponse, GetMapValueSuccessResponse, GetMapValuesSuccessResponse, GetMapsSuccessResponse } from './requests/maps.js';
10
- import { AddApprovalDetailsToOffChainStorageSuccessResponse, AddToIpfsSuccessResponse, BatchStoreActionSuccessResponse, BroadcastTxSuccessResponse, CalculatePointsSuccessResponse, CheckClaimSuccessSuccessResponse, CheckSignInStatusSuccessResponse, CompleteClaimSuccessResponse, CreateApiKeySuccessResponse, CreateApplicationSuccessResponse, CreateClaimSuccessResponse, CreateDeveloperAppSuccessResponse, CreateDynamicDataStoreSuccessResponse, CreatePaymentIntentSuccessResponse, CreatePluginSuccessResponse, CreateSIWBBRequestSuccessResponse, CreateUtilityPageSuccessResponse, DeleteApiKeySuccessResponse, DeleteApplicationSuccessResponse, DeleteClaimSuccessResponse, DeleteDeveloperAppSuccessResponse, DeleteDynamicDataStoreSuccessResponse, DeletePluginSuccessResponse, DeleteSIWBBRequestSuccessResponse, DeleteUtilityPageSuccessResponse, ExchangeSIWBBAuthorizationCodeSuccessResponse, FetchMetadataDirectlySuccessResponse, GenericBlockinVerifySuccessResponse, GenericVerifyAssetsSuccessResponse, GetActiveAuthorizationsSuccessResponse, GetApiKeysSuccessResponse, GetApplicationSuccessResponse, GetApplicationsSuccessResponse, GetAttemptDataFromRequestBinSuccessResponse, GetBrowseSuccessResponse, GetClaimAttemptStatusSuccessResponse, GetClaimAttemptsSuccessResponse, GetClaimSuccessResponse, GetClaimsSuccessResponse, GetCollectionAmountTrackerByIdSuccessResponse, GetCollectionChallengeTrackerByIdSuccessResponse, GetDeveloperAppSuccessResponse, GetDeveloperAppsSuccessResponse, GetDynamicDataActivitySuccessResponse, GetDynamicDataStoreSuccessResponse, GetDynamicDataStoreValueSuccessResponse, GetDynamicDataStoreValuesPaginatedSuccessResponse, GetDynamicDataStoresSuccessResponse, GetSwapActivitiesSuccessResponse, GetOnChainDynamicStoreSuccessResponse, GetOnChainDynamicStoresByCreatorSuccessResponse, GetOnChainDynamicStoreValueSuccessResponse, GetOnChainDynamicStoreValuesPaginatedSuccessResponse, GetGatedContentForClaimSuccessResponse, GetPluginErrorsSuccessResponse, GetPluginSuccessResponse, GetPluginsSuccessResponse, GetPointsActivitySuccessResponse, GetReservedClaimCodesSuccessResponse, GetSIWBBRequestsForDeveloperAppSuccessResponse, GetSearchSuccessResponse, GetSignInChallengeSuccessResponse, GetStatusSuccessResponse, GetTokensFromFaucetSuccessResponse, GetUtilityPageSuccessResponse, GetUtilityPagesSuccessResponse, OauthRevokeSuccessResponse, PerformStoreActionSuccessResponse, RotateApiKeySuccessResponse, RotateSIWBBRequestSuccessResponse, ScheduleTokenRefreshSuccessResponse, SearchApplicationsSuccessResponse, SearchClaimsSuccessResponse, SearchDeveloperAppsSuccessResponse, SearchDynamicDataStoresSuccessResponse, SearchPluginsSuccessResponse, SearchUtilityPagesSuccessResponse, SignOutSuccessResponse, SimulateClaimSuccessResponse, SimulateTxSuccessResponse, UpdateAccountInfoSuccessResponse, UpdateApplicationSuccessResponse, UpdateClaimSuccessResponse, UpdateDeveloperAppSuccessResponse, UpdateDynamicDataStoreSuccessResponse, UpdatePluginSuccessResponse, UpdateUtilityPageSuccessResponse, VerifySignInSuccessResponse } from './requests/requests.js';
10
+ import { AddApprovalDetailsToOffChainStorageSuccessResponse, AddToIpfsSuccessResponse, BatchStoreActionSuccessResponse, BroadcastTxSuccessResponse, CalculatePointsSuccessResponse, CheckClaimSuccessSuccessResponse, CheckSignInStatusSuccessResponse, CompleteClaimSuccessResponse, CreateApiKeySuccessResponse, CreateApplicationSuccessResponse, CreateClaimSuccessResponse, CreateDeveloperAppSuccessResponse, CreateDynamicDataStoreSuccessResponse, CreatePaymentIntentSuccessResponse, CreatePluginSuccessResponse, CreateSIWBBRequestSuccessResponse, CreateUtilityPageSuccessResponse, DeleteApiKeySuccessResponse, DeleteApplicationSuccessResponse, DeleteClaimSuccessResponse, DeleteDeveloperAppSuccessResponse, DeleteDynamicDataStoreSuccessResponse, DeletePluginSuccessResponse, DeleteSIWBBRequestSuccessResponse, DeleteUtilityPageSuccessResponse, ExchangeSIWBBAuthorizationCodeSuccessResponse, FetchMetadataDirectlySuccessResponse, GenericBlockinVerifySuccessResponse, GenericVerifyAssetsSuccessResponse, GetActiveAuthorizationsSuccessResponse, GetApiKeysSuccessResponse, GetApplicationSuccessResponse, GetApplicationsSuccessResponse, GetBrowseSuccessResponse, GetClaimAttemptStatusSuccessResponse, GetClaimAttemptsSuccessResponse, GetClaimSuccessResponse, GetClaimsSuccessResponse, GetCollectionAmountTrackerByIdSuccessResponse, GetCollectionChallengeTrackerByIdSuccessResponse, GetDeveloperAppSuccessResponse, GetDeveloperAppsSuccessResponse, GetDynamicDataActivitySuccessResponse, GetDynamicDataStoreSuccessResponse, GetDynamicDataStoreValueSuccessResponse, GetDynamicDataStoreValuesPaginatedSuccessResponse, GetDynamicDataStoresSuccessResponse, GetGatedContentForClaimSuccessResponse, GetOnChainDynamicStoreSuccessResponse, GetOnChainDynamicStoreValueSuccessResponse, GetOnChainDynamicStoreValuesPaginatedSuccessResponse, GetOnChainDynamicStoresByCreatorSuccessResponse, GetPluginErrorsSuccessResponse, GetPluginSuccessResponse, GetPluginsSuccessResponse, GetPointsActivitySuccessResponse, GetReservedClaimCodesSuccessResponse, GetSIWBBRequestsForDeveloperAppSuccessResponse, GetSearchSuccessResponse, GetSignInChallengeSuccessResponse, GetStatusSuccessResponse, GetSwapActivitiesSuccessResponse, GetTokensFromFaucetSuccessResponse, GetUtilityPageSuccessResponse, GetUtilityPagesSuccessResponse, OauthRevokeSuccessResponse, PerformStoreActionSuccessResponse, RotateApiKeySuccessResponse, RotateSIWBBRequestSuccessResponse, ScheduleTokenRefreshSuccessResponse, SearchApplicationsSuccessResponse, SearchClaimsSuccessResponse, SearchDeveloperAppsSuccessResponse, SearchDynamicDataStoresSuccessResponse, SearchPluginsSuccessResponse, SearchUtilityPagesSuccessResponse, SignOutSuccessResponse, SimulateClaimSuccessResponse, SimulateTxSuccessResponse, UpdateAccountInfoSuccessResponse, UpdateApplicationSuccessResponse, UpdateClaimSuccessResponse, UpdateDeveloperAppSuccessResponse, UpdateDynamicDataStoreSuccessResponse, UpdatePluginSuccessResponse, UpdateUtilityPageSuccessResponse, VerifySignInSuccessResponse } from './requests/requests.js';
11
11
  import { BitBadgesApiRoutes } from './requests/routes.js';
12
- import { GetTokenMetadataSuccessResponse, GetTokensViewForUserSuccessResponse, GetClaimActivityForUserSuccessResponse, GetCollectionAmountTrackersSuccessResponse, GetCollectionChallengeTrackersSuccessResponse, GetCollectionClaimsSuccessResponse, GetCollectionListingsSuccessResponse, GetCollectionOwnersSuccessResponse, GetCollectionSuccessResponse, GetCollectionTransferActivitySuccessResponse, GetPointsActivityForUserSuccessResponse, GetSiwbbRequestsForUserSuccessResponse, GetTransferActivityForUserSuccessResponse } from './requests/wrappers.js';
12
+ import { GetClaimActivityForUserSuccessResponse, GetCollectionAmountTrackersSuccessResponse, GetCollectionChallengeTrackersSuccessResponse, GetCollectionClaimsSuccessResponse, GetCollectionListingsSuccessResponse, GetCollectionOwnersSuccessResponse, GetCollectionSuccessResponse, GetCollectionTransferActivitySuccessResponse, GetPointsActivityForUserSuccessResponse, GetSiwbbRequestsForUserSuccessResponse, GetTokenMetadataSuccessResponse, GetTokensViewForUserSuccessResponse, GetTransferActivityForUserSuccessResponse } from './requests/wrappers.js';
13
13
  import { DeleteConnectedAccountSuccessResponse, GetConnectedAccountsSuccessResponse } from './responses/stripe.js';
14
14
  export class BitBadgesAPI extends BaseBitBadgesApi {
15
15
  constructor(apiDetails) {
@@ -3452,7 +3452,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3452
3452
  }
3453
3453
  async getClaimAttempts(claimId, payload) {
3454
3454
  try {
3455
- const validateRes = (() => { const _io0 = input => (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.includeErrors || "boolean" === typeof input.includeErrors) && (undefined === input.address || "string" === typeof input.address) && (undefined === input.includeRequestBinAttemptData || "boolean" === typeof input.includeRequestBinAttemptData); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || _report(_exceptionable, {
3455
+ const validateRes = (() => { const _io0 = input => (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.includeErrors || "boolean" === typeof input.includeErrors) && (undefined === input.address || "string" === typeof input.address); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || _report(_exceptionable, {
3456
3456
  path: _path + ".bookmark",
3457
3457
  expected: "(string | undefined)",
3458
3458
  value: input.bookmark
@@ -3464,10 +3464,6 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3464
3464
  path: _path + ".address",
3465
3465
  expected: "(string | undefined)",
3466
3466
  value: input.address
3467
- }), undefined === input.includeRequestBinAttemptData || "boolean" === typeof input.includeRequestBinAttemptData || _report(_exceptionable, {
3468
- path: _path + ".includeRequestBinAttemptData",
3469
- expected: "(boolean | undefined)",
3470
- value: input.includeRequestBinAttemptData
3471
3467
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
3472
3468
  if (false === __is(input)) {
3473
3469
  errors = [];
@@ -4459,7 +4455,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4459
4455
  }
4460
4456
  async getPlugins(payload) {
4461
4457
  try {
4462
- const validateRes = (() => { const _io0 = input => Array.isArray(input.pluginIds) && input.pluginIds.every(elem => "string" === typeof elem) && (undefined === input.inviteCode || "string" === typeof input.inviteCode); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.pluginIds) || _report(_exceptionable, {
4458
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.pluginIds) && input.pluginIds.every(elem => "string" === typeof elem) && (undefined === input.returnSensitiveData || "boolean" === typeof input.returnSensitiveData); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.pluginIds) || _report(_exceptionable, {
4463
4459
  path: _path + ".pluginIds",
4464
4460
  expected: "Array<string>",
4465
4461
  value: input.pluginIds
@@ -4471,10 +4467,10 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4471
4467
  path: _path + ".pluginIds",
4472
4468
  expected: "Array<string>",
4473
4469
  value: input.pluginIds
4474
- }), undefined === input.inviteCode || "string" === typeof input.inviteCode || _report(_exceptionable, {
4475
- path: _path + ".inviteCode",
4476
- expected: "(string | undefined)",
4477
- value: input.inviteCode
4470
+ }), undefined === input.returnSensitiveData || "boolean" === typeof input.returnSensitiveData || _report(_exceptionable, {
4471
+ path: _path + ".returnSensitiveData",
4472
+ expected: "(boolean | undefined)",
4473
+ value: input.returnSensitiveData
4478
4474
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
4479
4475
  if (false === __is(input)) {
4480
4476
  errors = [];
@@ -5169,16 +5165,6 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5169
5165
  return Promise.reject(error);
5170
5166
  }
5171
5167
  }
5172
- async getAttemptDataFromRequestBin(claimId, claimAttemptId, payload) {
5173
- try {
5174
- const response = await this.axios.get(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetAttemptDataFromRequestBinRoute(claimId, claimAttemptId)}`, { params: payload });
5175
- return new GetAttemptDataFromRequestBinSuccessResponse(response.data);
5176
- }
5177
- catch (error) {
5178
- await this.handleApiError(error);
5179
- return Promise.reject(error);
5180
- }
5181
- }
5182
5168
  async getSwapActivities(payload) {
5183
5169
  try {
5184
5170
  const validateRes = (() => { const _io0 = input => undefined === input.bookmark || "string" === typeof input.bookmark; const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || _report(_exceptionable, {
@@ -5350,14 +5336,10 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5350
5336
  }
5351
5337
  async createPlugin(payload) {
5352
5338
  try {
5353
- 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)) && (undefined === input.locale || "string" === typeof input.locale); 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 && false === Array.isArray(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 => (undefined === input.baseUri || "string" === typeof input.baseUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); 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) && (undefined === input.testerUri || "string" === typeof input.testerUri); 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.passYoutube || "boolean" === typeof input.passYoutube) && (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.passMeetup || "boolean" === typeof input.passMeetup) && (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, {
5339
+ const validateRes = (() => { const _io0 = input => "string" === typeof input.pluginId && ("object" === typeof input.metadata && null !== input.metadata && _io1(input.metadata)) && "boolean" === typeof input.toPublish && ("object" === typeof input.initialVersion && null !== input.initialVersion && _io2(input.initialVersion)) && (undefined === input.locale || "string" === typeof input.locale); 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 || "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 && "boolean" === typeof input.requiresSessions && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.publicParamsSchema || Array.isArray(input.publicParamsSchema) && input.publicParamsSchema.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.privateParamsSchema || Array.isArray(input.privateParamsSchema) && input.privateParamsSchema.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && _io6(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); const _io3 = input => "string" === typeof input.key && "string" === typeof input.label && "string" === typeof input.type && (undefined === input.hyperlink || "object" === typeof input.hyperlink && null !== input.hyperlink && _io4(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 && _io5(elem))) && (undefined === input.arrayField || "boolean" === typeof input.arrayField); const _io4 = input => "string" === typeof input.url && (undefined === input.showAsGenericView || "boolean" === typeof input.showAsGenericView); 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.uri && (Array.isArray(input.hardcodedInputs) && input.hardcodedInputs.every(elem => "object" === typeof elem && null !== elem && _io7(elem))) && (undefined === input.passAddress || "boolean" === typeof input.passAddress); const _io7 = 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, {
5354
5340
  path: _path + ".pluginId",
5355
5341
  expected: "string",
5356
5342
  value: input.pluginId
5357
- }), undefined === input.inviteCode || "string" === typeof input.inviteCode || _report(_exceptionable, {
5358
- path: _path + ".inviteCode",
5359
- expected: "(string | undefined)",
5360
- value: input.inviteCode
5361
5343
  }), ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
5362
5344
  path: _path + ".metadata",
5363
5345
  expected: "__type",
@@ -5370,18 +5352,6 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5370
5352
  path: _path + ".toPublish",
5371
5353
  expected: "boolean",
5372
5354
  value: input.toPublish
5373
- }), undefined === input.approvedUsers || (Array.isArray(input.approvedUsers) || _report(_exceptionable, {
5374
- path: _path + ".approvedUsers",
5375
- expected: "(Array<string> | undefined)",
5376
- value: input.approvedUsers
5377
- })) && input.approvedUsers.map((elem, _index7) => "string" === typeof elem || _report(_exceptionable, {
5378
- path: _path + ".approvedUsers[" + _index7 + "]",
5379
- expected: "string",
5380
- value: elem
5381
- })).every(flag => flag) || _report(_exceptionable, {
5382
- path: _path + ".approvedUsers",
5383
- expected: "(Array<string> | undefined)",
5384
- value: input.approvedUsers
5385
5355
  }), ("object" === typeof input.initialVersion && null !== input.initialVersion || _report(_exceptionable, {
5386
5356
  path: _path + ".initialVersion",
5387
5357
  expected: "PluginVersionConfigPayload",
@@ -5430,9 +5400,9 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5430
5400
  path: _path + ".finalized",
5431
5401
  expected: "boolean",
5432
5402
  value: input.finalized
5433
- }), "Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || _report(_exceptionable, {
5403
+ }), "Stateless" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || _report(_exceptionable, {
5434
5404
  path: _path + ".stateFunctionPreset",
5435
- expected: "(\"ClaimNumbers\" | \"ClaimToken\" | \"CustomResponseHandler\" | \"Stateless\" | \"Usernames\")",
5405
+ expected: "(\"ClaimNumbers\" | \"ClaimToken\" | \"CustomResponseHandler\" | \"Stateless\")",
5436
5406
  value: input.stateFunctionPreset
5437
5407
  }), "boolean" === typeof input.duplicatesAllowed || _report(_exceptionable, {
5438
5408
  path: _path + ".duplicatesAllowed",
@@ -5458,48 +5428,36 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5458
5428
  path: _path + ".requiresUserInputs",
5459
5429
  expected: "boolean",
5460
5430
  value: input.requiresUserInputs
5461
- }), undefined === input.userInputRedirect || ("object" === typeof input.userInputRedirect && null !== input.userInputRedirect && false === Array.isArray(input.userInputRedirect) || _report(_exceptionable, {
5462
- path: _path + ".userInputRedirect",
5463
- expected: "(__type.o1 | undefined)",
5464
- value: input.userInputRedirect
5465
- })) && _vo3(input.userInputRedirect, _path + ".userInputRedirect", true && _exceptionable) || _report(_exceptionable, {
5466
- path: _path + ".userInputRedirect",
5467
- expected: "(__type.o1 | undefined)",
5468
- value: input.userInputRedirect
5431
+ }), "boolean" === typeof input.requiresSessions || _report(_exceptionable, {
5432
+ path: _path + ".requiresSessions",
5433
+ expected: "boolean",
5434
+ value: input.requiresSessions
5469
5435
  }), undefined === input.userInputsSchema || (Array.isArray(input.userInputsSchema) || _report(_exceptionable, {
5470
5436
  path: _path + ".userInputsSchema",
5471
5437
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5472
5438
  value: input.userInputsSchema
5473
- })) && input.userInputsSchema.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5474
- path: _path + ".userInputsSchema[" + _index8 + "]",
5439
+ })) && input.userInputsSchema.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5440
+ path: _path + ".userInputsSchema[" + _index6 + "]",
5475
5441
  expected: "JsonBodyInputSchema",
5476
5442
  value: elem
5477
- })) && _vo4(elem, _path + ".userInputsSchema[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
5478
- path: _path + ".userInputsSchema[" + _index8 + "]",
5443
+ })) && _vo3(elem, _path + ".userInputsSchema[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
5444
+ path: _path + ".userInputsSchema[" + _index6 + "]",
5479
5445
  expected: "JsonBodyInputSchema",
5480
5446
  value: elem
5481
5447
  })).every(flag => flag) || _report(_exceptionable, {
5482
5448
  path: _path + ".userInputsSchema",
5483
5449
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5484
5450
  value: input.userInputsSchema
5485
- }), undefined === input.claimCreatorRedirect || ("object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) || _report(_exceptionable, {
5486
- path: _path + ".claimCreatorRedirect",
5487
- expected: "(__type.o4 | undefined)",
5488
- value: input.claimCreatorRedirect
5489
- })) && _vo7(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || _report(_exceptionable, {
5490
- path: _path + ".claimCreatorRedirect",
5491
- expected: "(__type.o4 | undefined)",
5492
- value: input.claimCreatorRedirect
5493
5451
  }), undefined === input.publicParamsSchema || (Array.isArray(input.publicParamsSchema) || _report(_exceptionable, {
5494
5452
  path: _path + ".publicParamsSchema",
5495
5453
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5496
5454
  value: input.publicParamsSchema
5497
- })) && input.publicParamsSchema.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5498
- path: _path + ".publicParamsSchema[" + _index9 + "]",
5455
+ })) && input.publicParamsSchema.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5456
+ path: _path + ".publicParamsSchema[" + _index7 + "]",
5499
5457
  expected: "JsonBodyInputSchema",
5500
5458
  value: elem
5501
- })) && _vo4(elem, _path + ".publicParamsSchema[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
5502
- path: _path + ".publicParamsSchema[" + _index9 + "]",
5459
+ })) && _vo3(elem, _path + ".publicParamsSchema[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
5460
+ path: _path + ".publicParamsSchema[" + _index7 + "]",
5503
5461
  expected: "JsonBodyInputSchema",
5504
5462
  value: elem
5505
5463
  })).every(flag => flag) || _report(_exceptionable, {
@@ -5510,12 +5468,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5510
5468
  path: _path + ".privateParamsSchema",
5511
5469
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5512
5470
  value: input.privateParamsSchema
5513
- })) && input.privateParamsSchema.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5514
- path: _path + ".privateParamsSchema[" + _index10 + "]",
5471
+ })) && input.privateParamsSchema.map((elem, _index8) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5472
+ path: _path + ".privateParamsSchema[" + _index8 + "]",
5515
5473
  expected: "JsonBodyInputSchema",
5516
5474
  value: elem
5517
- })) && _vo4(elem, _path + ".privateParamsSchema[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
5518
- path: _path + ".privateParamsSchema[" + _index10 + "]",
5475
+ })) && _vo3(elem, _path + ".privateParamsSchema[" + _index8 + "]", true && _exceptionable) || _report(_exceptionable, {
5476
+ path: _path + ".privateParamsSchema[" + _index8 + "]",
5519
5477
  expected: "JsonBodyInputSchema",
5520
5478
  value: elem
5521
5479
  })).every(flag => flag) || _report(_exceptionable, {
@@ -5524,11 +5482,11 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5524
5482
  value: input.privateParamsSchema
5525
5483
  }), undefined === input.verificationCall || ("object" === typeof input.verificationCall && null !== input.verificationCall || _report(_exceptionable, {
5526
5484
  path: _path + ".verificationCall",
5527
- expected: "(__type.o5 | undefined)",
5485
+ expected: "(__type.o3 | undefined)",
5528
5486
  value: input.verificationCall
5529
- })) && _vo8(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || _report(_exceptionable, {
5487
+ })) && _vo6(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || _report(_exceptionable, {
5530
5488
  path: _path + ".verificationCall",
5531
- expected: "(__type.o5 | undefined)",
5489
+ expected: "(__type.o3 | undefined)",
5532
5490
  value: input.verificationCall
5533
5491
  }), undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn || _report(_exceptionable, {
5534
5492
  path: _path + ".requireSignIn",
@@ -5538,15 +5496,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5538
5496
  path: _path + ".customDetailsDisplay",
5539
5497
  expected: "(string | undefined)",
5540
5498
  value: input.customDetailsDisplay
5541
- })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [undefined === input.baseUri || "string" === typeof input.baseUri || _report(_exceptionable, {
5542
- path: _path + ".baseUri",
5543
- expected: "(string | undefined)",
5544
- value: input.baseUri
5545
- }), undefined === input.tutorialUri || "string" === typeof input.tutorialUri || _report(_exceptionable, {
5546
- path: _path + ".tutorialUri",
5547
- expected: "(string | undefined)",
5548
- value: input.tutorialUri
5549
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
5499
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
5550
5500
  path: _path + ".key",
5551
5501
  expected: "string",
5552
5502
  value: input.key
@@ -5560,11 +5510,11 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5560
5510
  value: input.type
5561
5511
  }), undefined === input.hyperlink || ("object" === typeof input.hyperlink && null !== input.hyperlink || _report(_exceptionable, {
5562
5512
  path: _path + ".hyperlink",
5563
- expected: "(__type.o2 | undefined)",
5513
+ expected: "(__type.o1 | undefined)",
5564
5514
  value: input.hyperlink
5565
- })) && _vo5(input.hyperlink, _path + ".hyperlink", true && _exceptionable) || _report(_exceptionable, {
5515
+ })) && _vo4(input.hyperlink, _path + ".hyperlink", true && _exceptionable) || _report(_exceptionable, {
5566
5516
  path: _path + ".hyperlink",
5567
- expected: "(__type.o2 | undefined)",
5517
+ expected: "(__type.o1 | undefined)",
5568
5518
  value: input.hyperlink
5569
5519
  }), undefined === input.helper || "string" === typeof input.helper || _report(_exceptionable, {
5570
5520
  path: _path + ".helper",
@@ -5590,13 +5540,13 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5590
5540
  path: _path + ".options",
5591
5541
  expected: "(Array<__type> | undefined)",
5592
5542
  value: input.options
5593
- })) && input.options.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5594
- path: _path + ".options[" + _index11 + "]",
5595
- expected: "__type.o3",
5543
+ })) && input.options.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5544
+ path: _path + ".options[" + _index9 + "]",
5545
+ expected: "__type.o2",
5596
5546
  value: elem
5597
- })) && _vo6(elem, _path + ".options[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
5598
- path: _path + ".options[" + _index11 + "]",
5599
- expected: "__type.o3",
5547
+ })) && _vo5(elem, _path + ".options[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
5548
+ path: _path + ".options[" + _index9 + "]",
5549
+ expected: "__type.o2",
5600
5550
  value: elem
5601
5551
  })).every(flag => flag) || _report(_exceptionable, {
5602
5552
  path: _path + ".options",
@@ -5606,7 +5556,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5606
5556
  path: _path + ".arrayField",
5607
5557
  expected: "(boolean | undefined)",
5608
5558
  value: input.arrayField
5609
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || _report(_exceptionable, {
5559
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || _report(_exceptionable, {
5610
5560
  path: _path + ".url",
5611
5561
  expected: "string",
5612
5562
  value: input.url
@@ -5614,7 +5564,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5614
5564
  path: _path + ".showAsGenericView",
5615
5565
  expected: "(boolean | undefined)",
5616
5566
  value: input.showAsGenericView
5617
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
5567
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
5618
5568
  path: _path + ".label",
5619
5569
  expected: "string",
5620
5570
  value: input.label
@@ -5622,36 +5572,20 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5622
5572
  path: _path + ".value",
5623
5573
  expected: "(boolean | number | string)",
5624
5574
  value: input.value
5625
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => [undefined === input.toolUri || "string" === typeof input.toolUri || _report(_exceptionable, {
5626
- path: _path + ".toolUri",
5627
- expected: "(string | undefined)",
5628
- value: input.toolUri
5629
- }), undefined === input.tutorialUri || "string" === typeof input.tutorialUri || _report(_exceptionable, {
5630
- path: _path + ".tutorialUri",
5631
- expected: "(string | undefined)",
5632
- value: input.tutorialUri
5633
- }), undefined === input.testerUri || "string" === typeof input.testerUri || _report(_exceptionable, {
5634
- path: _path + ".testerUri",
5635
- expected: "(string | undefined)",
5636
- value: input.testerUri
5637
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || _report(_exceptionable, {
5575
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || _report(_exceptionable, {
5638
5576
  path: _path + ".uri",
5639
5577
  expected: "string",
5640
5578
  value: input.uri
5641
- }), "POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method || _report(_exceptionable, {
5642
- path: _path + ".method",
5643
- expected: "(\"DELETE\" | \"GET\" | \"POST\" | \"PUT\")",
5644
- value: input.method
5645
5579
  }), (Array.isArray(input.hardcodedInputs) || _report(_exceptionable, {
5646
5580
  path: _path + ".hardcodedInputs",
5647
5581
  expected: "Array<JsonBodyInputWithValue>",
5648
5582
  value: input.hardcodedInputs
5649
- })) && input.hardcodedInputs.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5650
- path: _path + ".hardcodedInputs[" + _index12 + "]",
5583
+ })) && input.hardcodedInputs.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5584
+ path: _path + ".hardcodedInputs[" + _index10 + "]",
5651
5585
  expected: "JsonBodyInputWithValue",
5652
5586
  value: elem
5653
- })) && _vo9(elem, _path + ".hardcodedInputs[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
5654
- path: _path + ".hardcodedInputs[" + _index12 + "]",
5587
+ })) && _vo7(elem, _path + ".hardcodedInputs[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
5588
+ path: _path + ".hardcodedInputs[" + _index10 + "]",
5655
5589
  expected: "JsonBodyInputWithValue",
5656
5590
  value: elem
5657
5591
  })).every(flag => flag) || _report(_exceptionable, {
@@ -5662,75 +5596,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5662
5596
  path: _path + ".passAddress",
5663
5597
  expected: "(boolean | undefined)",
5664
5598
  value: input.passAddress
5665
- }), undefined === input.passDiscord || "boolean" === typeof input.passDiscord || _report(_exceptionable, {
5666
- path: _path + ".passDiscord",
5667
- expected: "(boolean | undefined)",
5668
- value: input.passDiscord
5669
- }), undefined === input.passEmail || "boolean" === typeof input.passEmail || _report(_exceptionable, {
5670
- path: _path + ".passEmail",
5671
- expected: "(boolean | undefined)",
5672
- value: input.passEmail
5673
- }), undefined === input.passTwitter || "boolean" === typeof input.passTwitter || _report(_exceptionable, {
5674
- path: _path + ".passTwitter",
5675
- expected: "(boolean | undefined)",
5676
- value: input.passTwitter
5677
- }), undefined === input.passGoogle || "boolean" === typeof input.passGoogle || _report(_exceptionable, {
5678
- path: _path + ".passGoogle",
5679
- expected: "(boolean | undefined)",
5680
- value: input.passGoogle
5681
- }), undefined === input.passYoutube || "boolean" === typeof input.passYoutube || _report(_exceptionable, {
5682
- path: _path + ".passYoutube",
5683
- expected: "(boolean | undefined)",
5684
- value: input.passYoutube
5685
- }), undefined === input.passGithub || "boolean" === typeof input.passGithub || _report(_exceptionable, {
5686
- path: _path + ".passGithub",
5687
- expected: "(boolean | undefined)",
5688
- value: input.passGithub
5689
- }), undefined === input.passStrava || "boolean" === typeof input.passStrava || _report(_exceptionable, {
5690
- path: _path + ".passStrava",
5691
- expected: "(boolean | undefined)",
5692
- value: input.passStrava
5693
- }), undefined === input.passTwitch || "boolean" === typeof input.passTwitch || _report(_exceptionable, {
5694
- path: _path + ".passTwitch",
5695
- expected: "(boolean | undefined)",
5696
- value: input.passTwitch
5697
- }), undefined === input.passReddit || "boolean" === typeof input.passReddit || _report(_exceptionable, {
5698
- path: _path + ".passReddit",
5699
- expected: "(boolean | undefined)",
5700
- value: input.passReddit
5701
- }), undefined === input.passMeetup || "boolean" === typeof input.passMeetup || _report(_exceptionable, {
5702
- path: _path + ".passMeetup",
5703
- expected: "(boolean | undefined)",
5704
- value: input.passMeetup
5705
- }), undefined === input.passFacebook || "boolean" === typeof input.passFacebook || _report(_exceptionable, {
5706
- path: _path + ".passFacebook",
5707
- expected: "(boolean | undefined)",
5708
- value: input.passFacebook
5709
- }), undefined === input.passTelegram || "boolean" === typeof input.passTelegram || _report(_exceptionable, {
5710
- path: _path + ".passTelegram",
5711
- expected: "(boolean | undefined)",
5712
- value: input.passTelegram
5713
- }), undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster || _report(_exceptionable, {
5714
- path: _path + ".passFarcaster",
5715
- expected: "(boolean | undefined)",
5716
- value: input.passFarcaster
5717
- }), undefined === input.passSlack || "boolean" === typeof input.passSlack || _report(_exceptionable, {
5718
- path: _path + ".passSlack",
5719
- expected: "(boolean | undefined)",
5720
- value: input.passSlack
5721
- }), undefined === input.passShopify || "boolean" === typeof input.passShopify || _report(_exceptionable, {
5722
- path: _path + ".passShopify",
5723
- expected: "(boolean | undefined)",
5724
- value: input.passShopify
5725
- }), undefined === input.passBluesky || "boolean" === typeof input.passBluesky || _report(_exceptionable, {
5726
- path: _path + ".passBluesky",
5727
- expected: "(boolean | undefined)",
5728
- value: input.passBluesky
5729
- }), "string" === typeof input.postProcessingJs || _report(_exceptionable, {
5730
- path: _path + ".postProcessingJs",
5731
- expected: "string",
5732
- value: input.postProcessingJs
5733
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
5599
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
5734
5600
  path: _path + ".key",
5735
5601
  expected: "string",
5736
5602
  value: input.key
@@ -5791,18 +5657,10 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5791
5657
  }
5792
5658
  async updatePlugin(payload) {
5793
5659
  try {
5794
- 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)) && (undefined === input.locale || "string" === typeof input.locale); 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 && false === Array.isArray(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 => (undefined === input.baseUri || "string" === typeof input.baseUri) && (undefined === input.tutorialUri || "string" === typeof input.tutorialUri); 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) && (undefined === input.testerUri || "string" === typeof input.testerUri); 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.passYoutube || "boolean" === typeof input.passYoutube) && (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.passMeetup || "boolean" === typeof input.passMeetup) && (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 && false === Array.isArray(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, {
5660
+ const validateRes = (() => { const _io0 = input => "string" === typeof input.pluginId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io1(input.metadata)) && (undefined === input.toPublish || "boolean" === typeof input.toPublish) && (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 && _io9(input.versionCreate)) && (undefined === input.locale || "string" === typeof input.locale); 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 || "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.requiresSessions || "boolean" === typeof input.requiresSessions) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (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 && _io7(input.verificationCall)) && (undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn) && (undefined === input.customDetailsDisplay || "string" === typeof input.customDetailsDisplay); 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 => "string" === typeof input.uri && (Array.isArray(input.hardcodedInputs) && input.hardcodedInputs.every(elem => "object" === typeof elem && null !== elem && _io8(elem))) && (undefined === input.passAddress || "boolean" === typeof input.passAddress); const _io8 = 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 _io9 = input => "boolean" === typeof input.finalized && ("Stateless" === 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 && "boolean" === typeof input.requiresSessions && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && _io4(elem))) && (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 && _io7(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, {
5795
5661
  path: _path + ".pluginId",
5796
5662
  expected: "string",
5797
5663
  value: input.pluginId
5798
- }), undefined === input.inviteCode || "string" === typeof input.inviteCode || _report(_exceptionable, {
5799
- path: _path + ".inviteCode",
5800
- expected: "(string | undefined)",
5801
- value: input.inviteCode
5802
- }), undefined === input.removeSelfFromApprovedUsers || "boolean" === typeof input.removeSelfFromApprovedUsers || _report(_exceptionable, {
5803
- path: _path + ".removeSelfFromApprovedUsers",
5804
- expected: "(boolean | undefined)",
5805
- value: input.removeSelfFromApprovedUsers
5806
5664
  }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
5807
5665
  path: _path + ".metadata",
5808
5666
  expected: "(__type | undefined)",
@@ -5815,18 +5673,6 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5815
5673
  path: _path + ".toPublish",
5816
5674
  expected: "(boolean | undefined)",
5817
5675
  value: input.toPublish
5818
- }), undefined === input.approvedUsers || (Array.isArray(input.approvedUsers) || _report(_exceptionable, {
5819
- path: _path + ".approvedUsers",
5820
- expected: "(Array<string> | undefined)",
5821
- value: input.approvedUsers
5822
- })) && input.approvedUsers.map((elem, _index11) => "string" === typeof elem || _report(_exceptionable, {
5823
- path: _path + ".approvedUsers[" + _index11 + "]",
5824
- expected: "string",
5825
- value: elem
5826
- })).every(flag => flag) || _report(_exceptionable, {
5827
- path: _path + ".approvedUsers",
5828
- expected: "(Array<string> | undefined)",
5829
- value: input.approvedUsers
5830
5676
  }), undefined === input.rotatePluginSecret || "boolean" === typeof input.rotatePluginSecret || _report(_exceptionable, {
5831
5677
  path: _path + ".rotatePluginSecret",
5832
5678
  expected: "(boolean | undefined)",
@@ -5835,12 +5681,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5835
5681
  path: _path + ".versionUpdates",
5836
5682
  expected: "(Array<__type> | undefined)",
5837
5683
  value: input.versionUpdates
5838
- })) && input.versionUpdates.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5839
- path: _path + ".versionUpdates[" + _index12 + "]",
5684
+ })) && input.versionUpdates.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5685
+ path: _path + ".versionUpdates[" + _index10 + "]",
5840
5686
  expected: "__type.o1",
5841
5687
  value: elem
5842
- })) && _vo2(elem, _path + ".versionUpdates[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
5843
- path: _path + ".versionUpdates[" + _index12 + "]",
5688
+ })) && _vo2(elem, _path + ".versionUpdates[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
5689
+ path: _path + ".versionUpdates[" + _index10 + "]",
5844
5690
  expected: "__type.o1",
5845
5691
  value: elem
5846
5692
  })).every(flag => flag) || _report(_exceptionable, {
@@ -5851,7 +5697,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5851
5697
  path: _path + ".versionCreate",
5852
5698
  expected: "(PluginVersionConfigPayload | undefined)",
5853
5699
  value: input.versionCreate
5854
- })) && _vo11(input.versionCreate, _path + ".versionCreate", true && _exceptionable) || _report(_exceptionable, {
5700
+ })) && _vo9(input.versionCreate, _path + ".versionCreate", true && _exceptionable) || _report(_exceptionable, {
5855
5701
  path: _path + ".versionCreate",
5856
5702
  expected: "(PluginVersionConfigPayload | undefined)",
5857
5703
  value: input.versionCreate
@@ -5907,9 +5753,9 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5907
5753
  path: _path + ".finalized",
5908
5754
  expected: "(boolean | undefined)",
5909
5755
  value: input.finalized
5910
- }), undefined === input.stateFunctionPreset || "Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || _report(_exceptionable, {
5756
+ }), undefined === input.stateFunctionPreset || "Stateless" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || _report(_exceptionable, {
5911
5757
  path: _path + ".stateFunctionPreset",
5912
- expected: "(\"ClaimNumbers\" | \"ClaimToken\" | \"CustomResponseHandler\" | \"Stateless\" | \"Usernames\" | undefined)",
5758
+ expected: "(\"ClaimNumbers\" | \"ClaimToken\" | \"CustomResponseHandler\" | \"Stateless\" | undefined)",
5913
5759
  value: input.stateFunctionPreset
5914
5760
  }), undefined === input.duplicatesAllowed || "boolean" === typeof input.duplicatesAllowed || _report(_exceptionable, {
5915
5761
  path: _path + ".duplicatesAllowed",
@@ -5935,48 +5781,36 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5935
5781
  path: _path + ".requiresUserInputs",
5936
5782
  expected: "(boolean | undefined)",
5937
5783
  value: input.requiresUserInputs
5938
- }), undefined === input.userInputRedirect || ("object" === typeof input.userInputRedirect && null !== input.userInputRedirect && false === Array.isArray(input.userInputRedirect) || _report(_exceptionable, {
5939
- path: _path + ".userInputRedirect",
5940
- expected: "(__type.o2 | undefined)",
5941
- value: input.userInputRedirect
5942
- })) && _vo4(input.userInputRedirect, _path + ".userInputRedirect", true && _exceptionable) || _report(_exceptionable, {
5943
- path: _path + ".userInputRedirect",
5944
- expected: "(__type.o2 | undefined)",
5945
- value: input.userInputRedirect
5784
+ }), undefined === input.requiresSessions || "boolean" === typeof input.requiresSessions || _report(_exceptionable, {
5785
+ path: _path + ".requiresSessions",
5786
+ expected: "(boolean | undefined)",
5787
+ value: input.requiresSessions
5946
5788
  }), undefined === input.userInputsSchema || (Array.isArray(input.userInputsSchema) || _report(_exceptionable, {
5947
5789
  path: _path + ".userInputsSchema",
5948
5790
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5949
5791
  value: input.userInputsSchema
5950
- })) && input.userInputsSchema.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5951
- path: _path + ".userInputsSchema[" + _index13 + "]",
5792
+ })) && input.userInputsSchema.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5793
+ path: _path + ".userInputsSchema[" + _index11 + "]",
5952
5794
  expected: "JsonBodyInputSchema",
5953
5795
  value: elem
5954
- })) && _vo5(elem, _path + ".userInputsSchema[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
5955
- path: _path + ".userInputsSchema[" + _index13 + "]",
5796
+ })) && _vo4(elem, _path + ".userInputsSchema[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
5797
+ path: _path + ".userInputsSchema[" + _index11 + "]",
5956
5798
  expected: "JsonBodyInputSchema",
5957
5799
  value: elem
5958
5800
  })).every(flag => flag) || _report(_exceptionable, {
5959
5801
  path: _path + ".userInputsSchema",
5960
5802
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5961
5803
  value: input.userInputsSchema
5962
- }), undefined === input.claimCreatorRedirect || ("object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) || _report(_exceptionable, {
5963
- path: _path + ".claimCreatorRedirect",
5964
- expected: "(__type.o5 | undefined)",
5965
- value: input.claimCreatorRedirect
5966
- })) && _vo8(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || _report(_exceptionable, {
5967
- path: _path + ".claimCreatorRedirect",
5968
- expected: "(__type.o5 | undefined)",
5969
- value: input.claimCreatorRedirect
5970
5804
  }), undefined === input.publicParamsSchema || (Array.isArray(input.publicParamsSchema) || _report(_exceptionable, {
5971
5805
  path: _path + ".publicParamsSchema",
5972
5806
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5973
5807
  value: input.publicParamsSchema
5974
- })) && input.publicParamsSchema.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5975
- path: _path + ".publicParamsSchema[" + _index14 + "]",
5808
+ })) && input.publicParamsSchema.map((elem, _index12) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5809
+ path: _path + ".publicParamsSchema[" + _index12 + "]",
5976
5810
  expected: "JsonBodyInputSchema",
5977
5811
  value: elem
5978
- })) && _vo5(elem, _path + ".publicParamsSchema[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
5979
- path: _path + ".publicParamsSchema[" + _index14 + "]",
5812
+ })) && _vo4(elem, _path + ".publicParamsSchema[" + _index12 + "]", true && _exceptionable) || _report(_exceptionable, {
5813
+ path: _path + ".publicParamsSchema[" + _index12 + "]",
5980
5814
  expected: "JsonBodyInputSchema",
5981
5815
  value: elem
5982
5816
  })).every(flag => flag) || _report(_exceptionable, {
@@ -5987,12 +5821,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5987
5821
  path: _path + ".privateParamsSchema",
5988
5822
  expected: "(Array<JsonBodyInputSchema> | undefined)",
5989
5823
  value: input.privateParamsSchema
5990
- })) && input.privateParamsSchema.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5991
- path: _path + ".privateParamsSchema[" + _index15 + "]",
5824
+ })) && input.privateParamsSchema.map((elem, _index13) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5825
+ path: _path + ".privateParamsSchema[" + _index13 + "]",
5992
5826
  expected: "JsonBodyInputSchema",
5993
5827
  value: elem
5994
- })) && _vo5(elem, _path + ".privateParamsSchema[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
5995
- path: _path + ".privateParamsSchema[" + _index15 + "]",
5828
+ })) && _vo4(elem, _path + ".privateParamsSchema[" + _index13 + "]", true && _exceptionable) || _report(_exceptionable, {
5829
+ path: _path + ".privateParamsSchema[" + _index13 + "]",
5996
5830
  expected: "JsonBodyInputSchema",
5997
5831
  value: elem
5998
5832
  })).every(flag => flag) || _report(_exceptionable, {
@@ -6001,11 +5835,11 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6001
5835
  value: input.privateParamsSchema
6002
5836
  }), undefined === input.verificationCall || ("object" === typeof input.verificationCall && null !== input.verificationCall || _report(_exceptionable, {
6003
5837
  path: _path + ".verificationCall",
6004
- expected: "(__type.o6 | undefined)",
5838
+ expected: "(__type.o4 | undefined)",
6005
5839
  value: input.verificationCall
6006
- })) && _vo9(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || _report(_exceptionable, {
5840
+ })) && _vo7(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || _report(_exceptionable, {
6007
5841
  path: _path + ".verificationCall",
6008
- expected: "(__type.o6 | undefined)",
5842
+ expected: "(__type.o4 | undefined)",
6009
5843
  value: input.verificationCall
6010
5844
  }), undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn || _report(_exceptionable, {
6011
5845
  path: _path + ".requireSignIn",
@@ -6015,15 +5849,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6015
5849
  path: _path + ".customDetailsDisplay",
6016
5850
  expected: "(string | undefined)",
6017
5851
  value: input.customDetailsDisplay
6018
- })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [undefined === input.baseUri || "string" === typeof input.baseUri || _report(_exceptionable, {
6019
- path: _path + ".baseUri",
6020
- expected: "(string | undefined)",
6021
- value: input.baseUri
6022
- }), undefined === input.tutorialUri || "string" === typeof input.tutorialUri || _report(_exceptionable, {
6023
- path: _path + ".tutorialUri",
6024
- expected: "(string | undefined)",
6025
- value: input.tutorialUri
6026
- })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
5852
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
6027
5853
  path: _path + ".key",
6028
5854
  expected: "string",
6029
5855
  value: input.key
@@ -6037,11 +5863,11 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6037
5863
  value: input.type
6038
5864
  }), undefined === input.hyperlink || ("object" === typeof input.hyperlink && null !== input.hyperlink || _report(_exceptionable, {
6039
5865
  path: _path + ".hyperlink",
6040
- expected: "(__type.o3 | undefined)",
5866
+ expected: "(__type.o2 | undefined)",
6041
5867
  value: input.hyperlink
6042
- })) && _vo6(input.hyperlink, _path + ".hyperlink", true && _exceptionable) || _report(_exceptionable, {
5868
+ })) && _vo5(input.hyperlink, _path + ".hyperlink", true && _exceptionable) || _report(_exceptionable, {
6043
5869
  path: _path + ".hyperlink",
6044
- expected: "(__type.o3 | undefined)",
5870
+ expected: "(__type.o2 | undefined)",
6045
5871
  value: input.hyperlink
6046
5872
  }), undefined === input.helper || "string" === typeof input.helper || _report(_exceptionable, {
6047
5873
  path: _path + ".helper",
@@ -6067,13 +5893,13 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6067
5893
  path: _path + ".options",
6068
5894
  expected: "(Array<__type>.o1 | undefined)",
6069
5895
  value: input.options
6070
- })) && input.options.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6071
- path: _path + ".options[" + _index16 + "]",
6072
- expected: "__type.o4",
5896
+ })) && input.options.map((elem, _index14) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5897
+ path: _path + ".options[" + _index14 + "]",
5898
+ expected: "__type.o3",
6073
5899
  value: elem
6074
- })) && _vo7(elem, _path + ".options[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
6075
- path: _path + ".options[" + _index16 + "]",
6076
- expected: "__type.o4",
5900
+ })) && _vo6(elem, _path + ".options[" + _index14 + "]", true && _exceptionable) || _report(_exceptionable, {
5901
+ path: _path + ".options[" + _index14 + "]",
5902
+ expected: "__type.o3",
6077
5903
  value: elem
6078
5904
  })).every(flag => flag) || _report(_exceptionable, {
6079
5905
  path: _path + ".options",
@@ -6083,7 +5909,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6083
5909
  path: _path + ".arrayField",
6084
5910
  expected: "(boolean | undefined)",
6085
5911
  value: input.arrayField
6086
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || _report(_exceptionable, {
5912
+ })].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.url || _report(_exceptionable, {
6087
5913
  path: _path + ".url",
6088
5914
  expected: "string",
6089
5915
  value: input.url
@@ -6091,7 +5917,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6091
5917
  path: _path + ".showAsGenericView",
6092
5918
  expected: "(boolean | undefined)",
6093
5919
  value: input.showAsGenericView
6094
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
5920
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.label || _report(_exceptionable, {
6095
5921
  path: _path + ".label",
6096
5922
  expected: "string",
6097
5923
  value: input.label
@@ -6099,36 +5925,20 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6099
5925
  path: _path + ".value",
6100
5926
  expected: "(boolean | number | string)",
6101
5927
  value: input.value
6102
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.toolUri || "string" === typeof input.toolUri || _report(_exceptionable, {
6103
- path: _path + ".toolUri",
6104
- expected: "(string | undefined)",
6105
- value: input.toolUri
6106
- }), undefined === input.tutorialUri || "string" === typeof input.tutorialUri || _report(_exceptionable, {
6107
- path: _path + ".tutorialUri",
6108
- expected: "(string | undefined)",
6109
- value: input.tutorialUri
6110
- }), undefined === input.testerUri || "string" === typeof input.testerUri || _report(_exceptionable, {
6111
- path: _path + ".testerUri",
6112
- expected: "(string | undefined)",
6113
- value: input.testerUri
6114
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || _report(_exceptionable, {
5928
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.uri || _report(_exceptionable, {
6115
5929
  path: _path + ".uri",
6116
5930
  expected: "string",
6117
5931
  value: input.uri
6118
- }), "POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method || _report(_exceptionable, {
6119
- path: _path + ".method",
6120
- expected: "(\"DELETE\" | \"GET\" | \"POST\" | \"PUT\")",
6121
- value: input.method
6122
5932
  }), (Array.isArray(input.hardcodedInputs) || _report(_exceptionable, {
6123
5933
  path: _path + ".hardcodedInputs",
6124
5934
  expected: "Array<JsonBodyInputWithValue>",
6125
5935
  value: input.hardcodedInputs
6126
- })) && input.hardcodedInputs.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6127
- path: _path + ".hardcodedInputs[" + _index17 + "]",
5936
+ })) && input.hardcodedInputs.map((elem, _index15) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
5937
+ path: _path + ".hardcodedInputs[" + _index15 + "]",
6128
5938
  expected: "JsonBodyInputWithValue",
6129
5939
  value: elem
6130
- })) && _vo10(elem, _path + ".hardcodedInputs[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
6131
- path: _path + ".hardcodedInputs[" + _index17 + "]",
5940
+ })) && _vo8(elem, _path + ".hardcodedInputs[" + _index15 + "]", true && _exceptionable) || _report(_exceptionable, {
5941
+ path: _path + ".hardcodedInputs[" + _index15 + "]",
6132
5942
  expected: "JsonBodyInputWithValue",
6133
5943
  value: elem
6134
5944
  })).every(flag => flag) || _report(_exceptionable, {
@@ -6139,75 +5949,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6139
5949
  path: _path + ".passAddress",
6140
5950
  expected: "(boolean | undefined)",
6141
5951
  value: input.passAddress
6142
- }), undefined === input.passDiscord || "boolean" === typeof input.passDiscord || _report(_exceptionable, {
6143
- path: _path + ".passDiscord",
6144
- expected: "(boolean | undefined)",
6145
- value: input.passDiscord
6146
- }), undefined === input.passEmail || "boolean" === typeof input.passEmail || _report(_exceptionable, {
6147
- path: _path + ".passEmail",
6148
- expected: "(boolean | undefined)",
6149
- value: input.passEmail
6150
- }), undefined === input.passTwitter || "boolean" === typeof input.passTwitter || _report(_exceptionable, {
6151
- path: _path + ".passTwitter",
6152
- expected: "(boolean | undefined)",
6153
- value: input.passTwitter
6154
- }), undefined === input.passGoogle || "boolean" === typeof input.passGoogle || _report(_exceptionable, {
6155
- path: _path + ".passGoogle",
6156
- expected: "(boolean | undefined)",
6157
- value: input.passGoogle
6158
- }), undefined === input.passYoutube || "boolean" === typeof input.passYoutube || _report(_exceptionable, {
6159
- path: _path + ".passYoutube",
6160
- expected: "(boolean | undefined)",
6161
- value: input.passYoutube
6162
- }), undefined === input.passGithub || "boolean" === typeof input.passGithub || _report(_exceptionable, {
6163
- path: _path + ".passGithub",
6164
- expected: "(boolean | undefined)",
6165
- value: input.passGithub
6166
- }), undefined === input.passStrava || "boolean" === typeof input.passStrava || _report(_exceptionable, {
6167
- path: _path + ".passStrava",
6168
- expected: "(boolean | undefined)",
6169
- value: input.passStrava
6170
- }), undefined === input.passTwitch || "boolean" === typeof input.passTwitch || _report(_exceptionable, {
6171
- path: _path + ".passTwitch",
6172
- expected: "(boolean | undefined)",
6173
- value: input.passTwitch
6174
- }), undefined === input.passReddit || "boolean" === typeof input.passReddit || _report(_exceptionable, {
6175
- path: _path + ".passReddit",
6176
- expected: "(boolean | undefined)",
6177
- value: input.passReddit
6178
- }), undefined === input.passMeetup || "boolean" === typeof input.passMeetup || _report(_exceptionable, {
6179
- path: _path + ".passMeetup",
6180
- expected: "(boolean | undefined)",
6181
- value: input.passMeetup
6182
- }), undefined === input.passFacebook || "boolean" === typeof input.passFacebook || _report(_exceptionable, {
6183
- path: _path + ".passFacebook",
6184
- expected: "(boolean | undefined)",
6185
- value: input.passFacebook
6186
- }), undefined === input.passTelegram || "boolean" === typeof input.passTelegram || _report(_exceptionable, {
6187
- path: _path + ".passTelegram",
6188
- expected: "(boolean | undefined)",
6189
- value: input.passTelegram
6190
- }), undefined === input.passFarcaster || "boolean" === typeof input.passFarcaster || _report(_exceptionable, {
6191
- path: _path + ".passFarcaster",
6192
- expected: "(boolean | undefined)",
6193
- value: input.passFarcaster
6194
- }), undefined === input.passSlack || "boolean" === typeof input.passSlack || _report(_exceptionable, {
6195
- path: _path + ".passSlack",
6196
- expected: "(boolean | undefined)",
6197
- value: input.passSlack
6198
- }), undefined === input.passShopify || "boolean" === typeof input.passShopify || _report(_exceptionable, {
6199
- path: _path + ".passShopify",
6200
- expected: "(boolean | undefined)",
6201
- value: input.passShopify
6202
- }), undefined === input.passBluesky || "boolean" === typeof input.passBluesky || _report(_exceptionable, {
6203
- path: _path + ".passBluesky",
6204
- expected: "(boolean | undefined)",
6205
- value: input.passBluesky
6206
- }), "string" === typeof input.postProcessingJs || _report(_exceptionable, {
6207
- path: _path + ".postProcessingJs",
6208
- expected: "string",
6209
- value: input.postProcessingJs
6210
- })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
5952
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || _report(_exceptionable, {
6211
5953
  path: _path + ".key",
6212
5954
  expected: "string",
6213
5955
  value: input.key
@@ -6227,13 +5969,13 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6227
5969
  path: _path + ".headerField",
6228
5970
  expected: "(boolean | undefined)",
6229
5971
  value: input.headerField
6230
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.finalized || _report(_exceptionable, {
5972
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.finalized || _report(_exceptionable, {
6231
5973
  path: _path + ".finalized",
6232
5974
  expected: "boolean",
6233
5975
  value: input.finalized
6234
- }), "Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || _report(_exceptionable, {
5976
+ }), "Stateless" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || _report(_exceptionable, {
6235
5977
  path: _path + ".stateFunctionPreset",
6236
- expected: "(\"ClaimNumbers\" | \"ClaimToken\" | \"CustomResponseHandler\" | \"Stateless\" | \"Usernames\")",
5978
+ expected: "(\"ClaimNumbers\" | \"ClaimToken\" | \"CustomResponseHandler\" | \"Stateless\")",
6237
5979
  value: input.stateFunctionPreset
6238
5980
  }), "boolean" === typeof input.duplicatesAllowed || _report(_exceptionable, {
6239
5981
  path: _path + ".duplicatesAllowed",
@@ -6259,48 +6001,36 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6259
6001
  path: _path + ".requiresUserInputs",
6260
6002
  expected: "boolean",
6261
6003
  value: input.requiresUserInputs
6262
- }), undefined === input.userInputRedirect || ("object" === typeof input.userInputRedirect && null !== input.userInputRedirect && false === Array.isArray(input.userInputRedirect) || _report(_exceptionable, {
6263
- path: _path + ".userInputRedirect",
6264
- expected: "(__type.o2 | undefined)",
6265
- value: input.userInputRedirect
6266
- })) && _vo4(input.userInputRedirect, _path + ".userInputRedirect", true && _exceptionable) || _report(_exceptionable, {
6267
- path: _path + ".userInputRedirect",
6268
- expected: "(__type.o2 | undefined)",
6269
- value: input.userInputRedirect
6004
+ }), "boolean" === typeof input.requiresSessions || _report(_exceptionable, {
6005
+ path: _path + ".requiresSessions",
6006
+ expected: "boolean",
6007
+ value: input.requiresSessions
6270
6008
  }), undefined === input.userInputsSchema || (Array.isArray(input.userInputsSchema) || _report(_exceptionable, {
6271
6009
  path: _path + ".userInputsSchema",
6272
6010
  expected: "(Array<JsonBodyInputSchema> | undefined)",
6273
6011
  value: input.userInputsSchema
6274
- })) && input.userInputsSchema.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6275
- path: _path + ".userInputsSchema[" + _index18 + "]",
6012
+ })) && input.userInputsSchema.map((elem, _index16) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6013
+ path: _path + ".userInputsSchema[" + _index16 + "]",
6276
6014
  expected: "JsonBodyInputSchema",
6277
6015
  value: elem
6278
- })) && _vo5(elem, _path + ".userInputsSchema[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
6279
- path: _path + ".userInputsSchema[" + _index18 + "]",
6016
+ })) && _vo4(elem, _path + ".userInputsSchema[" + _index16 + "]", true && _exceptionable) || _report(_exceptionable, {
6017
+ path: _path + ".userInputsSchema[" + _index16 + "]",
6280
6018
  expected: "JsonBodyInputSchema",
6281
6019
  value: elem
6282
6020
  })).every(flag => flag) || _report(_exceptionable, {
6283
6021
  path: _path + ".userInputsSchema",
6284
6022
  expected: "(Array<JsonBodyInputSchema> | undefined)",
6285
6023
  value: input.userInputsSchema
6286
- }), undefined === input.claimCreatorRedirect || ("object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && false === Array.isArray(input.claimCreatorRedirect) || _report(_exceptionable, {
6287
- path: _path + ".claimCreatorRedirect",
6288
- expected: "(__type.o5 | undefined)",
6289
- value: input.claimCreatorRedirect
6290
- })) && _vo8(input.claimCreatorRedirect, _path + ".claimCreatorRedirect", true && _exceptionable) || _report(_exceptionable, {
6291
- path: _path + ".claimCreatorRedirect",
6292
- expected: "(__type.o5 | undefined)",
6293
- value: input.claimCreatorRedirect
6294
6024
  }), undefined === input.publicParamsSchema || (Array.isArray(input.publicParamsSchema) || _report(_exceptionable, {
6295
6025
  path: _path + ".publicParamsSchema",
6296
6026
  expected: "(Array<JsonBodyInputSchema> | undefined)",
6297
6027
  value: input.publicParamsSchema
6298
- })) && input.publicParamsSchema.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6299
- path: _path + ".publicParamsSchema[" + _index19 + "]",
6028
+ })) && input.publicParamsSchema.map((elem, _index17) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6029
+ path: _path + ".publicParamsSchema[" + _index17 + "]",
6300
6030
  expected: "JsonBodyInputSchema",
6301
6031
  value: elem
6302
- })) && _vo5(elem, _path + ".publicParamsSchema[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
6303
- path: _path + ".publicParamsSchema[" + _index19 + "]",
6032
+ })) && _vo4(elem, _path + ".publicParamsSchema[" + _index17 + "]", true && _exceptionable) || _report(_exceptionable, {
6033
+ path: _path + ".publicParamsSchema[" + _index17 + "]",
6304
6034
  expected: "JsonBodyInputSchema",
6305
6035
  value: elem
6306
6036
  })).every(flag => flag) || _report(_exceptionable, {
@@ -6311,12 +6041,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6311
6041
  path: _path + ".privateParamsSchema",
6312
6042
  expected: "(Array<JsonBodyInputSchema> | undefined)",
6313
6043
  value: input.privateParamsSchema
6314
- })) && input.privateParamsSchema.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6315
- path: _path + ".privateParamsSchema[" + _index20 + "]",
6044
+ })) && input.privateParamsSchema.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
6045
+ path: _path + ".privateParamsSchema[" + _index18 + "]",
6316
6046
  expected: "JsonBodyInputSchema",
6317
6047
  value: elem
6318
- })) && _vo5(elem, _path + ".privateParamsSchema[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
6319
- path: _path + ".privateParamsSchema[" + _index20 + "]",
6048
+ })) && _vo4(elem, _path + ".privateParamsSchema[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
6049
+ path: _path + ".privateParamsSchema[" + _index18 + "]",
6320
6050
  expected: "JsonBodyInputSchema",
6321
6051
  value: elem
6322
6052
  })).every(flag => flag) || _report(_exceptionable, {
@@ -6325,11 +6055,11 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6325
6055
  value: input.privateParamsSchema
6326
6056
  }), undefined === input.verificationCall || ("object" === typeof input.verificationCall && null !== input.verificationCall || _report(_exceptionable, {
6327
6057
  path: _path + ".verificationCall",
6328
- expected: "(__type.o6 | undefined)",
6058
+ expected: "(__type.o4 | undefined)",
6329
6059
  value: input.verificationCall
6330
- })) && _vo9(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || _report(_exceptionable, {
6060
+ })) && _vo7(input.verificationCall, _path + ".verificationCall", true && _exceptionable) || _report(_exceptionable, {
6331
6061
  path: _path + ".verificationCall",
6332
- expected: "(__type.o6 | undefined)",
6062
+ expected: "(__type.o4 | undefined)",
6333
6063
  value: input.verificationCall
6334
6064
  }), undefined === input.requireSignIn || "boolean" === typeof input.requireSignIn || _report(_exceptionable, {
6335
6065
  path: _path + ".requireSignIn",
@@ -6427,11 +6157,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6427
6157
  }
6428
6158
  async searchPlugins(payload) {
6429
6159
  try {
6430
- const validateRes = (() => { const _io0 = input => (undefined === input.pluginsForSignedInUser || "boolean" === typeof input.pluginsForSignedInUser) && (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.searchValue || "string" === typeof input.searchValue) && (undefined === input.locale || "string" === typeof input.locale); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.pluginsForSignedInUser || "boolean" === typeof input.pluginsForSignedInUser || _report(_exceptionable, {
6431
- path: _path + ".pluginsForSignedInUser",
6432
- expected: "(boolean | undefined)",
6433
- value: input.pluginsForSignedInUser
6434
- }), undefined === input.bookmark || "string" === typeof input.bookmark || _report(_exceptionable, {
6160
+ const validateRes = (() => { const _io0 = input => (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.searchValue || "string" === typeof input.searchValue) && (undefined === input.locale || "string" === typeof input.locale); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || _report(_exceptionable, {
6435
6161
  path: _path + ".bookmark",
6436
6162
  expected: "(string | undefined)",
6437
6163
  value: input.bookmark
@@ -6484,6 +6210,61 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6484
6210
  return Promise.reject(error);
6485
6211
  }
6486
6212
  }
6213
+ async getCreatorPlugins(payload) {
6214
+ try {
6215
+ const validateRes = (() => { const _io0 = input => "string" === typeof input.creatorAddress && (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.returnSensitiveData || "boolean" === typeof input.returnSensitiveData); const _vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.creatorAddress || _report(_exceptionable, {
6216
+ path: _path + ".creatorAddress",
6217
+ expected: "string",
6218
+ value: input.creatorAddress
6219
+ }), undefined === input.bookmark || "string" === typeof input.bookmark || _report(_exceptionable, {
6220
+ path: _path + ".bookmark",
6221
+ expected: "(string | undefined)",
6222
+ value: input.bookmark
6223
+ }), undefined === input.returnSensitiveData || "boolean" === typeof input.returnSensitiveData || _report(_exceptionable, {
6224
+ path: _path + ".returnSensitiveData",
6225
+ expected: "(boolean | undefined)",
6226
+ value: input.returnSensitiveData
6227
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
6228
+ if (false === __is(input)) {
6229
+ errors = [];
6230
+ _report = __typia_transform__validateReport._validateReport(errors);
6231
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
6232
+ path: _path + "",
6233
+ expected: "iGetCreatorPluginsPayload",
6234
+ value: input
6235
+ })) && _vo0(input, _path + "", true) || _report(true, {
6236
+ path: _path + "",
6237
+ expected: "iGetCreatorPluginsPayload",
6238
+ value: input
6239
+ }))(input, "$input", true);
6240
+ const success = 0 === errors.length;
6241
+ return success ? {
6242
+ success,
6243
+ data: input
6244
+ } : {
6245
+ success,
6246
+ errors,
6247
+ data: input
6248
+ };
6249
+ }
6250
+ return {
6251
+ success: true,
6252
+ data: input
6253
+ };
6254
+ }; })()(payload ?? {});
6255
+ if (!validateRes.success) {
6256
+ throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6257
+ }
6258
+ const response = await this.axios.get(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetCreatorPluginsRoute()}`, {
6259
+ params: payload
6260
+ });
6261
+ return new GetPluginsSuccessResponse(response.data);
6262
+ }
6263
+ catch (error) {
6264
+ await this.handleApiError(error);
6265
+ return Promise.reject(error);
6266
+ }
6267
+ }
6487
6268
  async fetchMetadataDirectly(payload) {
6488
6269
  try {
6489
6270
  const validateRes = (() => { const _io0 = input => Array.isArray(input.uris) && input.uris.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.uris) || _report(_exceptionable, {
@@ -7791,7 +7572,9 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7791
7572
  if (!validateRes.success) {
7792
7573
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7793
7574
  }
7794
- const response = await this.axios.get(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetPluginErrorsRoute()}`);
7575
+ const response = await this.axios.get(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetPluginErrorsRoute()}`, {
7576
+ params: payload
7577
+ });
7795
7578
  return new GetPluginErrorsSuccessResponse(response.data);
7796
7579
  }
7797
7580
  catch (error) {
@@ -7933,86 +7716,10 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7933
7716
  }
7934
7717
  async signOut(payload) {
7935
7718
  try {
7936
- 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.signOutMeetup || "boolean" === typeof input.signOutMeetup) && (undefined === input.signOutBluesky || "boolean" === typeof input.signOutBluesky) && (undefined === input.signOutMailchimp || "boolean" === typeof input.signOutMailchimp) && (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, {
7719
+ const validateRes = (() => { const _io0 = input => "boolean" === typeof input.signOutBlockin; const _vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || _report(_exceptionable, {
7937
7720
  path: _path + ".signOutBlockin",
7938
7721
  expected: "boolean",
7939
7722
  value: input.signOutBlockin
7940
- }), undefined === input.signOutDiscord || "boolean" === typeof input.signOutDiscord || _report(_exceptionable, {
7941
- path: _path + ".signOutDiscord",
7942
- expected: "(boolean | undefined)",
7943
- value: input.signOutDiscord
7944
- }), undefined === input.signOutTwitter || "boolean" === typeof input.signOutTwitter || _report(_exceptionable, {
7945
- path: _path + ".signOutTwitter",
7946
- expected: "(boolean | undefined)",
7947
- value: input.signOutTwitter
7948
- }), undefined === input.signOutGoogle || "boolean" === typeof input.signOutGoogle || _report(_exceptionable, {
7949
- path: _path + ".signOutGoogle",
7950
- expected: "(boolean | undefined)",
7951
- value: input.signOutGoogle
7952
- }), undefined === input.signOutGithub || "boolean" === typeof input.signOutGithub || _report(_exceptionable, {
7953
- path: _path + ".signOutGithub",
7954
- expected: "(boolean | undefined)",
7955
- value: input.signOutGithub
7956
- }), undefined === input.signOutTwitch || "boolean" === typeof input.signOutTwitch || _report(_exceptionable, {
7957
- path: _path + ".signOutTwitch",
7958
- expected: "(boolean | undefined)",
7959
- value: input.signOutTwitch
7960
- }), undefined === input.signOutStrava || "boolean" === typeof input.signOutStrava || _report(_exceptionable, {
7961
- path: _path + ".signOutStrava",
7962
- expected: "(boolean | undefined)",
7963
- value: input.signOutStrava
7964
- }), undefined === input.signOutYoutube || "boolean" === typeof input.signOutYoutube || _report(_exceptionable, {
7965
- path: _path + ".signOutYoutube",
7966
- expected: "(boolean | undefined)",
7967
- value: input.signOutYoutube
7968
- }), undefined === input.signOutReddit || "boolean" === typeof input.signOutReddit || _report(_exceptionable, {
7969
- path: _path + ".signOutReddit",
7970
- expected: "(boolean | undefined)",
7971
- value: input.signOutReddit
7972
- }), undefined === input.signOutMeetup || "boolean" === typeof input.signOutMeetup || _report(_exceptionable, {
7973
- path: _path + ".signOutMeetup",
7974
- expected: "(boolean | undefined)",
7975
- value: input.signOutMeetup
7976
- }), undefined === input.signOutBluesky || "boolean" === typeof input.signOutBluesky || _report(_exceptionable, {
7977
- path: _path + ".signOutBluesky",
7978
- expected: "(boolean | undefined)",
7979
- value: input.signOutBluesky
7980
- }), undefined === input.signOutMailchimp || "boolean" === typeof input.signOutMailchimp || _report(_exceptionable, {
7981
- path: _path + ".signOutMailchimp",
7982
- expected: "(boolean | undefined)",
7983
- value: input.signOutMailchimp
7984
- }), undefined === input.signOutGoogleCalendar || "boolean" === typeof input.signOutGoogleCalendar || _report(_exceptionable, {
7985
- path: _path + ".signOutGoogleCalendar",
7986
- expected: "(boolean | undefined)",
7987
- value: input.signOutGoogleCalendar
7988
- }), undefined === input.signOutTelegram || "boolean" === typeof input.signOutTelegram || _report(_exceptionable, {
7989
- path: _path + ".signOutTelegram",
7990
- expected: "(boolean | undefined)",
7991
- value: input.signOutTelegram
7992
- }), undefined === input.signOutFarcaster || "boolean" === typeof input.signOutFarcaster || _report(_exceptionable, {
7993
- path: _path + ".signOutFarcaster",
7994
- expected: "(boolean | undefined)",
7995
- value: input.signOutFarcaster
7996
- }), undefined === input.signOutSlack || "boolean" === typeof input.signOutSlack || _report(_exceptionable, {
7997
- path: _path + ".signOutSlack",
7998
- expected: "(boolean | undefined)",
7999
- value: input.signOutSlack
8000
- }), undefined === input.signOutEmail || "boolean" === typeof input.signOutEmail || _report(_exceptionable, {
8001
- path: _path + ".signOutEmail",
8002
- expected: "(boolean | undefined)",
8003
- value: input.signOutEmail
8004
- }), undefined === input.signOutFacebook || "boolean" === typeof input.signOutFacebook || _report(_exceptionable, {
8005
- path: _path + ".signOutFacebook",
8006
- expected: "(boolean | undefined)",
8007
- value: input.signOutFacebook
8008
- }), undefined === input.signOutLinkedIn || "boolean" === typeof input.signOutLinkedIn || _report(_exceptionable, {
8009
- path: _path + ".signOutLinkedIn",
8010
- expected: "(boolean | undefined)",
8011
- value: input.signOutLinkedIn
8012
- }), undefined === input.signOutShopify || "boolean" === typeof input.signOutShopify || _report(_exceptionable, {
8013
- path: _path + ".signOutShopify",
8014
- expected: "(boolean | undefined)",
8015
- value: input.signOutShopify
8016
7723
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
8017
7724
  if (false === __is(input)) {
8018
7725
  errors = [];
@@ -8160,7 +7867,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
8160
7867
  }
8161
7868
  async updateAccountInfo(payload) {
8162
7869
  try {
8163
- const validateRes = (() => { const _io0 = input => (undefined === input.discord || "string" === typeof input.discord) && (undefined === input.twitter || "string" === typeof input.twitter) && (undefined === input.github || "string" === typeof input.github) && (undefined === input.telegram || "string" === typeof input.telegram) && (undefined === input.bluesky || "string" === typeof input.bluesky) && (undefined === input.seenActivity || "string" === typeof input.seenActivity || "number" === typeof input.seenActivity || "bigint" === typeof input.seenActivity) && (undefined === input.readme || "string" === typeof input.readme) && (undefined === input.hiddenTokens || Array.isArray(input.hiddenTokens) && input.hiddenTokens.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (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) && _io3(input.notifications)) && (undefined === input.socialConnections || "object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) && _io6(input.socialConnections)) && (undefined === input.publicSocialConnectionsToSet || Array.isArray(input.publicSocialConnectionsToSet) && input.publicSocialConnectionsToSet.every(elem => "object" === typeof elem && null !== elem && _io25(elem))); const _io1 = input => "string" === typeof input.collectionId && (Array.isArray(input.tokenIds) && input.tokenIds.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 => (undefined === input.email || "string" === typeof input.email) && (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io4(input.discord)) && (undefined === input.antiPhishingCode || "string" === typeof input.antiPhishingCode) && (undefined === input.preferences || "object" === typeof input.preferences && null !== input.preferences && false === Array.isArray(input.preferences) && _io5(input.preferences)); const _io4 = input => "string" === typeof input.id && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator); const _io5 = input => (undefined === input.transferActivity || "boolean" === typeof input.transferActivity) && (undefined === input.ignoreIfInitiator || "boolean" === typeof input.ignoreIfInitiator) && (undefined === input.signInAlertsEnabled || "boolean" === typeof input.signInAlertsEnabled); const _io6 = input => (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io7(input.discord)) && (undefined === input.twitter || "object" === typeof input.twitter && null !== input.twitter && _io8(input.twitter)) && (undefined === input.google || "object" === typeof input.google && null !== input.google && _io9(input.google)) && (undefined === input.github || "object" === typeof input.github && null !== input.github && _io10(input.github)) && (undefined === input.twitch || "object" === typeof input.twitch && null !== input.twitch && _io11(input.twitch)) && (undefined === input.strava || "object" === typeof input.strava && null !== input.strava && _io12(input.strava)) && (undefined === input.reddit || "object" === typeof input.reddit && null !== input.reddit && _io13(input.reddit)) && (undefined === input.meetup || "object" === typeof input.meetup && null !== input.meetup && _io14(input.meetup)) && (undefined === input.bluesky || "object" === typeof input.bluesky && null !== input.bluesky && _io15(input.bluesky)) && (undefined === input.mailchimp || "object" === typeof input.mailchimp && null !== input.mailchimp && _io16(input.mailchimp)) && (undefined === input.facebook || "object" === typeof input.facebook && null !== input.facebook && _io17(input.facebook)) && (undefined === input.googleCalendar || "object" === typeof input.googleCalendar && null !== input.googleCalendar && _io18(input.googleCalendar)) && (undefined === input.youtube || "object" === typeof input.youtube && null !== input.youtube && _io19(input.youtube)) && (undefined === input.linkedIn || "object" === typeof input.linkedIn && null !== input.linkedIn && _io20(input.linkedIn)) && (undefined === input.shopify || "object" === typeof input.shopify && null !== input.shopify && _io21(input.shopify)) && (undefined === input.telegram || "object" === typeof input.telegram && null !== input.telegram && _io22(input.telegram)) && (undefined === input.farcaster || "object" === typeof input.farcaster && null !== input.farcaster && _io23(input.farcaster)) && (undefined === input.slack || "object" === typeof input.slack && null !== input.slack && _io24(input.slack)); const _io7 = 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 _io8 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io9 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io10 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io11 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io12 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io13 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io14 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io15 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io16 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io17 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io18 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io19 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io20 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io21 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io22 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io23 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io24 = input => "string" === typeof input.username && "string" === typeof input.id && ("string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated); const _io25 = input => "string" === typeof input.appName && (undefined === input.toDelete || "boolean" === typeof input.toDelete); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || _report(_exceptionable, {
7870
+ const validateRes = (() => { const _io0 = input => (undefined === input.discord || "string" === typeof input.discord) && (undefined === input.twitter || "string" === typeof input.twitter) && (undefined === input.github || "string" === typeof input.github) && (undefined === input.telegram || "string" === typeof input.telegram) && (undefined === input.bluesky || "string" === typeof input.bluesky) && (undefined === input.seenActivity || "string" === typeof input.seenActivity || "number" === typeof input.seenActivity || "bigint" === typeof input.seenActivity) && (undefined === input.readme || "string" === typeof input.readme) && (undefined === input.hiddenTokens || Array.isArray(input.hiddenTokens) && input.hiddenTokens.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (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) && _io3(input.notifications)); const _io1 = input => "string" === typeof input.collectionId && (Array.isArray(input.tokenIds) && input.tokenIds.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 => (undefined === input.email || "string" === typeof input.email) && (undefined === input.discord || "object" === typeof input.discord && null !== input.discord && _io4(input.discord)) && (undefined === input.antiPhishingCode || "string" === typeof input.antiPhishingCode) && (undefined === input.preferences || "object" === typeof input.preferences && null !== input.preferences && false === Array.isArray(input.preferences) && _io5(input.preferences)); const _io4 = input => "string" === typeof input.id && "string" === typeof input.username && (undefined === input.discriminator || "string" === typeof input.discriminator); const _io5 = input => (undefined === input.transferActivity || "boolean" === typeof input.transferActivity) && (undefined === input.ignoreIfInitiator || "boolean" === typeof input.ignoreIfInitiator) && (undefined === input.signInAlertsEnabled || "boolean" === typeof input.signInAlertsEnabled); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || _report(_exceptionable, {
8164
7871
  path: _path + ".discord",
8165
7872
  expected: "(string | undefined)",
8166
7873
  value: input.discord
@@ -8192,12 +7899,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
8192
7899
  path: _path + ".hiddenTokens",
8193
7900
  expected: "(Array<iBatchTokenDetails<NumberType>> | undefined)",
8194
7901
  value: input.hiddenTokens
8195
- })) && input.hiddenTokens.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8196
- path: _path + ".hiddenTokens[" + _index4 + "]",
7902
+ })) && input.hiddenTokens.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
7903
+ path: _path + ".hiddenTokens[" + _index3 + "]",
8197
7904
  expected: "iBatchTokenDetails<NumberType>",
8198
7905
  value: elem
8199
- })) && _vo1(elem, _path + ".hiddenTokens[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
8200
- path: _path + ".hiddenTokens[" + _index4 + "]",
7906
+ })) && _vo1(elem, _path + ".hiddenTokens[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
7907
+ path: _path + ".hiddenTokens[" + _index3 + "]",
8201
7908
  expected: "iBatchTokenDetails<NumberType>",
8202
7909
  value: elem
8203
7910
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8224,30 +7931,6 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
8224
7931
  path: _path + ".notifications",
8225
7932
  expected: "(__type | undefined)",
8226
7933
  value: input.notifications
8227
- }), undefined === input.socialConnections || ("object" === typeof input.socialConnections && null !== input.socialConnections && false === Array.isArray(input.socialConnections) || _report(_exceptionable, {
8228
- path: _path + ".socialConnections",
8229
- expected: "(iSocialConnections<NumberType> | undefined)",
8230
- value: input.socialConnections
8231
- })) && _vo6(input.socialConnections, _path + ".socialConnections", true && _exceptionable) || _report(_exceptionable, {
8232
- path: _path + ".socialConnections",
8233
- expected: "(iSocialConnections<NumberType> | undefined)",
8234
- value: input.socialConnections
8235
- }), undefined === input.publicSocialConnectionsToSet || (Array.isArray(input.publicSocialConnectionsToSet) || _report(_exceptionable, {
8236
- path: _path + ".publicSocialConnectionsToSet",
8237
- expected: "(Array<__type> | undefined)",
8238
- value: input.publicSocialConnectionsToSet
8239
- })) && input.publicSocialConnectionsToSet.map((elem, _index5) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8240
- path: _path + ".publicSocialConnectionsToSet[" + _index5 + "]",
8241
- expected: "__type.o21",
8242
- value: elem
8243
- })) && _vo25(elem, _path + ".publicSocialConnectionsToSet[" + _index5 + "]", true && _exceptionable) || _report(_exceptionable, {
8244
- path: _path + ".publicSocialConnectionsToSet[" + _index5 + "]",
8245
- expected: "__type.o21",
8246
- value: elem
8247
- })).every(flag => flag) || _report(_exceptionable, {
8248
- path: _path + ".publicSocialConnectionsToSet",
8249
- expected: "(Array<__type> | undefined)",
8250
- value: input.publicSocialConnectionsToSet
8251
7934
  })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || _report(_exceptionable, {
8252
7935
  path: _path + ".collectionId",
8253
7936
  expected: "string",
@@ -8256,12 +7939,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
8256
7939
  path: _path + ".tokenIds",
8257
7940
  expected: "Array<iUintRange<NumberType>>",
8258
7941
  value: input.tokenIds
8259
- })) && input.tokenIds.map((elem, _index6) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
8260
- path: _path + ".tokenIds[" + _index6 + "]",
7942
+ })) && input.tokenIds.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
7943
+ path: _path + ".tokenIds[" + _index4 + "]",
8261
7944
  expected: "iUintRange<NumberType>",
8262
7945
  value: elem
8263
- })) && _vo2(elem, _path + ".tokenIds[" + _index6 + "]", true && _exceptionable) || _report(_exceptionable, {
8264
- path: _path + ".tokenIds[" + _index6 + "]",
7946
+ })) && _vo2(elem, _path + ".tokenIds[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
7947
+ path: _path + ".tokenIds[" + _index4 + "]",
8265
7948
  expected: "iUintRange<NumberType>",
8266
7949
  value: elem
8267
7950
  })).every(flag => flag) || _report(_exceptionable, {
@@ -8324,378 +8007,6 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
8324
8007
  path: _path + ".signInAlertsEnabled",
8325
8008
  expected: "(boolean | undefined)",
8326
8009
  value: input.signInAlertsEnabled
8327
- })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => [undefined === input.discord || ("object" === typeof input.discord && null !== input.discord || _report(_exceptionable, {
8328
- path: _path + ".discord",
8329
- expected: "(__type.o3 | undefined)",
8330
- value: input.discord
8331
- })) && _vo7(input.discord, _path + ".discord", true && _exceptionable) || _report(_exceptionable, {
8332
- path: _path + ".discord",
8333
- expected: "(__type.o3 | undefined)",
8334
- value: input.discord
8335
- }), undefined === input.twitter || ("object" === typeof input.twitter && null !== input.twitter || _report(_exceptionable, {
8336
- path: _path + ".twitter",
8337
- expected: "(__type.o4 | undefined)",
8338
- value: input.twitter
8339
- })) && _vo8(input.twitter, _path + ".twitter", true && _exceptionable) || _report(_exceptionable, {
8340
- path: _path + ".twitter",
8341
- expected: "(__type.o4 | undefined)",
8342
- value: input.twitter
8343
- }), undefined === input.google || ("object" === typeof input.google && null !== input.google || _report(_exceptionable, {
8344
- path: _path + ".google",
8345
- expected: "(__type.o5 | undefined)",
8346
- value: input.google
8347
- })) && _vo9(input.google, _path + ".google", true && _exceptionable) || _report(_exceptionable, {
8348
- path: _path + ".google",
8349
- expected: "(__type.o5 | undefined)",
8350
- value: input.google
8351
- }), undefined === input.github || ("object" === typeof input.github && null !== input.github || _report(_exceptionable, {
8352
- path: _path + ".github",
8353
- expected: "(__type.o6 | undefined)",
8354
- value: input.github
8355
- })) && _vo10(input.github, _path + ".github", true && _exceptionable) || _report(_exceptionable, {
8356
- path: _path + ".github",
8357
- expected: "(__type.o6 | undefined)",
8358
- value: input.github
8359
- }), undefined === input.twitch || ("object" === typeof input.twitch && null !== input.twitch || _report(_exceptionable, {
8360
- path: _path + ".twitch",
8361
- expected: "(__type.o7 | undefined)",
8362
- value: input.twitch
8363
- })) && _vo11(input.twitch, _path + ".twitch", true && _exceptionable) || _report(_exceptionable, {
8364
- path: _path + ".twitch",
8365
- expected: "(__type.o7 | undefined)",
8366
- value: input.twitch
8367
- }), undefined === input.strava || ("object" === typeof input.strava && null !== input.strava || _report(_exceptionable, {
8368
- path: _path + ".strava",
8369
- expected: "(__type.o8 | undefined)",
8370
- value: input.strava
8371
- })) && _vo12(input.strava, _path + ".strava", true && _exceptionable) || _report(_exceptionable, {
8372
- path: _path + ".strava",
8373
- expected: "(__type.o8 | undefined)",
8374
- value: input.strava
8375
- }), undefined === input.reddit || ("object" === typeof input.reddit && null !== input.reddit || _report(_exceptionable, {
8376
- path: _path + ".reddit",
8377
- expected: "(__type.o9 | undefined)",
8378
- value: input.reddit
8379
- })) && _vo13(input.reddit, _path + ".reddit", true && _exceptionable) || _report(_exceptionable, {
8380
- path: _path + ".reddit",
8381
- expected: "(__type.o9 | undefined)",
8382
- value: input.reddit
8383
- }), undefined === input.meetup || ("object" === typeof input.meetup && null !== input.meetup || _report(_exceptionable, {
8384
- path: _path + ".meetup",
8385
- expected: "(__type.o10 | undefined)",
8386
- value: input.meetup
8387
- })) && _vo14(input.meetup, _path + ".meetup", true && _exceptionable) || _report(_exceptionable, {
8388
- path: _path + ".meetup",
8389
- expected: "(__type.o10 | undefined)",
8390
- value: input.meetup
8391
- }), undefined === input.bluesky || ("object" === typeof input.bluesky && null !== input.bluesky || _report(_exceptionable, {
8392
- path: _path + ".bluesky",
8393
- expected: "(__type.o11 | undefined)",
8394
- value: input.bluesky
8395
- })) && _vo15(input.bluesky, _path + ".bluesky", true && _exceptionable) || _report(_exceptionable, {
8396
- path: _path + ".bluesky",
8397
- expected: "(__type.o11 | undefined)",
8398
- value: input.bluesky
8399
- }), undefined === input.mailchimp || ("object" === typeof input.mailchimp && null !== input.mailchimp || _report(_exceptionable, {
8400
- path: _path + ".mailchimp",
8401
- expected: "(__type.o12 | undefined)",
8402
- value: input.mailchimp
8403
- })) && _vo16(input.mailchimp, _path + ".mailchimp", true && _exceptionable) || _report(_exceptionable, {
8404
- path: _path + ".mailchimp",
8405
- expected: "(__type.o12 | undefined)",
8406
- value: input.mailchimp
8407
- }), undefined === input.facebook || ("object" === typeof input.facebook && null !== input.facebook || _report(_exceptionable, {
8408
- path: _path + ".facebook",
8409
- expected: "(__type.o13 | undefined)",
8410
- value: input.facebook
8411
- })) && _vo17(input.facebook, _path + ".facebook", true && _exceptionable) || _report(_exceptionable, {
8412
- path: _path + ".facebook",
8413
- expected: "(__type.o13 | undefined)",
8414
- value: input.facebook
8415
- }), undefined === input.googleCalendar || ("object" === typeof input.googleCalendar && null !== input.googleCalendar || _report(_exceptionable, {
8416
- path: _path + ".googleCalendar",
8417
- expected: "(__type.o14 | undefined)",
8418
- value: input.googleCalendar
8419
- })) && _vo18(input.googleCalendar, _path + ".googleCalendar", true && _exceptionable) || _report(_exceptionable, {
8420
- path: _path + ".googleCalendar",
8421
- expected: "(__type.o14 | undefined)",
8422
- value: input.googleCalendar
8423
- }), undefined === input.youtube || ("object" === typeof input.youtube && null !== input.youtube || _report(_exceptionable, {
8424
- path: _path + ".youtube",
8425
- expected: "(__type.o15 | undefined)",
8426
- value: input.youtube
8427
- })) && _vo19(input.youtube, _path + ".youtube", true && _exceptionable) || _report(_exceptionable, {
8428
- path: _path + ".youtube",
8429
- expected: "(__type.o15 | undefined)",
8430
- value: input.youtube
8431
- }), undefined === input.linkedIn || ("object" === typeof input.linkedIn && null !== input.linkedIn || _report(_exceptionable, {
8432
- path: _path + ".linkedIn",
8433
- expected: "(__type.o16 | undefined)",
8434
- value: input.linkedIn
8435
- })) && _vo20(input.linkedIn, _path + ".linkedIn", true && _exceptionable) || _report(_exceptionable, {
8436
- path: _path + ".linkedIn",
8437
- expected: "(__type.o16 | undefined)",
8438
- value: input.linkedIn
8439
- }), undefined === input.shopify || ("object" === typeof input.shopify && null !== input.shopify || _report(_exceptionable, {
8440
- path: _path + ".shopify",
8441
- expected: "(__type.o17 | undefined)",
8442
- value: input.shopify
8443
- })) && _vo21(input.shopify, _path + ".shopify", true && _exceptionable) || _report(_exceptionable, {
8444
- path: _path + ".shopify",
8445
- expected: "(__type.o17 | undefined)",
8446
- value: input.shopify
8447
- }), undefined === input.telegram || ("object" === typeof input.telegram && null !== input.telegram || _report(_exceptionable, {
8448
- path: _path + ".telegram",
8449
- expected: "(__type.o18 | undefined)",
8450
- value: input.telegram
8451
- })) && _vo22(input.telegram, _path + ".telegram", true && _exceptionable) || _report(_exceptionable, {
8452
- path: _path + ".telegram",
8453
- expected: "(__type.o18 | undefined)",
8454
- value: input.telegram
8455
- }), undefined === input.farcaster || ("object" === typeof input.farcaster && null !== input.farcaster || _report(_exceptionable, {
8456
- path: _path + ".farcaster",
8457
- expected: "(__type.o19 | undefined)",
8458
- value: input.farcaster
8459
- })) && _vo23(input.farcaster, _path + ".farcaster", true && _exceptionable) || _report(_exceptionable, {
8460
- path: _path + ".farcaster",
8461
- expected: "(__type.o19 | undefined)",
8462
- value: input.farcaster
8463
- }), undefined === input.slack || ("object" === typeof input.slack && null !== input.slack || _report(_exceptionable, {
8464
- path: _path + ".slack",
8465
- expected: "(__type.o20 | undefined)",
8466
- value: input.slack
8467
- })) && _vo24(input.slack, _path + ".slack", true && _exceptionable) || _report(_exceptionable, {
8468
- path: _path + ".slack",
8469
- expected: "(__type.o20 | undefined)",
8470
- value: input.slack
8471
- })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8472
- path: _path + ".username",
8473
- expected: "string",
8474
- value: input.username
8475
- }), "string" === typeof input.id || _report(_exceptionable, {
8476
- path: _path + ".id",
8477
- expected: "string",
8478
- value: input.id
8479
- }), undefined === input.discriminator || "string" === typeof input.discriminator || _report(_exceptionable, {
8480
- path: _path + ".discriminator",
8481
- expected: "(string | undefined)",
8482
- value: input.discriminator
8483
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8484
- path: _path + ".lastUpdated",
8485
- expected: "(bigint | number | string)",
8486
- value: input.lastUpdated
8487
- })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8488
- path: _path + ".username",
8489
- expected: "string",
8490
- value: input.username
8491
- }), "string" === typeof input.id || _report(_exceptionable, {
8492
- path: _path + ".id",
8493
- expected: "string",
8494
- value: input.id
8495
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8496
- path: _path + ".lastUpdated",
8497
- expected: "(bigint | number | string)",
8498
- value: input.lastUpdated
8499
- })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8500
- path: _path + ".username",
8501
- expected: "string",
8502
- value: input.username
8503
- }), "string" === typeof input.id || _report(_exceptionable, {
8504
- path: _path + ".id",
8505
- expected: "string",
8506
- value: input.id
8507
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8508
- path: _path + ".lastUpdated",
8509
- expected: "(bigint | number | string)",
8510
- value: input.lastUpdated
8511
- })].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8512
- path: _path + ".username",
8513
- expected: "string",
8514
- value: input.username
8515
- }), "string" === typeof input.id || _report(_exceptionable, {
8516
- path: _path + ".id",
8517
- expected: "string",
8518
- value: input.id
8519
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8520
- path: _path + ".lastUpdated",
8521
- expected: "(bigint | number | string)",
8522
- value: input.lastUpdated
8523
- })].every(flag => flag); const _vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8524
- path: _path + ".username",
8525
- expected: "string",
8526
- value: input.username
8527
- }), "string" === typeof input.id || _report(_exceptionable, {
8528
- path: _path + ".id",
8529
- expected: "string",
8530
- value: input.id
8531
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8532
- path: _path + ".lastUpdated",
8533
- expected: "(bigint | number | string)",
8534
- value: input.lastUpdated
8535
- })].every(flag => flag); const _vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8536
- path: _path + ".username",
8537
- expected: "string",
8538
- value: input.username
8539
- }), "string" === typeof input.id || _report(_exceptionable, {
8540
- path: _path + ".id",
8541
- expected: "string",
8542
- value: input.id
8543
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8544
- path: _path + ".lastUpdated",
8545
- expected: "(bigint | number | string)",
8546
- value: input.lastUpdated
8547
- })].every(flag => flag); const _vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8548
- path: _path + ".username",
8549
- expected: "string",
8550
- value: input.username
8551
- }), "string" === typeof input.id || _report(_exceptionable, {
8552
- path: _path + ".id",
8553
- expected: "string",
8554
- value: input.id
8555
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8556
- path: _path + ".lastUpdated",
8557
- expected: "(bigint | number | string)",
8558
- value: input.lastUpdated
8559
- })].every(flag => flag); const _vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8560
- path: _path + ".username",
8561
- expected: "string",
8562
- value: input.username
8563
- }), "string" === typeof input.id || _report(_exceptionable, {
8564
- path: _path + ".id",
8565
- expected: "string",
8566
- value: input.id
8567
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8568
- path: _path + ".lastUpdated",
8569
- expected: "(bigint | number | string)",
8570
- value: input.lastUpdated
8571
- })].every(flag => flag); const _vo15 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8572
- path: _path + ".username",
8573
- expected: "string",
8574
- value: input.username
8575
- }), "string" === typeof input.id || _report(_exceptionable, {
8576
- path: _path + ".id",
8577
- expected: "string",
8578
- value: input.id
8579
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8580
- path: _path + ".lastUpdated",
8581
- expected: "(bigint | number | string)",
8582
- value: input.lastUpdated
8583
- })].every(flag => flag); const _vo16 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8584
- path: _path + ".username",
8585
- expected: "string",
8586
- value: input.username
8587
- }), "string" === typeof input.id || _report(_exceptionable, {
8588
- path: _path + ".id",
8589
- expected: "string",
8590
- value: input.id
8591
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8592
- path: _path + ".lastUpdated",
8593
- expected: "(bigint | number | string)",
8594
- value: input.lastUpdated
8595
- })].every(flag => flag); const _vo17 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8596
- path: _path + ".username",
8597
- expected: "string",
8598
- value: input.username
8599
- }), "string" === typeof input.id || _report(_exceptionable, {
8600
- path: _path + ".id",
8601
- expected: "string",
8602
- value: input.id
8603
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8604
- path: _path + ".lastUpdated",
8605
- expected: "(bigint | number | string)",
8606
- value: input.lastUpdated
8607
- })].every(flag => flag); const _vo18 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8608
- path: _path + ".username",
8609
- expected: "string",
8610
- value: input.username
8611
- }), "string" === typeof input.id || _report(_exceptionable, {
8612
- path: _path + ".id",
8613
- expected: "string",
8614
- value: input.id
8615
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8616
- path: _path + ".lastUpdated",
8617
- expected: "(bigint | number | string)",
8618
- value: input.lastUpdated
8619
- })].every(flag => flag); const _vo19 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8620
- path: _path + ".username",
8621
- expected: "string",
8622
- value: input.username
8623
- }), "string" === typeof input.id || _report(_exceptionable, {
8624
- path: _path + ".id",
8625
- expected: "string",
8626
- value: input.id
8627
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8628
- path: _path + ".lastUpdated",
8629
- expected: "(bigint | number | string)",
8630
- value: input.lastUpdated
8631
- })].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8632
- path: _path + ".username",
8633
- expected: "string",
8634
- value: input.username
8635
- }), "string" === typeof input.id || _report(_exceptionable, {
8636
- path: _path + ".id",
8637
- expected: "string",
8638
- value: input.id
8639
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8640
- path: _path + ".lastUpdated",
8641
- expected: "(bigint | number | string)",
8642
- value: input.lastUpdated
8643
- })].every(flag => flag); const _vo21 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8644
- path: _path + ".username",
8645
- expected: "string",
8646
- value: input.username
8647
- }), "string" === typeof input.id || _report(_exceptionable, {
8648
- path: _path + ".id",
8649
- expected: "string",
8650
- value: input.id
8651
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8652
- path: _path + ".lastUpdated",
8653
- expected: "(bigint | number | string)",
8654
- value: input.lastUpdated
8655
- })].every(flag => flag); const _vo22 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8656
- path: _path + ".username",
8657
- expected: "string",
8658
- value: input.username
8659
- }), "string" === typeof input.id || _report(_exceptionable, {
8660
- path: _path + ".id",
8661
- expected: "string",
8662
- value: input.id
8663
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8664
- path: _path + ".lastUpdated",
8665
- expected: "(bigint | number | string)",
8666
- value: input.lastUpdated
8667
- })].every(flag => flag); const _vo23 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8668
- path: _path + ".username",
8669
- expected: "string",
8670
- value: input.username
8671
- }), "string" === typeof input.id || _report(_exceptionable, {
8672
- path: _path + ".id",
8673
- expected: "string",
8674
- value: input.id
8675
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8676
- path: _path + ".lastUpdated",
8677
- expected: "(bigint | number | string)",
8678
- value: input.lastUpdated
8679
- })].every(flag => flag); const _vo24 = (input, _path, _exceptionable = true) => ["string" === typeof input.username || _report(_exceptionable, {
8680
- path: _path + ".username",
8681
- expected: "string",
8682
- value: input.username
8683
- }), "string" === typeof input.id || _report(_exceptionable, {
8684
- path: _path + ".id",
8685
- expected: "string",
8686
- value: input.id
8687
- }), "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated || _report(_exceptionable, {
8688
- path: _path + ".lastUpdated",
8689
- expected: "(bigint | number | string)",
8690
- value: input.lastUpdated
8691
- })].every(flag => flag); const _vo25 = (input, _path, _exceptionable = true) => ["string" === typeof input.appName || _report(_exceptionable, {
8692
- path: _path + ".appName",
8693
- expected: "string",
8694
- value: input.appName
8695
- }), undefined === input.toDelete || "boolean" === typeof input.toDelete || _report(_exceptionable, {
8696
- path: _path + ".toDelete",
8697
- expected: "(boolean | undefined)",
8698
- value: input.toDelete
8699
8010
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
8700
8011
  if (false === __is(input)) {
8701
8012
  errors = [];