wapi-client 0.9.0 → 0.9.1

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 (55) hide show
  1. package/dist/api/base-client.browser.cjs +12 -0
  2. package/dist/api/base-client.browser.js +13 -4
  3. package/dist/api/base-client.cjs +12 -0
  4. package/dist/api/base-client.d.ts +8 -0
  5. package/dist/api/base-client.js +13 -4
  6. package/dist/api/ws-client.cjs +1 -1
  7. package/dist/api/ws-client.js +1 -1
  8. package/dist/client.browser.cjs +27 -0
  9. package/dist/client.browser.js +27 -0
  10. package/dist/client.cjs +28 -1
  11. package/dist/client.d.ts +26 -0
  12. package/dist/client.js +28 -1
  13. package/dist/fns/healthcheck/healthcheck.browser.cjs +56 -0
  14. package/dist/fns/healthcheck/healthcheck.browser.js +38 -0
  15. package/dist/fns/healthcheck/healthcheck.cjs +60 -0
  16. package/dist/fns/healthcheck/healthcheck.d.ts +9 -0
  17. package/dist/fns/healthcheck/healthcheck.enums.browser.cjs +17 -0
  18. package/dist/fns/healthcheck/healthcheck.enums.browser.js +0 -0
  19. package/dist/fns/healthcheck/healthcheck.enums.cjs +17 -0
  20. package/dist/fns/healthcheck/healthcheck.enums.d.ts +20 -0
  21. package/dist/fns/healthcheck/healthcheck.enums.js +0 -0
  22. package/dist/fns/healthcheck/healthcheck.guards.browser.cjs +36 -0
  23. package/dist/fns/healthcheck/healthcheck.guards.browser.js +16 -0
  24. package/dist/fns/healthcheck/healthcheck.guards.cjs +41 -0
  25. package/dist/fns/healthcheck/healthcheck.guards.d.ts +4 -0
  26. package/dist/fns/healthcheck/healthcheck.guards.js +16 -0
  27. package/dist/fns/healthcheck/healthcheck.js +38 -0
  28. package/dist/fns/healthcheck/healthcheck.schema.input.json +25 -0
  29. package/dist/fns/healthcheck/healthcheck.schema.output.json +8 -0
  30. package/dist/fns/index.browser.cjs +9 -0
  31. package/dist/fns/index.browser.js +9 -0
  32. package/dist/fns/index.cjs +12 -0
  33. package/dist/fns/index.d.ts +7 -1
  34. package/dist/fns/index.js +9 -0
  35. package/dist/lib/validator.browser.cjs +40 -0
  36. package/dist/lib/validator.browser.js +40 -0
  37. package/dist/lib/validator.cjs +40 -0
  38. package/dist/lib/validator.d.ts +5 -1
  39. package/dist/lib/validator.js +40 -0
  40. package/dist/txs/healthcheck/healthcheck.enums.browser.cjs +17 -0
  41. package/dist/txs/healthcheck/healthcheck.enums.browser.js +0 -0
  42. package/dist/txs/healthcheck/healthcheck.enums.cjs +17 -0
  43. package/dist/txs/healthcheck/healthcheck.enums.d.ts +22 -0
  44. package/dist/txs/healthcheck/healthcheck.enums.js +0 -0
  45. package/dist/txs/healthcheck/healthcheck.schema.input.json +23 -0
  46. package/dist/txs/healthcheck/healthcheck.schema.output.json +32 -0
  47. package/dist/txs/index.browser.cjs +7 -0
  48. package/dist/txs/index.browser.js +7 -0
  49. package/dist/txs/index.cjs +9 -0
  50. package/dist/txs/index.d.ts +5 -0
  51. package/dist/txs/index.js +7 -0
  52. package/dist/types/index.d.ts +118 -2
  53. package/dist/wapi-client-web.iife.js +6 -6
  54. package/dist/wapi-client.iife.js +6 -6
  55. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ import { HealthcheckFnInput } from './healthcheck.enums';
2
+ export declare function isHealthcheckFnInput(input: unknown): input is HealthcheckFnInput;
3
+ import { HealthcheckFnOutput } from './healthcheck.enums';
4
+ export declare function isHealthcheckFnOutput(input: unknown): input is HealthcheckFnOutput;
@@ -0,0 +1,16 @@
1
+ // src/fns/healthcheck/healthcheck.guards.ts
2
+ import { getValidator, SchemaNames } from "../../lib/validator";
3
+ var inputValidator = getValidator(SchemaNames.HealthcheckFnInput);
4
+ function isHealthcheckFnInput(input) {
5
+ const { error } = inputValidator(input);
6
+ return error === void 0;
7
+ }
8
+ var outputValidator = getValidator(SchemaNames.HealthcheckFnOutput);
9
+ function isHealthcheckFnOutput(input) {
10
+ const { error } = outputValidator(input);
11
+ return error === void 0;
12
+ }
13
+ export {
14
+ isHealthcheckFnInput,
15
+ isHealthcheckFnOutput
16
+ };
@@ -0,0 +1,38 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
4
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
5
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6
+ var __spreadValues = (a, b) => {
7
+ for (var prop in b || (b = {}))
8
+ if (__hasOwnProp.call(b, prop))
9
+ __defNormalProp(a, prop, b[prop]);
10
+ if (__getOwnPropSymbols)
11
+ for (var prop of __getOwnPropSymbols(b)) {
12
+ if (__propIsEnum.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ }
15
+ return a;
16
+ };
17
+
18
+ // src/fns/healthcheck/healthcheck.ts
19
+ import { validateClientFnInput } from "../../lib/utils";
20
+ import { getValidator, SchemaNames } from "../../lib/validator";
21
+ var validate = getValidator(SchemaNames.HealthcheckFnInput);
22
+ function healthcheck(options, input, fnOptions) {
23
+ const { client } = options;
24
+ const { inputCopy, error } = validateClientFnInput({
25
+ input,
26
+ options: fnOptions,
27
+ validate
28
+ });
29
+ if (error) {
30
+ throw error;
31
+ }
32
+ return client.api.healthcheck({
33
+ options: __spreadValues(__spreadValues({}, inputCopy.options), fnOptions)
34
+ });
35
+ }
36
+ export {
37
+ healthcheck
38
+ };
@@ -0,0 +1,25 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "HealthcheckFnInput",
4
+ "title": "HealthcheckFnInput",
5
+ "description": "Input for healthcheck",
6
+ "type": "object",
7
+ "properties": {
8
+ "options": {
9
+ "$ref": "#/definitions/healthcheck_fn_options"
10
+ }
11
+ },
12
+ "definitions": {
13
+ "healthcheck_fn_options": {
14
+ "description": "Optional flags for input",
15
+ "type": "object",
16
+ "allOf": [
17
+ {
18
+ "$ref": "/txs/healthcheck/healthcheck.schema.input.json#/definitions/healthcheck_tx_options"
19
+ }
20
+ ]
21
+ }
22
+ },
23
+ "required": [],
24
+ "additionalProperties": false
25
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "HealthcheckFnOutput",
4
+ "title": "HealthcheckFnOutput",
5
+ "description": "Output of healthcheck",
6
+ "type": "object",
7
+ "$ref": "/txs/healthcheck/healthcheck.schema.output.json"
8
+ }
@@ -82,6 +82,8 @@ __export(fns_exports, {
82
82
  GetTransferGroupFnOutputSchema: () => import_get_transfer_group_schema_output.default,
83
83
  GetWalletFnInputSchema: () => import_get_wallet_schema_input.default,
84
84
  GetWalletFnOutputSchema: () => import_get_wallet_schema_output.default,
85
+ HealthcheckFnInputSchema: () => import_healthcheck_schema_input.default,
86
+ HealthcheckFnOutputSchema: () => import_healthcheck_schema_output.default,
85
87
  ImportDataFnInputSchema: () => import_import_data_schema_input.default,
86
88
  ImportDataFnOutputSchema: () => import_import_data_schema_output.default,
87
89
  ReverseTransferFnInputSchema: () => import_reverse_transfer_schema_input.default,
@@ -128,6 +130,7 @@ __export(fns_exports, {
128
130
  getTransfer: () => import_get_transfer.getTransfer,
129
131
  getTransferGroup: () => import_get_transfer_group.getTransferGroup,
130
132
  getWallet: () => import_get_wallet.getWallet,
133
+ healthcheck: () => import_healthcheck.healthcheck,
131
134
  importData: () => import_import_data.importData,
132
135
  reverseTransfer: () => import_reverse_transfer.reverseTransfer,
133
136
  reverseTransferGroup: () => import_reverse_transfer_group.reverseTransferGroup,
@@ -167,6 +170,7 @@ var import_get_token = require('./get-token/get-token.cjs');
167
170
  var import_get_transfer = require('./get-transfer/get-transfer.cjs');
168
171
  var import_get_transfer_group = require('./get-transfer-group/get-transfer-group.cjs');
169
172
  var import_get_wallet = require('./get-wallet/get-wallet.cjs');
173
+ var import_healthcheck = require('./healthcheck/healthcheck.cjs');
170
174
  var import_import_data = require('./import-data/import-data.cjs');
171
175
  var import_reverse_transfer = require('./reverse-transfer/reverse-transfer.cjs');
172
176
  var import_reverse_transfer_group = require('./reverse-transfer-group/reverse-transfer-group.cjs');
@@ -226,6 +230,8 @@ var import_get_transfer_group_schema_input = __toESM(require('./get-transfer-gro
226
230
  var import_get_transfer_group_schema_output = __toESM(require('./get-transfer-group/get-transfer-group.schema.output.json'), 1);
227
231
  var import_get_wallet_schema_input = __toESM(require('./get-wallet/get-wallet.schema.input.json'), 1);
228
232
  var import_get_wallet_schema_output = __toESM(require('./get-wallet/get-wallet.schema.output.json'), 1);
233
+ var import_healthcheck_schema_input = __toESM(require('./healthcheck/healthcheck.schema.input.json'), 1);
234
+ var import_healthcheck_schema_output = __toESM(require('./healthcheck/healthcheck.schema.output.json'), 1);
229
235
  var import_import_data_schema_input = __toESM(require('./import-data/import-data.schema.input.json'), 1);
230
236
  var import_import_data_schema_output = __toESM(require('./import-data/import-data.schema.output.json'), 1);
231
237
  var import_reverse_transfer_schema_input = __toESM(require('./reverse-transfer/reverse-transfer.schema.input.json'), 1);
@@ -278,6 +284,7 @@ var ClientValidators = {
278
284
  getTransfer: (0, import_validator.getValidator)(import_validator.SchemaNames.GetTransferFnInput),
279
285
  getTransferGroup: (0, import_validator.getValidator)(import_validator.SchemaNames.GetTransferGroupFnInput),
280
286
  getWallet: (0, import_validator.getValidator)(import_validator.SchemaNames.GetWalletFnInput),
287
+ healthcheck: (0, import_validator.getValidator)(import_validator.SchemaNames.HealthcheckFnInput),
281
288
  importData: (0, import_validator.getValidator)(import_validator.SchemaNames.ImportDataFnInput),
282
289
  reverseTransfer: (0, import_validator.getValidator)(import_validator.SchemaNames.ReverseTransferFnInput),
283
290
  reverseTransferGroup: (0, import_validator.getValidator)(import_validator.SchemaNames.ReverseTransferGroupFnInput),
@@ -321,6 +328,7 @@ var ClientFunctions = {
321
328
  getTransfer: import_get_transfer.getTransfer,
322
329
  getTransferGroup: import_get_transfer_group.getTransferGroup,
323
330
  getWallet: import_get_wallet.getWallet,
331
+ healthcheck: import_healthcheck.healthcheck,
324
332
  importData: import_import_data.importData,
325
333
  reverseTransfer: import_reverse_transfer.reverseTransfer,
326
334
  reverseTransferGroup: import_reverse_transfer_group.reverseTransferGroup,
@@ -359,6 +367,7 @@ var ClientFunctionsEnum = /* @__PURE__ */ ((ClientFunctionsEnum2) => {
359
367
  ClientFunctionsEnum2["getTransfer"] = "getTransfer";
360
368
  ClientFunctionsEnum2["getTransferGroup"] = "getTransferGroup";
361
369
  ClientFunctionsEnum2["getWallet"] = "getWallet";
370
+ ClientFunctionsEnum2["healthcheck"] = "healthcheck";
362
371
  ClientFunctionsEnum2["importData"] = "importData";
363
372
  ClientFunctionsEnum2["reverseTransfer"] = "reverseTransfer";
364
373
  ClientFunctionsEnum2["reverseTransferGroup"] = "reverseTransferGroup";
@@ -25,6 +25,7 @@ import { getToken } from "./get-token/get-token.browser.js";
25
25
  import { getTransfer } from "./get-transfer/get-transfer.browser.js";
26
26
  import { getTransferGroup } from "./get-transfer-group/get-transfer-group.browser.js";
27
27
  import { getWallet } from "./get-wallet/get-wallet.browser.js";
28
+ import { healthcheck } from "./healthcheck/healthcheck.browser.js";
28
29
  import { importData } from "./import-data/import-data.browser.js";
29
30
  import { reverseTransfer } from "./reverse-transfer/reverse-transfer.browser.js";
30
31
  import { reverseTransferGroup } from "./reverse-transfer-group/reverse-transfer-group.browser.js";
@@ -84,6 +85,8 @@ import GetTransferGroupFnInputSchema from "./get-transfer-group/get-transfer-gro
84
85
  import GetTransferGroupFnOutputSchema from "./get-transfer-group/get-transfer-group.schema.output.json";
85
86
  import GetWalletFnInputSchema from "./get-wallet/get-wallet.schema.input.json";
86
87
  import GetWalletFnOutputSchema from "./get-wallet/get-wallet.schema.output.json";
88
+ import HealthcheckFnInputSchema from "./healthcheck/healthcheck.schema.input.json";
89
+ import HealthcheckFnOutputSchema from "./healthcheck/healthcheck.schema.output.json";
87
90
  import ImportDataFnInputSchema from "./import-data/import-data.schema.input.json";
88
91
  import ImportDataFnOutputSchema from "./import-data/import-data.schema.output.json";
89
92
  import ReverseTransferFnInputSchema from "./reverse-transfer/reverse-transfer.schema.input.json";
@@ -136,6 +139,7 @@ var ClientValidators = {
136
139
  getTransfer: getValidator(SchemaNames.GetTransferFnInput),
137
140
  getTransferGroup: getValidator(SchemaNames.GetTransferGroupFnInput),
138
141
  getWallet: getValidator(SchemaNames.GetWalletFnInput),
142
+ healthcheck: getValidator(SchemaNames.HealthcheckFnInput),
139
143
  importData: getValidator(SchemaNames.ImportDataFnInput),
140
144
  reverseTransfer: getValidator(SchemaNames.ReverseTransferFnInput),
141
145
  reverseTransferGroup: getValidator(SchemaNames.ReverseTransferGroupFnInput),
@@ -179,6 +183,7 @@ var ClientFunctions = {
179
183
  getTransfer,
180
184
  getTransferGroup,
181
185
  getWallet,
186
+ healthcheck,
182
187
  importData,
183
188
  reverseTransfer,
184
189
  reverseTransferGroup,
@@ -217,6 +222,7 @@ var ClientFunctionsEnum = /* @__PURE__ */ ((ClientFunctionsEnum2) => {
217
222
  ClientFunctionsEnum2["getTransfer"] = "getTransfer";
218
223
  ClientFunctionsEnum2["getTransferGroup"] = "getTransferGroup";
219
224
  ClientFunctionsEnum2["getWallet"] = "getWallet";
225
+ ClientFunctionsEnum2["healthcheck"] = "healthcheck";
220
226
  ClientFunctionsEnum2["importData"] = "importData";
221
227
  ClientFunctionsEnum2["reverseTransfer"] = "reverseTransfer";
222
228
  ClientFunctionsEnum2["reverseTransferGroup"] = "reverseTransferGroup";
@@ -289,6 +295,8 @@ export {
289
295
  GetTransferGroupFnOutputSchema,
290
296
  GetWalletFnInputSchema,
291
297
  GetWalletFnOutputSchema,
298
+ HealthcheckFnInputSchema,
299
+ HealthcheckFnOutputSchema,
292
300
  ImportDataFnInputSchema,
293
301
  ImportDataFnOutputSchema,
294
302
  ReverseTransferFnInputSchema,
@@ -335,6 +343,7 @@ export {
335
343
  getTransfer,
336
344
  getTransferGroup,
337
345
  getWallet,
346
+ healthcheck,
338
347
  importData,
339
348
  reverseTransfer,
340
349
  reverseTransferGroup,
@@ -82,6 +82,8 @@ __export(fns_exports, {
82
82
  GetTransferGroupFnOutputSchema: () => import_get_transfer_group_schema_output.default,
83
83
  GetWalletFnInputSchema: () => import_get_wallet_schema_input.default,
84
84
  GetWalletFnOutputSchema: () => import_get_wallet_schema_output.default,
85
+ HealthcheckFnInputSchema: () => import_healthcheck_schema_input.default,
86
+ HealthcheckFnOutputSchema: () => import_healthcheck_schema_output.default,
85
87
  ImportDataFnInputSchema: () => import_import_data_schema_input.default,
86
88
  ImportDataFnOutputSchema: () => import_import_data_schema_output.default,
87
89
  ReverseTransferFnInputSchema: () => import_reverse_transfer_schema_input.default,
@@ -128,6 +130,7 @@ __export(fns_exports, {
128
130
  getTransfer: () => import_get_transfer.getTransfer,
129
131
  getTransferGroup: () => import_get_transfer_group.getTransferGroup,
130
132
  getWallet: () => import_get_wallet.getWallet,
133
+ healthcheck: () => import_healthcheck.healthcheck,
131
134
  importData: () => import_import_data.importData,
132
135
  reverseTransfer: () => import_reverse_transfer.reverseTransfer,
133
136
  reverseTransferGroup: () => import_reverse_transfer_group.reverseTransferGroup,
@@ -167,6 +170,7 @@ var import_get_token = require('./get-token/get-token.cjs');
167
170
  var import_get_transfer = require('./get-transfer/get-transfer.cjs');
168
171
  var import_get_transfer_group = require('./get-transfer-group/get-transfer-group.cjs');
169
172
  var import_get_wallet = require('./get-wallet/get-wallet.cjs');
173
+ var import_healthcheck = require('./healthcheck/healthcheck.cjs');
170
174
  var import_import_data = require('./import-data/import-data.cjs');
171
175
  var import_reverse_transfer = require('./reverse-transfer/reverse-transfer.cjs');
172
176
  var import_reverse_transfer_group = require('./reverse-transfer-group/reverse-transfer-group.cjs');
@@ -226,6 +230,8 @@ var import_get_transfer_group_schema_input = __toESM(require('./get-transfer-gro
226
230
  var import_get_transfer_group_schema_output = __toESM(require('./get-transfer-group/get-transfer-group.schema.output.json'), 1);
227
231
  var import_get_wallet_schema_input = __toESM(require('./get-wallet/get-wallet.schema.input.json'), 1);
228
232
  var import_get_wallet_schema_output = __toESM(require('./get-wallet/get-wallet.schema.output.json'), 1);
233
+ var import_healthcheck_schema_input = __toESM(require('./healthcheck/healthcheck.schema.input.json'), 1);
234
+ var import_healthcheck_schema_output = __toESM(require('./healthcheck/healthcheck.schema.output.json'), 1);
229
235
  var import_import_data_schema_input = __toESM(require('./import-data/import-data.schema.input.json'), 1);
230
236
  var import_import_data_schema_output = __toESM(require('./import-data/import-data.schema.output.json'), 1);
231
237
  var import_reverse_transfer_schema_input = __toESM(require('./reverse-transfer/reverse-transfer.schema.input.json'), 1);
@@ -278,6 +284,7 @@ var ClientValidators = {
278
284
  getTransfer: (0, import_validator.getValidator)(import_validator.SchemaNames.GetTransferFnInput),
279
285
  getTransferGroup: (0, import_validator.getValidator)(import_validator.SchemaNames.GetTransferGroupFnInput),
280
286
  getWallet: (0, import_validator.getValidator)(import_validator.SchemaNames.GetWalletFnInput),
287
+ healthcheck: (0, import_validator.getValidator)(import_validator.SchemaNames.HealthcheckFnInput),
281
288
  importData: (0, import_validator.getValidator)(import_validator.SchemaNames.ImportDataFnInput),
282
289
  reverseTransfer: (0, import_validator.getValidator)(import_validator.SchemaNames.ReverseTransferFnInput),
283
290
  reverseTransferGroup: (0, import_validator.getValidator)(import_validator.SchemaNames.ReverseTransferGroupFnInput),
@@ -321,6 +328,7 @@ var ClientFunctions = {
321
328
  getTransfer: import_get_transfer.getTransfer,
322
329
  getTransferGroup: import_get_transfer_group.getTransferGroup,
323
330
  getWallet: import_get_wallet.getWallet,
331
+ healthcheck: import_healthcheck.healthcheck,
324
332
  importData: import_import_data.importData,
325
333
  reverseTransfer: import_reverse_transfer.reverseTransfer,
326
334
  reverseTransferGroup: import_reverse_transfer_group.reverseTransferGroup,
@@ -359,6 +367,7 @@ var ClientFunctionsEnum = /* @__PURE__ */ ((ClientFunctionsEnum2) => {
359
367
  ClientFunctionsEnum2["getTransfer"] = "getTransfer";
360
368
  ClientFunctionsEnum2["getTransferGroup"] = "getTransferGroup";
361
369
  ClientFunctionsEnum2["getWallet"] = "getWallet";
370
+ ClientFunctionsEnum2["healthcheck"] = "healthcheck";
362
371
  ClientFunctionsEnum2["importData"] = "importData";
363
372
  ClientFunctionsEnum2["reverseTransfer"] = "reverseTransfer";
364
373
  ClientFunctionsEnum2["reverseTransferGroup"] = "reverseTransferGroup";
@@ -432,6 +441,8 @@ var ClientQueryBuilderFunctionsEnum = /* @__PURE__ */ ((ClientQueryBuilderFuncti
432
441
  GetTransferGroupFnOutputSchema,
433
442
  GetWalletFnInputSchema,
434
443
  GetWalletFnOutputSchema,
444
+ HealthcheckFnInputSchema,
445
+ HealthcheckFnOutputSchema,
435
446
  ImportDataFnInputSchema,
436
447
  ImportDataFnOutputSchema,
437
448
  ReverseTransferFnInputSchema,
@@ -478,6 +489,7 @@ var ClientQueryBuilderFunctionsEnum = /* @__PURE__ */ ((ClientQueryBuilderFuncti
478
489
  getTransfer,
479
490
  getTransferGroup,
480
491
  getWallet,
492
+ healthcheck,
481
493
  importData,
482
494
  reverseTransfer,
483
495
  reverseTransferGroup,
@@ -26,6 +26,7 @@ import { getToken } from './get-token/get-token';
26
26
  import { getTransfer } from './get-transfer/get-transfer';
27
27
  import { getTransferGroup } from './get-transfer-group/get-transfer-group';
28
28
  import { getWallet } from './get-wallet/get-wallet';
29
+ import { healthcheck } from './healthcheck/healthcheck';
29
30
  import { importData } from './import-data/import-data';
30
31
  import { reverseTransfer } from './reverse-transfer/reverse-transfer';
31
32
  import { reverseTransferGroup } from './reverse-transfer-group/reverse-transfer-group';
@@ -85,6 +86,8 @@ import GetTransferGroupFnInputSchema from './get-transfer-group/get-transfer-gro
85
86
  import GetTransferGroupFnOutputSchema from './get-transfer-group/get-transfer-group.schema.output.json';
86
87
  import GetWalletFnInputSchema from './get-wallet/get-wallet.schema.input.json';
87
88
  import GetWalletFnOutputSchema from './get-wallet/get-wallet.schema.output.json';
89
+ import HealthcheckFnInputSchema from './healthcheck/healthcheck.schema.input.json';
90
+ import HealthcheckFnOutputSchema from './healthcheck/healthcheck.schema.output.json';
88
91
  import ImportDataFnInputSchema from './import-data/import-data.schema.input.json';
89
92
  import ImportDataFnOutputSchema from './import-data/import-data.schema.output.json';
90
93
  import ReverseTransferFnInputSchema from './reverse-transfer/reverse-transfer.schema.input.json';
@@ -110,7 +113,7 @@ import UpdateWalletFnOutputSchema from './update-wallet/update-wallet.schema.out
110
113
  /**
111
114
  * @internal
112
115
  */
113
- export { FnConstsSchema, aggregateTransfers, createAccessToken, createContract, createDeposit, createExchange, createToken, createTransfer, createTransferGroup, createTransfers, createWallet, createWithdrawal, findBalances, findTokens, findTransferGroups, findTransfers, findWallets, getBalance, getBalanceHistory, getFlags, getStatistics, getToken, getTransfer, getTransferGroup, getWallet, importData, reverseTransfer, reverseTransferGroup, reverseTransfers, setFlags, updateToken, updateTransfer, updateTransferGroup, updateTransferGroups, updateTransfers, updateWallet, AggregateTransfersFnInputSchema, AggregateTransfersFnOutputSchema, CreateAccessTokenFnInputSchema, CreateAccessTokenFnOutputSchema, CreateContractFnInputSchema, CreateContractFnOutputSchema, CreateDepositFnInputSchema, CreateDepositFnOutputSchema, CreateExchangeFnInputSchema, CreateExchangeFnOutputSchema, CreateTokenFnInputSchema, CreateTokenFnOutputSchema, CreateTransferFnInputSchema, CreateTransferFnOutputSchema, CreateTransferGroupFnInputSchema, CreateTransferGroupFnOutputSchema, CreateTransfersFnInputSchema, CreateTransfersFnOutputSchema, CreateWalletFnInputSchema, CreateWalletFnOutputSchema, CreateWithdrawalFnInputSchema, CreateWithdrawalFnOutputSchema, FindBalancesFnInputSchema, FindBalancesFnOutputSchema, FindTokensFnInputSchema, FindTokensFnOutputSchema, FindTransferGroupsFnInputSchema, FindTransferGroupsFnOutputSchema, FindTransfersFnInputSchema, FindTransfersFnOutputSchema, FindWalletsFnInputSchema, FindWalletsFnOutputSchema, GetBalanceFnInputSchema, GetBalanceFnOutputSchema, GetBalanceHistoryFnInputSchema, GetBalanceHistoryFnOutputSchema, GetFlagsFnInputSchema, GetFlagsFnOutputSchema, GetStatisticsFnInputSchema, GetStatisticsFnOutputSchema, GetTokenFnInputSchema, GetTokenFnOutputSchema, GetTransferFnInputSchema, GetTransferFnOutputSchema, GetTransferGroupFnInputSchema, GetTransferGroupFnOutputSchema, GetWalletFnInputSchema, GetWalletFnOutputSchema, ImportDataFnInputSchema, ImportDataFnOutputSchema, ReverseTransferFnInputSchema, ReverseTransferFnOutputSchema, ReverseTransferGroupFnInputSchema, ReverseTransferGroupFnOutputSchema, ReverseTransfersFnInputSchema, ReverseTransfersFnOutputSchema, SetFlagsFnInputSchema, SetFlagsFnOutputSchema, UpdateTokenFnInputSchema, UpdateTokenFnOutputSchema, UpdateTransferFnInputSchema, UpdateTransferFnOutputSchema, UpdateTransferGroupFnInputSchema, UpdateTransferGroupFnOutputSchema, UpdateTransferGroupsFnInputSchema, UpdateTransferGroupsFnOutputSchema, UpdateTransfersFnInputSchema, UpdateTransfersFnOutputSchema, UpdateWalletFnInputSchema, UpdateWalletFnOutputSchema, };
116
+ export { FnConstsSchema, aggregateTransfers, createAccessToken, createContract, createDeposit, createExchange, createToken, createTransfer, createTransferGroup, createTransfers, createWallet, createWithdrawal, findBalances, findTokens, findTransferGroups, findTransfers, findWallets, getBalance, getBalanceHistory, getFlags, getStatistics, getToken, getTransfer, getTransferGroup, getWallet, healthcheck, importData, reverseTransfer, reverseTransferGroup, reverseTransfers, setFlags, updateToken, updateTransfer, updateTransferGroup, updateTransferGroups, updateTransfers, updateWallet, AggregateTransfersFnInputSchema, AggregateTransfersFnOutputSchema, CreateAccessTokenFnInputSchema, CreateAccessTokenFnOutputSchema, CreateContractFnInputSchema, CreateContractFnOutputSchema, CreateDepositFnInputSchema, CreateDepositFnOutputSchema, CreateExchangeFnInputSchema, CreateExchangeFnOutputSchema, CreateTokenFnInputSchema, CreateTokenFnOutputSchema, CreateTransferFnInputSchema, CreateTransferFnOutputSchema, CreateTransferGroupFnInputSchema, CreateTransferGroupFnOutputSchema, CreateTransfersFnInputSchema, CreateTransfersFnOutputSchema, CreateWalletFnInputSchema, CreateWalletFnOutputSchema, CreateWithdrawalFnInputSchema, CreateWithdrawalFnOutputSchema, FindBalancesFnInputSchema, FindBalancesFnOutputSchema, FindTokensFnInputSchema, FindTokensFnOutputSchema, FindTransferGroupsFnInputSchema, FindTransferGroupsFnOutputSchema, FindTransfersFnInputSchema, FindTransfersFnOutputSchema, FindWalletsFnInputSchema, FindWalletsFnOutputSchema, GetBalanceFnInputSchema, GetBalanceFnOutputSchema, GetBalanceHistoryFnInputSchema, GetBalanceHistoryFnOutputSchema, GetFlagsFnInputSchema, GetFlagsFnOutputSchema, GetStatisticsFnInputSchema, GetStatisticsFnOutputSchema, GetTokenFnInputSchema, GetTokenFnOutputSchema, GetTransferFnInputSchema, GetTransferFnOutputSchema, GetTransferGroupFnInputSchema, GetTransferGroupFnOutputSchema, GetWalletFnInputSchema, GetWalletFnOutputSchema, HealthcheckFnInputSchema, HealthcheckFnOutputSchema, ImportDataFnInputSchema, ImportDataFnOutputSchema, ReverseTransferFnInputSchema, ReverseTransferFnOutputSchema, ReverseTransferGroupFnInputSchema, ReverseTransferGroupFnOutputSchema, ReverseTransfersFnInputSchema, ReverseTransfersFnOutputSchema, SetFlagsFnInputSchema, SetFlagsFnOutputSchema, UpdateTokenFnInputSchema, UpdateTokenFnOutputSchema, UpdateTransferFnInputSchema, UpdateTransferFnOutputSchema, UpdateTransferGroupFnInputSchema, UpdateTransferGroupFnOutputSchema, UpdateTransferGroupsFnInputSchema, UpdateTransferGroupsFnOutputSchema, UpdateTransfersFnInputSchema, UpdateTransfersFnOutputSchema, UpdateWalletFnInputSchema, UpdateWalletFnOutputSchema, };
114
117
  /**
115
118
  * @internal
116
119
  */
@@ -139,6 +142,7 @@ export declare const ClientValidators: {
139
142
  getTransfer: import("../lib/validator").ValidationFunction;
140
143
  getTransferGroup: import("../lib/validator").ValidationFunction;
141
144
  getWallet: import("../lib/validator").ValidationFunction;
145
+ healthcheck: import("../lib/validator").ValidationFunction;
142
146
  importData: import("../lib/validator").ValidationFunction;
143
147
  reverseTransfer: import("../lib/validator").ValidationFunction;
144
148
  reverseTransferGroup: import("../lib/validator").ValidationFunction;
@@ -179,6 +183,7 @@ export declare const ClientFunctions: {
179
183
  getTransfer: typeof getTransfer;
180
184
  getTransferGroup: typeof getTransferGroup;
181
185
  getWallet: typeof getWallet;
186
+ healthcheck: typeof healthcheck;
182
187
  importData: typeof importData;
183
188
  reverseTransfer: typeof reverseTransfer;
184
189
  reverseTransferGroup: typeof reverseTransferGroup;
@@ -219,6 +224,7 @@ export declare enum ClientFunctionsEnum {
219
224
  getTransfer = "getTransfer",
220
225
  getTransferGroup = "getTransferGroup",
221
226
  getWallet = "getWallet",
227
+ healthcheck = "healthcheck",
222
228
  importData = "importData",
223
229
  reverseTransfer = "reverseTransfer",
224
230
  reverseTransferGroup = "reverseTransferGroup",
package/dist/fns/index.js CHANGED
@@ -25,6 +25,7 @@ import { getToken } from "./get-token/get-token";
25
25
  import { getTransfer } from "./get-transfer/get-transfer";
26
26
  import { getTransferGroup } from "./get-transfer-group/get-transfer-group";
27
27
  import { getWallet } from "./get-wallet/get-wallet";
28
+ import { healthcheck } from "./healthcheck/healthcheck";
28
29
  import { importData } from "./import-data/import-data";
29
30
  import { reverseTransfer } from "./reverse-transfer/reverse-transfer";
30
31
  import { reverseTransferGroup } from "./reverse-transfer-group/reverse-transfer-group";
@@ -84,6 +85,8 @@ import GetTransferGroupFnInputSchema from "./get-transfer-group/get-transfer-gro
84
85
  import GetTransferGroupFnOutputSchema from "./get-transfer-group/get-transfer-group.schema.output.json";
85
86
  import GetWalletFnInputSchema from "./get-wallet/get-wallet.schema.input.json";
86
87
  import GetWalletFnOutputSchema from "./get-wallet/get-wallet.schema.output.json";
88
+ import HealthcheckFnInputSchema from "./healthcheck/healthcheck.schema.input.json";
89
+ import HealthcheckFnOutputSchema from "./healthcheck/healthcheck.schema.output.json";
87
90
  import ImportDataFnInputSchema from "./import-data/import-data.schema.input.json";
88
91
  import ImportDataFnOutputSchema from "./import-data/import-data.schema.output.json";
89
92
  import ReverseTransferFnInputSchema from "./reverse-transfer/reverse-transfer.schema.input.json";
@@ -136,6 +139,7 @@ var ClientValidators = {
136
139
  getTransfer: getValidator(SchemaNames.GetTransferFnInput),
137
140
  getTransferGroup: getValidator(SchemaNames.GetTransferGroupFnInput),
138
141
  getWallet: getValidator(SchemaNames.GetWalletFnInput),
142
+ healthcheck: getValidator(SchemaNames.HealthcheckFnInput),
139
143
  importData: getValidator(SchemaNames.ImportDataFnInput),
140
144
  reverseTransfer: getValidator(SchemaNames.ReverseTransferFnInput),
141
145
  reverseTransferGroup: getValidator(SchemaNames.ReverseTransferGroupFnInput),
@@ -179,6 +183,7 @@ var ClientFunctions = {
179
183
  getTransfer,
180
184
  getTransferGroup,
181
185
  getWallet,
186
+ healthcheck,
182
187
  importData,
183
188
  reverseTransfer,
184
189
  reverseTransferGroup,
@@ -217,6 +222,7 @@ var ClientFunctionsEnum = /* @__PURE__ */ ((ClientFunctionsEnum2) => {
217
222
  ClientFunctionsEnum2["getTransfer"] = "getTransfer";
218
223
  ClientFunctionsEnum2["getTransferGroup"] = "getTransferGroup";
219
224
  ClientFunctionsEnum2["getWallet"] = "getWallet";
225
+ ClientFunctionsEnum2["healthcheck"] = "healthcheck";
220
226
  ClientFunctionsEnum2["importData"] = "importData";
221
227
  ClientFunctionsEnum2["reverseTransfer"] = "reverseTransfer";
222
228
  ClientFunctionsEnum2["reverseTransferGroup"] = "reverseTransferGroup";
@@ -289,6 +295,8 @@ export {
289
295
  GetTransferGroupFnOutputSchema,
290
296
  GetWalletFnInputSchema,
291
297
  GetWalletFnOutputSchema,
298
+ HealthcheckFnInputSchema,
299
+ HealthcheckFnOutputSchema,
292
300
  ImportDataFnInputSchema,
293
301
  ImportDataFnOutputSchema,
294
302
  ReverseTransferFnInputSchema,
@@ -335,6 +343,7 @@ export {
335
343
  getTransfer,
336
344
  getTransferGroup,
337
345
  getWallet,
346
+ healthcheck,
338
347
  importData,
339
348
  reverseTransfer,
340
349
  reverseTransferGroup,
@@ -6898,6 +6898,8 @@ var import_get_transfer_group_schema_input = __toESM(require('../fns/get-transfe
6898
6898
  var import_get_transfer_group_schema_output = __toESM(require('../fns/get-transfer-group/get-transfer-group.schema.output.json'), 1);
6899
6899
  var import_get_wallet_schema_input = __toESM(require('../fns/get-wallet/get-wallet.schema.input.json'), 1);
6900
6900
  var import_get_wallet_schema_output = __toESM(require('../fns/get-wallet/get-wallet.schema.output.json'), 1);
6901
+ var import_healthcheck_schema_input = __toESM(require('../fns/healthcheck/healthcheck.schema.input.json'), 1);
6902
+ var import_healthcheck_schema_output = __toESM(require('../fns/healthcheck/healthcheck.schema.output.json'), 1);
6901
6903
  var import_import_data_schema_input = __toESM(require('../fns/import-data/import-data.schema.input.json'), 1);
6902
6904
  var import_import_data_schema_output = __toESM(require('../fns/import-data/import-data.schema.output.json'), 1);
6903
6905
  var import_reverse_transfer_schema_input = __toESM(require('../fns/reverse-transfer/reverse-transfer.schema.input.json'), 1);
@@ -6982,6 +6984,8 @@ var import_get_wallet_schema_input2 = __toESM(require('../txs/get-wallet/get-wal
6982
6984
  var import_get_wallet_schema_output2 = __toESM(require('../txs/get-wallet/get-wallet.schema.output.json'), 1);
6983
6985
  var import_get_wallet_many_schema_input = __toESM(require('../txs/get-wallet-many/get-wallet-many.schema.input.json'), 1);
6984
6986
  var import_get_wallet_many_schema_output = __toESM(require('../txs/get-wallet-many/get-wallet-many.schema.output.json'), 1);
6987
+ var import_healthcheck_schema_input2 = __toESM(require('../txs/healthcheck/healthcheck.schema.input.json'), 1);
6988
+ var import_healthcheck_schema_output2 = __toESM(require('../txs/healthcheck/healthcheck.schema.output.json'), 1);
6985
6989
  var import_import_actions_schema_input = __toESM(require('../txs/import-actions/import-actions.schema.input.json'), 1);
6986
6990
  var import_import_actions_schema_output = __toESM(require('../txs/import-actions/import-actions.schema.output.json'), 1);
6987
6991
  var import_import_database_schema_input = __toESM(require('../txs/import-database/import-database.schema.input.json'), 1);
@@ -7671,6 +7675,22 @@ ajv.addSchema(
7671
7675
  "/fns/get-wallet/get-wallet.schema.output.json"
7672
7676
  );
7673
7677
  Schemas.GetWalletFnOutput = import_get_wallet_schema_output.default;
7678
+ ajv.addSchema(
7679
+ fixSelfRefs(
7680
+ import_healthcheck_schema_input.default,
7681
+ "/fns/healthcheck/healthcheck.schema.input.json"
7682
+ ),
7683
+ "/fns/healthcheck/healthcheck.schema.input.json"
7684
+ );
7685
+ Schemas.HealthcheckFnInput = import_healthcheck_schema_input.default;
7686
+ ajv.addSchema(
7687
+ fixSelfRefs(
7688
+ import_healthcheck_schema_output.default,
7689
+ "/fns/healthcheck/healthcheck.schema.output.json"
7690
+ ),
7691
+ "/fns/healthcheck/healthcheck.schema.output.json"
7692
+ );
7693
+ Schemas.HealthcheckFnOutput = import_healthcheck_schema_output.default;
7674
7694
  ajv.addSchema(
7675
7695
  fixSelfRefs(
7676
7696
  import_import_data_schema_input.default,
@@ -8361,6 +8381,22 @@ ajv.addSchema(
8361
8381
  "/txs/get-wallet-many/get-wallet-many.schema.output.json"
8362
8382
  );
8363
8383
  Schemas.GetWalletManyTxOutput = import_get_wallet_many_schema_output.default;
8384
+ ajv.addSchema(
8385
+ fixSelfRefs(
8386
+ import_healthcheck_schema_input2.default,
8387
+ "/txs/healthcheck/healthcheck.schema.input.json"
8388
+ ),
8389
+ "/txs/healthcheck/healthcheck.schema.input.json"
8390
+ );
8391
+ Schemas.HealthcheckTxInput = import_healthcheck_schema_input2.default;
8392
+ ajv.addSchema(
8393
+ fixSelfRefs(
8394
+ import_healthcheck_schema_output2.default,
8395
+ "/txs/healthcheck/healthcheck.schema.output.json"
8396
+ ),
8397
+ "/txs/healthcheck/healthcheck.schema.output.json"
8398
+ );
8399
+ Schemas.HealthcheckTxOutput = import_healthcheck_schema_output2.default;
8364
8400
  ajv.addSchema(
8365
8401
  fixSelfRefs(
8366
8402
  import_import_actions_schema_input.default,
@@ -8741,6 +8777,8 @@ var SchemaNames = /* @__PURE__ */ ((SchemaNames2) => {
8741
8777
  SchemaNames2["GetTransferGroupFnOutput"] = "GetTransferGroupFnOutput";
8742
8778
  SchemaNames2["GetWalletFnInput"] = "GetWalletFnInput";
8743
8779
  SchemaNames2["GetWalletFnOutput"] = "GetWalletFnOutput";
8780
+ SchemaNames2["HealthcheckFnInput"] = "HealthcheckFnInput";
8781
+ SchemaNames2["HealthcheckFnOutput"] = "HealthcheckFnOutput";
8744
8782
  SchemaNames2["ImportDataFnInput"] = "ImportDataFnInput";
8745
8783
  SchemaNames2["ImportDataFnOptions"] = "ImportDataFnOptions";
8746
8784
  SchemaNames2["ImportDataFnStreamChunk"] = "ImportDataFnStreamChunk";
@@ -8827,6 +8865,8 @@ var SchemaNames = /* @__PURE__ */ ((SchemaNames2) => {
8827
8865
  SchemaNames2["GetWalletTxOutput"] = "GetWalletTxOutput";
8828
8866
  SchemaNames2["GetWalletManyTxInput"] = "GetWalletManyTxInput";
8829
8867
  SchemaNames2["GetWalletManyTxOutput"] = "GetWalletManyTxOutput";
8868
+ SchemaNames2["HealthcheckTxInput"] = "HealthcheckTxInput";
8869
+ SchemaNames2["HealthcheckTxOutput"] = "HealthcheckTxOutput";
8830
8870
  SchemaNames2["ImportActionsTxInput"] = "ImportActionsTxInput";
8831
8871
  SchemaNames2["ImportActionsTxOptions"] = "ImportActionsTxOptions";
8832
8872
  SchemaNames2["ImportActionsTxStreamChunk"] = "ImportActionsTxStreamChunk";
@@ -6885,6 +6885,8 @@ import GetTransferGroupFnInputSchema from "../fns/get-transfer-group/get-transfe
6885
6885
  import GetTransferGroupFnOutputSchema from "../fns/get-transfer-group/get-transfer-group.schema.output.json";
6886
6886
  import GetWalletFnInputSchema from "../fns/get-wallet/get-wallet.schema.input.json";
6887
6887
  import GetWalletFnOutputSchema from "../fns/get-wallet/get-wallet.schema.output.json";
6888
+ import HealthcheckFnInputSchema from "../fns/healthcheck/healthcheck.schema.input.json";
6889
+ import HealthcheckFnOutputSchema from "../fns/healthcheck/healthcheck.schema.output.json";
6888
6890
  import ImportDataFnInputSchema from "../fns/import-data/import-data.schema.input.json";
6889
6891
  import ImportDataFnOutputSchema from "../fns/import-data/import-data.schema.output.json";
6890
6892
  import ReverseTransferFnInputSchema from "../fns/reverse-transfer/reverse-transfer.schema.input.json";
@@ -6969,6 +6971,8 @@ import GetWalletTxInputSchema from "../txs/get-wallet/get-wallet.schema.input.js
6969
6971
  import GetWalletTxOutputSchema from "../txs/get-wallet/get-wallet.schema.output.json";
6970
6972
  import GetWalletManyTxInputSchema from "../txs/get-wallet-many/get-wallet-many.schema.input.json";
6971
6973
  import GetWalletManyTxOutputSchema from "../txs/get-wallet-many/get-wallet-many.schema.output.json";
6974
+ import HealthcheckTxInputSchema from "../txs/healthcheck/healthcheck.schema.input.json";
6975
+ import HealthcheckTxOutputSchema from "../txs/healthcheck/healthcheck.schema.output.json";
6972
6976
  import ImportActionsTxInputSchema from "../txs/import-actions/import-actions.schema.input.json";
6973
6977
  import ImportActionsTxOutputSchema from "../txs/import-actions/import-actions.schema.output.json";
6974
6978
  import ImportDatabaseTxInputSchema from "../txs/import-database/import-database.schema.input.json";
@@ -7658,6 +7662,22 @@ ajv.addSchema(
7658
7662
  "/fns/get-wallet/get-wallet.schema.output.json"
7659
7663
  );
7660
7664
  Schemas.GetWalletFnOutput = GetWalletFnOutputSchema;
7665
+ ajv.addSchema(
7666
+ fixSelfRefs(
7667
+ HealthcheckFnInputSchema,
7668
+ "/fns/healthcheck/healthcheck.schema.input.json"
7669
+ ),
7670
+ "/fns/healthcheck/healthcheck.schema.input.json"
7671
+ );
7672
+ Schemas.HealthcheckFnInput = HealthcheckFnInputSchema;
7673
+ ajv.addSchema(
7674
+ fixSelfRefs(
7675
+ HealthcheckFnOutputSchema,
7676
+ "/fns/healthcheck/healthcheck.schema.output.json"
7677
+ ),
7678
+ "/fns/healthcheck/healthcheck.schema.output.json"
7679
+ );
7680
+ Schemas.HealthcheckFnOutput = HealthcheckFnOutputSchema;
7661
7681
  ajv.addSchema(
7662
7682
  fixSelfRefs(
7663
7683
  ImportDataFnInputSchema,
@@ -8348,6 +8368,22 @@ ajv.addSchema(
8348
8368
  "/txs/get-wallet-many/get-wallet-many.schema.output.json"
8349
8369
  );
8350
8370
  Schemas.GetWalletManyTxOutput = GetWalletManyTxOutputSchema;
8371
+ ajv.addSchema(
8372
+ fixSelfRefs(
8373
+ HealthcheckTxInputSchema,
8374
+ "/txs/healthcheck/healthcheck.schema.input.json"
8375
+ ),
8376
+ "/txs/healthcheck/healthcheck.schema.input.json"
8377
+ );
8378
+ Schemas.HealthcheckTxInput = HealthcheckTxInputSchema;
8379
+ ajv.addSchema(
8380
+ fixSelfRefs(
8381
+ HealthcheckTxOutputSchema,
8382
+ "/txs/healthcheck/healthcheck.schema.output.json"
8383
+ ),
8384
+ "/txs/healthcheck/healthcheck.schema.output.json"
8385
+ );
8386
+ Schemas.HealthcheckTxOutput = HealthcheckTxOutputSchema;
8351
8387
  ajv.addSchema(
8352
8388
  fixSelfRefs(
8353
8389
  ImportActionsTxInputSchema,
@@ -8728,6 +8764,8 @@ var SchemaNames = /* @__PURE__ */ ((SchemaNames2) => {
8728
8764
  SchemaNames2["GetTransferGroupFnOutput"] = "GetTransferGroupFnOutput";
8729
8765
  SchemaNames2["GetWalletFnInput"] = "GetWalletFnInput";
8730
8766
  SchemaNames2["GetWalletFnOutput"] = "GetWalletFnOutput";
8767
+ SchemaNames2["HealthcheckFnInput"] = "HealthcheckFnInput";
8768
+ SchemaNames2["HealthcheckFnOutput"] = "HealthcheckFnOutput";
8731
8769
  SchemaNames2["ImportDataFnInput"] = "ImportDataFnInput";
8732
8770
  SchemaNames2["ImportDataFnOptions"] = "ImportDataFnOptions";
8733
8771
  SchemaNames2["ImportDataFnStreamChunk"] = "ImportDataFnStreamChunk";
@@ -8814,6 +8852,8 @@ var SchemaNames = /* @__PURE__ */ ((SchemaNames2) => {
8814
8852
  SchemaNames2["GetWalletTxOutput"] = "GetWalletTxOutput";
8815
8853
  SchemaNames2["GetWalletManyTxInput"] = "GetWalletManyTxInput";
8816
8854
  SchemaNames2["GetWalletManyTxOutput"] = "GetWalletManyTxOutput";
8855
+ SchemaNames2["HealthcheckTxInput"] = "HealthcheckTxInput";
8856
+ SchemaNames2["HealthcheckTxOutput"] = "HealthcheckTxOutput";
8817
8857
  SchemaNames2["ImportActionsTxInput"] = "ImportActionsTxInput";
8818
8858
  SchemaNames2["ImportActionsTxOptions"] = "ImportActionsTxOptions";
8819
8859
  SchemaNames2["ImportActionsTxStreamChunk"] = "ImportActionsTxStreamChunk";
@@ -126,6 +126,8 @@ var import_get_transfer_group_schema_input = __toESM(require('../fns/get-transfe
126
126
  var import_get_transfer_group_schema_output = __toESM(require('../fns/get-transfer-group/get-transfer-group.schema.output.json'), 1);
127
127
  var import_get_wallet_schema_input = __toESM(require('../fns/get-wallet/get-wallet.schema.input.json'), 1);
128
128
  var import_get_wallet_schema_output = __toESM(require('../fns/get-wallet/get-wallet.schema.output.json'), 1);
129
+ var import_healthcheck_schema_input = __toESM(require('../fns/healthcheck/healthcheck.schema.input.json'), 1);
130
+ var import_healthcheck_schema_output = __toESM(require('../fns/healthcheck/healthcheck.schema.output.json'), 1);
129
131
  var import_import_data_schema_input = __toESM(require('../fns/import-data/import-data.schema.input.json'), 1);
130
132
  var import_import_data_schema_output = __toESM(require('../fns/import-data/import-data.schema.output.json'), 1);
131
133
  var import_reverse_transfer_schema_input = __toESM(require('../fns/reverse-transfer/reverse-transfer.schema.input.json'), 1);
@@ -210,6 +212,8 @@ var import_get_wallet_schema_input2 = __toESM(require('../txs/get-wallet/get-wal
210
212
  var import_get_wallet_schema_output2 = __toESM(require('../txs/get-wallet/get-wallet.schema.output.json'), 1);
211
213
  var import_get_wallet_many_schema_input = __toESM(require('../txs/get-wallet-many/get-wallet-many.schema.input.json'), 1);
212
214
  var import_get_wallet_many_schema_output = __toESM(require('../txs/get-wallet-many/get-wallet-many.schema.output.json'), 1);
215
+ var import_healthcheck_schema_input2 = __toESM(require('../txs/healthcheck/healthcheck.schema.input.json'), 1);
216
+ var import_healthcheck_schema_output2 = __toESM(require('../txs/healthcheck/healthcheck.schema.output.json'), 1);
213
217
  var import_import_actions_schema_input = __toESM(require('../txs/import-actions/import-actions.schema.input.json'), 1);
214
218
  var import_import_actions_schema_output = __toESM(require('../txs/import-actions/import-actions.schema.output.json'), 1);
215
219
  var import_import_database_schema_input = __toESM(require('../txs/import-database/import-database.schema.input.json'), 1);
@@ -899,6 +903,22 @@ ajv.addSchema(
899
903
  "/fns/get-wallet/get-wallet.schema.output.json"
900
904
  );
901
905
  Schemas.GetWalletFnOutput = import_get_wallet_schema_output.default;
906
+ ajv.addSchema(
907
+ fixSelfRefs(
908
+ import_healthcheck_schema_input.default,
909
+ "/fns/healthcheck/healthcheck.schema.input.json"
910
+ ),
911
+ "/fns/healthcheck/healthcheck.schema.input.json"
912
+ );
913
+ Schemas.HealthcheckFnInput = import_healthcheck_schema_input.default;
914
+ ajv.addSchema(
915
+ fixSelfRefs(
916
+ import_healthcheck_schema_output.default,
917
+ "/fns/healthcheck/healthcheck.schema.output.json"
918
+ ),
919
+ "/fns/healthcheck/healthcheck.schema.output.json"
920
+ );
921
+ Schemas.HealthcheckFnOutput = import_healthcheck_schema_output.default;
902
922
  ajv.addSchema(
903
923
  fixSelfRefs(
904
924
  import_import_data_schema_input.default,
@@ -1589,6 +1609,22 @@ ajv.addSchema(
1589
1609
  "/txs/get-wallet-many/get-wallet-many.schema.output.json"
1590
1610
  );
1591
1611
  Schemas.GetWalletManyTxOutput = import_get_wallet_many_schema_output.default;
1612
+ ajv.addSchema(
1613
+ fixSelfRefs(
1614
+ import_healthcheck_schema_input2.default,
1615
+ "/txs/healthcheck/healthcheck.schema.input.json"
1616
+ ),
1617
+ "/txs/healthcheck/healthcheck.schema.input.json"
1618
+ );
1619
+ Schemas.HealthcheckTxInput = import_healthcheck_schema_input2.default;
1620
+ ajv.addSchema(
1621
+ fixSelfRefs(
1622
+ import_healthcheck_schema_output2.default,
1623
+ "/txs/healthcheck/healthcheck.schema.output.json"
1624
+ ),
1625
+ "/txs/healthcheck/healthcheck.schema.output.json"
1626
+ );
1627
+ Schemas.HealthcheckTxOutput = import_healthcheck_schema_output2.default;
1592
1628
  ajv.addSchema(
1593
1629
  fixSelfRefs(
1594
1630
  import_import_actions_schema_input.default,
@@ -1969,6 +2005,8 @@ var SchemaNames = /* @__PURE__ */ ((SchemaNames2) => {
1969
2005
  SchemaNames2["GetTransferGroupFnOutput"] = "GetTransferGroupFnOutput";
1970
2006
  SchemaNames2["GetWalletFnInput"] = "GetWalletFnInput";
1971
2007
  SchemaNames2["GetWalletFnOutput"] = "GetWalletFnOutput";
2008
+ SchemaNames2["HealthcheckFnInput"] = "HealthcheckFnInput";
2009
+ SchemaNames2["HealthcheckFnOutput"] = "HealthcheckFnOutput";
1972
2010
  SchemaNames2["ImportDataFnInput"] = "ImportDataFnInput";
1973
2011
  SchemaNames2["ImportDataFnOptions"] = "ImportDataFnOptions";
1974
2012
  SchemaNames2["ImportDataFnStreamChunk"] = "ImportDataFnStreamChunk";
@@ -2055,6 +2093,8 @@ var SchemaNames = /* @__PURE__ */ ((SchemaNames2) => {
2055
2093
  SchemaNames2["GetWalletTxOutput"] = "GetWalletTxOutput";
2056
2094
  SchemaNames2["GetWalletManyTxInput"] = "GetWalletManyTxInput";
2057
2095
  SchemaNames2["GetWalletManyTxOutput"] = "GetWalletManyTxOutput";
2096
+ SchemaNames2["HealthcheckTxInput"] = "HealthcheckTxInput";
2097
+ SchemaNames2["HealthcheckTxOutput"] = "HealthcheckTxOutput";
2058
2098
  SchemaNames2["ImportActionsTxInput"] = "ImportActionsTxInput";
2059
2099
  SchemaNames2["ImportActionsTxOptions"] = "ImportActionsTxOptions";
2060
2100
  SchemaNames2["ImportActionsTxStreamChunk"] = "ImportActionsTxStreamChunk";