@kite-01/mcp 0.1.1 → 0.3.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.
- package/README.md +1 -1
- package/dist/index.mjs +970 -164
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -42,7 +42,7 @@ const list = async (request, resource) => {
|
|
|
42
42
|
};
|
|
43
43
|
const registerResources = (server, kite) => {
|
|
44
44
|
server.registerResource("app", "kite://app", {
|
|
45
|
-
description: "The app this key belongs to",
|
|
45
|
+
description: "The app this key belongs to, with its x402 access",
|
|
46
46
|
mimeType: "application/json"
|
|
47
47
|
}, (uri) => read(uri, () => kite.apps.get()));
|
|
48
48
|
server.registerResource("chains", "kite://chains", {
|
|
@@ -70,7 +70,7 @@ const registerResources = (server, kite) => {
|
|
|
70
70
|
};
|
|
71
71
|
});
|
|
72
72
|
} }), {
|
|
73
|
-
description: "A transfer, with its quote
|
|
73
|
+
description: "A transfer, with its quote and timeline",
|
|
74
74
|
mimeType: "application/json"
|
|
75
75
|
}, (uri, { id }) => {
|
|
76
76
|
return read(uri, () => {
|
|
@@ -107,7 +107,7 @@ const registerPrompts = (server) => {
|
|
|
107
107
|
description: "Where a transfer is, and why it failed if it did",
|
|
108
108
|
argsSchema: { id: z.string().describe("The transfer id") }
|
|
109
109
|
}, ({ id }) => {
|
|
110
|
-
return ask(`Get Kite transfer ${id} with transfers_get and explain it in plain words: its status, what happened step by step from its timeline, what was quoted, and whether it
|
|
110
|
+
return ask(`Get Kite transfer ${id} with transfers_get and explain it in plain words: its status, what happened step by step from its timeline, what was quoted and on which channel (checkout or x402), and whether it settled or was refunded. If it failed or was cancelled, say why and what can be done next.`);
|
|
111
111
|
});
|
|
112
112
|
server.registerPrompt("find_order", {
|
|
113
113
|
title: "Find an order",
|
|
@@ -211,14 +211,14 @@ var paths = {
|
|
|
211
211
|
"maxLength": 2048,
|
|
212
212
|
"type": ["string", "null"]
|
|
213
213
|
},
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"maxLength": 256,
|
|
214
|
+
"payoutChainId": {
|
|
215
|
+
"format": "uuid",
|
|
217
216
|
"type": ["string", "null"]
|
|
218
217
|
},
|
|
219
218
|
"payoutAddress": {
|
|
220
|
-
"minLength":
|
|
219
|
+
"minLength": 2,
|
|
221
220
|
"maxLength": 256,
|
|
221
|
+
"pattern": "^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\\d]+[-_])*[a-z\\d]+\\.)*([a-z\\d]+[-_])*[a-z\\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\\.land/r/([a-z\\d_-]+/)*[a-z\\d_-]+(\\.[A-Za-z\\d_-]+)?)$",
|
|
222
222
|
"type": ["string", "null"]
|
|
223
223
|
}
|
|
224
224
|
}
|
|
@@ -273,14 +273,14 @@ var paths = {
|
|
|
273
273
|
"maxLength": 2048,
|
|
274
274
|
"type": ["string", "null"]
|
|
275
275
|
},
|
|
276
|
-
"
|
|
277
|
-
"
|
|
278
|
-
"maxLength": 256,
|
|
276
|
+
"payoutChainId": {
|
|
277
|
+
"format": "uuid",
|
|
279
278
|
"type": ["string", "null"]
|
|
280
279
|
},
|
|
281
280
|
"payoutAddress": {
|
|
282
|
-
"minLength":
|
|
281
|
+
"minLength": 2,
|
|
283
282
|
"maxLength": 256,
|
|
283
|
+
"pattern": "^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\\d]+[-_])*[a-z\\d]+\\.)*([a-z\\d]+[-_])*[a-z\\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\\.land/r/([a-z\\d_-]+/)*[a-z\\d_-]+(\\.[A-Za-z\\d_-]+)?)$",
|
|
284
284
|
"type": ["string", "null"]
|
|
285
285
|
}
|
|
286
286
|
}
|
|
@@ -344,6 +344,34 @@ var paths = {
|
|
|
344
344
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppChain" } } }
|
|
345
345
|
} }
|
|
346
346
|
},
|
|
347
|
+
"patch": {
|
|
348
|
+
"operationId": "apps.updateChain",
|
|
349
|
+
"tags": ["Apps"],
|
|
350
|
+
"summary": "Accept x402 on a chain, or stop",
|
|
351
|
+
"description": "Turning x402 on answers 403 when the app isn't enabled for x402 or the chain isn't in its allowed list",
|
|
352
|
+
"parameters": [{
|
|
353
|
+
"name": "chainId",
|
|
354
|
+
"in": "path",
|
|
355
|
+
"required": true,
|
|
356
|
+
"schema": {
|
|
357
|
+
"format": "uuid",
|
|
358
|
+
"type": "string"
|
|
359
|
+
}
|
|
360
|
+
}],
|
|
361
|
+
"requestBody": {
|
|
362
|
+
"content": { "application/json": { "schema": {
|
|
363
|
+
"additionalProperties": false,
|
|
364
|
+
"type": "object",
|
|
365
|
+
"required": ["x402Enabled"],
|
|
366
|
+
"properties": { "x402Enabled": { "type": "boolean" } }
|
|
367
|
+
} } },
|
|
368
|
+
"required": true
|
|
369
|
+
},
|
|
370
|
+
"responses": { "200": {
|
|
371
|
+
"description": "Response for status 200",
|
|
372
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppChain" } } }
|
|
373
|
+
} }
|
|
374
|
+
},
|
|
347
375
|
"delete": {
|
|
348
376
|
"operationId": "apps.removeChain",
|
|
349
377
|
"tags": ["Apps"],
|
|
@@ -363,6 +391,93 @@ var paths = {
|
|
|
363
391
|
} }
|
|
364
392
|
}
|
|
365
393
|
},
|
|
394
|
+
"/api/apps/{appId}/x402": { "patch": {
|
|
395
|
+
"operationId": "apps.setX402",
|
|
396
|
+
"security": [{ "rootKey": [] }],
|
|
397
|
+
"tags": ["Apps"],
|
|
398
|
+
"summary": "Let an app use x402, or stop",
|
|
399
|
+
"description": "Let's the root key give (or stop) an app access to x402",
|
|
400
|
+
"parameters": [{
|
|
401
|
+
"name": "appId",
|
|
402
|
+
"in": "path",
|
|
403
|
+
"required": true,
|
|
404
|
+
"schema": {
|
|
405
|
+
"format": "uuid",
|
|
406
|
+
"type": "string"
|
|
407
|
+
}
|
|
408
|
+
}],
|
|
409
|
+
"requestBody": {
|
|
410
|
+
"content": { "application/json": { "schema": {
|
|
411
|
+
"additionalProperties": false,
|
|
412
|
+
"type": "object",
|
|
413
|
+
"required": ["enabled"],
|
|
414
|
+
"properties": { "enabled": { "type": "boolean" } }
|
|
415
|
+
} } },
|
|
416
|
+
"required": true
|
|
417
|
+
},
|
|
418
|
+
"responses": { "200": {
|
|
419
|
+
"description": "Response for status 200",
|
|
420
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/App" } } }
|
|
421
|
+
} }
|
|
422
|
+
} },
|
|
423
|
+
"/api/apps/{appId}/x402/chains/{chainId}": {
|
|
424
|
+
"put": {
|
|
425
|
+
"operationId": "apps.allowX402Chain",
|
|
426
|
+
"security": [{ "rootKey": [] }],
|
|
427
|
+
"tags": ["Apps"],
|
|
428
|
+
"summary": "Allow an app to accept x402 on a chain",
|
|
429
|
+
"description": "Idempotent. The chain doesn't have to be one of the app's chains yet.",
|
|
430
|
+
"parameters": [{
|
|
431
|
+
"name": "appId",
|
|
432
|
+
"in": "path",
|
|
433
|
+
"required": true,
|
|
434
|
+
"schema": {
|
|
435
|
+
"format": "uuid",
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
}, {
|
|
439
|
+
"name": "chainId",
|
|
440
|
+
"in": "path",
|
|
441
|
+
"required": true,
|
|
442
|
+
"schema": {
|
|
443
|
+
"format": "uuid",
|
|
444
|
+
"type": "string"
|
|
445
|
+
}
|
|
446
|
+
}],
|
|
447
|
+
"responses": { "200": {
|
|
448
|
+
"description": "Response for status 200",
|
|
449
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/App" } } }
|
|
450
|
+
} }
|
|
451
|
+
},
|
|
452
|
+
"delete": {
|
|
453
|
+
"operationId": "apps.disallowX402Chain",
|
|
454
|
+
"security": [{ "rootKey": [] }],
|
|
455
|
+
"tags": ["Apps"],
|
|
456
|
+
"summary": "Stop allowing an app to accept x402 on a chain",
|
|
457
|
+
"description": "Idempotent.",
|
|
458
|
+
"parameters": [{
|
|
459
|
+
"name": "appId",
|
|
460
|
+
"in": "path",
|
|
461
|
+
"required": true,
|
|
462
|
+
"schema": {
|
|
463
|
+
"format": "uuid",
|
|
464
|
+
"type": "string"
|
|
465
|
+
}
|
|
466
|
+
}, {
|
|
467
|
+
"name": "chainId",
|
|
468
|
+
"in": "path",
|
|
469
|
+
"required": true,
|
|
470
|
+
"schema": {
|
|
471
|
+
"format": "uuid",
|
|
472
|
+
"type": "string"
|
|
473
|
+
}
|
|
474
|
+
}],
|
|
475
|
+
"responses": { "200": {
|
|
476
|
+
"description": "Response for status 200",
|
|
477
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/App" } } }
|
|
478
|
+
} }
|
|
479
|
+
}
|
|
480
|
+
},
|
|
366
481
|
"/api/api-key": {
|
|
367
482
|
"post": {
|
|
368
483
|
"operationId": "apiKeys.create",
|
|
@@ -633,7 +748,7 @@ var paths = {
|
|
|
633
748
|
"operationId": "chains.update",
|
|
634
749
|
"security": [{ "rootKey": [] }],
|
|
635
750
|
"tags": ["Chains"],
|
|
636
|
-
"summary": "
|
|
751
|
+
"summary": "Turn a chain on or off, or its x402",
|
|
637
752
|
"parameters": [{
|
|
638
753
|
"name": "id",
|
|
639
754
|
"in": "path",
|
|
@@ -647,8 +762,10 @@ var paths = {
|
|
|
647
762
|
"content": { "application/json": { "schema": {
|
|
648
763
|
"additionalProperties": false,
|
|
649
764
|
"type": "object",
|
|
650
|
-
"
|
|
651
|
-
|
|
765
|
+
"properties": {
|
|
766
|
+
"isActive": { "type": "boolean" },
|
|
767
|
+
"x402Enabled": { "type": "boolean" }
|
|
768
|
+
}
|
|
652
769
|
} } },
|
|
653
770
|
"required": true
|
|
654
771
|
},
|
|
@@ -749,8 +866,7 @@ var paths = {
|
|
|
749
866
|
"Alchemy",
|
|
750
867
|
"QuickNode",
|
|
751
868
|
"Thirdweb",
|
|
752
|
-
"TrustWallet"
|
|
753
|
-
"NearIntents"
|
|
869
|
+
"TrustWallet"
|
|
754
870
|
]
|
|
755
871
|
}
|
|
756
872
|
},
|
|
@@ -763,8 +879,7 @@ var paths = {
|
|
|
763
879
|
"Alchemy",
|
|
764
880
|
"QuickNode",
|
|
765
881
|
"Thirdweb",
|
|
766
|
-
"TrustWallet"
|
|
767
|
-
"NearIntents"
|
|
882
|
+
"TrustWallet"
|
|
768
883
|
]
|
|
769
884
|
}
|
|
770
885
|
},
|
|
@@ -772,7 +887,8 @@ var paths = {
|
|
|
772
887
|
"pattern": "^[0-9]+$",
|
|
773
888
|
"maxLength": 78,
|
|
774
889
|
"type": ["string", "null"]
|
|
775
|
-
}
|
|
890
|
+
},
|
|
891
|
+
"x402Enabled": { "type": "boolean" }
|
|
776
892
|
}
|
|
777
893
|
} } },
|
|
778
894
|
"required": true
|
|
@@ -810,15 +926,6 @@ var paths = {
|
|
|
810
926
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/TokenWithChain" } } }
|
|
811
927
|
} }
|
|
812
928
|
} },
|
|
813
|
-
"/api/tokens/payouts": { "get": {
|
|
814
|
-
"operationId": "tokens.listPayouts",
|
|
815
|
-
"tags": ["Tokens"],
|
|
816
|
-
"summary": "Tokens an app can be paid out in through NEAR Intents",
|
|
817
|
-
"responses": { "200": {
|
|
818
|
-
"description": "Response for status 200",
|
|
819
|
-
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/PayoutTokenList" } } }
|
|
820
|
-
} }
|
|
821
|
-
} },
|
|
822
929
|
"/api/tokens": { "get": {
|
|
823
930
|
"operationId": "tokens.list",
|
|
824
931
|
"tags": ["Tokens"],
|
|
@@ -1433,6 +1540,23 @@ var paths = {
|
|
|
1433
1540
|
}
|
|
1434
1541
|
} }
|
|
1435
1542
|
},
|
|
1543
|
+
"channel": {
|
|
1544
|
+
"additionalProperties": false,
|
|
1545
|
+
"type": "object",
|
|
1546
|
+
"properties": {
|
|
1547
|
+
"_eq": {
|
|
1548
|
+
"type": "string",
|
|
1549
|
+
"enum": ["checkout", "x402"]
|
|
1550
|
+
},
|
|
1551
|
+
"_in": {
|
|
1552
|
+
"type": "array",
|
|
1553
|
+
"items": {
|
|
1554
|
+
"type": "string",
|
|
1555
|
+
"enum": ["checkout", "x402"]
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1436
1560
|
"sourceAmount": {
|
|
1437
1561
|
"additionalProperties": false,
|
|
1438
1562
|
"type": "object",
|
|
@@ -1619,6 +1743,23 @@ var paths = {
|
|
|
1619
1743
|
}
|
|
1620
1744
|
} }
|
|
1621
1745
|
},
|
|
1746
|
+
"channel": {
|
|
1747
|
+
"additionalProperties": false,
|
|
1748
|
+
"type": "object",
|
|
1749
|
+
"properties": {
|
|
1750
|
+
"_eq": {
|
|
1751
|
+
"type": "string",
|
|
1752
|
+
"enum": ["checkout", "x402"]
|
|
1753
|
+
},
|
|
1754
|
+
"_in": {
|
|
1755
|
+
"type": "array",
|
|
1756
|
+
"items": {
|
|
1757
|
+
"type": "string",
|
|
1758
|
+
"enum": ["checkout", "x402"]
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
},
|
|
1622
1763
|
"sourceAmount": {
|
|
1623
1764
|
"additionalProperties": false,
|
|
1624
1765
|
"type": "object",
|
|
@@ -1727,8 +1868,7 @@ var paths = {
|
|
|
1727
1868
|
"QuickNodeEvmContractEvents_ContractsListName",
|
|
1728
1869
|
"QuickNodeEvmContractEvents_EventHashesListName",
|
|
1729
1870
|
"QuickNodeWebhookSecurityToken",
|
|
1730
|
-
"ThirdwebSecretKey"
|
|
1731
|
-
"NearIntentsApiKey"
|
|
1871
|
+
"ThirdwebSecretKey"
|
|
1732
1872
|
]
|
|
1733
1873
|
}, {
|
|
1734
1874
|
"pattern": "^(?:AlchemyAddressActivity_Webhook|AlchemyContractEvents_Webhook|QuickNodeEvmWalletFilter_WebhookId|QuickNodeEvmContractEvents_WebhookId):[A-Za-z0-9_-]+$",
|
|
@@ -1787,6 +1927,16 @@ var paths = {
|
|
|
1787
1927
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/SystemInfo" } } }
|
|
1788
1928
|
} }
|
|
1789
1929
|
} },
|
|
1930
|
+
"/api/overview/gas": { "get": {
|
|
1931
|
+
"operationId": "overview.gas",
|
|
1932
|
+
"security": [{ "rootKey": [] }],
|
|
1933
|
+
"tags": ["Overview"],
|
|
1934
|
+
"summary": "The operator's gas on each chain",
|
|
1935
|
+
"responses": { "200": {
|
|
1936
|
+
"description": "Response for status 200",
|
|
1937
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/OperatorGasList" } } }
|
|
1938
|
+
} }
|
|
1939
|
+
} },
|
|
1790
1940
|
"/api/overview/stats": { "get": {
|
|
1791
1941
|
"operationId": "overview.stats",
|
|
1792
1942
|
"security": [{ "rootKey": [] }],
|
|
@@ -1851,10 +2001,21 @@ var paths = {
|
|
|
1851
2001
|
"Transfer",
|
|
1852
2002
|
"Deposit",
|
|
1853
2003
|
"Recovery",
|
|
1854
|
-
"ExcessRefund"
|
|
2004
|
+
"ExcessRefund",
|
|
2005
|
+
"Chain",
|
|
2006
|
+
"Payout",
|
|
2007
|
+
"App",
|
|
2008
|
+
"PriceFeed",
|
|
2009
|
+
"Fee"
|
|
1855
2010
|
]
|
|
1856
2011
|
}
|
|
1857
2012
|
},
|
|
2013
|
+
{
|
|
2014
|
+
"name": "system",
|
|
2015
|
+
"in": "query",
|
|
2016
|
+
"required": false,
|
|
2017
|
+
"schema": { "type": "boolean" }
|
|
2018
|
+
},
|
|
1858
2019
|
{
|
|
1859
2020
|
"name": "page",
|
|
1860
2021
|
"in": "query",
|
|
@@ -2409,6 +2570,10 @@ var paths = {
|
|
|
2409
2570
|
"meta": {
|
|
2410
2571
|
"type": "object",
|
|
2411
2572
|
"patternProperties": { "^(.*)$": {} }
|
|
2573
|
+
},
|
|
2574
|
+
"channel": {
|
|
2575
|
+
"type": "string",
|
|
2576
|
+
"enum": ["checkout", "x402"]
|
|
2412
2577
|
}
|
|
2413
2578
|
}
|
|
2414
2579
|
} } },
|
|
@@ -2442,6 +2607,15 @@ var paths = {
|
|
|
2442
2607
|
"type": "string"
|
|
2443
2608
|
}
|
|
2444
2609
|
},
|
|
2610
|
+
{
|
|
2611
|
+
"name": "channel",
|
|
2612
|
+
"in": "query",
|
|
2613
|
+
"required": false,
|
|
2614
|
+
"schema": {
|
|
2615
|
+
"type": "string",
|
|
2616
|
+
"enum": ["checkout", "x402"]
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2445
2619
|
{
|
|
2446
2620
|
"name": "q",
|
|
2447
2621
|
"in": "query",
|
|
@@ -2652,6 +2826,25 @@ var paths = {
|
|
|
2652
2826
|
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/TransferDetails" } } }
|
|
2653
2827
|
} }
|
|
2654
2828
|
} },
|
|
2829
|
+
"/api/transfers/{id}/payout/retry": { "post": {
|
|
2830
|
+
"operationId": "transfers.retryPayout",
|
|
2831
|
+
"security": [{ "rootKey": [] }],
|
|
2832
|
+
"tags": ["Transfers"],
|
|
2833
|
+
"summary": "Retry a failed payout's attestation or mint",
|
|
2834
|
+
"parameters": [{
|
|
2835
|
+
"name": "id",
|
|
2836
|
+
"in": "path",
|
|
2837
|
+
"required": true,
|
|
2838
|
+
"schema": {
|
|
2839
|
+
"format": "uuid",
|
|
2840
|
+
"type": "string"
|
|
2841
|
+
}
|
|
2842
|
+
}],
|
|
2843
|
+
"responses": { "200": {
|
|
2844
|
+
"description": "Response for status 200",
|
|
2845
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payout" } } }
|
|
2846
|
+
} }
|
|
2847
|
+
} },
|
|
2655
2848
|
"/api/transfers/{id}/refund": { "post": {
|
|
2656
2849
|
"operationId": "transfers.refund",
|
|
2657
2850
|
"tags": ["Transfers"],
|
|
@@ -2800,7 +2993,12 @@ var paths = {
|
|
|
2800
2993
|
"Transfer",
|
|
2801
2994
|
"Deposit",
|
|
2802
2995
|
"Recovery",
|
|
2803
|
-
"ExcessRefund"
|
|
2996
|
+
"ExcessRefund",
|
|
2997
|
+
"Chain",
|
|
2998
|
+
"Payout",
|
|
2999
|
+
"App",
|
|
3000
|
+
"PriceFeed",
|
|
3001
|
+
"Fee"
|
|
2804
3002
|
]
|
|
2805
3003
|
}
|
|
2806
3004
|
},
|
|
@@ -2907,61 +3105,385 @@ var paths = {
|
|
|
2907
3105
|
} }
|
|
2908
3106
|
}
|
|
2909
3107
|
},
|
|
2910
|
-
"/api/webhooks/
|
|
2911
|
-
"
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
"
|
|
2921
|
-
"
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
{
|
|
2925
|
-
"name": "page",
|
|
2926
|
-
"in": "query",
|
|
2927
|
-
"required": false,
|
|
2928
|
-
"schema": {
|
|
2929
|
-
"minimum": 1,
|
|
2930
|
-
"anyOf": [{
|
|
2931
|
-
"format": "numeric",
|
|
2932
|
-
"default": 0,
|
|
3108
|
+
"/api/webhooks/system": {
|
|
3109
|
+
"get": {
|
|
3110
|
+
"operationId": "webhooks.listSystem",
|
|
3111
|
+
"security": [{ "rootKey": [] }],
|
|
3112
|
+
"tags": ["Webhooks"],
|
|
3113
|
+
"summary": "List system webhooks",
|
|
3114
|
+
"description": "System webhooks belong to no app and hear about the whole server, such as Chain events. They only take system categories.",
|
|
3115
|
+
"parameters": [
|
|
3116
|
+
{
|
|
3117
|
+
"name": "q",
|
|
3118
|
+
"in": "query",
|
|
3119
|
+
"required": false,
|
|
3120
|
+
"schema": {
|
|
3121
|
+
"maxLength": 100,
|
|
2933
3122
|
"type": "string"
|
|
2934
|
-
}
|
|
3123
|
+
}
|
|
3124
|
+
},
|
|
3125
|
+
{
|
|
3126
|
+
"name": "page",
|
|
3127
|
+
"in": "query",
|
|
3128
|
+
"required": false,
|
|
3129
|
+
"schema": {
|
|
2935
3130
|
"minimum": 1,
|
|
2936
|
-
"
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
"
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
}, {
|
|
3131
|
+
"anyOf": [{
|
|
3132
|
+
"format": "numeric",
|
|
3133
|
+
"default": 0,
|
|
3134
|
+
"type": "string"
|
|
3135
|
+
}, {
|
|
3136
|
+
"minimum": 1,
|
|
3137
|
+
"type": "number"
|
|
3138
|
+
}]
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"name": "pageSize",
|
|
3143
|
+
"in": "query",
|
|
3144
|
+
"required": false,
|
|
3145
|
+
"schema": {
|
|
2952
3146
|
"minimum": 1,
|
|
2953
3147
|
"maximum": 100,
|
|
2954
|
-
"
|
|
2955
|
-
|
|
3148
|
+
"anyOf": [{
|
|
3149
|
+
"format": "numeric",
|
|
3150
|
+
"default": 0,
|
|
3151
|
+
"type": "string"
|
|
3152
|
+
}, {
|
|
3153
|
+
"minimum": 1,
|
|
3154
|
+
"maximum": 100,
|
|
3155
|
+
"type": "number"
|
|
3156
|
+
}]
|
|
3157
|
+
}
|
|
2956
3158
|
}
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
}
|
|
2963
|
-
|
|
2964
|
-
|
|
3159
|
+
],
|
|
3160
|
+
"responses": { "200": {
|
|
3161
|
+
"description": "Response for status 200",
|
|
3162
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookPage" } } }
|
|
3163
|
+
} }
|
|
3164
|
+
},
|
|
3165
|
+
"post": {
|
|
3166
|
+
"operationId": "webhooks.createSystem",
|
|
3167
|
+
"security": [{ "rootKey": [] }],
|
|
3168
|
+
"tags": ["Webhooks"],
|
|
3169
|
+
"summary": "Create a system webhook",
|
|
3170
|
+
"requestBody": {
|
|
3171
|
+
"content": { "application/json": { "schema": {
|
|
3172
|
+
"additionalProperties": false,
|
|
3173
|
+
"type": "object",
|
|
3174
|
+
"required": [
|
|
3175
|
+
"url",
|
|
3176
|
+
"label",
|
|
3177
|
+
"categories"
|
|
3178
|
+
],
|
|
3179
|
+
"properties": {
|
|
3180
|
+
"url": {
|
|
3181
|
+
"format": "uri",
|
|
3182
|
+
"pattern": "^https?://",
|
|
3183
|
+
"maxLength": 2048,
|
|
3184
|
+
"type": "string"
|
|
3185
|
+
},
|
|
3186
|
+
"label": {
|
|
3187
|
+
"minLength": 1,
|
|
3188
|
+
"maxLength": 120,
|
|
3189
|
+
"type": "string"
|
|
3190
|
+
},
|
|
3191
|
+
"categories": {
|
|
3192
|
+
"minItems": 1,
|
|
3193
|
+
"uniqueItems": true,
|
|
3194
|
+
"type": "array",
|
|
3195
|
+
"items": {
|
|
3196
|
+
"type": "string",
|
|
3197
|
+
"enum": [
|
|
3198
|
+
"Transfer",
|
|
3199
|
+
"Deposit",
|
|
3200
|
+
"Recovery",
|
|
3201
|
+
"ExcessRefund",
|
|
3202
|
+
"Chain",
|
|
3203
|
+
"Payout",
|
|
3204
|
+
"App",
|
|
3205
|
+
"PriceFeed",
|
|
3206
|
+
"Fee"
|
|
3207
|
+
]
|
|
3208
|
+
}
|
|
3209
|
+
},
|
|
3210
|
+
"maxRetries": {
|
|
3211
|
+
"minimum": 0,
|
|
3212
|
+
"maximum": 20,
|
|
3213
|
+
"anyOf": [{
|
|
3214
|
+
"format": "integer",
|
|
3215
|
+
"default": 0,
|
|
3216
|
+
"type": "string"
|
|
3217
|
+
}, {
|
|
3218
|
+
"minimum": 0,
|
|
3219
|
+
"maximum": 20,
|
|
3220
|
+
"type": "integer"
|
|
3221
|
+
}]
|
|
3222
|
+
},
|
|
3223
|
+
"retryIntervalInSeconds": {
|
|
3224
|
+
"minimum": 1,
|
|
3225
|
+
"maximum": 86400,
|
|
3226
|
+
"anyOf": [{
|
|
3227
|
+
"format": "integer",
|
|
3228
|
+
"default": 0,
|
|
3229
|
+
"type": "string"
|
|
3230
|
+
}, {
|
|
3231
|
+
"minimum": 1,
|
|
3232
|
+
"maximum": 86400,
|
|
3233
|
+
"type": "integer"
|
|
3234
|
+
}]
|
|
3235
|
+
},
|
|
3236
|
+
"timeoutInSeconds": {
|
|
3237
|
+
"minimum": 1,
|
|
3238
|
+
"maximum": 120,
|
|
3239
|
+
"anyOf": [{
|
|
3240
|
+
"format": "integer",
|
|
3241
|
+
"default": 0,
|
|
3242
|
+
"type": "string"
|
|
3243
|
+
}, {
|
|
3244
|
+
"minimum": 1,
|
|
3245
|
+
"maximum": 120,
|
|
3246
|
+
"type": "integer"
|
|
3247
|
+
}]
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3250
|
+
} } },
|
|
3251
|
+
"required": true
|
|
3252
|
+
},
|
|
3253
|
+
"responses": { "201": {
|
|
3254
|
+
"description": "Response for status 201",
|
|
3255
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatedWebhook" } } }
|
|
3256
|
+
} }
|
|
3257
|
+
}
|
|
3258
|
+
},
|
|
3259
|
+
"/api/webhooks/system/{id}": {
|
|
3260
|
+
"patch": {
|
|
3261
|
+
"operationId": "webhooks.updateSystem",
|
|
3262
|
+
"security": [{ "rootKey": [] }],
|
|
3263
|
+
"tags": ["Webhooks"],
|
|
3264
|
+
"summary": "Update a system webhook",
|
|
3265
|
+
"parameters": [{
|
|
3266
|
+
"name": "id",
|
|
3267
|
+
"in": "path",
|
|
3268
|
+
"required": true,
|
|
3269
|
+
"schema": {
|
|
3270
|
+
"format": "uuid",
|
|
3271
|
+
"type": "string"
|
|
3272
|
+
}
|
|
3273
|
+
}],
|
|
3274
|
+
"requestBody": {
|
|
3275
|
+
"content": { "application/json": { "schema": {
|
|
3276
|
+
"additionalProperties": false,
|
|
3277
|
+
"type": "object",
|
|
3278
|
+
"properties": {
|
|
3279
|
+
"url": {
|
|
3280
|
+
"format": "uri",
|
|
3281
|
+
"pattern": "^https?://",
|
|
3282
|
+
"maxLength": 2048,
|
|
3283
|
+
"type": "string"
|
|
3284
|
+
},
|
|
3285
|
+
"label": {
|
|
3286
|
+
"minLength": 1,
|
|
3287
|
+
"maxLength": 120,
|
|
3288
|
+
"type": "string"
|
|
3289
|
+
},
|
|
3290
|
+
"categories": {
|
|
3291
|
+
"minItems": 1,
|
|
3292
|
+
"uniqueItems": true,
|
|
3293
|
+
"type": "array",
|
|
3294
|
+
"items": {
|
|
3295
|
+
"type": "string",
|
|
3296
|
+
"enum": [
|
|
3297
|
+
"Transfer",
|
|
3298
|
+
"Deposit",
|
|
3299
|
+
"Recovery",
|
|
3300
|
+
"ExcessRefund",
|
|
3301
|
+
"Chain",
|
|
3302
|
+
"Payout",
|
|
3303
|
+
"App",
|
|
3304
|
+
"PriceFeed",
|
|
3305
|
+
"Fee"
|
|
3306
|
+
]
|
|
3307
|
+
}
|
|
3308
|
+
},
|
|
3309
|
+
"maxRetries": {
|
|
3310
|
+
"minimum": 0,
|
|
3311
|
+
"maximum": 20,
|
|
3312
|
+
"anyOf": [{
|
|
3313
|
+
"format": "integer",
|
|
3314
|
+
"default": 0,
|
|
3315
|
+
"type": "string"
|
|
3316
|
+
}, {
|
|
3317
|
+
"minimum": 0,
|
|
3318
|
+
"maximum": 20,
|
|
3319
|
+
"type": "integer"
|
|
3320
|
+
}]
|
|
3321
|
+
},
|
|
3322
|
+
"retryIntervalInSeconds": {
|
|
3323
|
+
"minimum": 1,
|
|
3324
|
+
"maximum": 86400,
|
|
3325
|
+
"anyOf": [{
|
|
3326
|
+
"format": "integer",
|
|
3327
|
+
"default": 0,
|
|
3328
|
+
"type": "string"
|
|
3329
|
+
}, {
|
|
3330
|
+
"minimum": 1,
|
|
3331
|
+
"maximum": 86400,
|
|
3332
|
+
"type": "integer"
|
|
3333
|
+
}]
|
|
3334
|
+
},
|
|
3335
|
+
"timeoutInSeconds": {
|
|
3336
|
+
"minimum": 1,
|
|
3337
|
+
"maximum": 120,
|
|
3338
|
+
"anyOf": [{
|
|
3339
|
+
"format": "integer",
|
|
3340
|
+
"default": 0,
|
|
3341
|
+
"type": "string"
|
|
3342
|
+
}, {
|
|
3343
|
+
"minimum": 1,
|
|
3344
|
+
"maximum": 120,
|
|
3345
|
+
"type": "integer"
|
|
3346
|
+
}]
|
|
3347
|
+
}
|
|
3348
|
+
}
|
|
3349
|
+
} } },
|
|
3350
|
+
"required": true
|
|
3351
|
+
},
|
|
3352
|
+
"responses": { "200": {
|
|
3353
|
+
"description": "Response for status 200",
|
|
3354
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Webhook" } } }
|
|
3355
|
+
} }
|
|
3356
|
+
},
|
|
3357
|
+
"delete": {
|
|
3358
|
+
"operationId": "webhooks.deleteSystem",
|
|
3359
|
+
"security": [{ "rootKey": [] }],
|
|
3360
|
+
"tags": ["Webhooks"],
|
|
3361
|
+
"summary": "Delete a system webhook",
|
|
3362
|
+
"parameters": [{
|
|
3363
|
+
"name": "id",
|
|
3364
|
+
"in": "path",
|
|
3365
|
+
"required": true,
|
|
3366
|
+
"schema": {
|
|
3367
|
+
"format": "uuid",
|
|
3368
|
+
"type": "string"
|
|
3369
|
+
}
|
|
3370
|
+
}],
|
|
3371
|
+
"responses": { "200": {
|
|
3372
|
+
"description": "Response for status 200",
|
|
3373
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/Webhook" } } }
|
|
3374
|
+
} }
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
"/api/webhooks/system/{id}/deliveries": { "get": {
|
|
3378
|
+
"operationId": "webhooks.listSystemDeliveries",
|
|
3379
|
+
"security": [{ "rootKey": [] }],
|
|
3380
|
+
"tags": ["Webhooks"],
|
|
3381
|
+
"summary": "List a system webhook's delivery attempts",
|
|
3382
|
+
"parameters": [
|
|
3383
|
+
{
|
|
3384
|
+
"name": "id",
|
|
3385
|
+
"in": "path",
|
|
3386
|
+
"required": true,
|
|
3387
|
+
"schema": {
|
|
3388
|
+
"format": "uuid",
|
|
3389
|
+
"type": "string"
|
|
3390
|
+
}
|
|
3391
|
+
},
|
|
3392
|
+
{
|
|
3393
|
+
"name": "page",
|
|
3394
|
+
"in": "query",
|
|
3395
|
+
"required": false,
|
|
3396
|
+
"schema": {
|
|
3397
|
+
"minimum": 1,
|
|
3398
|
+
"anyOf": [{
|
|
3399
|
+
"format": "numeric",
|
|
3400
|
+
"default": 0,
|
|
3401
|
+
"type": "string"
|
|
3402
|
+
}, {
|
|
3403
|
+
"minimum": 1,
|
|
3404
|
+
"type": "number"
|
|
3405
|
+
}]
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{
|
|
3409
|
+
"name": "pageSize",
|
|
3410
|
+
"in": "query",
|
|
3411
|
+
"required": false,
|
|
3412
|
+
"schema": {
|
|
3413
|
+
"minimum": 1,
|
|
3414
|
+
"maximum": 100,
|
|
3415
|
+
"anyOf": [{
|
|
3416
|
+
"format": "numeric",
|
|
3417
|
+
"default": 0,
|
|
3418
|
+
"type": "string"
|
|
3419
|
+
}, {
|
|
3420
|
+
"minimum": 1,
|
|
3421
|
+
"maximum": 100,
|
|
3422
|
+
"type": "number"
|
|
3423
|
+
}]
|
|
3424
|
+
}
|
|
3425
|
+
}
|
|
3426
|
+
],
|
|
3427
|
+
"responses": { "200": {
|
|
3428
|
+
"description": "Response for status 200",
|
|
3429
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookDeliveryPage" } } }
|
|
3430
|
+
} }
|
|
3431
|
+
} },
|
|
3432
|
+
"/api/webhooks/{id}/deliveries": { "get": {
|
|
3433
|
+
"operationId": "webhooks.listDeliveries",
|
|
3434
|
+
"tags": ["Webhooks"],
|
|
3435
|
+
"summary": "List a webhook's delivery attempts",
|
|
3436
|
+
"parameters": [
|
|
3437
|
+
{
|
|
3438
|
+
"name": "id",
|
|
3439
|
+
"in": "path",
|
|
3440
|
+
"required": true,
|
|
3441
|
+
"schema": {
|
|
3442
|
+
"format": "uuid",
|
|
3443
|
+
"type": "string"
|
|
3444
|
+
}
|
|
3445
|
+
},
|
|
3446
|
+
{
|
|
3447
|
+
"name": "page",
|
|
3448
|
+
"in": "query",
|
|
3449
|
+
"required": false,
|
|
3450
|
+
"schema": {
|
|
3451
|
+
"minimum": 1,
|
|
3452
|
+
"anyOf": [{
|
|
3453
|
+
"format": "numeric",
|
|
3454
|
+
"default": 0,
|
|
3455
|
+
"type": "string"
|
|
3456
|
+
}, {
|
|
3457
|
+
"minimum": 1,
|
|
3458
|
+
"type": "number"
|
|
3459
|
+
}]
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"name": "pageSize",
|
|
3464
|
+
"in": "query",
|
|
3465
|
+
"required": false,
|
|
3466
|
+
"schema": {
|
|
3467
|
+
"minimum": 1,
|
|
3468
|
+
"maximum": 100,
|
|
3469
|
+
"anyOf": [{
|
|
3470
|
+
"format": "numeric",
|
|
3471
|
+
"default": 0,
|
|
3472
|
+
"type": "string"
|
|
3473
|
+
}, {
|
|
3474
|
+
"minimum": 1,
|
|
3475
|
+
"maximum": 100,
|
|
3476
|
+
"type": "number"
|
|
3477
|
+
}]
|
|
3478
|
+
}
|
|
3479
|
+
}
|
|
3480
|
+
],
|
|
3481
|
+
"responses": { "200": {
|
|
3482
|
+
"description": "Response for status 200",
|
|
3483
|
+
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookDeliveryPage" } } }
|
|
3484
|
+
} }
|
|
3485
|
+
} },
|
|
3486
|
+
"/api/webhooks/{id}": { "delete": {
|
|
2965
3487
|
"operationId": "webhooks.delete",
|
|
2966
3488
|
"tags": ["Webhooks"],
|
|
2967
3489
|
"summary": "Delete a webhook",
|
|
@@ -3094,9 +3616,13 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
3094
3616
|
zAppChain: () => zAppChain,
|
|
3095
3617
|
zAppChainList: () => zAppChainList,
|
|
3096
3618
|
zAppPage: () => zAppPage,
|
|
3619
|
+
zAppsAllowX402ChainPath: () => zAppsAllowX402ChainPath,
|
|
3620
|
+
zAppsAllowX402ChainResponse: () => zAppsAllowX402ChainResponse,
|
|
3097
3621
|
zAppsCreateBody: () => zAppsCreateBody,
|
|
3098
3622
|
zAppsCreateResponse: () => zAppsCreateResponse,
|
|
3099
3623
|
zAppsDeleteResponse: () => zAppsDeleteResponse,
|
|
3624
|
+
zAppsDisallowX402ChainPath: () => zAppsDisallowX402ChainPath,
|
|
3625
|
+
zAppsDisallowX402ChainResponse: () => zAppsDisallowX402ChainResponse,
|
|
3100
3626
|
zAppsGetResponse: () => zAppsGetResponse,
|
|
3101
3627
|
zAppsListChainsResponse: () => zAppsListChainsResponse,
|
|
3102
3628
|
zAppsListQuery: () => zAppsListQuery,
|
|
@@ -3106,7 +3632,13 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
3106
3632
|
zAppsSetChainBody: () => zAppsSetChainBody,
|
|
3107
3633
|
zAppsSetChainPath: () => zAppsSetChainPath,
|
|
3108
3634
|
zAppsSetChainResponse: () => zAppsSetChainResponse,
|
|
3635
|
+
zAppsSetX402Body: () => zAppsSetX402Body,
|
|
3636
|
+
zAppsSetX402Path: () => zAppsSetX402Path,
|
|
3637
|
+
zAppsSetX402Response: () => zAppsSetX402Response,
|
|
3109
3638
|
zAppsUpdateBody: () => zAppsUpdateBody,
|
|
3639
|
+
zAppsUpdateChainBody: () => zAppsUpdateChainBody,
|
|
3640
|
+
zAppsUpdateChainPath: () => zAppsUpdateChainPath,
|
|
3641
|
+
zAppsUpdateChainResponse: () => zAppsUpdateChainResponse,
|
|
3110
3642
|
zAppsUpdateResponse: () => zAppsUpdateResponse,
|
|
3111
3643
|
zChain: () => zChain,
|
|
3112
3644
|
zChainConfig: () => zChainConfig,
|
|
@@ -3180,8 +3712,11 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
3180
3712
|
zKvSetBody: () => zKvSetBody,
|
|
3181
3713
|
zKvSetPath: () => zKvSetPath,
|
|
3182
3714
|
zKvSetResponse: () => zKvSetResponse,
|
|
3715
|
+
zOperatorGas: () => zOperatorGas,
|
|
3716
|
+
zOperatorGasList: () => zOperatorGasList,
|
|
3183
3717
|
zOverviewEventsQuery: () => zOverviewEventsQuery,
|
|
3184
3718
|
zOverviewEventsResponse: () => zOverviewEventsResponse,
|
|
3719
|
+
zOverviewGasResponse: () => zOverviewGasResponse,
|
|
3185
3720
|
zOverviewInfoResponse: () => zOverviewInfoResponse,
|
|
3186
3721
|
zOverviewStatsQuery: () => zOverviewStatsQuery,
|
|
3187
3722
|
zOverviewStatsResponse: () => zOverviewStatsResponse,
|
|
@@ -3203,8 +3738,6 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
3203
3738
|
zPaymentLinksUpdatePath: () => zPaymentLinksUpdatePath,
|
|
3204
3739
|
zPaymentLinksUpdateResponse: () => zPaymentLinksUpdateResponse,
|
|
3205
3740
|
zPayout: () => zPayout,
|
|
3206
|
-
zPayoutToken: () => zPayoutToken,
|
|
3207
|
-
zPayoutTokenList: () => zPayoutTokenList,
|
|
3208
3741
|
zPriceFeed: () => zPriceFeed,
|
|
3209
3742
|
zPriceFeedWithChain: () => zPriceFeedWithChain,
|
|
3210
3743
|
zPriceFeedWithChainList: () => zPriceFeedWithChainList,
|
|
@@ -3238,7 +3771,6 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
3238
3771
|
zTokensDeleteResponse: () => zTokensDeleteResponse,
|
|
3239
3772
|
zTokensGetByAddressPath: () => zTokensGetByAddressPath,
|
|
3240
3773
|
zTokensGetByAddressResponse: () => zTokensGetByAddressResponse,
|
|
3241
|
-
zTokensListPayoutsResponse: () => zTokensListPayoutsResponse,
|
|
3242
3774
|
zTokensListQuery: () => zTokensListQuery,
|
|
3243
3775
|
zTokensListResponse: () => zTokensListResponse,
|
|
3244
3776
|
zTokensUpdateBody: () => zTokensUpdateBody,
|
|
@@ -3266,19 +3798,33 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
|
|
|
3266
3798
|
zTransfersRefundBody: () => zTransfersRefundBody,
|
|
3267
3799
|
zTransfersRefundPath: () => zTransfersRefundPath,
|
|
3268
3800
|
zTransfersRefundResponse: () => zTransfersRefundResponse,
|
|
3801
|
+
zTransfersRetryPayoutPath: () => zTransfersRetryPayoutPath,
|
|
3802
|
+
zTransfersRetryPayoutResponse: () => zTransfersRetryPayoutResponse,
|
|
3269
3803
|
zWebhook: () => zWebhook,
|
|
3270
3804
|
zWebhookDelivery: () => zWebhookDelivery,
|
|
3271
3805
|
zWebhookDeliveryPage: () => zWebhookDeliveryPage,
|
|
3272
3806
|
zWebhookPage: () => zWebhookPage,
|
|
3273
3807
|
zWebhooksCreateBody: () => zWebhooksCreateBody,
|
|
3274
3808
|
zWebhooksCreateResponse: () => zWebhooksCreateResponse,
|
|
3809
|
+
zWebhooksCreateSystemBody: () => zWebhooksCreateSystemBody,
|
|
3810
|
+
zWebhooksCreateSystemResponse: () => zWebhooksCreateSystemResponse,
|
|
3275
3811
|
zWebhooksDeletePath: () => zWebhooksDeletePath,
|
|
3276
3812
|
zWebhooksDeleteResponse: () => zWebhooksDeleteResponse,
|
|
3813
|
+
zWebhooksDeleteSystemPath: () => zWebhooksDeleteSystemPath,
|
|
3814
|
+
zWebhooksDeleteSystemResponse: () => zWebhooksDeleteSystemResponse,
|
|
3277
3815
|
zWebhooksListDeliveriesPath: () => zWebhooksListDeliveriesPath,
|
|
3278
3816
|
zWebhooksListDeliveriesQuery: () => zWebhooksListDeliveriesQuery,
|
|
3279
3817
|
zWebhooksListDeliveriesResponse: () => zWebhooksListDeliveriesResponse,
|
|
3280
3818
|
zWebhooksListQuery: () => zWebhooksListQuery,
|
|
3281
3819
|
zWebhooksListResponse: () => zWebhooksListResponse,
|
|
3820
|
+
zWebhooksListSystemDeliveriesPath: () => zWebhooksListSystemDeliveriesPath,
|
|
3821
|
+
zWebhooksListSystemDeliveriesQuery: () => zWebhooksListSystemDeliveriesQuery,
|
|
3822
|
+
zWebhooksListSystemDeliveriesResponse: () => zWebhooksListSystemDeliveriesResponse,
|
|
3823
|
+
zWebhooksListSystemQuery: () => zWebhooksListSystemQuery,
|
|
3824
|
+
zWebhooksListSystemResponse: () => zWebhooksListSystemResponse,
|
|
3825
|
+
zWebhooksUpdateSystemBody: () => zWebhooksUpdateSystemBody,
|
|
3826
|
+
zWebhooksUpdateSystemPath: () => zWebhooksUpdateSystemPath,
|
|
3827
|
+
zWebhooksUpdateSystemResponse: () => zWebhooksUpdateSystemResponse,
|
|
3282
3828
|
zX402PayBody: () => zX402PayBody,
|
|
3283
3829
|
zX402PayResponse: () => zX402PayResponse,
|
|
3284
3830
|
zX402PaymentRequirements: () => zX402PaymentRequirements,
|
|
@@ -3300,7 +3846,9 @@ const zApp = z$1.strictObject({
|
|
|
3300
3846
|
websiteUrl: z$1.string().nullable(),
|
|
3301
3847
|
termsOfServiceUrl: z$1.string().nullable(),
|
|
3302
3848
|
privacyPolicyUrl: z$1.string().nullable(),
|
|
3303
|
-
|
|
3849
|
+
x402Enabled: z$1.boolean(),
|
|
3850
|
+
x402Chains: z$1.array(z$1.uuid()),
|
|
3851
|
+
payoutChainId: z$1.uuid().nullable(),
|
|
3304
3852
|
payoutAddress: z$1.string().nullable(),
|
|
3305
3853
|
deletedAt: z$1.iso.datetime().nullable(),
|
|
3306
3854
|
createdAt: z$1.iso.datetime(),
|
|
@@ -3315,6 +3863,9 @@ const zAppPage = z$1.strictObject({
|
|
|
3315
3863
|
const zAppChain = z$1.strictObject({
|
|
3316
3864
|
chainId: z$1.uuid(),
|
|
3317
3865
|
address: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3866
|
+
x402Allowed: z$1.boolean(),
|
|
3867
|
+
x402Enabled: z$1.boolean(),
|
|
3868
|
+
CCTPPayout: z$1.boolean(),
|
|
3318
3869
|
createdAt: z$1.iso.datetime(),
|
|
3319
3870
|
updatedAt: z$1.iso.datetime()
|
|
3320
3871
|
});
|
|
@@ -3385,7 +3936,9 @@ const zSupportedChain = z$1.strictObject({
|
|
|
3385
3936
|
name: z$1.string(),
|
|
3386
3937
|
url: z$1.string()
|
|
3387
3938
|
}).optional(),
|
|
3388
|
-
confirmations: z$1.int()
|
|
3939
|
+
confirmations: z$1.int(),
|
|
3940
|
+
CCTPPayout: z$1.boolean(),
|
|
3941
|
+
cctpDomain: z$1.int().nullable()
|
|
3389
3942
|
});
|
|
3390
3943
|
const zSupportedChainList = z$1.array(zSupportedChain);
|
|
3391
3944
|
const zToken = z$1.strictObject({
|
|
@@ -3398,7 +3951,6 @@ const zToken = z$1.strictObject({
|
|
|
3398
3951
|
version: z$1.string().nullable(),
|
|
3399
3952
|
icon: z$1.string().nullable(),
|
|
3400
3953
|
supportsEIP3009: z$1.boolean(),
|
|
3401
|
-
nearIntentsAssetId: z$1.string().nullable(),
|
|
3402
3954
|
listed: z$1.boolean(),
|
|
3403
3955
|
deletedAt: z$1.iso.datetime().nullable(),
|
|
3404
3956
|
createdAt: z$1.iso.datetime(),
|
|
@@ -3415,17 +3967,16 @@ const zChainConfig = z$1.strictObject({
|
|
|
3415
3967
|
"Alchemy",
|
|
3416
3968
|
"QuickNode",
|
|
3417
3969
|
"Thirdweb",
|
|
3418
|
-
"TrustWallet"
|
|
3419
|
-
"NearIntents"
|
|
3970
|
+
"TrustWallet"
|
|
3420
3971
|
])),
|
|
3421
3972
|
gasSponsorProviders: z$1.array(z$1.enum([
|
|
3422
3973
|
"Alchemy",
|
|
3423
3974
|
"QuickNode",
|
|
3424
3975
|
"Thirdweb",
|
|
3425
|
-
"TrustWallet"
|
|
3426
|
-
"NearIntents"
|
|
3976
|
+
"TrustWallet"
|
|
3427
3977
|
])),
|
|
3428
3978
|
maxGasPrice: z$1.string().max(78).regex(/^[0-9]+$/).nullable(),
|
|
3979
|
+
x402Enabled: z$1.boolean(),
|
|
3429
3980
|
createdAt: z$1.iso.datetime(),
|
|
3430
3981
|
updatedAt: z$1.iso.datetime(),
|
|
3431
3982
|
settlementToken: zToken,
|
|
@@ -3438,7 +3989,25 @@ const zChainWithConfig = z$1.strictObject({
|
|
|
3438
3989
|
deletedAt: z$1.iso.datetime().nullable(),
|
|
3439
3990
|
createdAt: z$1.iso.datetime(),
|
|
3440
3991
|
updatedAt: z$1.iso.datetime(),
|
|
3441
|
-
config: zChainConfig.nullable()
|
|
3992
|
+
config: zChainConfig.nullable(),
|
|
3993
|
+
status: z$1.enum([
|
|
3994
|
+
"Live",
|
|
3995
|
+
"Deactivated",
|
|
3996
|
+
"Deleted"
|
|
3997
|
+
]),
|
|
3998
|
+
cctp: z$1.strictObject({
|
|
3999
|
+
domain: z$1.int(),
|
|
4000
|
+
tokenMessenger: z$1.string(),
|
|
4001
|
+
messageTransmitter: z$1.string(),
|
|
4002
|
+
usdc: z$1.string(),
|
|
4003
|
+
forwarder: z$1.string().optional()
|
|
4004
|
+
}).nullable(),
|
|
4005
|
+
CCTPPayout: z$1.boolean(),
|
|
4006
|
+
noPayoutReason: z$1.enum([
|
|
4007
|
+
"NoPayoutSet",
|
|
4008
|
+
"NoCctpRoute",
|
|
4009
|
+
"SettlementTokenNotUsdc"
|
|
4010
|
+
])
|
|
3442
4011
|
});
|
|
3443
4012
|
const zChainWithConfigList = z$1.array(zChainWithConfig);
|
|
3444
4013
|
const zConfiguredChain = z$1.strictObject({
|
|
@@ -3447,7 +4016,8 @@ const zConfiguredChain = z$1.strictObject({
|
|
|
3447
4016
|
name: z$1.string(),
|
|
3448
4017
|
icon: z$1.string(),
|
|
3449
4018
|
settlementToken: zToken,
|
|
3450
|
-
usdPeggedToken: zToken
|
|
4019
|
+
usdPeggedToken: zToken,
|
|
4020
|
+
CCTPPayout: z$1.boolean()
|
|
3451
4021
|
});
|
|
3452
4022
|
const zConfiguredChainList = z$1.strictObject({ data: z$1.array(zConfiguredChain) });
|
|
3453
4023
|
const zTokenWithChain = z$1.strictObject({
|
|
@@ -3460,7 +4030,6 @@ const zTokenWithChain = z$1.strictObject({
|
|
|
3460
4030
|
version: z$1.string().nullable(),
|
|
3461
4031
|
icon: z$1.string().nullable(),
|
|
3462
4032
|
supportsEIP3009: z$1.boolean(),
|
|
3463
|
-
nearIntentsAssetId: z$1.string().nullable(),
|
|
3464
4033
|
listed: z$1.boolean(),
|
|
3465
4034
|
deletedAt: z$1.iso.datetime().nullable(),
|
|
3466
4035
|
createdAt: z$1.iso.datetime(),
|
|
@@ -3588,6 +4157,7 @@ const zQuote = z$1.strictObject({
|
|
|
3588
4157
|
swapPool: z$1.string().nullable(),
|
|
3589
4158
|
reference: z$1.string().nullable(),
|
|
3590
4159
|
meta: z$1.record(z$1.string(), z$1.unknown()).nullable(),
|
|
4160
|
+
channel: z$1.enum(["checkout", "x402"]),
|
|
3591
4161
|
expiresAt: z$1.iso.datetime(),
|
|
3592
4162
|
createdAt: z$1.iso.datetime(),
|
|
3593
4163
|
updatedAt: z$1.iso.datetime()
|
|
@@ -3619,6 +4189,7 @@ const zQuoteDetails = z$1.strictObject({
|
|
|
3619
4189
|
swapPool: z$1.string().nullable(),
|
|
3620
4190
|
reference: z$1.string().nullable(),
|
|
3621
4191
|
meta: z$1.record(z$1.string(), z$1.unknown()).nullable(),
|
|
4192
|
+
channel: z$1.enum(["checkout", "x402"]),
|
|
3622
4193
|
expiresAt: z$1.iso.datetime(),
|
|
3623
4194
|
createdAt: z$1.iso.datetime(),
|
|
3624
4195
|
updatedAt: z$1.iso.datetime(),
|
|
@@ -3640,6 +4211,12 @@ const zTransfer = z$1.strictObject({
|
|
|
3640
4211
|
appId: z$1.uuid(),
|
|
3641
4212
|
quoteId: z$1.uuid(),
|
|
3642
4213
|
settlementRecipient: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4214
|
+
settlement: z$1.enum(["Payout", "Local"]),
|
|
4215
|
+
settlementReason: z$1.enum([
|
|
4216
|
+
"NoPayoutSet",
|
|
4217
|
+
"NoCctpRoute",
|
|
4218
|
+
"SettlementTokenNotUsdc"
|
|
4219
|
+
]),
|
|
3643
4220
|
minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
3644
4221
|
refundAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3645
4222
|
payinAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
@@ -3660,7 +4237,16 @@ const zTransfer = z$1.strictObject({
|
|
|
3660
4237
|
expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
3661
4238
|
routerAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3662
4239
|
poolFeeTier: z$1.int(),
|
|
3663
|
-
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/)
|
|
4240
|
+
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4241
|
+
cctp: z$1.strictObject({
|
|
4242
|
+
tokenMessenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4243
|
+
destinationDomain: z$1.int(),
|
|
4244
|
+
mintRecipient: z$1.string(),
|
|
4245
|
+
destinationCaller: z$1.string(),
|
|
4246
|
+
hookData: z$1.string(),
|
|
4247
|
+
maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4248
|
+
minFinalityThreshold: z$1.int()
|
|
4249
|
+
}).optional()
|
|
3664
4250
|
}),
|
|
3665
4251
|
z$1.strictObject({
|
|
3666
4252
|
id: z$1.string(),
|
|
@@ -3700,7 +4286,16 @@ const zTransfer = z$1.strictObject({
|
|
|
3700
4286
|
router: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3701
4287
|
path: z$1.array(z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/))
|
|
3702
4288
|
}).nullable(),
|
|
3703
|
-
implementation: z$1.string()
|
|
4289
|
+
implementation: z$1.string(),
|
|
4290
|
+
cctp: z$1.strictObject({
|
|
4291
|
+
token_messenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4292
|
+
destination_domain: z$1.int(),
|
|
4293
|
+
mint_recipient: z$1.string(),
|
|
4294
|
+
destination_caller: z$1.string(),
|
|
4295
|
+
hook_data: z$1.string(),
|
|
4296
|
+
max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4297
|
+
min_finality_threshold: z$1.int()
|
|
4298
|
+
}).nullish()
|
|
3704
4299
|
}),
|
|
3705
4300
|
z$1.strictObject({
|
|
3706
4301
|
id: z$1.string(),
|
|
@@ -3734,6 +4329,7 @@ const zTransfer = z$1.strictObject({
|
|
|
3734
4329
|
x402Payer: z$1.string().nullable(),
|
|
3735
4330
|
x402AuthorizationNonce: z$1.string().nullable(),
|
|
3736
4331
|
x402AuthorizationHash: z$1.string().nullable(),
|
|
4332
|
+
settlementCallId: z$1.string().nullable(),
|
|
3737
4333
|
x402SettlementCallId: z$1.string().nullable(),
|
|
3738
4334
|
x402BlockchainHash: z$1.string().nullable(),
|
|
3739
4335
|
x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
|
|
@@ -3750,42 +4346,40 @@ const zTransferTimelineEntry = z$1.strictObject({
|
|
|
3750
4346
|
createdAt: z$1.iso.datetime()
|
|
3751
4347
|
});
|
|
3752
4348
|
const zPayout = z$1.strictObject({
|
|
3753
|
-
transferId: z$1.uuid(),
|
|
3754
|
-
depositAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3755
|
-
destinationAsset: z$1.string(),
|
|
3756
|
-
destinationSymbol: z$1.string(),
|
|
3757
|
-
destinationChain: z$1.string(),
|
|
3758
|
-
recipient: z$1.string(),
|
|
3759
|
-
refundTo: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3760
|
-
deadline: z$1.iso.datetime(),
|
|
3761
4349
|
status: z$1.enum([
|
|
3762
4350
|
"Pending",
|
|
3763
|
-
"
|
|
4351
|
+
"Burned",
|
|
4352
|
+
"Attested",
|
|
3764
4353
|
"Delivered",
|
|
3765
|
-
"
|
|
4354
|
+
"Fallback",
|
|
3766
4355
|
"Failed"
|
|
3767
4356
|
]),
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
4357
|
+
destinationChainId: z$1.uuid(),
|
|
4358
|
+
destinationCaip2Id: z$1.string(),
|
|
4359
|
+
recipient: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4360
|
+
amount: z$1.string().max(78).regex(/^[0-9]+$/).nullable(),
|
|
4361
|
+
maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4362
|
+
burnHash: z$1.string().nullable(),
|
|
4363
|
+
burnExplorerUrl: z$1.string().nullable(),
|
|
4364
|
+
destinationHash: z$1.string().nullable(),
|
|
4365
|
+
destinationExplorerUrl: z$1.string().nullable(),
|
|
4366
|
+
attested: z$1.boolean(),
|
|
4367
|
+
attempts: z$1.int(),
|
|
4368
|
+
error: z$1.string().nullable(),
|
|
3773
4369
|
createdAt: z$1.iso.datetime(),
|
|
3774
4370
|
updatedAt: z$1.iso.datetime()
|
|
3775
4371
|
});
|
|
3776
|
-
const zPayoutToken = z$1.strictObject({
|
|
3777
|
-
assetId: z$1.string(),
|
|
3778
|
-
blockchain: z$1.string(),
|
|
3779
|
-
symbol: z$1.string(),
|
|
3780
|
-
decimals: z$1.int(),
|
|
3781
|
-
contractAddress: z$1.string().nullable()
|
|
3782
|
-
});
|
|
3783
|
-
const zPayoutTokenList = z$1.strictObject({ data: z$1.array(zPayoutToken) });
|
|
3784
4372
|
const zTransferDetails = z$1.strictObject({
|
|
3785
4373
|
id: z$1.uuid(),
|
|
3786
4374
|
appId: z$1.uuid(),
|
|
3787
4375
|
quoteId: z$1.uuid(),
|
|
3788
4376
|
settlementRecipient: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4377
|
+
settlement: z$1.enum(["Payout", "Local"]),
|
|
4378
|
+
settlementReason: z$1.enum([
|
|
4379
|
+
"NoPayoutSet",
|
|
4380
|
+
"NoCctpRoute",
|
|
4381
|
+
"SettlementTokenNotUsdc"
|
|
4382
|
+
]),
|
|
3789
4383
|
minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
3790
4384
|
refundAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3791
4385
|
payinAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
@@ -3806,7 +4400,16 @@ const zTransferDetails = z$1.strictObject({
|
|
|
3806
4400
|
expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
3807
4401
|
routerAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3808
4402
|
poolFeeTier: z$1.int(),
|
|
3809
|
-
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/)
|
|
4403
|
+
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4404
|
+
cctp: z$1.strictObject({
|
|
4405
|
+
tokenMessenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4406
|
+
destinationDomain: z$1.int(),
|
|
4407
|
+
mintRecipient: z$1.string(),
|
|
4408
|
+
destinationCaller: z$1.string(),
|
|
4409
|
+
hookData: z$1.string(),
|
|
4410
|
+
maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4411
|
+
minFinalityThreshold: z$1.int()
|
|
4412
|
+
}).optional()
|
|
3810
4413
|
}),
|
|
3811
4414
|
z$1.strictObject({
|
|
3812
4415
|
id: z$1.string(),
|
|
@@ -3846,7 +4449,16 @@ const zTransferDetails = z$1.strictObject({
|
|
|
3846
4449
|
router: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3847
4450
|
path: z$1.array(z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/))
|
|
3848
4451
|
}).nullable(),
|
|
3849
|
-
implementation: z$1.string()
|
|
4452
|
+
implementation: z$1.string(),
|
|
4453
|
+
cctp: z$1.strictObject({
|
|
4454
|
+
token_messenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4455
|
+
destination_domain: z$1.int(),
|
|
4456
|
+
mint_recipient: z$1.string(),
|
|
4457
|
+
destination_caller: z$1.string(),
|
|
4458
|
+
hook_data: z$1.string(),
|
|
4459
|
+
max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4460
|
+
min_finality_threshold: z$1.int()
|
|
4461
|
+
}).nullish()
|
|
3850
4462
|
}),
|
|
3851
4463
|
z$1.strictObject({
|
|
3852
4464
|
id: z$1.string(),
|
|
@@ -3880,6 +4492,7 @@ const zTransferDetails = z$1.strictObject({
|
|
|
3880
4492
|
x402Payer: z$1.string().nullable(),
|
|
3881
4493
|
x402AuthorizationNonce: z$1.string().nullable(),
|
|
3882
4494
|
x402AuthorizationHash: z$1.string().nullable(),
|
|
4495
|
+
settlementCallId: z$1.string().nullable(),
|
|
3883
4496
|
x402SettlementCallId: z$1.string().nullable(),
|
|
3884
4497
|
x402BlockchainHash: z$1.string().nullable(),
|
|
3885
4498
|
x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
|
|
@@ -3888,14 +4501,20 @@ const zTransferDetails = z$1.strictObject({
|
|
|
3888
4501
|
createdAt: z$1.iso.datetime(),
|
|
3889
4502
|
updatedAt: z$1.iso.datetime(),
|
|
3890
4503
|
timeline: z$1.array(zTransferTimelineEntry),
|
|
3891
|
-
|
|
3892
|
-
|
|
4504
|
+
quote: zQuoteDetails,
|
|
4505
|
+
payout: zPayout.nullable()
|
|
3893
4506
|
});
|
|
3894
4507
|
const zTransferListItem = z$1.strictObject({
|
|
3895
4508
|
id: z$1.uuid(),
|
|
3896
4509
|
appId: z$1.uuid(),
|
|
3897
4510
|
quoteId: z$1.uuid(),
|
|
3898
4511
|
settlementRecipient: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4512
|
+
settlement: z$1.enum(["Payout", "Local"]),
|
|
4513
|
+
settlementReason: z$1.enum([
|
|
4514
|
+
"NoPayoutSet",
|
|
4515
|
+
"NoCctpRoute",
|
|
4516
|
+
"SettlementTokenNotUsdc"
|
|
4517
|
+
]),
|
|
3899
4518
|
minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
3900
4519
|
refundAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3901
4520
|
payinAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
@@ -3916,7 +4535,16 @@ const zTransferListItem = z$1.strictObject({
|
|
|
3916
4535
|
expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
3917
4536
|
routerAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3918
4537
|
poolFeeTier: z$1.int(),
|
|
3919
|
-
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/)
|
|
4538
|
+
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4539
|
+
cctp: z$1.strictObject({
|
|
4540
|
+
tokenMessenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4541
|
+
destinationDomain: z$1.int(),
|
|
4542
|
+
mintRecipient: z$1.string(),
|
|
4543
|
+
destinationCaller: z$1.string(),
|
|
4544
|
+
hookData: z$1.string(),
|
|
4545
|
+
maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4546
|
+
minFinalityThreshold: z$1.int()
|
|
4547
|
+
}).optional()
|
|
3920
4548
|
}),
|
|
3921
4549
|
z$1.strictObject({
|
|
3922
4550
|
id: z$1.string(),
|
|
@@ -3956,7 +4584,16 @@ const zTransferListItem = z$1.strictObject({
|
|
|
3956
4584
|
router: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
3957
4585
|
path: z$1.array(z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/))
|
|
3958
4586
|
}).nullable(),
|
|
3959
|
-
implementation: z$1.string()
|
|
4587
|
+
implementation: z$1.string(),
|
|
4588
|
+
cctp: z$1.strictObject({
|
|
4589
|
+
token_messenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4590
|
+
destination_domain: z$1.int(),
|
|
4591
|
+
mint_recipient: z$1.string(),
|
|
4592
|
+
destination_caller: z$1.string(),
|
|
4593
|
+
hook_data: z$1.string(),
|
|
4594
|
+
max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4595
|
+
min_finality_threshold: z$1.int()
|
|
4596
|
+
}).nullish()
|
|
3960
4597
|
}),
|
|
3961
4598
|
z$1.strictObject({
|
|
3962
4599
|
id: z$1.string(),
|
|
@@ -3990,6 +4627,7 @@ const zTransferListItem = z$1.strictObject({
|
|
|
3990
4627
|
x402Payer: z$1.string().nullable(),
|
|
3991
4628
|
x402AuthorizationNonce: z$1.string().nullable(),
|
|
3992
4629
|
x402AuthorizationHash: z$1.string().nullable(),
|
|
4630
|
+
settlementCallId: z$1.string().nullable(),
|
|
3993
4631
|
x402SettlementCallId: z$1.string().nullable(),
|
|
3994
4632
|
x402BlockchainHash: z$1.string().nullable(),
|
|
3995
4633
|
x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
|
|
@@ -3998,8 +4636,8 @@ const zTransferListItem = z$1.strictObject({
|
|
|
3998
4636
|
createdAt: z$1.iso.datetime(),
|
|
3999
4637
|
updatedAt: z$1.iso.datetime(),
|
|
4000
4638
|
timeline: z$1.array(zTransferTimelineEntry),
|
|
4001
|
-
payout: zPayout.nullable(),
|
|
4002
4639
|
quote: zQuoteDetails,
|
|
4640
|
+
payout: zPayout.nullable(),
|
|
4003
4641
|
app: z$1.strictObject({
|
|
4004
4642
|
id: z$1.uuid(),
|
|
4005
4643
|
icon: z$1.string().nullable(),
|
|
@@ -4017,6 +4655,12 @@ const zCreatedTransfer = z$1.strictObject({
|
|
|
4017
4655
|
appId: z$1.uuid(),
|
|
4018
4656
|
quoteId: z$1.uuid(),
|
|
4019
4657
|
settlementRecipient: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4658
|
+
settlement: z$1.enum(["Payout", "Local"]),
|
|
4659
|
+
settlementReason: z$1.enum([
|
|
4660
|
+
"NoPayoutSet",
|
|
4661
|
+
"NoCctpRoute",
|
|
4662
|
+
"SettlementTokenNotUsdc"
|
|
4663
|
+
]),
|
|
4020
4664
|
minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4021
4665
|
refundAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4022
4666
|
payinAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
@@ -4037,7 +4681,16 @@ const zCreatedTransfer = z$1.strictObject({
|
|
|
4037
4681
|
expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4038
4682
|
routerAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4039
4683
|
poolFeeTier: z$1.int(),
|
|
4040
|
-
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/)
|
|
4684
|
+
implementation: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4685
|
+
cctp: z$1.strictObject({
|
|
4686
|
+
tokenMessenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4687
|
+
destinationDomain: z$1.int(),
|
|
4688
|
+
mintRecipient: z$1.string(),
|
|
4689
|
+
destinationCaller: z$1.string(),
|
|
4690
|
+
hookData: z$1.string(),
|
|
4691
|
+
maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4692
|
+
minFinalityThreshold: z$1.int()
|
|
4693
|
+
}).optional()
|
|
4041
4694
|
}),
|
|
4042
4695
|
z$1.strictObject({
|
|
4043
4696
|
id: z$1.string(),
|
|
@@ -4077,7 +4730,16 @@ const zCreatedTransfer = z$1.strictObject({
|
|
|
4077
4730
|
router: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4078
4731
|
path: z$1.array(z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/))
|
|
4079
4732
|
}).nullable(),
|
|
4080
|
-
implementation: z$1.string()
|
|
4733
|
+
implementation: z$1.string(),
|
|
4734
|
+
cctp: z$1.strictObject({
|
|
4735
|
+
token_messenger: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4736
|
+
destination_domain: z$1.int(),
|
|
4737
|
+
mint_recipient: z$1.string(),
|
|
4738
|
+
destination_caller: z$1.string(),
|
|
4739
|
+
hook_data: z$1.string(),
|
|
4740
|
+
max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
|
|
4741
|
+
min_finality_threshold: z$1.int()
|
|
4742
|
+
}).nullish()
|
|
4081
4743
|
}),
|
|
4082
4744
|
z$1.strictObject({
|
|
4083
4745
|
id: z$1.string(),
|
|
@@ -4111,6 +4773,7 @@ const zCreatedTransfer = z$1.strictObject({
|
|
|
4111
4773
|
x402Payer: z$1.string().nullable(),
|
|
4112
4774
|
x402AuthorizationNonce: z$1.string().nullable(),
|
|
4113
4775
|
x402AuthorizationHash: z$1.string().nullable(),
|
|
4776
|
+
settlementCallId: z$1.string().nullable(),
|
|
4114
4777
|
x402SettlementCallId: z$1.string().nullable(),
|
|
4115
4778
|
x402BlockchainHash: z$1.string().nullable(),
|
|
4116
4779
|
x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
|
|
@@ -4128,14 +4791,19 @@ const zCreatedTransfer = z$1.strictObject({
|
|
|
4128
4791
|
});
|
|
4129
4792
|
const zWebhook = z$1.strictObject({
|
|
4130
4793
|
id: z$1.uuid(),
|
|
4131
|
-
appId: z$1.uuid(),
|
|
4794
|
+
appId: z$1.uuid().nullable(),
|
|
4132
4795
|
url: z$1.string(),
|
|
4133
4796
|
label: z$1.string(),
|
|
4134
4797
|
categories: z$1.array(z$1.enum([
|
|
4135
4798
|
"Transfer",
|
|
4136
4799
|
"Deposit",
|
|
4137
4800
|
"Recovery",
|
|
4138
|
-
"ExcessRefund"
|
|
4801
|
+
"ExcessRefund",
|
|
4802
|
+
"Chain",
|
|
4803
|
+
"Payout",
|
|
4804
|
+
"App",
|
|
4805
|
+
"PriceFeed",
|
|
4806
|
+
"Fee"
|
|
4139
4807
|
])),
|
|
4140
4808
|
signingKeyHint: z$1.string(),
|
|
4141
4809
|
maxRetries: z$1.int(),
|
|
@@ -4153,14 +4821,19 @@ const zWebhookPage = z$1.strictObject({
|
|
|
4153
4821
|
});
|
|
4154
4822
|
const zCreatedWebhook = z$1.strictObject({
|
|
4155
4823
|
id: z$1.uuid(),
|
|
4156
|
-
appId: z$1.uuid(),
|
|
4824
|
+
appId: z$1.uuid().nullable(),
|
|
4157
4825
|
url: z$1.string(),
|
|
4158
4826
|
label: z$1.string(),
|
|
4159
4827
|
categories: z$1.array(z$1.enum([
|
|
4160
4828
|
"Transfer",
|
|
4161
4829
|
"Deposit",
|
|
4162
4830
|
"Recovery",
|
|
4163
|
-
"ExcessRefund"
|
|
4831
|
+
"ExcessRefund",
|
|
4832
|
+
"Chain",
|
|
4833
|
+
"Payout",
|
|
4834
|
+
"App",
|
|
4835
|
+
"PriceFeed",
|
|
4836
|
+
"Fee"
|
|
4164
4837
|
])),
|
|
4165
4838
|
signingKeyHint: z$1.string(),
|
|
4166
4839
|
maxRetries: z$1.int(),
|
|
@@ -4195,12 +4868,17 @@ const zWebhookDeliveryPage = z$1.strictObject({
|
|
|
4195
4868
|
const zEvent = z$1.strictObject({
|
|
4196
4869
|
id: z$1.uuid(),
|
|
4197
4870
|
sourceId: z$1.string().nullable(),
|
|
4198
|
-
appId: z$1.uuid(),
|
|
4871
|
+
appId: z$1.uuid().nullable(),
|
|
4199
4872
|
category: z$1.enum([
|
|
4200
4873
|
"Transfer",
|
|
4201
4874
|
"Deposit",
|
|
4202
4875
|
"Recovery",
|
|
4203
|
-
"ExcessRefund"
|
|
4876
|
+
"ExcessRefund",
|
|
4877
|
+
"Chain",
|
|
4878
|
+
"Payout",
|
|
4879
|
+
"App",
|
|
4880
|
+
"PriceFeed",
|
|
4881
|
+
"Fee"
|
|
4204
4882
|
]),
|
|
4205
4883
|
previousCategoryStatus: z$1.string().nullable(),
|
|
4206
4884
|
currentCategoryStatus: z$1.string(),
|
|
@@ -4226,14 +4904,9 @@ const zProviderStatus = z$1.strictObject({
|
|
|
4226
4904
|
"Alchemy",
|
|
4227
4905
|
"QuickNode",
|
|
4228
4906
|
"Thirdweb",
|
|
4229
|
-
"TrustWallet"
|
|
4230
|
-
"NearIntents"
|
|
4231
|
-
]),
|
|
4232
|
-
action: z$1.enum([
|
|
4233
|
-
"GasSponsor",
|
|
4234
|
-
"OnchainNotifier",
|
|
4235
|
-
"Payout"
|
|
4907
|
+
"TrustWallet"
|
|
4236
4908
|
]),
|
|
4909
|
+
action: z$1.enum(["GasSponsor", "OnchainNotifier"]),
|
|
4237
4910
|
configured: z$1.boolean(),
|
|
4238
4911
|
keys: z$1.array(z$1.strictObject({
|
|
4239
4912
|
key: z$1.enum([
|
|
@@ -4245,8 +4918,7 @@ const zProviderStatus = z$1.strictObject({
|
|
|
4245
4918
|
"QuickNodeEvmContractEvents_ContractsListName",
|
|
4246
4919
|
"QuickNodeEvmContractEvents_EventHashesListName",
|
|
4247
4920
|
"QuickNodeWebhookSecurityToken",
|
|
4248
|
-
"ThirdwebSecretKey"
|
|
4249
|
-
"NearIntentsApiKey"
|
|
4921
|
+
"ThirdwebSecretKey"
|
|
4250
4922
|
]),
|
|
4251
4923
|
type: z$1.enum(["String", "SecureString"]),
|
|
4252
4924
|
required: z$1.boolean(),
|
|
@@ -4276,6 +4948,17 @@ const zSystemInfo = z$1.strictObject({
|
|
|
4276
4948
|
explorerUrl: z$1.string().nullable()
|
|
4277
4949
|
}))
|
|
4278
4950
|
});
|
|
4951
|
+
const zOperatorGas = z$1.strictObject({
|
|
4952
|
+
chainId: z$1.uuid(),
|
|
4953
|
+
caip2Id: z$1.string(),
|
|
4954
|
+
address: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/),
|
|
4955
|
+
balance: z$1.string().nullable(),
|
|
4956
|
+
symbol: z$1.string(),
|
|
4957
|
+
decimals: z$1.int(),
|
|
4958
|
+
sponsored: z$1.boolean(),
|
|
4959
|
+
low: z$1.boolean()
|
|
4960
|
+
});
|
|
4961
|
+
const zOperatorGasList = z$1.array(zOperatorGas);
|
|
4279
4962
|
const zStats = z$1.strictObject({
|
|
4280
4963
|
from: z$1.iso.datetime(),
|
|
4281
4964
|
to: z$1.iso.datetime(),
|
|
@@ -4459,8 +5142,8 @@ const zAppsUpdateBody = z$1.strictObject({
|
|
|
4459
5142
|
websiteUrl: z$1.url().max(2048).nullish(),
|
|
4460
5143
|
termsOfServiceUrl: z$1.url().max(2048).nullish(),
|
|
4461
5144
|
privacyPolicyUrl: z$1.url().max(2048).nullish(),
|
|
4462
|
-
|
|
4463
|
-
payoutAddress: z$1.string().min(
|
|
5145
|
+
payoutChainId: z$1.uuid().nullish(),
|
|
5146
|
+
payoutAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/).nullish()
|
|
4464
5147
|
});
|
|
4465
5148
|
/**
|
|
4466
5149
|
* Response for status 200
|
|
@@ -4472,8 +5155,8 @@ const zAppsCreateBody = z$1.object({
|
|
|
4472
5155
|
websiteUrl: z$1.url().max(2048).nullish(),
|
|
4473
5156
|
termsOfServiceUrl: z$1.url().max(2048).nullish(),
|
|
4474
5157
|
privacyPolicyUrl: z$1.url().max(2048).nullish(),
|
|
4475
|
-
|
|
4476
|
-
payoutAddress: z$1.string().min(
|
|
5158
|
+
payoutChainId: z$1.uuid().nullish(),
|
|
5159
|
+
payoutAddress: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/).nullish()
|
|
4477
5160
|
});
|
|
4478
5161
|
/**
|
|
4479
5162
|
* Response for status 201
|
|
@@ -4488,12 +5171,40 @@ const zAppsRemoveChainPath = z$1.object({ chainId: z$1.uuid() });
|
|
|
4488
5171
|
* Response for status 200
|
|
4489
5172
|
*/
|
|
4490
5173
|
const zAppsRemoveChainResponse = zAppChain;
|
|
5174
|
+
const zAppsUpdateChainBody = z$1.strictObject({ x402Enabled: z$1.boolean() });
|
|
5175
|
+
const zAppsUpdateChainPath = z$1.object({ chainId: z$1.uuid() });
|
|
5176
|
+
/**
|
|
5177
|
+
* Response for status 200
|
|
5178
|
+
*/
|
|
5179
|
+
const zAppsUpdateChainResponse = zAppChain;
|
|
4491
5180
|
const zAppsSetChainBody = z$1.strictObject({ address: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/) });
|
|
4492
5181
|
const zAppsSetChainPath = z$1.object({ chainId: z$1.uuid() });
|
|
4493
5182
|
/**
|
|
4494
5183
|
* Response for status 200
|
|
4495
5184
|
*/
|
|
4496
5185
|
const zAppsSetChainResponse = zAppChain;
|
|
5186
|
+
const zAppsSetX402Body = z$1.strictObject({ enabled: z$1.boolean() });
|
|
5187
|
+
const zAppsSetX402Path = z$1.object({ appId: z$1.uuid() });
|
|
5188
|
+
/**
|
|
5189
|
+
* Response for status 200
|
|
5190
|
+
*/
|
|
5191
|
+
const zAppsSetX402Response = zApp;
|
|
5192
|
+
const zAppsDisallowX402ChainPath = z$1.object({
|
|
5193
|
+
appId: z$1.uuid(),
|
|
5194
|
+
chainId: z$1.uuid()
|
|
5195
|
+
});
|
|
5196
|
+
/**
|
|
5197
|
+
* Response for status 200
|
|
5198
|
+
*/
|
|
5199
|
+
const zAppsDisallowX402ChainResponse = zApp;
|
|
5200
|
+
const zAppsAllowX402ChainPath = z$1.object({
|
|
5201
|
+
appId: z$1.uuid(),
|
|
5202
|
+
chainId: z$1.uuid()
|
|
5203
|
+
});
|
|
5204
|
+
/**
|
|
5205
|
+
* Response for status 200
|
|
5206
|
+
*/
|
|
5207
|
+
const zAppsAllowX402ChainResponse = zApp;
|
|
4497
5208
|
const zApiKeysListQuery = z$1.object({
|
|
4498
5209
|
q: z$1.string().max(100).optional(),
|
|
4499
5210
|
page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
|
|
@@ -4580,7 +5291,10 @@ const zChainsDeletePath = z$1.object({ id: z$1.uuid() });
|
|
|
4580
5291
|
* Response for status 200
|
|
4581
5292
|
*/
|
|
4582
5293
|
const zChainsDeleteResponse = zChain;
|
|
4583
|
-
const zChainsUpdateBody = z$1.strictObject({
|
|
5294
|
+
const zChainsUpdateBody = z$1.strictObject({
|
|
5295
|
+
isActive: z$1.boolean().optional(),
|
|
5296
|
+
x402Enabled: z$1.boolean().optional()
|
|
5297
|
+
});
|
|
4584
5298
|
const zChainsUpdatePath = z$1.object({ id: z$1.uuid() });
|
|
4585
5299
|
/**
|
|
4586
5300
|
* Response for status 200
|
|
@@ -4596,17 +5310,16 @@ const zChainsConfigureBody = z$1.strictObject({
|
|
|
4596
5310
|
"Alchemy",
|
|
4597
5311
|
"QuickNode",
|
|
4598
5312
|
"Thirdweb",
|
|
4599
|
-
"TrustWallet"
|
|
4600
|
-
"NearIntents"
|
|
5313
|
+
"TrustWallet"
|
|
4601
5314
|
])),
|
|
4602
5315
|
gasSponsorProviders: z$1.array(z$1.enum([
|
|
4603
5316
|
"Alchemy",
|
|
4604
5317
|
"QuickNode",
|
|
4605
5318
|
"Thirdweb",
|
|
4606
|
-
"TrustWallet"
|
|
4607
|
-
"NearIntents"
|
|
5319
|
+
"TrustWallet"
|
|
4608
5320
|
])),
|
|
4609
|
-
maxGasPrice: z$1.string().max(78).regex(/^[0-9]+$/).nullish()
|
|
5321
|
+
maxGasPrice: z$1.string().max(78).regex(/^[0-9]+$/).nullish(),
|
|
5322
|
+
x402Enabled: z$1.boolean().optional()
|
|
4610
5323
|
});
|
|
4611
5324
|
const zChainsConfigurePath = z$1.object({ id: z$1.uuid() });
|
|
4612
5325
|
/**
|
|
@@ -4621,10 +5334,6 @@ const zTokensGetByAddressPath = z$1.object({
|
|
|
4621
5334
|
* Response for status 200
|
|
4622
5335
|
*/
|
|
4623
5336
|
const zTokensGetByAddressResponse = zTokenWithChain;
|
|
4624
|
-
/**
|
|
4625
|
-
* Response for status 200
|
|
4626
|
-
*/
|
|
4627
|
-
const zTokensListPayoutsResponse = zPayoutTokenList;
|
|
4628
5337
|
const zTokensListQuery = z$1.object({
|
|
4629
5338
|
chainId: z$1.uuid().optional(),
|
|
4630
5339
|
q: z$1.string().max(100).optional(),
|
|
@@ -4749,6 +5458,10 @@ const zFeesCreateBody = z$1.strictObject({
|
|
|
4749
5458
|
_eq: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/).optional(),
|
|
4750
5459
|
_in: z$1.array(z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/)).optional()
|
|
4751
5460
|
}).optional() }).optional(),
|
|
5461
|
+
channel: z$1.strictObject({
|
|
5462
|
+
_eq: z$1.enum(["checkout", "x402"]).optional(),
|
|
5463
|
+
_in: z$1.array(z$1.enum(["checkout", "x402"])).optional()
|
|
5464
|
+
}).optional(),
|
|
4752
5465
|
sourceAmount: z$1.strictObject({
|
|
4753
5466
|
_eq: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
|
|
4754
5467
|
_gt: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
|
|
@@ -4789,6 +5502,10 @@ const zFeesUpdateBody = z$1.strictObject({
|
|
|
4789
5502
|
_eq: z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/).optional(),
|
|
4790
5503
|
_in: z$1.array(z$1.string().min(2).max(256).regex(/^(0x[0-9a-fA-F]{40}|(?!0x)(([a-z\d]+[-_])*[a-z\d]+\.)*([a-z\d]+[-_])*[a-z\d]+|[GC][A-Z2-7]{55}|M[A-Z2-7]{68}|gno\.land\/r\/([a-z\d_-]+\/)*[a-z\d_-]+(\.[A-Za-z\d_-]+)?)$/)).optional()
|
|
4791
5504
|
}).optional() }).optional(),
|
|
5505
|
+
channel: z$1.strictObject({
|
|
5506
|
+
_eq: z$1.enum(["checkout", "x402"]).optional(),
|
|
5507
|
+
_in: z$1.array(z$1.enum(["checkout", "x402"])).optional()
|
|
5508
|
+
}).optional(),
|
|
4792
5509
|
sourceAmount: z$1.strictObject({
|
|
4793
5510
|
_eq: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
|
|
4794
5511
|
_gt: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
|
|
@@ -4827,8 +5544,7 @@ const zKvSetPath = z$1.object({ key: z$1.union([z$1.enum([
|
|
|
4827
5544
|
"QuickNodeEvmContractEvents_ContractsListName",
|
|
4828
5545
|
"QuickNodeEvmContractEvents_EventHashesListName",
|
|
4829
5546
|
"QuickNodeWebhookSecurityToken",
|
|
4830
|
-
"ThirdwebSecretKey"
|
|
4831
|
-
"NearIntentsApiKey"
|
|
5547
|
+
"ThirdwebSecretKey"
|
|
4832
5548
|
]), z$1.string().regex(/^(?:AlchemyAddressActivity_Webhook|AlchemyContractEvents_Webhook|QuickNodeEvmWalletFilter_WebhookId|QuickNodeEvmContractEvents_WebhookId):[A-Za-z0-9_-]+$/)]) });
|
|
4833
5549
|
/**
|
|
4834
5550
|
* Response for status 200
|
|
@@ -4838,6 +5554,10 @@ const zKvSetResponse = zKvEntry;
|
|
|
4838
5554
|
* Response for status 200
|
|
4839
5555
|
*/
|
|
4840
5556
|
const zOverviewInfoResponse = zSystemInfo;
|
|
5557
|
+
/**
|
|
5558
|
+
* Response for status 200
|
|
5559
|
+
*/
|
|
5560
|
+
const zOverviewGasResponse = zOperatorGasList;
|
|
4841
5561
|
const zOverviewStatsQuery = z$1.object({
|
|
4842
5562
|
from: z$1.iso.datetime(),
|
|
4843
5563
|
to: z$1.iso.datetime(),
|
|
@@ -4853,8 +5573,14 @@ const zOverviewEventsQuery = z$1.object({
|
|
|
4853
5573
|
"Transfer",
|
|
4854
5574
|
"Deposit",
|
|
4855
5575
|
"Recovery",
|
|
4856
|
-
"ExcessRefund"
|
|
5576
|
+
"ExcessRefund",
|
|
5577
|
+
"Chain",
|
|
5578
|
+
"Payout",
|
|
5579
|
+
"App",
|
|
5580
|
+
"PriceFeed",
|
|
5581
|
+
"Fee"
|
|
4857
5582
|
]).optional(),
|
|
5583
|
+
system: z$1.boolean().optional(),
|
|
4858
5584
|
page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
|
|
4859
5585
|
pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
|
|
4860
5586
|
});
|
|
@@ -4974,6 +5700,7 @@ const zPriceFeedsDeleteResponse = z$1.strictObject({ id: z$1.uuid() });
|
|
|
4974
5700
|
const zQuotesListQuery = z$1.object({
|
|
4975
5701
|
customerId: z$1.uuid().optional(),
|
|
4976
5702
|
paymentLinkId: z$1.uuid().optional(),
|
|
5703
|
+
channel: z$1.enum(["checkout", "x402"]).optional(),
|
|
4977
5704
|
q: z$1.string().max(100).optional(),
|
|
4978
5705
|
page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
|
|
4979
5706
|
pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
|
|
@@ -4990,7 +5717,8 @@ const zQuotesCreateBody = z$1.strictObject({
|
|
|
4990
5717
|
price: z$1.string().regex(/^(?:0|[1-9][0-9]{0,19})(?:\.[0-9]{1,18})?$/).optional(),
|
|
4991
5718
|
customerId: z$1.uuid().optional(),
|
|
4992
5719
|
reference: z$1.string().min(1).max(255).optional(),
|
|
4993
|
-
meta: z$1.record(z$1.string(), z$1.unknown()).optional()
|
|
5720
|
+
meta: z$1.record(z$1.string(), z$1.unknown()).optional(),
|
|
5721
|
+
channel: z$1.enum(["checkout", "x402"]).optional()
|
|
4994
5722
|
});
|
|
4995
5723
|
/**
|
|
4996
5724
|
* Response for status 201
|
|
@@ -5039,6 +5767,11 @@ const zTransfersGetPath = z$1.object({ id: z$1.uuid() });
|
|
|
5039
5767
|
* Response for status 200
|
|
5040
5768
|
*/
|
|
5041
5769
|
const zTransfersGetResponse = zTransferDetails;
|
|
5770
|
+
const zTransfersRetryPayoutPath = z$1.object({ id: z$1.uuid() });
|
|
5771
|
+
/**
|
|
5772
|
+
* Response for status 200
|
|
5773
|
+
*/
|
|
5774
|
+
const zTransfersRetryPayoutResponse = zPayout;
|
|
5042
5775
|
const zTransfersRefundBody = z$1.strictObject({ useGasSponsor: z$1.boolean().optional() });
|
|
5043
5776
|
const zTransfersRefundPath = z$1.object({ id: z$1.uuid() });
|
|
5044
5777
|
/**
|
|
@@ -5077,7 +5810,12 @@ const zWebhooksCreateBody = z$1.strictObject({
|
|
|
5077
5810
|
"Transfer",
|
|
5078
5811
|
"Deposit",
|
|
5079
5812
|
"Recovery",
|
|
5080
|
-
"ExcessRefund"
|
|
5813
|
+
"ExcessRefund",
|
|
5814
|
+
"Chain",
|
|
5815
|
+
"Payout",
|
|
5816
|
+
"App",
|
|
5817
|
+
"PriceFeed",
|
|
5818
|
+
"Fee"
|
|
5081
5819
|
])).min(1),
|
|
5082
5820
|
maxRetries: z$1.union([z$1.string(), z$1.int().gte(0).lte(20)]).optional(),
|
|
5083
5821
|
retryIntervalInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(86400)]).optional(),
|
|
@@ -5087,6 +5825,74 @@ const zWebhooksCreateBody = z$1.strictObject({
|
|
|
5087
5825
|
* Response for status 201
|
|
5088
5826
|
*/
|
|
5089
5827
|
const zWebhooksCreateResponse = zCreatedWebhook;
|
|
5828
|
+
const zWebhooksListSystemQuery = z$1.object({
|
|
5829
|
+
q: z$1.string().max(100).optional(),
|
|
5830
|
+
page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
|
|
5831
|
+
pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
|
|
5832
|
+
});
|
|
5833
|
+
/**
|
|
5834
|
+
* Response for status 200
|
|
5835
|
+
*/
|
|
5836
|
+
const zWebhooksListSystemResponse = zWebhookPage;
|
|
5837
|
+
const zWebhooksCreateSystemBody = z$1.strictObject({
|
|
5838
|
+
url: z$1.url().max(2048).regex(/^https?:\/\//),
|
|
5839
|
+
label: z$1.string().min(1).max(120),
|
|
5840
|
+
categories: z$1.array(z$1.enum([
|
|
5841
|
+
"Transfer",
|
|
5842
|
+
"Deposit",
|
|
5843
|
+
"Recovery",
|
|
5844
|
+
"ExcessRefund",
|
|
5845
|
+
"Chain",
|
|
5846
|
+
"Payout",
|
|
5847
|
+
"App",
|
|
5848
|
+
"PriceFeed",
|
|
5849
|
+
"Fee"
|
|
5850
|
+
])).min(1),
|
|
5851
|
+
maxRetries: z$1.union([z$1.string(), z$1.int().gte(0).lte(20)]).optional(),
|
|
5852
|
+
retryIntervalInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(86400)]).optional(),
|
|
5853
|
+
timeoutInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(120)]).optional()
|
|
5854
|
+
});
|
|
5855
|
+
/**
|
|
5856
|
+
* Response for status 201
|
|
5857
|
+
*/
|
|
5858
|
+
const zWebhooksCreateSystemResponse = zCreatedWebhook;
|
|
5859
|
+
const zWebhooksDeleteSystemPath = z$1.object({ id: z$1.uuid() });
|
|
5860
|
+
/**
|
|
5861
|
+
* Response for status 200
|
|
5862
|
+
*/
|
|
5863
|
+
const zWebhooksDeleteSystemResponse = zWebhook;
|
|
5864
|
+
const zWebhooksUpdateSystemBody = z$1.strictObject({
|
|
5865
|
+
url: z$1.url().max(2048).regex(/^https?:\/\//).optional(),
|
|
5866
|
+
label: z$1.string().min(1).max(120).optional(),
|
|
5867
|
+
categories: z$1.array(z$1.enum([
|
|
5868
|
+
"Transfer",
|
|
5869
|
+
"Deposit",
|
|
5870
|
+
"Recovery",
|
|
5871
|
+
"ExcessRefund",
|
|
5872
|
+
"Chain",
|
|
5873
|
+
"Payout",
|
|
5874
|
+
"App",
|
|
5875
|
+
"PriceFeed",
|
|
5876
|
+
"Fee"
|
|
5877
|
+
])).min(1).optional(),
|
|
5878
|
+
maxRetries: z$1.union([z$1.string(), z$1.int().gte(0).lte(20)]).optional(),
|
|
5879
|
+
retryIntervalInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(86400)]).optional(),
|
|
5880
|
+
timeoutInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(120)]).optional()
|
|
5881
|
+
});
|
|
5882
|
+
const zWebhooksUpdateSystemPath = z$1.object({ id: z$1.uuid() });
|
|
5883
|
+
/**
|
|
5884
|
+
* Response for status 200
|
|
5885
|
+
*/
|
|
5886
|
+
const zWebhooksUpdateSystemResponse = zWebhook;
|
|
5887
|
+
const zWebhooksListSystemDeliveriesPath = z$1.object({ id: z$1.uuid() });
|
|
5888
|
+
const zWebhooksListSystemDeliveriesQuery = z$1.object({
|
|
5889
|
+
page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
|
|
5890
|
+
pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
|
|
5891
|
+
});
|
|
5892
|
+
/**
|
|
5893
|
+
* Response for status 200
|
|
5894
|
+
*/
|
|
5895
|
+
const zWebhooksListSystemDeliveriesResponse = zWebhookDeliveryPage;
|
|
5090
5896
|
const zWebhooksListDeliveriesPath = z$1.object({ id: z$1.uuid() });
|
|
5091
5897
|
const zWebhooksListDeliveriesQuery = z$1.object({
|
|
5092
5898
|
page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
|
|
@@ -5218,7 +6024,7 @@ const registerTools = (server, kite, baseUrl) => {
|
|
|
5218
6024
|
};
|
|
5219
6025
|
//#endregion
|
|
5220
6026
|
//#region package.json
|
|
5221
|
-
var version = "0.
|
|
6027
|
+
var version = "0.3.0";
|
|
5222
6028
|
//#endregion
|
|
5223
6029
|
//#region src/index.ts
|
|
5224
6030
|
const env = process.env;
|