bitbadgesjs-sdk 0.6.21 → 0.7.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 (85) hide show
  1. package/dist/cjs/api-indexer/BitBadgesAddressList.d.ts +8 -8
  2. package/dist/cjs/api-indexer/BitBadgesAddressList.d.ts.map +1 -1
  3. package/dist/cjs/api-indexer/BitBadgesAddressList.js +8 -8
  4. package/dist/cjs/api-indexer/BitBadgesAddressList.js.map +1 -1
  5. package/dist/cjs/api-indexer/BitBadgesApi.d.ts +101 -95
  6. package/dist/cjs/api-indexer/BitBadgesApi.d.ts.map +1 -1
  7. package/dist/cjs/api-indexer/BitBadgesApi.js +479 -270
  8. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  9. package/dist/cjs/api-indexer/BitBadgesCollection.d.ts +11 -11
  10. package/dist/cjs/api-indexer/BitBadgesCollection.d.ts.map +1 -1
  11. package/dist/cjs/api-indexer/BitBadgesCollection.js +13 -13
  12. package/dist/cjs/api-indexer/BitBadgesCollection.js.map +1 -1
  13. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts +2 -5
  14. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  15. package/dist/cjs/api-indexer/BitBadgesUserInfo.js +4 -20
  16. package/dist/cjs/api-indexer/BitBadgesUserInfo.js.map +1 -1
  17. package/dist/cjs/api-indexer/docs/interfaces.d.ts +1 -0
  18. package/dist/cjs/api-indexer/docs/interfaces.d.ts.map +1 -1
  19. package/dist/cjs/api-indexer/requests/collections.d.ts +31 -8
  20. package/dist/cjs/api-indexer/requests/collections.d.ts.map +1 -1
  21. package/dist/cjs/api-indexer/requests/collections.js +49 -1
  22. package/dist/cjs/api-indexer/requests/collections.js.map +1 -1
  23. package/dist/cjs/api-indexer/requests/maps.d.ts +17 -8
  24. package/dist/cjs/api-indexer/requests/maps.d.ts.map +1 -1
  25. package/dist/cjs/api-indexer/requests/maps.js +27 -1
  26. package/dist/cjs/api-indexer/requests/maps.js.map +1 -1
  27. package/dist/cjs/api-indexer/requests/requests.d.ts +333 -167
  28. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  29. package/dist/cjs/api-indexer/requests/requests.js +314 -35
  30. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  31. package/dist/cjs/api-indexer/requests/routes.d.ts +15 -11
  32. package/dist/cjs/api-indexer/requests/routes.d.ts.map +1 -1
  33. package/dist/cjs/api-indexer/requests/routes.js +24 -20
  34. package/dist/cjs/api-indexer/requests/routes.js.map +1 -1
  35. package/dist/cjs/common/base.d.ts +4 -0
  36. package/dist/cjs/common/base.d.ts.map +1 -1
  37. package/dist/cjs/common/base.js +19 -1
  38. package/dist/cjs/common/base.js.map +1 -1
  39. package/dist/cjs/core/approvals.d.ts +1 -0
  40. package/dist/cjs/core/approvals.d.ts.map +1 -1
  41. package/dist/cjs/core/approvals.js +1 -0
  42. package/dist/cjs/core/approvals.js.map +1 -1
  43. package/dist/esm/api-indexer/BitBadgesAddressList.d.ts +8 -8
  44. package/dist/esm/api-indexer/BitBadgesAddressList.d.ts.map +1 -1
  45. package/dist/esm/api-indexer/BitBadgesAddressList.js +8 -8
  46. package/dist/esm/api-indexer/BitBadgesAddressList.js.map +1 -1
  47. package/dist/esm/api-indexer/BitBadgesApi.d.ts +101 -95
  48. package/dist/esm/api-indexer/BitBadgesApi.d.ts.map +1 -1
  49. package/dist/esm/api-indexer/BitBadgesApi.js +480 -271
  50. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  51. package/dist/esm/api-indexer/BitBadgesCollection.d.ts +11 -11
  52. package/dist/esm/api-indexer/BitBadgesCollection.d.ts.map +1 -1
  53. package/dist/esm/api-indexer/BitBadgesCollection.js +13 -13
  54. package/dist/esm/api-indexer/BitBadgesCollection.js.map +1 -1
  55. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts +2 -5
  56. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  57. package/dist/esm/api-indexer/BitBadgesUserInfo.js +4 -20
  58. package/dist/esm/api-indexer/BitBadgesUserInfo.js.map +1 -1
  59. package/dist/esm/api-indexer/docs/interfaces.d.ts +1 -0
  60. package/dist/esm/api-indexer/docs/interfaces.d.ts.map +1 -1
  61. package/dist/esm/api-indexer/requests/collections.d.ts +31 -8
  62. package/dist/esm/api-indexer/requests/collections.d.ts.map +1 -1
  63. package/dist/esm/api-indexer/requests/collections.js +50 -1
  64. package/dist/esm/api-indexer/requests/collections.js.map +1 -1
  65. package/dist/esm/api-indexer/requests/maps.d.ts +17 -8
  66. package/dist/esm/api-indexer/requests/maps.d.ts.map +1 -1
  67. package/dist/esm/api-indexer/requests/maps.js +28 -1
  68. package/dist/esm/api-indexer/requests/maps.js.map +1 -1
  69. package/dist/esm/api-indexer/requests/requests.d.ts +333 -167
  70. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  71. package/dist/esm/api-indexer/requests/requests.js +317 -23
  72. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  73. package/dist/esm/api-indexer/requests/routes.d.ts +15 -11
  74. package/dist/esm/api-indexer/requests/routes.d.ts.map +1 -1
  75. package/dist/esm/api-indexer/requests/routes.js +24 -20
  76. package/dist/esm/api-indexer/requests/routes.js.map +1 -1
  77. package/dist/esm/common/base.d.ts +4 -0
  78. package/dist/esm/common/base.d.ts.map +1 -1
  79. package/dist/esm/common/base.js +17 -0
  80. package/dist/esm/common/base.js.map +1 -1
  81. package/dist/esm/core/approvals.d.ts +1 -0
  82. package/dist/esm/core/approvals.d.ts.map +1 -1
  83. package/dist/esm/core/approvals.js +2 -0
  84. package/dist/esm/core/approvals.js.map +1 -1
  85. package/package.json +1 -1
@@ -29,11 +29,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
29
29
  $report = typia_1.default.validate.report(errors);
30
30
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
31
31
  path: _path + "",
32
- expected: "GetStatusPayload",
32
+ expected: "iGetStatusPayload",
33
33
  value: input
34
34
  })) && $vo0(input, _path + "", true) || $report(true, {
35
35
  path: _path + "",
36
- expected: "GetStatusPayload",
36
+ expected: "iGetStatusPayload",
37
37
  value: input
38
38
  }))(input, "$input", true);
39
39
  const success = 0 === errors.length;
@@ -100,11 +100,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
100
100
  $report = typia_1.default.validate.report(errors);
101
101
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
102
102
  path: _path + "",
103
- expected: "GetSearchPayload",
103
+ expected: "iGetSearchPayload<NumberType>",
104
104
  value: input
105
105
  })) && $vo0(input, _path + "", true) || $report(true, {
106
106
  path: _path + "",
107
- expected: "GetSearchPayload",
107
+ expected: "iGetSearchPayload<NumberType>",
108
108
  value: input
109
109
  }))(input, "$input", true);
110
110
  const success = 0 === errors.length;
@@ -184,11 +184,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
184
184
  $report = typia_1.default.validate.report(errors);
185
185
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
186
186
  path: _path + "",
187
- expected: "CompleteClaimPayload",
187
+ expected: "iCompleteClaimPayload",
188
188
  value: input
189
189
  })) && $vo0(input, _path + "", true) || $report(true, {
190
190
  path: _path + "",
191
- expected: "CompleteClaimPayload",
191
+ expected: "iCompleteClaimPayload",
192
192
  value: input
193
193
  }))(input, "$input", true);
194
194
  const success = 0 === errors.length;
@@ -256,11 +256,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
256
256
  $report = typia_1.default.validate.report(errors);
257
257
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
258
258
  path: _path + "",
259
- expected: "SimulateClaimPayload",
259
+ expected: "iSimulateClaimPayload",
260
260
  value: input
261
261
  })) && $vo0(input, _path + "", true) || $report(true, {
262
262
  path: _path + "",
263
- expected: "SimulateClaimPayload",
263
+ expected: "iSimulateClaimPayload",
264
264
  value: input
265
265
  }))(input, "$input", true);
266
266
  const success = 0 === errors.length;
@@ -298,11 +298,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
298
298
  $report = typia_1.default.validate.report(errors);
299
299
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
300
300
  path: _path + "",
301
- expected: "GetReservedClaimCodesPayload",
301
+ expected: "iGetReservedClaimCodesPayload",
302
302
  value: input
303
303
  })) && $vo0(input, _path + "", true) || $report(true, {
304
304
  path: _path + "",
305
- expected: "GetReservedClaimCodesPayload",
305
+ expected: "iGetReservedClaimCodesPayload",
306
306
  value: input
307
307
  }))(input, "$input", true);
308
308
  const success = 0 === errors.length;
@@ -1367,11 +1367,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1367
1367
  $report = typia_1.default.validate.report(errors);
1368
1368
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
1369
1369
  path: _path + "",
1370
- expected: "UpdateAccountInfoPayload",
1370
+ expected: "iUpdateAccountInfoPayload",
1371
1371
  value: input
1372
1372
  })) && $vo0(input, _path + "", true) || $report(true, {
1373
1373
  path: _path + "",
1374
- expected: "UpdateAccountInfoPayload",
1374
+ expected: "iUpdateAccountInfoPayload",
1375
1375
  value: input
1376
1376
  }))(input, "$input", true);
1377
1377
  const success = 0 === errors.length;
@@ -1410,11 +1410,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1410
1410
  $report = typia_1.default.validate.report(errors);
1411
1411
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
1412
1412
  path: _path + "",
1413
- expected: "CheckSignInStatusPayload",
1413
+ expected: "iCheckSignInStatusPayload",
1414
1414
  value: input
1415
1415
  })) && $vo0(input, _path + "", true) || $report(true, {
1416
1416
  path: _path + "",
1417
- expected: "CheckSignInStatusPayload",
1417
+ expected: "iCheckSignInStatusPayload",
1418
1418
  value: input
1419
1419
  }))(input, "$input", true);
1420
1420
  const success = 0 === errors.length;
@@ -1443,19 +1443,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1443
1443
  }
1444
1444
  async getBrowse(payload) {
1445
1445
  try {
1446
- const validateRes = (() => { const $iv1 = new Set(["badges", "attestations", "pointsActivity", "collections", "addressLists", "maps", "claims", "activity", "utilityListings", "groups", "claimActivity"]); const $vv2 = new Set(["badges", "attestations", "pointsActivity", "collections", "addressLists", "maps", "claims", "activity", "utilityListings", "groups", "claimActivity"]); const $io0 = input => true === $iv1.has(input.type) && (undefined === input.filters || "object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) && $io1(input.filters)); const $io1 = input => (undefined === input.category || "string" === typeof input.category) && (undefined === input.sortBy || "string" === typeof input.sortBy) && (undefined === input.timeFrame || "string" === typeof input.timeFrame) && (undefined === input.searchTerm || "string" === typeof input.searchTerm) && (undefined === input.locale || "string" === typeof input.locale); const $vo0 = (input, _path, _exceptionable = true) => [true === $vv2.has(input.type) || $report(_exceptionable, {
1446
+ const validateRes = (() => { const $iv1 = new Set(["badges", "attestations", "pointsActivity", "collections", "addressLists", "maps", "claims", "activity", "utilityListings", "groups", "claimActivity"]); const $vv2 = new Set(["badges", "attestations", "pointsActivity", "collections", "addressLists", "maps", "claims", "activity", "utilityListings", "groups", "claimActivity"]); const $io0 = input => true === $iv1.has(input.type) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.sortBy || "string" === typeof input.sortBy) && (undefined === input.timeFrame || "string" === typeof input.timeFrame) && (undefined === input.searchTerm || "string" === typeof input.searchTerm) && (undefined === input.locale || "string" === typeof input.locale); const $vo0 = (input, _path, _exceptionable = true) => [true === $vv2.has(input.type) || $report(_exceptionable, {
1447
1447
  path: _path + ".type",
1448
1448
  expected: "(\"activity\" | \"addressLists\" | \"attestations\" | \"badges\" | \"claimActivity\" | \"claims\" | \"collections\" | \"groups\" | \"maps\" | \"pointsActivity\" | \"utilityListings\")",
1449
1449
  value: input.type
1450
- }), undefined === input.filters || ("object" === typeof input.filters && null !== input.filters && false === Array.isArray(input.filters) || $report(_exceptionable, {
1451
- path: _path + ".filters",
1452
- expected: "(__type | undefined)",
1453
- value: input.filters
1454
- })) && $vo1(input.filters, _path + ".filters", true && _exceptionable) || $report(_exceptionable, {
1455
- path: _path + ".filters",
1456
- expected: "(__type | undefined)",
1457
- value: input.filters
1458
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
1450
+ }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
1459
1451
  path: _path + ".category",
1460
1452
  expected: "(string | undefined)",
1461
1453
  value: input.category
@@ -1481,11 +1473,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1481
1473
  $report = typia_1.default.validate.report(errors);
1482
1474
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
1483
1475
  path: _path + "",
1484
- expected: "GetBrowsePayload",
1476
+ expected: "iGetBrowsePayload",
1485
1477
  value: input
1486
1478
  })) && $vo0(input, _path + "", true) || $report(true, {
1487
1479
  path: _path + "",
1488
- expected: "GetBrowsePayload",
1480
+ expected: "iGetBrowsePayload",
1489
1481
  value: input
1490
1482
  }))(input, "$input", true);
1491
1483
  const success = 0 === errors.length;
@@ -1750,11 +1742,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1750
1742
  $report = typia_1.default.validate.report(errors);
1751
1743
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
1752
1744
  path: _path + "",
1753
- expected: "ExchangeSIWBBAuthorizationCodePayload",
1745
+ expected: "iExchangeSIWBBAuthorizationCodePayload",
1754
1746
  value: input
1755
1747
  })) && $vo0(input, _path + "", true) || $report(true, {
1756
1748
  path: _path + "",
1757
- expected: "ExchangeSIWBBAuthorizationCodePayload",
1749
+ expected: "iExchangeSIWBBAuthorizationCodePayload",
1758
1750
  value: input
1759
1751
  }))(input, "$input", true);
1760
1752
  const success = 0 === errors.length;
@@ -1797,11 +1789,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
1797
1789
  $report = typia_1.default.validate.report(errors);
1798
1790
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
1799
1791
  path: _path + "",
1800
- expected: "GetSIWBBRequestsForDeveloperAppPayload",
1792
+ expected: "iGetSIWBBRequestsForDeveloperAppPayload",
1801
1793
  value: input
1802
1794
  })) && $vo0(input, _path + "", true) || $report(true, {
1803
1795
  path: _path + "",
1804
- expected: "GetSIWBBRequestsForDeveloperAppPayload",
1796
+ expected: "iGetSIWBBRequestsForDeveloperAppPayload",
1805
1797
  value: input
1806
1798
  }))(input, "$input", true);
1807
1799
  const success = 0 === errors.length;
@@ -2124,11 +2116,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
2124
2116
  $report = typia_1.default.validate.report(errors);
2125
2117
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
2126
2118
  path: _path + "",
2127
- expected: "CreateSIWBBRequestPayload",
2119
+ expected: "iCreateSIWBBRequestPayload",
2128
2120
  value: input
2129
2121
  })) && $vo0(input, _path + "", true) || $report(true, {
2130
2122
  path: _path + "",
2131
- expected: "CreateSIWBBRequestPayload",
2123
+ expected: "iCreateSIWBBRequestPayload",
2132
2124
  value: input
2133
2125
  }))(input, "$input", true);
2134
2126
  const success = 0 === errors.length;
@@ -2167,11 +2159,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
2167
2159
  $report = typia_1.default.validate.report(errors);
2168
2160
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
2169
2161
  path: _path + "",
2170
- expected: "RotateSIWBBRequestPayload",
2162
+ expected: "iRotateSIWBBRequestPayload",
2171
2163
  value: input
2172
2164
  })) && $vo0(input, _path + "", true) || $report(true, {
2173
2165
  path: _path + "",
2174
- expected: "RotateSIWBBRequestPayload",
2166
+ expected: "iRotateSIWBBRequestPayload",
2175
2167
  value: input
2176
2168
  }))(input, "$input", true);
2177
2169
  const success = 0 === errors.length;
@@ -2210,11 +2202,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
2210
2202
  $report = typia_1.default.validate.report(errors);
2211
2203
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
2212
2204
  path: _path + "",
2213
- expected: "DeleteSIWBBRequestPayload",
2205
+ expected: "iDeleteSIWBBRequestPayload",
2214
2206
  value: input
2215
2207
  })) && $vo0(input, _path + "", true) || $report(true, {
2216
2208
  path: _path + "",
2217
- expected: "DeleteSIWBBRequestPayload",
2209
+ expected: "iDeleteSIWBBRequestPayload",
2218
2210
  value: input
2219
2211
  }))(input, "$input", true);
2220
2212
  const success = 0 === errors.length;
@@ -2755,11 +2747,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
2755
2747
  $report = typia_1.default.validate.report(errors);
2756
2748
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
2757
2749
  path: _path + "",
2758
- expected: "GenericBlockinVerifyPayload",
2750
+ expected: "iGenericBlockinVerifyPayload",
2759
2751
  value: input
2760
2752
  })) && $vo0(input, _path + "", true) || $report(true, {
2761
2753
  path: _path + "",
2762
- expected: "GenericBlockinVerifyPayload",
2754
+ expected: "iGenericBlockinVerifyPayload",
2763
2755
  value: input
2764
2756
  }))(input, "$input", true);
2765
2757
  const success = 0 === errors.length;
@@ -2956,11 +2948,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
2956
2948
  $report = typia_1.default.validate.report(errors);
2957
2949
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
2958
2950
  path: _path + "",
2959
- expected: "GenericVerifyAssetsPayload",
2951
+ expected: "iGenericVerifyAssetsPayload",
2960
2952
  value: input
2961
2953
  })) && $vo0(input, _path + "", true) || $report(true, {
2962
2954
  path: _path + "",
2963
- expected: "GenericVerifyAssetsPayload",
2955
+ expected: "iGenericVerifyAssetsPayload",
2964
2956
  value: input
2965
2957
  }))(input, "$input", true);
2966
2958
  const success = 0 === errors.length;
@@ -3031,11 +3023,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3031
3023
  $report = typia_1.default.validate.report(errors);
3032
3024
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3033
3025
  path: _path + "",
3034
- expected: "SendClaimAlertsPayload",
3026
+ expected: "iSendClaimAlertsPayload",
3035
3027
  value: input
3036
3028
  })) && $vo0(input, _path + "", true) || $report(true, {
3037
3029
  path: _path + "",
3038
- expected: "SendClaimAlertsPayload",
3030
+ expected: "iSendClaimAlertsPayload",
3039
3031
  value: input
3040
3032
  }))(input, "$input", true);
3041
3033
  const success = 0 === errors.length;
@@ -3078,11 +3070,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3078
3070
  $report = typia_1.default.validate.report(errors);
3079
3071
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3080
3072
  path: _path + "",
3081
- expected: "GetClaimAlertsForCollectionPayload",
3073
+ expected: "iGetClaimAlertsForCollectionPayload<NumberType>",
3082
3074
  value: input
3083
3075
  })) && $vo0(input, _path + "", true) || $report(true, {
3084
3076
  path: _path + "",
3085
- expected: "GetClaimAlertsForCollectionPayload",
3077
+ expected: "iGetClaimAlertsForCollectionPayload<NumberType>",
3086
3078
  value: input
3087
3079
  }))(input, "$input", true);
3088
3080
  const success = 0 === errors.length;
@@ -3132,11 +3124,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3132
3124
  $report = typia_1.default.validate.report(errors);
3133
3125
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3134
3126
  path: _path + "",
3135
- expected: "GetMapsPayload",
3127
+ expected: "iGetMapsPayload",
3136
3128
  value: input
3137
3129
  })) && $vo0(input, _path + "", true) || $report(true, {
3138
3130
  path: _path + "",
3139
- expected: "GetMapsPayload",
3131
+ expected: "iGetMapsPayload",
3140
3132
  value: input
3141
3133
  }))(input, "$input", true);
3142
3134
  const success = 0 === errors.length;
@@ -3165,23 +3157,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3165
3157
  }
3166
3158
  async getMapValues(payload) {
3167
3159
  try {
3168
- const validateRes = (() => { const $io0 = input => Array.isArray(input.valuesToFetch) && input.valuesToFetch.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => "string" === typeof input.mapId && (Array.isArray(input.keys) && input.keys.every(elem => "string" === typeof elem)); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.valuesToFetch) || $report(_exceptionable, {
3169
- path: _path + ".valuesToFetch",
3170
- expected: "Array<__type>",
3171
- value: input.valuesToFetch
3172
- })) && input.valuesToFetch.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3173
- path: _path + ".valuesToFetch[" + _index3 + "]",
3174
- expected: "__type",
3175
- value: elem
3176
- })) && $vo1(elem, _path + ".valuesToFetch[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
3177
- path: _path + ".valuesToFetch[" + _index3 + "]",
3178
- expected: "__type",
3179
- value: elem
3180
- })).every(flag => flag) || $report(_exceptionable, {
3181
- path: _path + ".valuesToFetch",
3182
- expected: "Array<__type>",
3183
- value: input.valuesToFetch
3184
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.mapId || $report(_exceptionable, {
3160
+ const validateRes = (() => { const $io0 = input => "string" === typeof input.mapId && (Array.isArray(input.keys) && input.keys.every(elem => "string" === typeof elem)); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.mapId || $report(_exceptionable, {
3185
3161
  path: _path + ".mapId",
3186
3162
  expected: "string",
3187
3163
  value: input.mapId
@@ -3189,8 +3165,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3189
3165
  path: _path + ".keys",
3190
3166
  expected: "Array<string>",
3191
3167
  value: input.keys
3192
- })) && input.keys.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable, {
3193
- path: _path + ".keys[" + _index4 + "]",
3168
+ })) && input.keys.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable, {
3169
+ path: _path + ".keys[" + _index2 + "]",
3194
3170
  expected: "string",
3195
3171
  value: elem
3196
3172
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3203,11 +3179,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3203
3179
  $report = typia_1.default.validate.report(errors);
3204
3180
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3205
3181
  path: _path + "",
3206
- expected: "GetMapValuesPayload",
3182
+ expected: "iGetMapValuesPayload",
3207
3183
  value: input
3208
3184
  })) && $vo0(input, _path + "", true) || $report(true, {
3209
3185
  path: _path + "",
3210
- expected: "GetMapValuesPayload",
3186
+ expected: "iGetMapValuesPayload",
3211
3187
  value: input
3212
3188
  }))(input, "$input", true);
3213
3189
  const success = 0 === errors.length;
@@ -3245,11 +3221,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3245
3221
  $report = typia_1.default.validate.report(errors);
3246
3222
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
3247
3223
  path: _path + "",
3248
- expected: "FilterSuggestionsPayload",
3224
+ expected: "iFilterSuggestionsPayload",
3249
3225
  value: input
3250
3226
  })) && $vo0(input, _path + "", true) || $report(true, {
3251
3227
  path: _path + "",
3252
- expected: "FilterSuggestionsPayload",
3228
+ expected: "iFilterSuggestionsPayload",
3253
3229
  value: input
3254
3230
  }))(input, "$input", true);
3255
3231
  const success = 0 === errors.length;
@@ -3278,19 +3254,86 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3278
3254
  }
3279
3255
  async getClaims(payload) {
3280
3256
  try {
3281
- const validateRes = (() => { const $io0 = input => (undefined === input.claimIds || Array.isArray(input.claimIds) && input.claimIds.every(elem => "string" === typeof elem)) && (undefined === input.standaloneClaimsOnly || "boolean" === typeof input.standaloneClaimsOnly) && (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams) && (undefined === input.searchValue || "string" === typeof input.searchValue) && (undefined === input.privateStatesToFetch || Array.isArray(input.privateStatesToFetch) && input.privateStatesToFetch.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && (undefined === input.fetchAllClaimedUsers || "boolean" === typeof input.fetchAllClaimedUsers); const $io1 = input => "string" === typeof input.claimId && "string" === typeof input.instanceId; const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.claimIds || (Array.isArray(input.claimIds) || $report(_exceptionable, {
3282
- path: _path + ".claimIds",
3257
+ const validateRes = (() => { const $io0 = input => Array.isArray(input.claimsToFetch) && input.claimsToFetch.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => "string" === typeof input.claimId && (undefined === input.privateStatesToFetch || Array.isArray(input.privateStatesToFetch) && input.privateStatesToFetch.every(elem => "string" === typeof elem)) && (undefined === input.fetchAllClaimedUsers || "boolean" === typeof input.fetchAllClaimedUsers) && (undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimsToFetch) || $report(_exceptionable, {
3258
+ path: _path + ".claimsToFetch",
3259
+ expected: "Array<__type>",
3260
+ value: input.claimsToFetch
3261
+ })) && input.claimsToFetch.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3262
+ path: _path + ".claimsToFetch[" + _index3 + "]",
3263
+ expected: "__type",
3264
+ value: elem
3265
+ })) && $vo1(elem, _path + ".claimsToFetch[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
3266
+ path: _path + ".claimsToFetch[" + _index3 + "]",
3267
+ expected: "__type",
3268
+ value: elem
3269
+ })).every(flag => flag) || $report(_exceptionable, {
3270
+ path: _path + ".claimsToFetch",
3271
+ expected: "Array<__type>",
3272
+ value: input.claimsToFetch
3273
+ })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
3274
+ path: _path + ".claimId",
3275
+ expected: "string",
3276
+ value: input.claimId
3277
+ }), undefined === input.privateStatesToFetch || (Array.isArray(input.privateStatesToFetch) || $report(_exceptionable, {
3278
+ path: _path + ".privateStatesToFetch",
3283
3279
  expected: "(Array<string> | undefined)",
3284
- value: input.claimIds
3285
- })) && input.claimIds.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
3286
- path: _path + ".claimIds[" + _index3 + "]",
3280
+ value: input.privateStatesToFetch
3281
+ })) && input.privateStatesToFetch.map((elem, _index4) => "string" === typeof elem || $report(_exceptionable, {
3282
+ path: _path + ".privateStatesToFetch[" + _index4 + "]",
3287
3283
  expected: "string",
3288
3284
  value: elem
3289
3285
  })).every(flag => flag) || $report(_exceptionable, {
3290
- path: _path + ".claimIds",
3286
+ path: _path + ".privateStatesToFetch",
3291
3287
  expected: "(Array<string> | undefined)",
3292
- value: input.claimIds
3293
- }), undefined === input.standaloneClaimsOnly || "boolean" === typeof input.standaloneClaimsOnly || $report(_exceptionable, {
3288
+ value: input.privateStatesToFetch
3289
+ }), undefined === input.fetchAllClaimedUsers || "boolean" === typeof input.fetchAllClaimedUsers || $report(_exceptionable, {
3290
+ path: _path + ".fetchAllClaimedUsers",
3291
+ expected: "(boolean | undefined)",
3292
+ value: input.fetchAllClaimedUsers
3293
+ }), undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams || $report(_exceptionable, {
3294
+ path: _path + ".fetchPrivateParams",
3295
+ expected: "(boolean | undefined)",
3296
+ value: input.fetchPrivateParams
3297
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
3298
+ if (false === __is(input)) {
3299
+ errors = [];
3300
+ $report = typia_1.default.validate.report(errors);
3301
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3302
+ path: _path + "",
3303
+ expected: "iGetClaimsPayloadV1",
3304
+ value: input
3305
+ })) && $vo0(input, _path + "", true) || $report(true, {
3306
+ path: _path + "",
3307
+ expected: "iGetClaimsPayloadV1",
3308
+ value: input
3309
+ }))(input, "$input", true);
3310
+ const success = 0 === errors.length;
3311
+ return {
3312
+ success,
3313
+ errors,
3314
+ data: success ? input : undefined
3315
+ };
3316
+ }
3317
+ return {
3318
+ success: true,
3319
+ errors: [],
3320
+ data: input
3321
+ };
3322
+ }; })()(payload ?? {});
3323
+ if (!validateRes.success) {
3324
+ throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3325
+ }
3326
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetClaimsRoute()}`, payload);
3327
+ return new requests_js_1.GetClaimsSuccessResponse(response.data).convert(this.ConvertFunction);
3328
+ }
3329
+ catch (error) {
3330
+ await this.handleApiError(error);
3331
+ return Promise.reject(error);
3332
+ }
3333
+ }
3334
+ async searchClaims(payload) {
3335
+ try {
3336
+ const validateRes = (() => { const $io0 = input => (undefined === input.standaloneClaimsOnly || "boolean" === typeof input.standaloneClaimsOnly) && (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams) && (undefined === input.searchValue || "string" === typeof input.searchValue); const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.standaloneClaimsOnly || "boolean" === typeof input.standaloneClaimsOnly || $report(_exceptionable, {
3294
3337
  path: _path + ".standaloneClaimsOnly",
3295
3338
  expected: "(boolean | undefined)",
3296
3339
  value: input.standaloneClaimsOnly
@@ -3306,45 +3349,17 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3306
3349
  path: _path + ".searchValue",
3307
3350
  expected: "(string | undefined)",
3308
3351
  value: input.searchValue
3309
- }), undefined === input.privateStatesToFetch || (Array.isArray(input.privateStatesToFetch) || $report(_exceptionable, {
3310
- path: _path + ".privateStatesToFetch",
3311
- expected: "(Array<__type> | undefined)",
3312
- value: input.privateStatesToFetch
3313
- })) && input.privateStatesToFetch.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3314
- path: _path + ".privateStatesToFetch[" + _index4 + "]",
3315
- expected: "__type",
3316
- value: elem
3317
- })) && $vo1(elem, _path + ".privateStatesToFetch[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
3318
- path: _path + ".privateStatesToFetch[" + _index4 + "]",
3319
- expected: "__type",
3320
- value: elem
3321
- })).every(flag => flag) || $report(_exceptionable, {
3322
- path: _path + ".privateStatesToFetch",
3323
- expected: "(Array<__type> | undefined)",
3324
- value: input.privateStatesToFetch
3325
- }), undefined === input.fetchAllClaimedUsers || "boolean" === typeof input.fetchAllClaimedUsers || $report(_exceptionable, {
3326
- path: _path + ".fetchAllClaimedUsers",
3327
- expected: "(boolean | undefined)",
3328
- value: input.fetchAllClaimedUsers
3329
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
3330
- path: _path + ".claimId",
3331
- expected: "string",
3332
- value: input.claimId
3333
- }), "string" === typeof input.instanceId || $report(_exceptionable, {
3334
- path: _path + ".instanceId",
3335
- expected: "string",
3336
- value: input.instanceId
3337
3352
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
3338
3353
  if (false === __is(input)) {
3339
3354
  errors = [];
3340
3355
  $report = typia_1.default.validate.report(errors);
3341
3356
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
3342
3357
  path: _path + "",
3343
- expected: "GetClaimsPayload",
3358
+ expected: "iSearchClaimsPayload",
3344
3359
  value: input
3345
3360
  })) && $vo0(input, _path + "", true) || $report(true, {
3346
3361
  path: _path + "",
3347
- expected: "GetClaimsPayload",
3362
+ expected: "iSearchClaimsPayload",
3348
3363
  value: input
3349
3364
  }))(input, "$input", true);
3350
3365
  const success = 0 === errors.length;
@@ -3363,8 +3378,8 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3363
3378
  if (!validateRes.success) {
3364
3379
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3365
3380
  }
3366
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetClaimsRoute()}`, payload);
3367
- return new requests_js_1.GetClaimsSuccessResponse(response.data).convert(this.ConvertFunction);
3381
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.SearchClaimsRoute()}`, payload);
3382
+ return new requests_js_1.SearchClaimsSuccessResponse(response.data);
3368
3383
  }
3369
3384
  catch (error) {
3370
3385
  await this.handleApiError(error);
@@ -3395,11 +3410,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3395
3410
  $report = typia_1.default.validate.report(errors);
3396
3411
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
3397
3412
  path: _path + "",
3398
- expected: "GetAttestationsPayload",
3413
+ expected: "iGetAttestationsPayload",
3399
3414
  value: input
3400
3415
  })) && $vo0(input, _path + "", true) || $report(true, {
3401
3416
  path: _path + "",
3402
- expected: "GetAttestationsPayload",
3417
+ expected: "iGetAttestationsPayload",
3403
3418
  value: input
3404
3419
  }))(input, "$input", true);
3405
3420
  const success = 0 === errors.length;
@@ -3546,11 +3561,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3546
3561
  $report = typia_1.default.validate.report(errors);
3547
3562
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3548
3563
  path: _path + "",
3549
- expected: "CreateAttestationPayload",
3564
+ expected: "iCreateAttestationPayload",
3550
3565
  value: input
3551
3566
  })) && $vo0(input, _path + "", true) || $report(true, {
3552
3567
  path: _path + "",
3553
- expected: "CreateAttestationPayload",
3568
+ expected: "iCreateAttestationPayload",
3554
3569
  value: input
3555
3570
  }))(input, "$input", true);
3556
3571
  const success = 0 === errors.length;
@@ -3589,11 +3604,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3589
3604
  $report = typia_1.default.validate.report(errors);
3590
3605
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
3591
3606
  path: _path + "",
3592
- expected: "DeleteAttestationPayload",
3607
+ expected: "iDeleteAttestationPayload",
3593
3608
  value: input
3594
3609
  })) && $vo0(input, _path + "", true) || $report(true, {
3595
3610
  path: _path + "",
3596
- expected: "DeleteAttestationPayload",
3611
+ expected: "iDeleteAttestationPayload",
3597
3612
  value: input
3598
3613
  }))(input, "$input", true);
3599
3614
  const success = 0 === errors.length;
@@ -3778,11 +3793,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
3778
3793
  $report = typia_1.default.validate.report(errors);
3779
3794
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
3780
3795
  path: _path + "",
3781
- expected: "UpdateAttestationPayload",
3796
+ expected: "iUpdateAttestationPayload",
3782
3797
  value: input
3783
3798
  })) && $vo0(input, _path + "", true) || $report(true, {
3784
3799
  path: _path + "",
3785
- expected: "UpdateAttestationPayload",
3800
+ expected: "iUpdateAttestationPayload",
3786
3801
  value: input
3787
3802
  }))(input, "$input", true);
3788
3803
  const success = 0 === errors.length;
@@ -4029,11 +4044,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4029
4044
  $report = typia_1.default.validate.report(errors);
4030
4045
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
4031
4046
  path: _path + "",
4032
- expected: "VerifyAttestationPayload",
4047
+ expected: "iVerifyAttestationPayload",
4033
4048
  value: input
4034
4049
  })) && $vo0(input, _path + "", true) || $report(true, {
4035
4050
  path: _path + "",
4036
- expected: "VerifyAttestationPayload",
4051
+ expected: "iVerifyAttestationPayload",
4037
4052
  value: input
4038
4053
  }))(input, "$input", true);
4039
4054
  const success = 0 === errors.length;
@@ -4062,7 +4077,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4062
4077
  }
4063
4078
  async createClaims(payload) {
4064
4079
  try {
4065
- const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)) && (undefined === input.testClaims || "boolean" === typeof input.testClaims) && (undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim); const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.claimId && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io19(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io21(elem))); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
4080
+ const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)) && (undefined === input.testClaims || "boolean" === typeof input.testClaims) && (undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim); const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.claimId && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.managedBy || "string" === typeof input.managedBy) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io19(input.satisfyMethod)) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io21(elem))); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
4066
4081
  const value = input[key];
4067
4082
  if (undefined === value)
4068
4083
  return true;
@@ -4133,6 +4148,10 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4133
4148
  path: _path + ".seedCode",
4134
4149
  expected: "(string | undefined)",
4135
4150
  value: input.seedCode
4151
+ }), undefined === input.managedBy || "string" === typeof input.managedBy || $report(_exceptionable, {
4152
+ path: _path + ".managedBy",
4153
+ expected: "(string | undefined)",
4154
+ value: input.managedBy
4136
4155
  }), undefined === input.listId || "string" === typeof input.listId || $report(_exceptionable, {
4137
4156
  path: _path + ".listId",
4138
4157
  expected: "(string | undefined)",
@@ -4718,11 +4737,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4718
4737
  $report = typia_1.default.validate.report(errors);
4719
4738
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
4720
4739
  path: _path + "",
4721
- expected: "CreateClaimPayload",
4740
+ expected: "iCreateClaimPayload",
4722
4741
  value: input
4723
4742
  })) && $vo0(input, _path + "", true) || $report(true, {
4724
4743
  path: _path + "",
4725
- expected: "CreateClaimPayload",
4744
+ expected: "iCreateClaimPayload",
4726
4745
  value: input
4727
4746
  }))(input, "$input", true);
4728
4747
  const success = 0 === errors.length;
@@ -4769,11 +4788,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4769
4788
  $report = typia_1.default.validate.report(errors);
4770
4789
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
4771
4790
  path: _path + "",
4772
- expected: "DeleteClaimPayload",
4791
+ expected: "iDeleteClaimPayload",
4773
4792
  value: input
4774
4793
  })) && $vo0(input, _path + "", true) || $report(true, {
4775
4794
  path: _path + "",
4776
- expected: "DeleteClaimPayload",
4795
+ expected: "iDeleteClaimPayload",
4777
4796
  value: input
4778
4797
  }))(input, "$input", true);
4779
4798
  const success = 0 === errors.length;
@@ -4804,7 +4823,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4804
4823
  }
4805
4824
  async updateClaims(payload) {
4806
4825
  try {
4807
- const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && "string" === typeof input.claimId && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io17(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io22(input.satisfyMethod)); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
4826
+ const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && "string" === typeof input.claimId && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.managedBy || "string" === typeof input.managedBy) && (undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io7(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io8(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io17(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io22(input.satisfyMethod)); const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io3 = input => Object.keys(input).every(key => {
4808
4827
  const value = input[key];
4809
4828
  if (undefined === value)
4810
4829
  return true;
@@ -4871,6 +4890,10 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
4871
4890
  path: _path + ".createdBy",
4872
4891
  expected: "(string | undefined)",
4873
4892
  value: input.createdBy
4893
+ }), undefined === input.managedBy || "string" === typeof input.managedBy || $report(_exceptionable, {
4894
+ path: _path + ".managedBy",
4895
+ expected: "(string | undefined)",
4896
+ value: input.managedBy
4874
4897
  }), undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim || $report(_exceptionable, {
4875
4898
  path: _path + ".standaloneClaim",
4876
4899
  expected: "(boolean | undefined)",
@@ -5472,11 +5495,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
5472
5495
  $report = typia_1.default.validate.report(errors);
5473
5496
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
5474
5497
  path: _path + "",
5475
- expected: "UpdateClaimPayload",
5498
+ expected: "iUpdateClaimPayload",
5476
5499
  value: input
5477
5500
  })) && $vo0(input, _path + "", true) || $report(true, {
5478
5501
  path: _path + "",
5479
- expected: "UpdateClaimPayload",
5502
+ expected: "iUpdateClaimPayload",
5480
5503
  value: input
5481
5504
  }))(input, "$input", true);
5482
5505
  const success = 0 === errors.length;
@@ -5515,11 +5538,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
5515
5538
  $report = typia_1.default.validate.report(errors);
5516
5539
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
5517
5540
  path: _path + "",
5518
- expected: "OauthRevokePayload",
5541
+ expected: "iOauthRevokePayload",
5519
5542
  value: input
5520
5543
  })) && $vo0(input, _path + "", true) || $report(true, {
5521
5544
  path: _path + "",
5522
- expected: "OauthRevokePayload",
5545
+ expected: "iOauthRevokePayload",
5523
5546
  value: input
5524
5547
  }))(input, "$input", true);
5525
5548
  const success = 0 === errors.length;
@@ -6000,11 +6023,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6000
6023
  $report = typia_1.default.validate.report(errors);
6001
6024
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6002
6025
  path: _path + "",
6003
- expected: "AddBalancesToOffChainStoragePayload",
6026
+ expected: "iAddBalancesToOffChainStoragePayload",
6004
6027
  value: input
6005
6028
  })) && $vo0(input, _path + "", true) || $report(true, {
6006
6029
  path: _path + "",
6007
- expected: "AddBalancesToOffChainStoragePayload",
6030
+ expected: "iAddBalancesToOffChainStoragePayload",
6008
6031
  value: input
6009
6032
  }))(input, "$input", true);
6010
6033
  const success = 0 === errors.length;
@@ -6039,11 +6062,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6039
6062
  $report = typia_1.default.validate.report(errors);
6040
6063
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
6041
6064
  path: _path + "",
6042
- expected: "GetGatedContentForClaimPayload",
6065
+ expected: "iGetGatedContentForClaimPayload",
6043
6066
  value: input
6044
6067
  })) && $vo0(input, _path + "", true) || $report(true, {
6045
6068
  path: _path + "",
6046
- expected: "GetGatedContentForClaimPayload",
6069
+ expected: "iGetGatedContentForClaimPayload",
6047
6070
  value: input
6048
6071
  }))(input, "$input", true);
6049
6072
  const success = 0 === errors.length;
@@ -6086,11 +6109,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6086
6109
  $report = typia_1.default.validate.report(errors);
6087
6110
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6088
6111
  path: _path + "",
6089
- expected: "GetSignInChallengePayload",
6112
+ expected: "iGetSignInChallengePayload",
6090
6113
  value: input
6091
6114
  })) && $vo0(input, _path + "", true) || $report(true, {
6092
6115
  path: _path + "",
6093
- expected: "GetSignInChallengePayload",
6116
+ expected: "iGetSignInChallengePayload",
6094
6117
  value: input
6095
6118
  }))(input, "$input", true);
6096
6119
  const success = 0 === errors.length;
@@ -6149,11 +6172,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6149
6172
  $report = typia_1.default.validate.report(errors);
6150
6173
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6151
6174
  path: _path + "",
6152
- expected: "VerifySignInPayload",
6175
+ expected: "iVerifySignInPayload",
6153
6176
  value: input
6154
6177
  })) && $vo0(input, _path + "", true) || $report(true, {
6155
6178
  path: _path + "",
6156
- expected: "VerifySignInPayload",
6179
+ expected: "iVerifySignInPayload",
6157
6180
  value: input
6158
6181
  }))(input, "$input", true);
6159
6182
  const success = 0 === errors.length;
@@ -6268,11 +6291,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6268
6291
  $report = typia_1.default.validate.report(errors);
6269
6292
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6270
6293
  path: _path + "",
6271
- expected: "SignOutPayload",
6294
+ expected: "iSignOutPayload",
6272
6295
  value: input
6273
6296
  })) && $vo0(input, _path + "", true) || $report(true, {
6274
6297
  path: _path + "",
6275
- expected: "SignOutPayload",
6298
+ expected: "iSignOutPayload",
6276
6299
  value: input
6277
6300
  }))(input, "$input", true);
6278
6301
  const success = 0 === errors.length;
@@ -6299,7 +6322,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6299
6322
  return Promise.reject(error);
6300
6323
  }
6301
6324
  }
6302
- async performBinAction(payload, actionName, binId, binSecret, bodyAuth = true) {
6325
+ async performStoreAction(payload, actionName, dynamicDataId, dynamicDataSecret, bodyAuth = true) {
6303
6326
  try {
6304
6327
  const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => Object.keys(input).every(key => {
6305
6328
  const value = input[key];
@@ -6317,11 +6340,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6317
6340
  $report = typia_1.default.validate.report(errors);
6318
6341
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
6319
6342
  path: _path + "",
6320
- expected: "PerformBinActionPayload",
6343
+ expected: "iPerformStoreActionPayload",
6321
6344
  value: input
6322
6345
  })) && $vo0(input, _path + "", true) || $report(true, {
6323
6346
  path: _path + "",
6324
- expected: "PerformBinActionPayload",
6347
+ expected: "iPerformStoreActionPayload",
6325
6348
  value: input
6326
6349
  }))(input, "$input", true);
6327
6350
  const success = 0 === errors.length;
@@ -6341,17 +6364,17 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6341
6364
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6342
6365
  }
6343
6366
  if (bodyAuth) {
6344
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformBinActionSingleWithBodyAuthRoute()}`, {
6345
- dynamicDataId: binId,
6346
- dataSecret: binSecret,
6367
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformStoreActionSingleWithBodyAuthRoute()}`, {
6368
+ dynamicDataId: dynamicDataId,
6369
+ dataSecret: dynamicDataSecret,
6347
6370
  actionName: actionName,
6348
6371
  payload: payload
6349
6372
  });
6350
- return new requests_js_1.PerformBinActionSuccessResponse(response.data);
6373
+ return new requests_js_1.PerformStoreActionSuccessResponse(response.data);
6351
6374
  }
6352
6375
  else {
6353
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformBinActionSingleRoute(actionName, binId, binSecret)}`, payload);
6354
- return new requests_js_1.PerformBinActionSuccessResponse(response.data);
6376
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformStoreActionSingleRoute(actionName, dynamicDataId, dynamicDataSecret)}`, payload);
6377
+ return new requests_js_1.PerformStoreActionSuccessResponse(response.data);
6355
6378
  }
6356
6379
  }
6357
6380
  catch (error) {
@@ -6359,7 +6382,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6359
6382
  return Promise.reject(error);
6360
6383
  }
6361
6384
  }
6362
- async performBatchBinAction(payload, binId, binSecret, bodyAuth = true) {
6385
+ async performBatchStoreAction(payload, dynamicDataId, dynamicDataSecret, bodyAuth = true) {
6363
6386
  try {
6364
6387
  const validateRes = (() => { const $io0 = input => Array.isArray(input.actions) && input.actions.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => "string" === typeof input.actionName && true; const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.actions) || $report(_exceptionable, {
6365
6388
  path: _path + ".actions",
@@ -6387,11 +6410,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6387
6410
  $report = typia_1.default.validate.report(errors);
6388
6411
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6389
6412
  path: _path + "",
6390
- expected: "BatchBinActionPayload",
6413
+ expected: "iBatchStoreActionPayload",
6391
6414
  value: input
6392
6415
  })) && $vo0(input, _path + "", true) || $report(true, {
6393
6416
  path: _path + "",
6394
- expected: "BatchBinActionPayload",
6417
+ expected: "iBatchStoreActionPayload",
6395
6418
  value: input
6396
6419
  }))(input, "$input", true);
6397
6420
  const success = 0 === errors.length;
@@ -6411,16 +6434,16 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6411
6434
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6412
6435
  }
6413
6436
  if (bodyAuth) {
6414
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformBinActionBatchWithBodyAuthRoute()}`, {
6437
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformStoreActionBatchWithBodyAuthRoute()}`, {
6415
6438
  ...payload,
6416
- dynamicDataId: binId,
6417
- dataSecret: binSecret
6439
+ dynamicDataId: dynamicDataId,
6440
+ dataSecret: dynamicDataSecret
6418
6441
  });
6419
- return new requests_js_1.BatchBinActionSuccessResponse(response.data);
6442
+ return new requests_js_1.BatchStoreActionSuccessResponse(response.data);
6420
6443
  }
6421
6444
  else {
6422
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformBinActionBatchRoute(binId, binSecret)}`, payload);
6423
- return new requests_js_1.BatchBinActionSuccessResponse(response.data);
6445
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.PerformStoreActionBatchRoute(dynamicDataId, dynamicDataSecret)}`, payload);
6446
+ return new requests_js_1.BatchStoreActionSuccessResponse(response.data);
6424
6447
  }
6425
6448
  }
6426
6449
  catch (error) {
@@ -6430,7 +6453,7 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6430
6453
  }
6431
6454
  async getDynamicDataActivity(payload) {
6432
6455
  try {
6433
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetDynamicDataActivityRoute()}`, payload);
6456
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetDynamicDataStoreActivityRoute()}`, payload);
6434
6457
  return new requests_js_1.GetDynamicDataActivitySuccessResponse(response.data);
6435
6458
  }
6436
6459
  catch (error) {
@@ -6438,47 +6461,59 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6438
6461
  return Promise.reject(error);
6439
6462
  }
6440
6463
  }
6441
- async getDynamicDataBins(payload) {
6464
+ async getDynamicDataStores(payload) {
6442
6465
  try {
6443
- const validateRes = (() => { const $io0 = input => (undefined === input.dynamicDataId || "string" === typeof input.dynamicDataId) && (undefined === input.dataSecret || "string" === typeof input.dataSecret) && (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.options || "object" === typeof input.options && null !== input.options && $io1(input.options)); const $io1 = input => (undefined === input.lookupType || "username" === input.lookupType || "id" === input.lookupType) && "string" === typeof input.key; const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.dynamicDataId || "string" === typeof input.dynamicDataId || $report(_exceptionable, {
6466
+ const validateRes = (() => { const $io0 = input => "string" === typeof input.dynamicDataId && (undefined === input.dataSecret || "string" === typeof input.dataSecret) && (undefined === input.fetchAllData || "boolean" === typeof input.fetchAllData) && (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.lookupKeys || Array.isArray(input.lookupKeys) && input.lookupKeys.every(elem => "object" === typeof elem && null !== elem && $io1(elem))); const $io1 = input => "string" === typeof input.key && (undefined === input.lookupType || "username" === input.lookupType || "id" === input.lookupType); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.dynamicDataId || $report(_exceptionable, {
6444
6467
  path: _path + ".dynamicDataId",
6445
- expected: "(string | undefined)",
6468
+ expected: "string",
6446
6469
  value: input.dynamicDataId
6447
6470
  }), undefined === input.dataSecret || "string" === typeof input.dataSecret || $report(_exceptionable, {
6448
6471
  path: _path + ".dataSecret",
6449
6472
  expected: "(string | undefined)",
6450
6473
  value: input.dataSecret
6474
+ }), undefined === input.fetchAllData || "boolean" === typeof input.fetchAllData || $report(_exceptionable, {
6475
+ path: _path + ".fetchAllData",
6476
+ expected: "(boolean | undefined)",
6477
+ value: input.fetchAllData
6451
6478
  }), undefined === input.bookmark || "string" === typeof input.bookmark || $report(_exceptionable, {
6452
6479
  path: _path + ".bookmark",
6453
6480
  expected: "(string | undefined)",
6454
6481
  value: input.bookmark
6455
- }), undefined === input.options || ("object" === typeof input.options && null !== input.options || $report(_exceptionable, {
6456
- path: _path + ".options",
6457
- expected: "(__type | undefined)",
6458
- value: input.options
6459
- })) && $vo1(input.options, _path + ".options", true && _exceptionable) || $report(_exceptionable, {
6460
- path: _path + ".options",
6461
- expected: "(__type | undefined)",
6462
- value: input.options
6463
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.lookupType || "username" === input.lookupType || "id" === input.lookupType || $report(_exceptionable, {
6464
- path: _path + ".lookupType",
6465
- expected: "(\"id\" | \"username\" | undefined)",
6466
- value: input.lookupType
6467
- }), "string" === typeof input.key || $report(_exceptionable, {
6482
+ }), undefined === input.lookupKeys || (Array.isArray(input.lookupKeys) || $report(_exceptionable, {
6483
+ path: _path + ".lookupKeys",
6484
+ expected: "(Array<__type> | undefined)",
6485
+ value: input.lookupKeys
6486
+ })) && input.lookupKeys.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6487
+ path: _path + ".lookupKeys[" + _index2 + "]",
6488
+ expected: "__type",
6489
+ value: elem
6490
+ })) && $vo1(elem, _path + ".lookupKeys[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
6491
+ path: _path + ".lookupKeys[" + _index2 + "]",
6492
+ expected: "__type",
6493
+ value: elem
6494
+ })).every(flag => flag) || $report(_exceptionable, {
6495
+ path: _path + ".lookupKeys",
6496
+ expected: "(Array<__type> | undefined)",
6497
+ value: input.lookupKeys
6498
+ })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.key || $report(_exceptionable, {
6468
6499
  path: _path + ".key",
6469
6500
  expected: "string",
6470
6501
  value: input.key
6471
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
6502
+ }), undefined === input.lookupType || "username" === input.lookupType || "id" === input.lookupType || $report(_exceptionable, {
6503
+ path: _path + ".lookupType",
6504
+ expected: "(\"id\" | \"username\" | undefined)",
6505
+ value: input.lookupType
6506
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
6472
6507
  if (false === __is(input)) {
6473
6508
  errors = [];
6474
6509
  $report = typia_1.default.validate.report(errors);
6475
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
6510
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6476
6511
  path: _path + "",
6477
- expected: "GetDynamicDataBinsPayload",
6512
+ expected: "iGetDynamicDataStoresPayload",
6478
6513
  value: input
6479
6514
  })) && $vo0(input, _path + "", true) || $report(true, {
6480
6515
  path: _path + "",
6481
- expected: "GetDynamicDataBinsPayload",
6516
+ expected: "iGetDynamicDataStoresPayload",
6482
6517
  value: input
6483
6518
  }))(input, "$input", true);
6484
6519
  const success = 0 === errors.length;
@@ -6497,23 +6532,62 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6497
6532
  if (!validateRes.success) {
6498
6533
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6499
6534
  }
6500
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetDynamicDataBinsRoute()}`, payload);
6501
- return new requests_js_1.GetDynamicDataBinsSuccessResponse(response.data).convert(this.ConvertFunction);
6535
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetDynamicDataStoresRoute()}`, payload);
6536
+ return new requests_js_1.GetDynamicDataStoresSuccessResponse(response.data).convert(this.ConvertFunction);
6502
6537
  }
6503
6538
  catch (error) {
6504
6539
  await this.handleApiError(error);
6505
6540
  return Promise.reject(error);
6506
6541
  }
6507
6542
  }
6508
- async getGroups(payload) {
6543
+ async searchDynamicDataStores(payload) {
6509
6544
  try {
6510
- const validateRes = (() => { const $io0 = input => (undefined === input.bookmark || "string" === typeof input.bookmark) && (undefined === input.groupIds || Array.isArray(input.groupIds) && input.groupIds.every(elem => "string" === typeof elem)); const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || $report(_exceptionable, {
6545
+ 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, {
6511
6546
  path: _path + ".bookmark",
6512
6547
  expected: "(string | undefined)",
6513
6548
  value: input.bookmark
6514
- }), undefined === input.groupIds || (Array.isArray(input.groupIds) || $report(_exceptionable, {
6549
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
6550
+ if (false === __is(input)) {
6551
+ errors = [];
6552
+ $report = typia_1.default.validate.report(errors);
6553
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
6554
+ path: _path + "",
6555
+ expected: "iSearchDynamicDataStoresPayload",
6556
+ value: input
6557
+ })) && $vo0(input, _path + "", true) || $report(true, {
6558
+ path: _path + "",
6559
+ expected: "iSearchDynamicDataStoresPayload",
6560
+ value: input
6561
+ }))(input, "$input", true);
6562
+ const success = 0 === errors.length;
6563
+ return {
6564
+ success,
6565
+ errors,
6566
+ data: success ? input : undefined
6567
+ };
6568
+ }
6569
+ return {
6570
+ success: true,
6571
+ errors: [],
6572
+ data: input
6573
+ };
6574
+ }; })()(payload ?? {});
6575
+ if (!validateRes.success) {
6576
+ throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6577
+ }
6578
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.SearchDynamicDataStoresRoute()}`, payload);
6579
+ return new requests_js_1.SearchDynamicDataStoresSuccessResponse(response.data).convert(this.ConvertFunction);
6580
+ }
6581
+ catch (error) {
6582
+ await this.handleApiError(error);
6583
+ return Promise.reject(error);
6584
+ }
6585
+ }
6586
+ async getApplications(payload) {
6587
+ try {
6588
+ const validateRes = (() => { const $io0 = input => Array.isArray(input.groupIds) && input.groupIds.every(elem => "string" === typeof elem); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.groupIds) || $report(_exceptionable, {
6515
6589
  path: _path + ".groupIds",
6516
- expected: "(Array<string> | undefined)",
6590
+ expected: "Array<string>",
6517
6591
  value: input.groupIds
6518
6592
  })) && input.groupIds.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable, {
6519
6593
  path: _path + ".groupIds[" + _index2 + "]",
@@ -6521,19 +6595,62 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6521
6595
  value: elem
6522
6596
  })).every(flag => flag) || $report(_exceptionable, {
6523
6597
  path: _path + ".groupIds",
6524
- expected: "(Array<string> | undefined)",
6598
+ expected: "Array<string>",
6525
6599
  value: input.groupIds
6600
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
6601
+ if (false === __is(input)) {
6602
+ errors = [];
6603
+ $report = typia_1.default.validate.report(errors);
6604
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6605
+ path: _path + "",
6606
+ expected: "iGetApplicationsPayload",
6607
+ value: input
6608
+ })) && $vo0(input, _path + "", true) || $report(true, {
6609
+ path: _path + "",
6610
+ expected: "iGetApplicationsPayload",
6611
+ value: input
6612
+ }))(input, "$input", true);
6613
+ const success = 0 === errors.length;
6614
+ return {
6615
+ success,
6616
+ errors,
6617
+ data: success ? input : undefined
6618
+ };
6619
+ }
6620
+ return {
6621
+ success: true,
6622
+ errors: [],
6623
+ data: input
6624
+ };
6625
+ }; })()(payload ?? {});
6626
+ if (!validateRes.success) {
6627
+ throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6628
+ }
6629
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetApplicationsRoute()}`, payload);
6630
+ return new requests_js_1.GetApplicationsSuccessResponse(response.data);
6631
+ }
6632
+ catch (error) {
6633
+ await this.handleApiError(error);
6634
+ return Promise.reject(error);
6635
+ }
6636
+ }
6637
+ async searchApplications(payload) {
6638
+ try {
6639
+ 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, {
6640
+ path: _path + ".bookmark",
6641
+ expected: "(string | undefined)",
6642
+ value: input.bookmark
6526
6643
  })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input); let errors; let $report; return input => {
6527
6644
  if (false === __is(input)) {
6528
6645
  errors = [];
6529
6646
  $report = typia_1.default.validate.report(errors);
6530
6647
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
6531
6648
  path: _path + "",
6532
- expected: "GetGroupsPayload",
6649
+ expected: "iSearchApplicationsPayload",
6533
6650
  value: input
6534
6651
  })) && $vo0(input, _path + "", true) || $report(true, {
6535
6652
  path: _path + "",
6536
- expected: "GetGroupsPayload",
6653
+ expected: "iSearchApplicationsPayload",
6537
6654
  value: input
6538
6655
  }))(input, "$input", true);
6539
6656
  const success = 0 === errors.length;
@@ -6552,15 +6669,15 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6552
6669
  if (!validateRes.success) {
6553
6670
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6554
6671
  }
6555
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetGroupsRoute()}`, payload);
6556
- return new requests_js_1.GetGroupsSuccessResponse(response.data);
6672
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.SearchApplicationsRoute()}`, payload);
6673
+ return new requests_js_1.SearchApplicationsSuccessResponse(response.data);
6557
6674
  }
6558
6675
  catch (error) {
6559
6676
  await this.handleApiError(error);
6560
6677
  return Promise.reject(error);
6561
6678
  }
6562
6679
  }
6563
- async createGroup(payload) {
6680
+ async createApplication(payload) {
6564
6681
  try {
6565
6682
  const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata) && (Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && $io6(elem))); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io2(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io3(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io2 = input => Object.keys(input).every(key => {
6566
6683
  const value = input[key];
@@ -6818,11 +6935,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6818
6935
  $report = typia_1.default.validate.report(errors);
6819
6936
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
6820
6937
  path: _path + "",
6821
- expected: "CreateGroupPayload",
6938
+ expected: "iCreateApplicationPayload",
6822
6939
  value: input
6823
6940
  })) && $vo0(input, _path + "", true) || $report(true, {
6824
6941
  path: _path + "",
6825
- expected: "CreateGroupPayload",
6942
+ expected: "iCreateApplicationPayload",
6826
6943
  value: input
6827
6944
  }))(input, "$input", true);
6828
6945
  const success = 0 === errors.length;
@@ -6841,15 +6958,15 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
6841
6958
  if (!validateRes.success) {
6842
6959
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6843
6960
  }
6844
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDGroupsRoute()}`, payload);
6845
- return new requests_js_1.CreateGroupSuccessResponse(response.data);
6961
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDApplicationsRoute()}`, payload);
6962
+ return new requests_js_1.CreateApplicationSuccessResponse(response.data);
6846
6963
  }
6847
6964
  catch (error) {
6848
6965
  await this.handleApiError(error);
6849
6966
  return Promise.reject(error);
6850
6967
  }
6851
6968
  }
6852
- async updateGroup(payload) {
6969
+ async updateApplication(payload) {
6853
6970
  try {
6854
6971
  const validateRes = (() => { const $join = typia_1.default.validate.join; const $io0 = input => "string" === typeof input.groupId && ("object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && (Array.isArray(input.pages) && input.pages.every(elem => "object" === typeof elem && null !== elem && $io6(elem))); const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.bannerImage || "string" === typeof input.bannerImage) && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io2(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io3(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io4(elem))) && (undefined === input.additionalInfo || Array.isArray(input.additionalInfo) && input.additionalInfo.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating); const $io2 = input => Object.keys(input).every(key => {
6855
6972
  const value = input[key];
@@ -7111,11 +7228,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7111
7228
  $report = typia_1.default.validate.report(errors);
7112
7229
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
7113
7230
  path: _path + "",
7114
- expected: "UpdateGroupPayload",
7231
+ expected: "iUpdateApplicationPayload",
7115
7232
  value: input
7116
7233
  })) && $vo0(input, _path + "", true) || $report(true, {
7117
7234
  path: _path + "",
7118
- expected: "UpdateGroupPayload",
7235
+ expected: "iUpdateApplicationPayload",
7119
7236
  value: input
7120
7237
  }))(input, "$input", true);
7121
7238
  const success = 0 === errors.length;
@@ -7134,15 +7251,15 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7134
7251
  if (!validateRes.success) {
7135
7252
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7136
7253
  }
7137
- const response = await this.axios.put(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDGroupsRoute()}`, payload);
7138
- return new requests_js_1.UpdateGroupSuccessResponse(response.data);
7254
+ const response = await this.axios.put(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDApplicationsRoute()}`, payload);
7255
+ return new requests_js_1.UpdateApplicationSuccessResponse(response.data);
7139
7256
  }
7140
7257
  catch (error) {
7141
7258
  await this.handleApiError(error);
7142
7259
  return Promise.reject(error);
7143
7260
  }
7144
7261
  }
7145
- async deleteGroup(payload) {
7262
+ async deleteApplication(payload) {
7146
7263
  try {
7147
7264
  const validateRes = (() => { const $io0 = input => "string" === typeof input.groupId; const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.groupId || $report(_exceptionable, {
7148
7265
  path: _path + ".groupId",
@@ -7154,11 +7271,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7154
7271
  $report = typia_1.default.validate.report(errors);
7155
7272
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
7156
7273
  path: _path + "",
7157
- expected: "DeleteGroupPayload",
7274
+ expected: "iDeleteApplicationPayload",
7158
7275
  value: input
7159
7276
  })) && $vo0(input, _path + "", true) || $report(true, {
7160
7277
  path: _path + "",
7161
- expected: "DeleteGroupPayload",
7278
+ expected: "iDeleteApplicationPayload",
7162
7279
  value: input
7163
7280
  }))(input, "$input", true);
7164
7281
  const success = 0 === errors.length;
@@ -7177,10 +7294,10 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7177
7294
  if (!validateRes.success) {
7178
7295
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7179
7296
  }
7180
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDGroupsRoute()}`, {
7297
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDApplicationsRoute()}`, {
7181
7298
  data: payload
7182
7299
  });
7183
- return new requests_js_1.DeleteGroupSuccessResponse(response.data);
7300
+ return new requests_js_1.DeleteApplicationSuccessResponse(response.data);
7184
7301
  }
7185
7302
  catch (error) {
7186
7303
  await this.handleApiError(error);
@@ -7221,11 +7338,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7221
7338
  $report = typia_1.default.validate.report(errors);
7222
7339
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
7223
7340
  path: _path + "",
7224
- expected: "GetPointsActivityPayload",
7341
+ expected: "iGetPointsActivityPayload",
7225
7342
  value: input
7226
7343
  })) && $vo0(input, _path + "", true) || $report(true, {
7227
7344
  path: _path + "",
7228
- expected: "GetPointsActivityPayload",
7345
+ expected: "iGetPointsActivityPayload",
7229
7346
  value: input
7230
7347
  }))(input, "$input", true);
7231
7348
  const success = 0 === errors.length;
@@ -7262,6 +7379,16 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7262
7379
  return Promise.reject(error);
7263
7380
  }
7264
7381
  }
7382
+ async searchUtilityListings(payload) {
7383
+ try {
7384
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.SearchUtilityListingsRoute()}`, payload);
7385
+ return new requests_js_1.SearchUtilityListingsSuccessResponse(response.data).convert(this.ConvertFunction);
7386
+ }
7387
+ catch (error) {
7388
+ await this.handleApiError(error);
7389
+ return Promise.reject(error);
7390
+ }
7391
+ }
7265
7392
  async createUtilityListing(payload) {
7266
7393
  try {
7267
7394
  const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDUtilityListingsRoute()}`, payload);
@@ -7312,11 +7439,11 @@ class BitBadgesAPI extends base_js_1.BaseBitBadgesApi {
7312
7439
  $report = typia_1.default.validate.report(errors);
7313
7440
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
7314
7441
  path: _path + "",
7315
- expected: "GetClaimAttemptsPayload",
7442
+ expected: "iGetClaimAttemptsPayload",
7316
7443
  value: input
7317
7444
  })) && $vo0(input, _path + "", true) || $report(true, {
7318
7445
  path: _path + "",
7319
- expected: "GetClaimAttemptsPayload",
7446
+ expected: "iGetClaimAttemptsPayload",
7320
7447
  value: input
7321
7448
  }))(input, "$input", true);
7322
7449
  const success = 0 === errors.length;
@@ -7370,11 +7497,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7370
7497
  $report = typia_1.default.validate.report(errors);
7371
7498
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
7372
7499
  path: _path + "",
7373
- expected: "GetActiveAuthorizationsPayload",
7500
+ expected: "iGetActiveAuthorizationsPayload",
7374
7501
  value: input
7375
7502
  })) && $vo0(input, _path + "", true) || $report(true, {
7376
7503
  path: _path + "",
7377
- expected: "GetActiveAuthorizationsPayload",
7504
+ expected: "iGetActiveAuthorizationsPayload",
7378
7505
  value: input
7379
7506
  }))(input, "$input", true);
7380
7507
  const success = 0 === errors.length;
@@ -7805,11 +7932,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7805
7932
  $report = typia_1.default.validate.report(errors);
7806
7933
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
7807
7934
  path: _path + "",
7808
- expected: "CreatePluginPayload",
7935
+ expected: "iCreatePluginPayload",
7809
7936
  value: input
7810
7937
  })) && $vo0(input, _path + "", true) || $report(true, {
7811
7938
  path: _path + "",
7812
- expected: "CreatePluginPayload",
7939
+ expected: "iCreatePluginPayload",
7813
7940
  value: input
7814
7941
  }))(input, "$input", true);
7815
7942
  const success = 0 === errors.length;
@@ -8388,11 +8515,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8388
8515
  $report = typia_1.default.validate.report(errors);
8389
8516
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8390
8517
  path: _path + "",
8391
- expected: "UpdatePluginPayload",
8518
+ expected: "iUpdatePluginPayload",
8392
8519
  value: input
8393
8520
  })) && $vo0(input, _path + "", true) || $report(true, {
8394
8521
  path: _path + "",
8395
- expected: "UpdatePluginPayload",
8522
+ expected: "iUpdatePluginPayload",
8396
8523
  value: input
8397
8524
  }))(input, "$input", true);
8398
8525
  const success = 0 === errors.length;
@@ -8431,11 +8558,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8431
8558
  $report = typia_1.default.validate.report(errors);
8432
8559
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8433
8560
  path: _path + "",
8434
- expected: "DeletePluginPayload",
8561
+ expected: "iDeletePluginPayload",
8435
8562
  value: input
8436
8563
  })) && $vo0(input, _path + "", true) || $report(true, {
8437
8564
  path: _path + "",
8438
- expected: "DeletePluginPayload",
8565
+ expected: "iDeletePluginPayload",
8439
8566
  value: input
8440
8567
  }))(input, "$input", true);
8441
8568
  const success = 0 === errors.length;
@@ -8466,11 +8593,50 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8466
8593
  }
8467
8594
  async getDeveloperApps(payload) {
8468
8595
  try {
8469
- const validateRes = (() => { const $io0 = input => (undefined === input.clientId || "string" === typeof input.clientId) && (undefined === input.bookmark || "string" === typeof input.bookmark); const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.clientId || "string" === typeof input.clientId || $report(_exceptionable, {
8596
+ const validateRes = (() => { const $io0 = input => "string" === typeof input.clientId; const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.clientId || $report(_exceptionable, {
8470
8597
  path: _path + ".clientId",
8471
- expected: "(string | undefined)",
8598
+ expected: "string",
8472
8599
  value: input.clientId
8473
- }), undefined === input.bookmark || "string" === typeof input.bookmark || $report(_exceptionable, {
8600
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
8601
+ if (false === __is(input)) {
8602
+ errors = [];
8603
+ $report = typia_1.default.validate.report(errors);
8604
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8605
+ path: _path + "",
8606
+ expected: "iGetDeveloperAppsPayload",
8607
+ value: input
8608
+ })) && $vo0(input, _path + "", true) || $report(true, {
8609
+ path: _path + "",
8610
+ expected: "iGetDeveloperAppsPayload",
8611
+ value: input
8612
+ }))(input, "$input", true);
8613
+ const success = 0 === errors.length;
8614
+ return {
8615
+ success,
8616
+ errors,
8617
+ data: success ? input : undefined
8618
+ };
8619
+ }
8620
+ return {
8621
+ success: true,
8622
+ errors: [],
8623
+ data: input
8624
+ };
8625
+ }; })()(payload ?? {});
8626
+ if (!validateRes.success) {
8627
+ throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
8628
+ }
8629
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetDeveloperAppsRoute()}`, payload);
8630
+ return new requests_js_1.GetDeveloperAppSuccessResponse(response.data);
8631
+ }
8632
+ catch (error) {
8633
+ await this.handleApiError(error);
8634
+ return Promise.reject(error);
8635
+ }
8636
+ }
8637
+ async searchDeveloperApps(payload) {
8638
+ try {
8639
+ 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, {
8474
8640
  path: _path + ".bookmark",
8475
8641
  expected: "(string | undefined)",
8476
8642
  value: input.bookmark
@@ -8480,11 +8646,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8480
8646
  $report = typia_1.default.validate.report(errors);
8481
8647
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
8482
8648
  path: _path + "",
8483
- expected: "GetDeveloperAppPayload",
8649
+ expected: "iSearchDeveloperAppsPayload",
8484
8650
  value: input
8485
8651
  })) && $vo0(input, _path + "", true) || $report(true, {
8486
8652
  path: _path + "",
8487
- expected: "GetDeveloperAppPayload",
8653
+ expected: "iSearchDeveloperAppsPayload",
8488
8654
  value: input
8489
8655
  }))(input, "$input", true);
8490
8656
  const success = 0 === errors.length;
@@ -8503,8 +8669,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8503
8669
  if (!validateRes.success) {
8504
8670
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
8505
8671
  }
8506
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetDeveloperAppsRoute()}`, payload);
8507
- return new requests_js_1.GetDeveloperAppSuccessResponse(response.data);
8672
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.SearchDeveloperAppsRoute()}`, payload);
8673
+ return new requests_js_1.SearchDeveloperAppsSuccessResponse(response.data);
8508
8674
  }
8509
8675
  catch (error) {
8510
8676
  await this.handleApiError(error);
@@ -8543,11 +8709,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8543
8709
  $report = typia_1.default.validate.report(errors);
8544
8710
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8545
8711
  path: _path + "",
8546
- expected: "CreateDeveloperAppPayload",
8712
+ expected: "iCreateDeveloperAppPayload",
8547
8713
  value: input
8548
8714
  })) && $vo0(input, _path + "", true) || $report(true, {
8549
8715
  path: _path + "",
8550
- expected: "CreateDeveloperAppPayload",
8716
+ expected: "iCreateDeveloperAppPayload",
8551
8717
  value: input
8552
8718
  }))(input, "$input", true);
8553
8719
  const success = 0 === errors.length;
@@ -8590,11 +8756,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8590
8756
  $report = typia_1.default.validate.report(errors);
8591
8757
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8592
8758
  path: _path + "",
8593
- expected: "DeleteDeveloperAppPayload",
8759
+ expected: "iDeleteDeveloperAppPayload",
8594
8760
  value: input
8595
8761
  })) && $vo0(input, _path + "", true) || $report(true, {
8596
8762
  path: _path + "",
8597
- expected: "DeleteDeveloperAppPayload",
8763
+ expected: "iDeleteDeveloperAppPayload",
8598
8764
  value: input
8599
8765
  }))(input, "$input", true);
8600
8766
  const success = 0 === errors.length;
@@ -8661,11 +8827,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8661
8827
  $report = typia_1.default.validate.report(errors);
8662
8828
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8663
8829
  path: _path + "",
8664
- expected: "UpdateDeveloperAppPayload",
8830
+ expected: "iUpdateDeveloperAppPayload",
8665
8831
  value: input
8666
8832
  })) && $vo0(input, _path + "", true) || $report(true, {
8667
8833
  path: _path + "",
8668
- expected: "UpdateDeveloperAppPayload",
8834
+ expected: "iUpdateDeveloperAppPayload",
8669
8835
  value: input
8670
8836
  }))(input, "$input", true);
8671
8837
  const success = 0 === errors.length;
@@ -8694,13 +8860,9 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8694
8860
  }
8695
8861
  async getPlugins(payload) {
8696
8862
  try {
8697
- const validateRes = (() => { const $io0 = input => (undefined === input.createdPluginsOnly || "boolean" === typeof input.createdPluginsOnly) && (undefined === input.pluginIds || Array.isArray(input.pluginIds) && input.pluginIds.every(elem => "string" === typeof elem)) && (undefined === input.inviteCode || "string" === typeof input.inviteCode) && (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.createdPluginsOnly || "boolean" === typeof input.createdPluginsOnly || $report(_exceptionable, {
8698
- path: _path + ".createdPluginsOnly",
8699
- expected: "(boolean | undefined)",
8700
- value: input.createdPluginsOnly
8701
- }), undefined === input.pluginIds || (Array.isArray(input.pluginIds) || $report(_exceptionable, {
8863
+ 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, {
8702
8864
  path: _path + ".pluginIds",
8703
- expected: "(Array<string> | undefined)",
8865
+ expected: "Array<string>",
8704
8866
  value: input.pluginIds
8705
8867
  })) && input.pluginIds.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable, {
8706
8868
  path: _path + ".pluginIds[" + _index2 + "]",
@@ -8708,12 +8870,55 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8708
8870
  value: elem
8709
8871
  })).every(flag => flag) || $report(_exceptionable, {
8710
8872
  path: _path + ".pluginIds",
8711
- expected: "(Array<string> | undefined)",
8873
+ expected: "Array<string>",
8712
8874
  value: input.pluginIds
8713
8875
  }), undefined === input.inviteCode || "string" === typeof input.inviteCode || $report(_exceptionable, {
8714
8876
  path: _path + ".inviteCode",
8715
8877
  expected: "(string | undefined)",
8716
8878
  value: input.inviteCode
8879
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
8880
+ if (false === __is(input)) {
8881
+ errors = [];
8882
+ $report = typia_1.default.validate.report(errors);
8883
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8884
+ path: _path + "",
8885
+ expected: "iGetPluginsPayload",
8886
+ value: input
8887
+ })) && $vo0(input, _path + "", true) || $report(true, {
8888
+ path: _path + "",
8889
+ expected: "iGetPluginsPayload",
8890
+ value: input
8891
+ }))(input, "$input", true);
8892
+ const success = 0 === errors.length;
8893
+ return {
8894
+ success,
8895
+ errors,
8896
+ data: success ? input : undefined
8897
+ };
8898
+ }
8899
+ return {
8900
+ success: true,
8901
+ errors: [],
8902
+ data: input
8903
+ };
8904
+ }; })()(payload ?? {});
8905
+ if (!validateRes.success) {
8906
+ throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
8907
+ }
8908
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetPluginRoute()}`, payload);
8909
+ return new requests_js_1.GetPluginSuccessResponse(response.data).convert(this.ConvertFunction);
8910
+ }
8911
+ catch (error) {
8912
+ await this.handleApiError(error);
8913
+ return Promise.reject(error);
8914
+ }
8915
+ }
8916
+ async searchPlugins(payload) {
8917
+ try {
8918
+ const validateRes = (() => { const $io0 = input => (undefined === input.createdPluginsOnly || "boolean" === typeof input.createdPluginsOnly) && (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.createdPluginsOnly || "boolean" === typeof input.createdPluginsOnly || $report(_exceptionable, {
8919
+ path: _path + ".createdPluginsOnly",
8920
+ expected: "(boolean | undefined)",
8921
+ value: input.createdPluginsOnly
8717
8922
  }), undefined === input.bookmark || "string" === typeof input.bookmark || $report(_exceptionable, {
8718
8923
  path: _path + ".bookmark",
8719
8924
  expected: "(string | undefined)",
@@ -8732,11 +8937,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8732
8937
  $report = typia_1.default.validate.report(errors);
8733
8938
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
8734
8939
  path: _path + "",
8735
- expected: "GetPluginPayload",
8940
+ expected: "iSearchPluginsPayload",
8736
8941
  value: input
8737
8942
  })) && $vo0(input, _path + "", true) || $report(true, {
8738
8943
  path: _path + "",
8739
- expected: "GetPluginPayload",
8944
+ expected: "iSearchPluginsPayload",
8740
8945
  value: input
8741
8946
  }))(input, "$input", true);
8742
8947
  const success = 0 === errors.length;
@@ -8755,8 +8960,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8755
8960
  if (!validateRes.success) {
8756
8961
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
8757
8962
  }
8758
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.GetPluginRoute()}`, payload);
8759
- return new requests_js_1.GetPluginSuccessResponse(response.data).convert(this.ConvertFunction);
8963
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.SearchPluginsRoute()}`, payload);
8964
+ return new requests_js_1.SearchPluginsSuccessResponse(response.data);
8760
8965
  }
8761
8966
  catch (error) {
8762
8967
  await this.handleApiError(error);
@@ -8775,11 +8980,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8775
8980
  $report = typia_1.default.validate.report(errors);
8776
8981
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8777
8982
  path: _path + "",
8778
- expected: "GenerateGoogleWalletPayload",
8983
+ expected: "iGenerateGoogleWalletPayload",
8779
8984
  value: input
8780
8985
  })) && $vo0(input, _path + "", true) || $report(true, {
8781
8986
  path: _path + "",
8782
- expected: "GenerateGoogleWalletPayload",
8987
+ expected: "iGenerateGoogleWalletPayload",
8783
8988
  value: input
8784
8989
  }))(input, "$input", true);
8785
8990
  const success = 0 === errors.length;
@@ -8818,11 +9023,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8818
9023
  $report = typia_1.default.validate.report(errors);
8819
9024
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8820
9025
  path: _path + "",
8821
- expected: "GenerateAppleWalletPassPayload",
9026
+ expected: "iGenerateAppleWalletPassPayload",
8822
9027
  value: input
8823
9028
  })) && $vo0(input, _path + "", true) || $report(true, {
8824
9029
  path: _path + "",
8825
- expected: "GenerateAppleWalletPassPayload",
9030
+ expected: "iGenerateAppleWalletPassPayload",
8826
9031
  value: input
8827
9032
  }))(input, "$input", true);
8828
9033
  const success = 0 === errors.length;
@@ -8869,11 +9074,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8869
9074
  $report = typia_1.default.validate.report(errors);
8870
9075
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
8871
9076
  path: _path + "",
8872
- expected: "FetchMetadataDirectlyPayload",
9077
+ expected: "iFetchMetadataDirectlyPayload",
8873
9078
  value: input
8874
9079
  })) && $vo0(input, _path + "", true) || $report(true, {
8875
9080
  path: _path + "",
8876
- expected: "FetchMetadataDirectlyPayload",
9081
+ expected: "iFetchMetadataDirectlyPayload",
8877
9082
  value: input
8878
9083
  }))(input, "$input", true);
8879
9084
  const success = 0 === errors.length;
@@ -8908,11 +9113,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
8908
9113
  $report = typia_1.default.validate.report(errors);
8909
9114
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
8910
9115
  path: _path + "",
8911
- expected: "GetTokensFromFaucetPayload",
9116
+ expected: "iGetTokensFromFaucetPayload",
8912
9117
  value: input
8913
9118
  })) && $vo0(input, _path + "", true) || $report(true, {
8914
9119
  path: _path + "",
8915
- expected: "GetTokensFromFaucetPayload",
9120
+ expected: "iGetTokensFromFaucetPayload",
8916
9121
  value: input
8917
9122
  }))(input, "$input", true);
8918
9123
  const success = 0 === errors.length;
@@ -9353,11 +9558,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9353
9558
  $report = typia_1.default.validate.report(errors);
9354
9559
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
9355
9560
  path: _path + "",
9356
- expected: "AddToIpfsPayload",
9561
+ expected: "iAddToIpfsPayload",
9357
9562
  value: input
9358
9563
  })) && $vo0(input, _path + "", true) || $report(true, {
9359
9564
  path: _path + "",
9360
- expected: "AddToIpfsPayload",
9565
+ expected: "iAddToIpfsPayload",
9361
9566
  value: input
9362
9567
  }))(input, "$input", true);
9363
9568
  const success = 0 === errors.length;
@@ -9395,7 +9600,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9395
9600
  if ("number" === typeof Number(key))
9396
9601
  return "number" === typeof value;
9397
9602
  return true;
9398
- }); const $io7 = input => "boolean" === typeof input._includesPrivateParams && "string" === typeof input.claimId && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io8(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io9(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io15(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io18(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io23(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && ("string" === typeof input.version || "number" === typeof input.version || "bigint" === typeof input.version) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io28(input.satisfyMethod)); const $io8 = input => ("string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.approvalId && "string" === typeof input.challengeTrackerId && ("" === input.approvalLevel || "collection" === input.approvalLevel || "incoming" === input.approvalLevel || "outgoing" === input.approvalLevel) && "string" === typeof input.approverAddress; const $io9 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io10(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io13(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && $io14(input.orderCalculationMethod)); const $io10 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)); const $io11 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io12(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io12(elem))); const $io12 = 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 $io13 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy); const $io14 = input => "boolean" === typeof input.useOverallNumTransfers && "boolean" === typeof input.usePerToAddressNumTransfers && "boolean" === typeof input.usePerFromAddressNumTransfers && "boolean" === typeof input.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.useMerkleChallengeLeafIndex && "string" === typeof input.challengeTrackerId; const $io15 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && $io16(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io16(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io16(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io16(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io16(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io17(input.metadata)); const $io16 = input => Object.keys(input).every(key => {
9603
+ }); const $io7 = input => "boolean" === typeof input._includesPrivateParams && "string" === typeof input.claimId && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.managedBy || "string" === typeof input.managedBy) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.standaloneClaim || "boolean" === typeof input.standaloneClaim) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.trackerDetails || "object" === typeof input.trackerDetails && null !== input.trackerDetails && $io8(input.trackerDetails)) && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io9(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io15(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io18(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io23(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.lastUpdated || "string" === typeof input.lastUpdated || "number" === typeof input.lastUpdated || "bigint" === typeof input.lastUpdated) && ("string" === typeof input.version || "number" === typeof input.version || "bigint" === typeof input.version) && (undefined === input.satisfyMethod || "object" === typeof input.satisfyMethod && null !== input.satisfyMethod && $io28(input.satisfyMethod)); const $io8 = input => ("string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && "string" === typeof input.approvalId && "string" === typeof input.challengeTrackerId && ("" === input.approvalLevel || "collection" === input.approvalLevel || "incoming" === input.approvalLevel || "outgoing" === input.approvalLevel) && "string" === typeof input.approverAddress; const $io9 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io10(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io13(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && $io14(input.orderCalculationMethod)); const $io10 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)); const $io11 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io12(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io12(elem))); const $io12 = 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 $io13 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io11(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy); const $io14 = input => "boolean" === typeof input.useOverallNumTransfers && "boolean" === typeof input.usePerToAddressNumTransfers && "boolean" === typeof input.usePerFromAddressNumTransfers && "boolean" === typeof input.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.useMerkleChallengeLeafIndex && "string" === typeof input.challengeTrackerId; const $io15 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && $io16(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io16(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io16(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io16(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io16(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io17(input.metadata)); const $io16 = input => Object.keys(input).every(key => {
9399
9604
  const value = input[key];
9400
9605
  if (undefined === value)
9401
9606
  return true;
@@ -9619,6 +9824,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
9619
9824
  path: _path + ".createdBy",
9620
9825
  expected: "(string | undefined)",
9621
9826
  value: input.createdBy
9827
+ }), undefined === input.managedBy || "string" === typeof input.managedBy || $report(_exceptionable, {
9828
+ path: _path + ".managedBy",
9829
+ expected: "(string | undefined)",
9830
+ value: input.managedBy
9622
9831
  }), undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || $report(_exceptionable, {
9623
9832
  path: _path + ".collectionId",
9624
9833
  expected: "(bigint | number | string | undefined)",
@@ -10256,11 +10465,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10256
10465
  $report = typia_1.default.validate.report(errors);
10257
10466
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
10258
10467
  path: _path + "",
10259
- expected: "AddApprovalDetailsToOffChainStoragePayload",
10468
+ expected: "iAddApprovalDetailsToOffChainStoragePayload",
10260
10469
  value: input
10261
10470
  })) && $vo0(input, _path + "", true) || $report(true, {
10262
10471
  path: _path + "",
10263
- expected: "AddApprovalDetailsToOffChainStoragePayload",
10472
+ expected: "iAddApprovalDetailsToOffChainStoragePayload",
10264
10473
  value: input
10265
10474
  }))(input, "$input", true);
10266
10475
  const success = 0 === errors.length;
@@ -10297,7 +10506,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10297
10506
  return Promise.reject(error);
10298
10507
  }
10299
10508
  }
10300
- async createDynamicDataBin(payload) {
10509
+ async createDynamicDataStore(payload) {
10301
10510
  try {
10302
10511
  const validateRes = (() => { const $io0 = input => "string" === typeof input.handlerId && "string" === typeof input.label; const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.handlerId || $report(_exceptionable, {
10303
10512
  path: _path + ".handlerId",
@@ -10313,11 +10522,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10313
10522
  $report = typia_1.default.validate.report(errors);
10314
10523
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
10315
10524
  path: _path + "",
10316
- expected: "CreateDynamicDataBinPayload",
10525
+ expected: "iCreateDynamicDataStorePayload",
10317
10526
  value: input
10318
10527
  })) && $vo0(input, _path + "", true) || $report(true, {
10319
10528
  path: _path + "",
10320
- expected: "CreateDynamicDataBinPayload",
10529
+ expected: "iCreateDynamicDataStorePayload",
10321
10530
  value: input
10322
10531
  }))(input, "$input", true);
10323
10532
  const success = 0 === errors.length;
@@ -10336,15 +10545,15 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10336
10545
  if (!validateRes.success) {
10337
10546
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
10338
10547
  }
10339
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDDynamicDataRoute()}`, payload);
10340
- return new requests_js_1.CreateDynamicDataBinSuccessResponse(response.data).convert(this.ConvertFunction);
10548
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDDynamicDataStoreRoute()}`, payload);
10549
+ return new requests_js_1.CreateDynamicDataStoreSuccessResponse(response.data).convert(this.ConvertFunction);
10341
10550
  }
10342
10551
  catch (error) {
10343
10552
  await this.handleApiError(error);
10344
10553
  return Promise.reject(error);
10345
10554
  }
10346
10555
  }
10347
- async updateDynamicDataBin(payload) {
10556
+ async updateDynamicDataStore(payload) {
10348
10557
  try {
10349
10558
  const validateRes = (() => { const $io0 = input => "string" === typeof input.dynamicDataId && (undefined === input.rotateDataSecret || "boolean" === typeof input.rotateDataSecret) && (undefined === input.label || "string" === typeof input.label); const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.dynamicDataId || $report(_exceptionable, {
10350
10559
  path: _path + ".dynamicDataId",
@@ -10364,11 +10573,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10364
10573
  $report = typia_1.default.validate.report(errors);
10365
10574
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
10366
10575
  path: _path + "",
10367
- expected: "UpdateDynamicDataBinPayload",
10576
+ expected: "iUpdateDynamicDataStorePayload",
10368
10577
  value: input
10369
10578
  })) && $vo0(input, _path + "", true) || $report(true, {
10370
10579
  path: _path + "",
10371
- expected: "UpdateDynamicDataBinPayload",
10580
+ expected: "iUpdateDynamicDataStorePayload",
10372
10581
  value: input
10373
10582
  }))(input, "$input", true);
10374
10583
  const success = 0 === errors.length;
@@ -10387,15 +10596,15 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10387
10596
  if (!validateRes.success) {
10388
10597
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
10389
10598
  }
10390
- const response = await this.axios.put(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDDynamicDataRoute()}`, payload);
10391
- return new requests_js_1.UpdateDynamicDataBinSuccessResponse(response.data);
10599
+ const response = await this.axios.put(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDDynamicDataStoreRoute()}`, payload);
10600
+ return new requests_js_1.UpdateDynamicDataStoreSuccessResponse(response.data);
10392
10601
  }
10393
10602
  catch (error) {
10394
10603
  await this.handleApiError(error);
10395
10604
  return Promise.reject(error);
10396
10605
  }
10397
10606
  }
10398
- async deleteDynamicDataBin(payload) {
10607
+ async deleteDynamicDataStore(payload) {
10399
10608
  try {
10400
10609
  const validateRes = (() => { const $io0 = input => "string" === typeof input.dynamicDataId; const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.dynamicDataId || $report(_exceptionable, {
10401
10610
  path: _path + ".dynamicDataId",
@@ -10407,11 +10616,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10407
10616
  $report = typia_1.default.validate.report(errors);
10408
10617
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
10409
10618
  path: _path + "",
10410
- expected: "DeleteDynamicDataBinPayload",
10619
+ expected: "iDeleteDynamicDataStorePayload",
10411
10620
  value: input
10412
10621
  })) && $vo0(input, _path + "", true) || $report(true, {
10413
10622
  path: _path + "",
10414
- expected: "DeleteDynamicDataBinPayload",
10623
+ expected: "iDeleteDynamicDataStorePayload",
10415
10624
  value: input
10416
10625
  }))(input, "$input", true);
10417
10626
  const success = 0 === errors.length;
@@ -10430,8 +10639,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10430
10639
  if (!validateRes.success) {
10431
10640
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
10432
10641
  }
10433
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDDynamicDataRoute()}`, { data: payload });
10434
- return new requests_js_1.DeleteDynamicDataBinSuccessResponse(response.data);
10642
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_js_1.BitBadgesApiRoutes.CRUDDynamicDataStoreRoute()}`, { data: payload });
10643
+ return new requests_js_1.DeleteDynamicDataStoreSuccessResponse(response.data);
10435
10644
  }
10436
10645
  catch (error) {
10437
10646
  await this.handleApiError(error);
@@ -10496,11 +10705,11 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
10496
10705
  $report = typia_1.default.validate.report(errors);
10497
10706
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
10498
10707
  path: _path + "",
10499
- expected: "GetPluginErrorsPayload",
10708
+ expected: "iGetPluginErrorsPayload",
10500
10709
  value: input
10501
10710
  })) && $vo0(input, _path + "", true) || $report(true, {
10502
10711
  path: _path + "",
10503
- expected: "GetPluginErrorsPayload",
10712
+ expected: "iGetPluginErrorsPayload",
10504
10713
  value: input
10505
10714
  }))(input, "$input", true);
10506
10715
  const success = 0 === errors.length;