@kite-01/mcp 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.mjs +937 -164
  3. 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, timeline and payout",
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 was paid out or refunded. If it failed or was cancelled, say why and what can be done next.`);
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
- "payoutAsset": {
215
- "minLength": 1,
216
- "maxLength": 256,
214
+ "payoutChainId": {
215
+ "format": "uuid",
217
216
  "type": ["string", "null"]
218
217
  },
219
218
  "payoutAddress": {
220
- "minLength": 1,
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
- "payoutAsset": {
277
- "minLength": 1,
278
- "maxLength": 256,
276
+ "payoutChainId": {
277
+ "format": "uuid",
279
278
  "type": ["string", "null"]
280
279
  },
281
280
  "payoutAddress": {
282
- "minLength": 1,
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": "Update chain active status",
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
- "required": ["isActive"],
651
- "properties": { "isActive": { "type": "boolean" } }
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,18 @@ var paths = {
1851
2001
  "Transfer",
1852
2002
  "Deposit",
1853
2003
  "Recovery",
1854
- "ExcessRefund"
2004
+ "ExcessRefund",
2005
+ "Chain",
2006
+ "Payout"
1855
2007
  ]
1856
2008
  }
1857
2009
  },
2010
+ {
2011
+ "name": "system",
2012
+ "in": "query",
2013
+ "required": false,
2014
+ "schema": { "type": "boolean" }
2015
+ },
1858
2016
  {
1859
2017
  "name": "page",
1860
2018
  "in": "query",
@@ -2409,6 +2567,10 @@ var paths = {
2409
2567
  "meta": {
2410
2568
  "type": "object",
2411
2569
  "patternProperties": { "^(.*)$": {} }
2570
+ },
2571
+ "channel": {
2572
+ "type": "string",
2573
+ "enum": ["checkout", "x402"]
2412
2574
  }
2413
2575
  }
2414
2576
  } } },
@@ -2442,6 +2604,15 @@ var paths = {
2442
2604
  "type": "string"
2443
2605
  }
2444
2606
  },
2607
+ {
2608
+ "name": "channel",
2609
+ "in": "query",
2610
+ "required": false,
2611
+ "schema": {
2612
+ "type": "string",
2613
+ "enum": ["checkout", "x402"]
2614
+ }
2615
+ },
2445
2616
  {
2446
2617
  "name": "q",
2447
2618
  "in": "query",
@@ -2652,6 +2823,25 @@ var paths = {
2652
2823
  "content": { "application/json": { "schema": { "$ref": "#/components/schemas/TransferDetails" } } }
2653
2824
  } }
2654
2825
  } },
2826
+ "/api/transfers/{id}/payout/retry": { "post": {
2827
+ "operationId": "transfers.retryPayout",
2828
+ "security": [{ "rootKey": [] }],
2829
+ "tags": ["Transfers"],
2830
+ "summary": "Retry a failed payout's attestation or mint",
2831
+ "parameters": [{
2832
+ "name": "id",
2833
+ "in": "path",
2834
+ "required": true,
2835
+ "schema": {
2836
+ "format": "uuid",
2837
+ "type": "string"
2838
+ }
2839
+ }],
2840
+ "responses": { "200": {
2841
+ "description": "Response for status 200",
2842
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Payout" } } }
2843
+ } }
2844
+ } },
2655
2845
  "/api/transfers/{id}/refund": { "post": {
2656
2846
  "operationId": "transfers.refund",
2657
2847
  "tags": ["Transfers"],
@@ -2800,7 +2990,9 @@ var paths = {
2800
2990
  "Transfer",
2801
2991
  "Deposit",
2802
2992
  "Recovery",
2803
- "ExcessRefund"
2993
+ "ExcessRefund",
2994
+ "Chain",
2995
+ "Payout"
2804
2996
  ]
2805
2997
  }
2806
2998
  },
@@ -2907,61 +3099,379 @@ var paths = {
2907
3099
  } }
2908
3100
  }
2909
3101
  },
2910
- "/api/webhooks/{id}/deliveries": { "get": {
2911
- "operationId": "webhooks.listDeliveries",
2912
- "tags": ["Webhooks"],
2913
- "summary": "List a webhook's delivery attempts",
2914
- "parameters": [
2915
- {
2916
- "name": "id",
2917
- "in": "path",
2918
- "required": true,
2919
- "schema": {
2920
- "format": "uuid",
2921
- "type": "string"
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,
3102
+ "/api/webhooks/system": {
3103
+ "get": {
3104
+ "operationId": "webhooks.listSystem",
3105
+ "security": [{ "rootKey": [] }],
3106
+ "tags": ["Webhooks"],
3107
+ "summary": "List system webhooks",
3108
+ "description": "System webhooks belong to no app and hear about the whole server, such as Chain events. They only take system categories.",
3109
+ "parameters": [
3110
+ {
3111
+ "name": "q",
3112
+ "in": "query",
3113
+ "required": false,
3114
+ "schema": {
3115
+ "maxLength": 100,
2933
3116
  "type": "string"
2934
- }, {
3117
+ }
3118
+ },
3119
+ {
3120
+ "name": "page",
3121
+ "in": "query",
3122
+ "required": false,
3123
+ "schema": {
2935
3124
  "minimum": 1,
2936
- "type": "number"
2937
- }]
2938
- }
2939
- },
2940
- {
2941
- "name": "pageSize",
2942
- "in": "query",
2943
- "required": false,
2944
- "schema": {
2945
- "minimum": 1,
2946
- "maximum": 100,
2947
- "anyOf": [{
2948
- "format": "numeric",
2949
- "default": 0,
2950
- "type": "string"
2951
- }, {
3125
+ "anyOf": [{
3126
+ "format": "numeric",
3127
+ "default": 0,
3128
+ "type": "string"
3129
+ }, {
3130
+ "minimum": 1,
3131
+ "type": "number"
3132
+ }]
3133
+ }
3134
+ },
3135
+ {
3136
+ "name": "pageSize",
3137
+ "in": "query",
3138
+ "required": false,
3139
+ "schema": {
2952
3140
  "minimum": 1,
2953
3141
  "maximum": 100,
2954
- "type": "number"
2955
- }]
3142
+ "anyOf": [{
3143
+ "format": "numeric",
3144
+ "default": 0,
3145
+ "type": "string"
3146
+ }, {
3147
+ "minimum": 1,
3148
+ "maximum": 100,
3149
+ "type": "number"
3150
+ }]
3151
+ }
2956
3152
  }
2957
- }
2958
- ],
2959
- "responses": { "200": {
2960
- "description": "Response for status 200",
2961
- "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookDeliveryPage" } } }
2962
- } }
2963
- } },
2964
- "/api/webhooks/{id}": { "delete": {
3153
+ ],
3154
+ "responses": { "200": {
3155
+ "description": "Response for status 200",
3156
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookPage" } } }
3157
+ } }
3158
+ },
3159
+ "post": {
3160
+ "operationId": "webhooks.createSystem",
3161
+ "security": [{ "rootKey": [] }],
3162
+ "tags": ["Webhooks"],
3163
+ "summary": "Create a system webhook",
3164
+ "requestBody": {
3165
+ "content": { "application/json": { "schema": {
3166
+ "additionalProperties": false,
3167
+ "type": "object",
3168
+ "required": [
3169
+ "url",
3170
+ "label",
3171
+ "categories"
3172
+ ],
3173
+ "properties": {
3174
+ "url": {
3175
+ "format": "uri",
3176
+ "pattern": "^https?://",
3177
+ "maxLength": 2048,
3178
+ "type": "string"
3179
+ },
3180
+ "label": {
3181
+ "minLength": 1,
3182
+ "maxLength": 120,
3183
+ "type": "string"
3184
+ },
3185
+ "categories": {
3186
+ "minItems": 1,
3187
+ "uniqueItems": true,
3188
+ "type": "array",
3189
+ "items": {
3190
+ "type": "string",
3191
+ "enum": [
3192
+ "Transfer",
3193
+ "Deposit",
3194
+ "Recovery",
3195
+ "ExcessRefund",
3196
+ "Chain",
3197
+ "Payout"
3198
+ ]
3199
+ }
3200
+ },
3201
+ "maxRetries": {
3202
+ "minimum": 0,
3203
+ "maximum": 20,
3204
+ "anyOf": [{
3205
+ "format": "integer",
3206
+ "default": 0,
3207
+ "type": "string"
3208
+ }, {
3209
+ "minimum": 0,
3210
+ "maximum": 20,
3211
+ "type": "integer"
3212
+ }]
3213
+ },
3214
+ "retryIntervalInSeconds": {
3215
+ "minimum": 1,
3216
+ "maximum": 86400,
3217
+ "anyOf": [{
3218
+ "format": "integer",
3219
+ "default": 0,
3220
+ "type": "string"
3221
+ }, {
3222
+ "minimum": 1,
3223
+ "maximum": 86400,
3224
+ "type": "integer"
3225
+ }]
3226
+ },
3227
+ "timeoutInSeconds": {
3228
+ "minimum": 1,
3229
+ "maximum": 120,
3230
+ "anyOf": [{
3231
+ "format": "integer",
3232
+ "default": 0,
3233
+ "type": "string"
3234
+ }, {
3235
+ "minimum": 1,
3236
+ "maximum": 120,
3237
+ "type": "integer"
3238
+ }]
3239
+ }
3240
+ }
3241
+ } } },
3242
+ "required": true
3243
+ },
3244
+ "responses": { "201": {
3245
+ "description": "Response for status 201",
3246
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatedWebhook" } } }
3247
+ } }
3248
+ }
3249
+ },
3250
+ "/api/webhooks/system/{id}": {
3251
+ "patch": {
3252
+ "operationId": "webhooks.updateSystem",
3253
+ "security": [{ "rootKey": [] }],
3254
+ "tags": ["Webhooks"],
3255
+ "summary": "Update a system webhook",
3256
+ "parameters": [{
3257
+ "name": "id",
3258
+ "in": "path",
3259
+ "required": true,
3260
+ "schema": {
3261
+ "format": "uuid",
3262
+ "type": "string"
3263
+ }
3264
+ }],
3265
+ "requestBody": {
3266
+ "content": { "application/json": { "schema": {
3267
+ "additionalProperties": false,
3268
+ "type": "object",
3269
+ "properties": {
3270
+ "url": {
3271
+ "format": "uri",
3272
+ "pattern": "^https?://",
3273
+ "maxLength": 2048,
3274
+ "type": "string"
3275
+ },
3276
+ "label": {
3277
+ "minLength": 1,
3278
+ "maxLength": 120,
3279
+ "type": "string"
3280
+ },
3281
+ "categories": {
3282
+ "minItems": 1,
3283
+ "uniqueItems": true,
3284
+ "type": "array",
3285
+ "items": {
3286
+ "type": "string",
3287
+ "enum": [
3288
+ "Transfer",
3289
+ "Deposit",
3290
+ "Recovery",
3291
+ "ExcessRefund",
3292
+ "Chain",
3293
+ "Payout"
3294
+ ]
3295
+ }
3296
+ },
3297
+ "maxRetries": {
3298
+ "minimum": 0,
3299
+ "maximum": 20,
3300
+ "anyOf": [{
3301
+ "format": "integer",
3302
+ "default": 0,
3303
+ "type": "string"
3304
+ }, {
3305
+ "minimum": 0,
3306
+ "maximum": 20,
3307
+ "type": "integer"
3308
+ }]
3309
+ },
3310
+ "retryIntervalInSeconds": {
3311
+ "minimum": 1,
3312
+ "maximum": 86400,
3313
+ "anyOf": [{
3314
+ "format": "integer",
3315
+ "default": 0,
3316
+ "type": "string"
3317
+ }, {
3318
+ "minimum": 1,
3319
+ "maximum": 86400,
3320
+ "type": "integer"
3321
+ }]
3322
+ },
3323
+ "timeoutInSeconds": {
3324
+ "minimum": 1,
3325
+ "maximum": 120,
3326
+ "anyOf": [{
3327
+ "format": "integer",
3328
+ "default": 0,
3329
+ "type": "string"
3330
+ }, {
3331
+ "minimum": 1,
3332
+ "maximum": 120,
3333
+ "type": "integer"
3334
+ }]
3335
+ }
3336
+ }
3337
+ } } },
3338
+ "required": true
3339
+ },
3340
+ "responses": { "200": {
3341
+ "description": "Response for status 200",
3342
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Webhook" } } }
3343
+ } }
3344
+ },
3345
+ "delete": {
3346
+ "operationId": "webhooks.deleteSystem",
3347
+ "security": [{ "rootKey": [] }],
3348
+ "tags": ["Webhooks"],
3349
+ "summary": "Delete a system webhook",
3350
+ "parameters": [{
3351
+ "name": "id",
3352
+ "in": "path",
3353
+ "required": true,
3354
+ "schema": {
3355
+ "format": "uuid",
3356
+ "type": "string"
3357
+ }
3358
+ }],
3359
+ "responses": { "200": {
3360
+ "description": "Response for status 200",
3361
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Webhook" } } }
3362
+ } }
3363
+ }
3364
+ },
3365
+ "/api/webhooks/system/{id}/deliveries": { "get": {
3366
+ "operationId": "webhooks.listSystemDeliveries",
3367
+ "security": [{ "rootKey": [] }],
3368
+ "tags": ["Webhooks"],
3369
+ "summary": "List a system webhook's delivery attempts",
3370
+ "parameters": [
3371
+ {
3372
+ "name": "id",
3373
+ "in": "path",
3374
+ "required": true,
3375
+ "schema": {
3376
+ "format": "uuid",
3377
+ "type": "string"
3378
+ }
3379
+ },
3380
+ {
3381
+ "name": "page",
3382
+ "in": "query",
3383
+ "required": false,
3384
+ "schema": {
3385
+ "minimum": 1,
3386
+ "anyOf": [{
3387
+ "format": "numeric",
3388
+ "default": 0,
3389
+ "type": "string"
3390
+ }, {
3391
+ "minimum": 1,
3392
+ "type": "number"
3393
+ }]
3394
+ }
3395
+ },
3396
+ {
3397
+ "name": "pageSize",
3398
+ "in": "query",
3399
+ "required": false,
3400
+ "schema": {
3401
+ "minimum": 1,
3402
+ "maximum": 100,
3403
+ "anyOf": [{
3404
+ "format": "numeric",
3405
+ "default": 0,
3406
+ "type": "string"
3407
+ }, {
3408
+ "minimum": 1,
3409
+ "maximum": 100,
3410
+ "type": "number"
3411
+ }]
3412
+ }
3413
+ }
3414
+ ],
3415
+ "responses": { "200": {
3416
+ "description": "Response for status 200",
3417
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookDeliveryPage" } } }
3418
+ } }
3419
+ } },
3420
+ "/api/webhooks/{id}/deliveries": { "get": {
3421
+ "operationId": "webhooks.listDeliveries",
3422
+ "tags": ["Webhooks"],
3423
+ "summary": "List a webhook's delivery attempts",
3424
+ "parameters": [
3425
+ {
3426
+ "name": "id",
3427
+ "in": "path",
3428
+ "required": true,
3429
+ "schema": {
3430
+ "format": "uuid",
3431
+ "type": "string"
3432
+ }
3433
+ },
3434
+ {
3435
+ "name": "page",
3436
+ "in": "query",
3437
+ "required": false,
3438
+ "schema": {
3439
+ "minimum": 1,
3440
+ "anyOf": [{
3441
+ "format": "numeric",
3442
+ "default": 0,
3443
+ "type": "string"
3444
+ }, {
3445
+ "minimum": 1,
3446
+ "type": "number"
3447
+ }]
3448
+ }
3449
+ },
3450
+ {
3451
+ "name": "pageSize",
3452
+ "in": "query",
3453
+ "required": false,
3454
+ "schema": {
3455
+ "minimum": 1,
3456
+ "maximum": 100,
3457
+ "anyOf": [{
3458
+ "format": "numeric",
3459
+ "default": 0,
3460
+ "type": "string"
3461
+ }, {
3462
+ "minimum": 1,
3463
+ "maximum": 100,
3464
+ "type": "number"
3465
+ }]
3466
+ }
3467
+ }
3468
+ ],
3469
+ "responses": { "200": {
3470
+ "description": "Response for status 200",
3471
+ "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookDeliveryPage" } } }
3472
+ } }
3473
+ } },
3474
+ "/api/webhooks/{id}": { "delete": {
2965
3475
  "operationId": "webhooks.delete",
2966
3476
  "tags": ["Webhooks"],
2967
3477
  "summary": "Delete a webhook",
@@ -3094,9 +3604,13 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
3094
3604
  zAppChain: () => zAppChain,
3095
3605
  zAppChainList: () => zAppChainList,
3096
3606
  zAppPage: () => zAppPage,
3607
+ zAppsAllowX402ChainPath: () => zAppsAllowX402ChainPath,
3608
+ zAppsAllowX402ChainResponse: () => zAppsAllowX402ChainResponse,
3097
3609
  zAppsCreateBody: () => zAppsCreateBody,
3098
3610
  zAppsCreateResponse: () => zAppsCreateResponse,
3099
3611
  zAppsDeleteResponse: () => zAppsDeleteResponse,
3612
+ zAppsDisallowX402ChainPath: () => zAppsDisallowX402ChainPath,
3613
+ zAppsDisallowX402ChainResponse: () => zAppsDisallowX402ChainResponse,
3100
3614
  zAppsGetResponse: () => zAppsGetResponse,
3101
3615
  zAppsListChainsResponse: () => zAppsListChainsResponse,
3102
3616
  zAppsListQuery: () => zAppsListQuery,
@@ -3106,7 +3620,13 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
3106
3620
  zAppsSetChainBody: () => zAppsSetChainBody,
3107
3621
  zAppsSetChainPath: () => zAppsSetChainPath,
3108
3622
  zAppsSetChainResponse: () => zAppsSetChainResponse,
3623
+ zAppsSetX402Body: () => zAppsSetX402Body,
3624
+ zAppsSetX402Path: () => zAppsSetX402Path,
3625
+ zAppsSetX402Response: () => zAppsSetX402Response,
3109
3626
  zAppsUpdateBody: () => zAppsUpdateBody,
3627
+ zAppsUpdateChainBody: () => zAppsUpdateChainBody,
3628
+ zAppsUpdateChainPath: () => zAppsUpdateChainPath,
3629
+ zAppsUpdateChainResponse: () => zAppsUpdateChainResponse,
3110
3630
  zAppsUpdateResponse: () => zAppsUpdateResponse,
3111
3631
  zChain: () => zChain,
3112
3632
  zChainConfig: () => zChainConfig,
@@ -3180,8 +3700,11 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
3180
3700
  zKvSetBody: () => zKvSetBody,
3181
3701
  zKvSetPath: () => zKvSetPath,
3182
3702
  zKvSetResponse: () => zKvSetResponse,
3703
+ zOperatorGas: () => zOperatorGas,
3704
+ zOperatorGasList: () => zOperatorGasList,
3183
3705
  zOverviewEventsQuery: () => zOverviewEventsQuery,
3184
3706
  zOverviewEventsResponse: () => zOverviewEventsResponse,
3707
+ zOverviewGasResponse: () => zOverviewGasResponse,
3185
3708
  zOverviewInfoResponse: () => zOverviewInfoResponse,
3186
3709
  zOverviewStatsQuery: () => zOverviewStatsQuery,
3187
3710
  zOverviewStatsResponse: () => zOverviewStatsResponse,
@@ -3203,8 +3726,6 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
3203
3726
  zPaymentLinksUpdatePath: () => zPaymentLinksUpdatePath,
3204
3727
  zPaymentLinksUpdateResponse: () => zPaymentLinksUpdateResponse,
3205
3728
  zPayout: () => zPayout,
3206
- zPayoutToken: () => zPayoutToken,
3207
- zPayoutTokenList: () => zPayoutTokenList,
3208
3729
  zPriceFeed: () => zPriceFeed,
3209
3730
  zPriceFeedWithChain: () => zPriceFeedWithChain,
3210
3731
  zPriceFeedWithChainList: () => zPriceFeedWithChainList,
@@ -3238,7 +3759,6 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
3238
3759
  zTokensDeleteResponse: () => zTokensDeleteResponse,
3239
3760
  zTokensGetByAddressPath: () => zTokensGetByAddressPath,
3240
3761
  zTokensGetByAddressResponse: () => zTokensGetByAddressResponse,
3241
- zTokensListPayoutsResponse: () => zTokensListPayoutsResponse,
3242
3762
  zTokensListQuery: () => zTokensListQuery,
3243
3763
  zTokensListResponse: () => zTokensListResponse,
3244
3764
  zTokensUpdateBody: () => zTokensUpdateBody,
@@ -3266,19 +3786,33 @@ var zod_gen_exports = /* @__PURE__ */ __exportAll({
3266
3786
  zTransfersRefundBody: () => zTransfersRefundBody,
3267
3787
  zTransfersRefundPath: () => zTransfersRefundPath,
3268
3788
  zTransfersRefundResponse: () => zTransfersRefundResponse,
3789
+ zTransfersRetryPayoutPath: () => zTransfersRetryPayoutPath,
3790
+ zTransfersRetryPayoutResponse: () => zTransfersRetryPayoutResponse,
3269
3791
  zWebhook: () => zWebhook,
3270
3792
  zWebhookDelivery: () => zWebhookDelivery,
3271
3793
  zWebhookDeliveryPage: () => zWebhookDeliveryPage,
3272
3794
  zWebhookPage: () => zWebhookPage,
3273
3795
  zWebhooksCreateBody: () => zWebhooksCreateBody,
3274
3796
  zWebhooksCreateResponse: () => zWebhooksCreateResponse,
3797
+ zWebhooksCreateSystemBody: () => zWebhooksCreateSystemBody,
3798
+ zWebhooksCreateSystemResponse: () => zWebhooksCreateSystemResponse,
3275
3799
  zWebhooksDeletePath: () => zWebhooksDeletePath,
3276
3800
  zWebhooksDeleteResponse: () => zWebhooksDeleteResponse,
3801
+ zWebhooksDeleteSystemPath: () => zWebhooksDeleteSystemPath,
3802
+ zWebhooksDeleteSystemResponse: () => zWebhooksDeleteSystemResponse,
3277
3803
  zWebhooksListDeliveriesPath: () => zWebhooksListDeliveriesPath,
3278
3804
  zWebhooksListDeliveriesQuery: () => zWebhooksListDeliveriesQuery,
3279
3805
  zWebhooksListDeliveriesResponse: () => zWebhooksListDeliveriesResponse,
3280
3806
  zWebhooksListQuery: () => zWebhooksListQuery,
3281
3807
  zWebhooksListResponse: () => zWebhooksListResponse,
3808
+ zWebhooksListSystemDeliveriesPath: () => zWebhooksListSystemDeliveriesPath,
3809
+ zWebhooksListSystemDeliveriesQuery: () => zWebhooksListSystemDeliveriesQuery,
3810
+ zWebhooksListSystemDeliveriesResponse: () => zWebhooksListSystemDeliveriesResponse,
3811
+ zWebhooksListSystemQuery: () => zWebhooksListSystemQuery,
3812
+ zWebhooksListSystemResponse: () => zWebhooksListSystemResponse,
3813
+ zWebhooksUpdateSystemBody: () => zWebhooksUpdateSystemBody,
3814
+ zWebhooksUpdateSystemPath: () => zWebhooksUpdateSystemPath,
3815
+ zWebhooksUpdateSystemResponse: () => zWebhooksUpdateSystemResponse,
3282
3816
  zX402PayBody: () => zX402PayBody,
3283
3817
  zX402PayResponse: () => zX402PayResponse,
3284
3818
  zX402PaymentRequirements: () => zX402PaymentRequirements,
@@ -3300,7 +3834,9 @@ const zApp = z$1.strictObject({
3300
3834
  websiteUrl: z$1.string().nullable(),
3301
3835
  termsOfServiceUrl: z$1.string().nullable(),
3302
3836
  privacyPolicyUrl: z$1.string().nullable(),
3303
- payoutAsset: z$1.string().nullable(),
3837
+ x402Enabled: z$1.boolean(),
3838
+ x402Chains: z$1.array(z$1.uuid()),
3839
+ payoutChainId: z$1.uuid().nullable(),
3304
3840
  payoutAddress: z$1.string().nullable(),
3305
3841
  deletedAt: z$1.iso.datetime().nullable(),
3306
3842
  createdAt: z$1.iso.datetime(),
@@ -3315,6 +3851,9 @@ const zAppPage = z$1.strictObject({
3315
3851
  const zAppChain = z$1.strictObject({
3316
3852
  chainId: z$1.uuid(),
3317
3853
  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_-]+)?)$/),
3854
+ x402Allowed: z$1.boolean(),
3855
+ x402Enabled: z$1.boolean(),
3856
+ CCTPPayout: z$1.boolean(),
3318
3857
  createdAt: z$1.iso.datetime(),
3319
3858
  updatedAt: z$1.iso.datetime()
3320
3859
  });
@@ -3385,7 +3924,9 @@ const zSupportedChain = z$1.strictObject({
3385
3924
  name: z$1.string(),
3386
3925
  url: z$1.string()
3387
3926
  }).optional(),
3388
- confirmations: z$1.int()
3927
+ confirmations: z$1.int(),
3928
+ CCTPPayout: z$1.boolean(),
3929
+ cctpDomain: z$1.int().nullable()
3389
3930
  });
3390
3931
  const zSupportedChainList = z$1.array(zSupportedChain);
3391
3932
  const zToken = z$1.strictObject({
@@ -3398,7 +3939,6 @@ const zToken = z$1.strictObject({
3398
3939
  version: z$1.string().nullable(),
3399
3940
  icon: z$1.string().nullable(),
3400
3941
  supportsEIP3009: z$1.boolean(),
3401
- nearIntentsAssetId: z$1.string().nullable(),
3402
3942
  listed: z$1.boolean(),
3403
3943
  deletedAt: z$1.iso.datetime().nullable(),
3404
3944
  createdAt: z$1.iso.datetime(),
@@ -3415,17 +3955,16 @@ const zChainConfig = z$1.strictObject({
3415
3955
  "Alchemy",
3416
3956
  "QuickNode",
3417
3957
  "Thirdweb",
3418
- "TrustWallet",
3419
- "NearIntents"
3958
+ "TrustWallet"
3420
3959
  ])),
3421
3960
  gasSponsorProviders: z$1.array(z$1.enum([
3422
3961
  "Alchemy",
3423
3962
  "QuickNode",
3424
3963
  "Thirdweb",
3425
- "TrustWallet",
3426
- "NearIntents"
3964
+ "TrustWallet"
3427
3965
  ])),
3428
3966
  maxGasPrice: z$1.string().max(78).regex(/^[0-9]+$/).nullable(),
3967
+ x402Enabled: z$1.boolean(),
3429
3968
  createdAt: z$1.iso.datetime(),
3430
3969
  updatedAt: z$1.iso.datetime(),
3431
3970
  settlementToken: zToken,
@@ -3438,7 +3977,25 @@ const zChainWithConfig = z$1.strictObject({
3438
3977
  deletedAt: z$1.iso.datetime().nullable(),
3439
3978
  createdAt: z$1.iso.datetime(),
3440
3979
  updatedAt: z$1.iso.datetime(),
3441
- config: zChainConfig.nullable()
3980
+ config: zChainConfig.nullable(),
3981
+ status: z$1.enum([
3982
+ "Live",
3983
+ "Deactivated",
3984
+ "Deleted"
3985
+ ]),
3986
+ cctp: z$1.strictObject({
3987
+ domain: z$1.int(),
3988
+ tokenMessenger: z$1.string(),
3989
+ messageTransmitter: z$1.string(),
3990
+ usdc: z$1.string(),
3991
+ forwarder: z$1.string().optional()
3992
+ }).nullable(),
3993
+ CCTPPayout: z$1.boolean(),
3994
+ noPayoutReason: z$1.enum([
3995
+ "NoPayoutSet",
3996
+ "NoCctpRoute",
3997
+ "SettlementTokenNotUsdc"
3998
+ ])
3442
3999
  });
3443
4000
  const zChainWithConfigList = z$1.array(zChainWithConfig);
3444
4001
  const zConfiguredChain = z$1.strictObject({
@@ -3447,7 +4004,8 @@ const zConfiguredChain = z$1.strictObject({
3447
4004
  name: z$1.string(),
3448
4005
  icon: z$1.string(),
3449
4006
  settlementToken: zToken,
3450
- usdPeggedToken: zToken
4007
+ usdPeggedToken: zToken,
4008
+ CCTPPayout: z$1.boolean()
3451
4009
  });
3452
4010
  const zConfiguredChainList = z$1.strictObject({ data: z$1.array(zConfiguredChain) });
3453
4011
  const zTokenWithChain = z$1.strictObject({
@@ -3460,7 +4018,6 @@ const zTokenWithChain = z$1.strictObject({
3460
4018
  version: z$1.string().nullable(),
3461
4019
  icon: z$1.string().nullable(),
3462
4020
  supportsEIP3009: z$1.boolean(),
3463
- nearIntentsAssetId: z$1.string().nullable(),
3464
4021
  listed: z$1.boolean(),
3465
4022
  deletedAt: z$1.iso.datetime().nullable(),
3466
4023
  createdAt: z$1.iso.datetime(),
@@ -3588,6 +4145,7 @@ const zQuote = z$1.strictObject({
3588
4145
  swapPool: z$1.string().nullable(),
3589
4146
  reference: z$1.string().nullable(),
3590
4147
  meta: z$1.record(z$1.string(), z$1.unknown()).nullable(),
4148
+ channel: z$1.enum(["checkout", "x402"]),
3591
4149
  expiresAt: z$1.iso.datetime(),
3592
4150
  createdAt: z$1.iso.datetime(),
3593
4151
  updatedAt: z$1.iso.datetime()
@@ -3619,6 +4177,7 @@ const zQuoteDetails = z$1.strictObject({
3619
4177
  swapPool: z$1.string().nullable(),
3620
4178
  reference: z$1.string().nullable(),
3621
4179
  meta: z$1.record(z$1.string(), z$1.unknown()).nullable(),
4180
+ channel: z$1.enum(["checkout", "x402"]),
3622
4181
  expiresAt: z$1.iso.datetime(),
3623
4182
  createdAt: z$1.iso.datetime(),
3624
4183
  updatedAt: z$1.iso.datetime(),
@@ -3640,6 +4199,12 @@ const zTransfer = z$1.strictObject({
3640
4199
  appId: z$1.uuid(),
3641
4200
  quoteId: z$1.uuid(),
3642
4201
  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_-]+)?)$/),
4202
+ settlement: z$1.enum(["Payout", "Local"]),
4203
+ settlementReason: z$1.enum([
4204
+ "NoPayoutSet",
4205
+ "NoCctpRoute",
4206
+ "SettlementTokenNotUsdc"
4207
+ ]),
3643
4208
  minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
3644
4209
  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
4210
  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 +4225,16 @@ const zTransfer = z$1.strictObject({
3660
4225
  expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
3661
4226
  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
4227
  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_-]+)?)$/)
4228
+ 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_-]+)?)$/),
4229
+ cctp: z$1.strictObject({
4230
+ 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_-]+)?)$/),
4231
+ destinationDomain: z$1.int(),
4232
+ mintRecipient: z$1.string(),
4233
+ destinationCaller: z$1.string(),
4234
+ hookData: z$1.string(),
4235
+ maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
4236
+ minFinalityThreshold: z$1.int()
4237
+ }).optional()
3664
4238
  }),
3665
4239
  z$1.strictObject({
3666
4240
  id: z$1.string(),
@@ -3700,7 +4274,16 @@ const zTransfer = z$1.strictObject({
3700
4274
  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
4275
  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
4276
  }).nullable(),
3703
- implementation: z$1.string()
4277
+ implementation: z$1.string(),
4278
+ cctp: z$1.strictObject({
4279
+ 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_-]+)?)$/),
4280
+ destination_domain: z$1.int(),
4281
+ mint_recipient: z$1.string(),
4282
+ destination_caller: z$1.string(),
4283
+ hook_data: z$1.string(),
4284
+ max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
4285
+ min_finality_threshold: z$1.int()
4286
+ }).nullish()
3704
4287
  }),
3705
4288
  z$1.strictObject({
3706
4289
  id: z$1.string(),
@@ -3734,6 +4317,7 @@ const zTransfer = z$1.strictObject({
3734
4317
  x402Payer: z$1.string().nullable(),
3735
4318
  x402AuthorizationNonce: z$1.string().nullable(),
3736
4319
  x402AuthorizationHash: z$1.string().nullable(),
4320
+ settlementCallId: z$1.string().nullable(),
3737
4321
  x402SettlementCallId: z$1.string().nullable(),
3738
4322
  x402BlockchainHash: z$1.string().nullable(),
3739
4323
  x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
@@ -3750,42 +4334,40 @@ const zTransferTimelineEntry = z$1.strictObject({
3750
4334
  createdAt: z$1.iso.datetime()
3751
4335
  });
3752
4336
  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
4337
  status: z$1.enum([
3762
4338
  "Pending",
3763
- "Processing",
4339
+ "Burned",
4340
+ "Attested",
3764
4341
  "Delivered",
3765
- "Refunded",
4342
+ "Fallback",
3766
4343
  "Failed"
3767
4344
  ]),
3768
- amountOut: z$1.string().max(78).regex(/^[0-9]+$/).nullable(),
3769
- refundedAmount: z$1.string().max(78).regex(/^[0-9]+$/).nullable(),
3770
- blockchainHash: z$1.string().nullable(),
3771
- explorerUrl: z$1.string().nullable(),
3772
- reason: z$1.string().nullable(),
4345
+ destinationChainId: z$1.uuid(),
4346
+ destinationCaip2Id: z$1.string(),
4347
+ 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_-]+)?)$/),
4348
+ amount: z$1.string().max(78).regex(/^[0-9]+$/).nullable(),
4349
+ maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
4350
+ burnHash: z$1.string().nullable(),
4351
+ burnExplorerUrl: z$1.string().nullable(),
4352
+ destinationHash: z$1.string().nullable(),
4353
+ destinationExplorerUrl: z$1.string().nullable(),
4354
+ attested: z$1.boolean(),
4355
+ attempts: z$1.int(),
4356
+ error: z$1.string().nullable(),
3773
4357
  createdAt: z$1.iso.datetime(),
3774
4358
  updatedAt: z$1.iso.datetime()
3775
4359
  });
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
4360
  const zTransferDetails = z$1.strictObject({
3785
4361
  id: z$1.uuid(),
3786
4362
  appId: z$1.uuid(),
3787
4363
  quoteId: z$1.uuid(),
3788
4364
  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_-]+)?)$/),
4365
+ settlement: z$1.enum(["Payout", "Local"]),
4366
+ settlementReason: z$1.enum([
4367
+ "NoPayoutSet",
4368
+ "NoCctpRoute",
4369
+ "SettlementTokenNotUsdc"
4370
+ ]),
3789
4371
  minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
3790
4372
  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
4373
  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 +4388,16 @@ const zTransferDetails = z$1.strictObject({
3806
4388
  expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
3807
4389
  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
4390
  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_-]+)?)$/)
4391
+ 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_-]+)?)$/),
4392
+ cctp: z$1.strictObject({
4393
+ 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_-]+)?)$/),
4394
+ destinationDomain: z$1.int(),
4395
+ mintRecipient: z$1.string(),
4396
+ destinationCaller: z$1.string(),
4397
+ hookData: z$1.string(),
4398
+ maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
4399
+ minFinalityThreshold: z$1.int()
4400
+ }).optional()
3810
4401
  }),
3811
4402
  z$1.strictObject({
3812
4403
  id: z$1.string(),
@@ -3846,7 +4437,16 @@ const zTransferDetails = z$1.strictObject({
3846
4437
  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
4438
  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
4439
  }).nullable(),
3849
- implementation: z$1.string()
4440
+ implementation: z$1.string(),
4441
+ cctp: z$1.strictObject({
4442
+ 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_-]+)?)$/),
4443
+ destination_domain: z$1.int(),
4444
+ mint_recipient: z$1.string(),
4445
+ destination_caller: z$1.string(),
4446
+ hook_data: z$1.string(),
4447
+ max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
4448
+ min_finality_threshold: z$1.int()
4449
+ }).nullish()
3850
4450
  }),
3851
4451
  z$1.strictObject({
3852
4452
  id: z$1.string(),
@@ -3880,6 +4480,7 @@ const zTransferDetails = z$1.strictObject({
3880
4480
  x402Payer: z$1.string().nullable(),
3881
4481
  x402AuthorizationNonce: z$1.string().nullable(),
3882
4482
  x402AuthorizationHash: z$1.string().nullable(),
4483
+ settlementCallId: z$1.string().nullable(),
3883
4484
  x402SettlementCallId: z$1.string().nullable(),
3884
4485
  x402BlockchainHash: z$1.string().nullable(),
3885
4486
  x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
@@ -3888,14 +4489,20 @@ const zTransferDetails = z$1.strictObject({
3888
4489
  createdAt: z$1.iso.datetime(),
3889
4490
  updatedAt: z$1.iso.datetime(),
3890
4491
  timeline: z$1.array(zTransferTimelineEntry),
3891
- payout: zPayout.nullable(),
3892
- quote: zQuoteDetails
4492
+ quote: zQuoteDetails,
4493
+ payout: zPayout.nullable()
3893
4494
  });
3894
4495
  const zTransferListItem = z$1.strictObject({
3895
4496
  id: z$1.uuid(),
3896
4497
  appId: z$1.uuid(),
3897
4498
  quoteId: z$1.uuid(),
3898
4499
  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_-]+)?)$/),
4500
+ settlement: z$1.enum(["Payout", "Local"]),
4501
+ settlementReason: z$1.enum([
4502
+ "NoPayoutSet",
4503
+ "NoCctpRoute",
4504
+ "SettlementTokenNotUsdc"
4505
+ ]),
3899
4506
  minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
3900
4507
  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
4508
  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 +4523,16 @@ const zTransferListItem = z$1.strictObject({
3916
4523
  expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
3917
4524
  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
4525
  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_-]+)?)$/)
4526
+ 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_-]+)?)$/),
4527
+ cctp: z$1.strictObject({
4528
+ 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_-]+)?)$/),
4529
+ destinationDomain: z$1.int(),
4530
+ mintRecipient: z$1.string(),
4531
+ destinationCaller: z$1.string(),
4532
+ hookData: z$1.string(),
4533
+ maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
4534
+ minFinalityThreshold: z$1.int()
4535
+ }).optional()
3920
4536
  }),
3921
4537
  z$1.strictObject({
3922
4538
  id: z$1.string(),
@@ -3956,7 +4572,16 @@ const zTransferListItem = z$1.strictObject({
3956
4572
  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
4573
  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
4574
  }).nullable(),
3959
- implementation: z$1.string()
4575
+ implementation: z$1.string(),
4576
+ cctp: z$1.strictObject({
4577
+ 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_-]+)?)$/),
4578
+ destination_domain: z$1.int(),
4579
+ mint_recipient: z$1.string(),
4580
+ destination_caller: z$1.string(),
4581
+ hook_data: z$1.string(),
4582
+ max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
4583
+ min_finality_threshold: z$1.int()
4584
+ }).nullish()
3960
4585
  }),
3961
4586
  z$1.strictObject({
3962
4587
  id: z$1.string(),
@@ -3990,6 +4615,7 @@ const zTransferListItem = z$1.strictObject({
3990
4615
  x402Payer: z$1.string().nullable(),
3991
4616
  x402AuthorizationNonce: z$1.string().nullable(),
3992
4617
  x402AuthorizationHash: z$1.string().nullable(),
4618
+ settlementCallId: z$1.string().nullable(),
3993
4619
  x402SettlementCallId: z$1.string().nullable(),
3994
4620
  x402BlockchainHash: z$1.string().nullable(),
3995
4621
  x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
@@ -3998,8 +4624,8 @@ const zTransferListItem = z$1.strictObject({
3998
4624
  createdAt: z$1.iso.datetime(),
3999
4625
  updatedAt: z$1.iso.datetime(),
4000
4626
  timeline: z$1.array(zTransferTimelineEntry),
4001
- payout: zPayout.nullable(),
4002
4627
  quote: zQuoteDetails,
4628
+ payout: zPayout.nullable(),
4003
4629
  app: z$1.strictObject({
4004
4630
  id: z$1.uuid(),
4005
4631
  icon: z$1.string().nullable(),
@@ -4017,6 +4643,12 @@ const zCreatedTransfer = z$1.strictObject({
4017
4643
  appId: z$1.uuid(),
4018
4644
  quoteId: z$1.uuid(),
4019
4645
  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_-]+)?)$/),
4646
+ settlement: z$1.enum(["Payout", "Local"]),
4647
+ settlementReason: z$1.enum([
4648
+ "NoPayoutSet",
4649
+ "NoCctpRoute",
4650
+ "SettlementTokenNotUsdc"
4651
+ ]),
4020
4652
  minAmountOut: z$1.string().max(78).regex(/^[0-9]+$/),
4021
4653
  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
4654
  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 +4669,16 @@ const zCreatedTransfer = z$1.strictObject({
4037
4669
  expiresAt: z$1.string().max(78).regex(/^[0-9]+$/),
4038
4670
  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
4671
  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_-]+)?)$/)
4672
+ 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_-]+)?)$/),
4673
+ cctp: z$1.strictObject({
4674
+ 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_-]+)?)$/),
4675
+ destinationDomain: z$1.int(),
4676
+ mintRecipient: z$1.string(),
4677
+ destinationCaller: z$1.string(),
4678
+ hookData: z$1.string(),
4679
+ maxFee: z$1.string().max(78).regex(/^[0-9]+$/),
4680
+ minFinalityThreshold: z$1.int()
4681
+ }).optional()
4041
4682
  }),
4042
4683
  z$1.strictObject({
4043
4684
  id: z$1.string(),
@@ -4077,7 +4718,16 @@ const zCreatedTransfer = z$1.strictObject({
4077
4718
  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
4719
  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
4720
  }).nullable(),
4080
- implementation: z$1.string()
4721
+ implementation: z$1.string(),
4722
+ cctp: z$1.strictObject({
4723
+ 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_-]+)?)$/),
4724
+ destination_domain: z$1.int(),
4725
+ mint_recipient: z$1.string(),
4726
+ destination_caller: z$1.string(),
4727
+ hook_data: z$1.string(),
4728
+ max_fee: z$1.string().max(78).regex(/^[0-9]+$/),
4729
+ min_finality_threshold: z$1.int()
4730
+ }).nullish()
4081
4731
  }),
4082
4732
  z$1.strictObject({
4083
4733
  id: z$1.string(),
@@ -4111,6 +4761,7 @@ const zCreatedTransfer = z$1.strictObject({
4111
4761
  x402Payer: z$1.string().nullable(),
4112
4762
  x402AuthorizationNonce: z$1.string().nullable(),
4113
4763
  x402AuthorizationHash: z$1.string().nullable(),
4764
+ settlementCallId: z$1.string().nullable(),
4114
4765
  x402SettlementCallId: z$1.string().nullable(),
4115
4766
  x402BlockchainHash: z$1.string().nullable(),
4116
4767
  x402LeaseExpiresAt: z$1.iso.datetime().nullable(),
@@ -4128,14 +4779,16 @@ const zCreatedTransfer = z$1.strictObject({
4128
4779
  });
4129
4780
  const zWebhook = z$1.strictObject({
4130
4781
  id: z$1.uuid(),
4131
- appId: z$1.uuid(),
4782
+ appId: z$1.uuid().nullable(),
4132
4783
  url: z$1.string(),
4133
4784
  label: z$1.string(),
4134
4785
  categories: z$1.array(z$1.enum([
4135
4786
  "Transfer",
4136
4787
  "Deposit",
4137
4788
  "Recovery",
4138
- "ExcessRefund"
4789
+ "ExcessRefund",
4790
+ "Chain",
4791
+ "Payout"
4139
4792
  ])),
4140
4793
  signingKeyHint: z$1.string(),
4141
4794
  maxRetries: z$1.int(),
@@ -4153,14 +4806,16 @@ const zWebhookPage = z$1.strictObject({
4153
4806
  });
4154
4807
  const zCreatedWebhook = z$1.strictObject({
4155
4808
  id: z$1.uuid(),
4156
- appId: z$1.uuid(),
4809
+ appId: z$1.uuid().nullable(),
4157
4810
  url: z$1.string(),
4158
4811
  label: z$1.string(),
4159
4812
  categories: z$1.array(z$1.enum([
4160
4813
  "Transfer",
4161
4814
  "Deposit",
4162
4815
  "Recovery",
4163
- "ExcessRefund"
4816
+ "ExcessRefund",
4817
+ "Chain",
4818
+ "Payout"
4164
4819
  ])),
4165
4820
  signingKeyHint: z$1.string(),
4166
4821
  maxRetries: z$1.int(),
@@ -4195,12 +4850,14 @@ const zWebhookDeliveryPage = z$1.strictObject({
4195
4850
  const zEvent = z$1.strictObject({
4196
4851
  id: z$1.uuid(),
4197
4852
  sourceId: z$1.string().nullable(),
4198
- appId: z$1.uuid(),
4853
+ appId: z$1.uuid().nullable(),
4199
4854
  category: z$1.enum([
4200
4855
  "Transfer",
4201
4856
  "Deposit",
4202
4857
  "Recovery",
4203
- "ExcessRefund"
4858
+ "ExcessRefund",
4859
+ "Chain",
4860
+ "Payout"
4204
4861
  ]),
4205
4862
  previousCategoryStatus: z$1.string().nullable(),
4206
4863
  currentCategoryStatus: z$1.string(),
@@ -4226,14 +4883,9 @@ const zProviderStatus = z$1.strictObject({
4226
4883
  "Alchemy",
4227
4884
  "QuickNode",
4228
4885
  "Thirdweb",
4229
- "TrustWallet",
4230
- "NearIntents"
4231
- ]),
4232
- action: z$1.enum([
4233
- "GasSponsor",
4234
- "OnchainNotifier",
4235
- "Payout"
4886
+ "TrustWallet"
4236
4887
  ]),
4888
+ action: z$1.enum(["GasSponsor", "OnchainNotifier"]),
4237
4889
  configured: z$1.boolean(),
4238
4890
  keys: z$1.array(z$1.strictObject({
4239
4891
  key: z$1.enum([
@@ -4245,8 +4897,7 @@ const zProviderStatus = z$1.strictObject({
4245
4897
  "QuickNodeEvmContractEvents_ContractsListName",
4246
4898
  "QuickNodeEvmContractEvents_EventHashesListName",
4247
4899
  "QuickNodeWebhookSecurityToken",
4248
- "ThirdwebSecretKey",
4249
- "NearIntentsApiKey"
4900
+ "ThirdwebSecretKey"
4250
4901
  ]),
4251
4902
  type: z$1.enum(["String", "SecureString"]),
4252
4903
  required: z$1.boolean(),
@@ -4276,6 +4927,17 @@ const zSystemInfo = z$1.strictObject({
4276
4927
  explorerUrl: z$1.string().nullable()
4277
4928
  }))
4278
4929
  });
4930
+ const zOperatorGas = z$1.strictObject({
4931
+ chainId: z$1.uuid(),
4932
+ caip2Id: z$1.string(),
4933
+ 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_-]+)?)$/),
4934
+ balance: z$1.string().nullable(),
4935
+ symbol: z$1.string(),
4936
+ decimals: z$1.int(),
4937
+ sponsored: z$1.boolean(),
4938
+ low: z$1.boolean()
4939
+ });
4940
+ const zOperatorGasList = z$1.array(zOperatorGas);
4279
4941
  const zStats = z$1.strictObject({
4280
4942
  from: z$1.iso.datetime(),
4281
4943
  to: z$1.iso.datetime(),
@@ -4459,8 +5121,8 @@ const zAppsUpdateBody = z$1.strictObject({
4459
5121
  websiteUrl: z$1.url().max(2048).nullish(),
4460
5122
  termsOfServiceUrl: z$1.url().max(2048).nullish(),
4461
5123
  privacyPolicyUrl: z$1.url().max(2048).nullish(),
4462
- payoutAsset: z$1.string().min(1).max(256).nullish(),
4463
- payoutAddress: z$1.string().min(1).max(256).nullish()
5124
+ payoutChainId: z$1.uuid().nullish(),
5125
+ 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
5126
  });
4465
5127
  /**
4466
5128
  * Response for status 200
@@ -4472,8 +5134,8 @@ const zAppsCreateBody = z$1.object({
4472
5134
  websiteUrl: z$1.url().max(2048).nullish(),
4473
5135
  termsOfServiceUrl: z$1.url().max(2048).nullish(),
4474
5136
  privacyPolicyUrl: z$1.url().max(2048).nullish(),
4475
- payoutAsset: z$1.string().min(1).max(256).nullish(),
4476
- payoutAddress: z$1.string().min(1).max(256).nullish()
5137
+ payoutChainId: z$1.uuid().nullish(),
5138
+ 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
5139
  });
4478
5140
  /**
4479
5141
  * Response for status 201
@@ -4488,12 +5150,40 @@ const zAppsRemoveChainPath = z$1.object({ chainId: z$1.uuid() });
4488
5150
  * Response for status 200
4489
5151
  */
4490
5152
  const zAppsRemoveChainResponse = zAppChain;
5153
+ const zAppsUpdateChainBody = z$1.strictObject({ x402Enabled: z$1.boolean() });
5154
+ const zAppsUpdateChainPath = z$1.object({ chainId: z$1.uuid() });
5155
+ /**
5156
+ * Response for status 200
5157
+ */
5158
+ const zAppsUpdateChainResponse = zAppChain;
4491
5159
  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
5160
  const zAppsSetChainPath = z$1.object({ chainId: z$1.uuid() });
4493
5161
  /**
4494
5162
  * Response for status 200
4495
5163
  */
4496
5164
  const zAppsSetChainResponse = zAppChain;
5165
+ const zAppsSetX402Body = z$1.strictObject({ enabled: z$1.boolean() });
5166
+ const zAppsSetX402Path = z$1.object({ appId: z$1.uuid() });
5167
+ /**
5168
+ * Response for status 200
5169
+ */
5170
+ const zAppsSetX402Response = zApp;
5171
+ const zAppsDisallowX402ChainPath = z$1.object({
5172
+ appId: z$1.uuid(),
5173
+ chainId: z$1.uuid()
5174
+ });
5175
+ /**
5176
+ * Response for status 200
5177
+ */
5178
+ const zAppsDisallowX402ChainResponse = zApp;
5179
+ const zAppsAllowX402ChainPath = z$1.object({
5180
+ appId: z$1.uuid(),
5181
+ chainId: z$1.uuid()
5182
+ });
5183
+ /**
5184
+ * Response for status 200
5185
+ */
5186
+ const zAppsAllowX402ChainResponse = zApp;
4497
5187
  const zApiKeysListQuery = z$1.object({
4498
5188
  q: z$1.string().max(100).optional(),
4499
5189
  page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
@@ -4580,7 +5270,10 @@ const zChainsDeletePath = z$1.object({ id: z$1.uuid() });
4580
5270
  * Response for status 200
4581
5271
  */
4582
5272
  const zChainsDeleteResponse = zChain;
4583
- const zChainsUpdateBody = z$1.strictObject({ isActive: z$1.boolean() });
5273
+ const zChainsUpdateBody = z$1.strictObject({
5274
+ isActive: z$1.boolean().optional(),
5275
+ x402Enabled: z$1.boolean().optional()
5276
+ });
4584
5277
  const zChainsUpdatePath = z$1.object({ id: z$1.uuid() });
4585
5278
  /**
4586
5279
  * Response for status 200
@@ -4596,17 +5289,16 @@ const zChainsConfigureBody = z$1.strictObject({
4596
5289
  "Alchemy",
4597
5290
  "QuickNode",
4598
5291
  "Thirdweb",
4599
- "TrustWallet",
4600
- "NearIntents"
5292
+ "TrustWallet"
4601
5293
  ])),
4602
5294
  gasSponsorProviders: z$1.array(z$1.enum([
4603
5295
  "Alchemy",
4604
5296
  "QuickNode",
4605
5297
  "Thirdweb",
4606
- "TrustWallet",
4607
- "NearIntents"
5298
+ "TrustWallet"
4608
5299
  ])),
4609
- maxGasPrice: z$1.string().max(78).regex(/^[0-9]+$/).nullish()
5300
+ maxGasPrice: z$1.string().max(78).regex(/^[0-9]+$/).nullish(),
5301
+ x402Enabled: z$1.boolean().optional()
4610
5302
  });
4611
5303
  const zChainsConfigurePath = z$1.object({ id: z$1.uuid() });
4612
5304
  /**
@@ -4621,10 +5313,6 @@ const zTokensGetByAddressPath = z$1.object({
4621
5313
  * Response for status 200
4622
5314
  */
4623
5315
  const zTokensGetByAddressResponse = zTokenWithChain;
4624
- /**
4625
- * Response for status 200
4626
- */
4627
- const zTokensListPayoutsResponse = zPayoutTokenList;
4628
5316
  const zTokensListQuery = z$1.object({
4629
5317
  chainId: z$1.uuid().optional(),
4630
5318
  q: z$1.string().max(100).optional(),
@@ -4749,6 +5437,10 @@ const zFeesCreateBody = z$1.strictObject({
4749
5437
  _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
5438
  _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
5439
  }).optional() }).optional(),
5440
+ channel: z$1.strictObject({
5441
+ _eq: z$1.enum(["checkout", "x402"]).optional(),
5442
+ _in: z$1.array(z$1.enum(["checkout", "x402"])).optional()
5443
+ }).optional(),
4752
5444
  sourceAmount: z$1.strictObject({
4753
5445
  _eq: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
4754
5446
  _gt: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
@@ -4789,6 +5481,10 @@ const zFeesUpdateBody = z$1.strictObject({
4789
5481
  _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
5482
  _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
5483
  }).optional() }).optional(),
5484
+ channel: z$1.strictObject({
5485
+ _eq: z$1.enum(["checkout", "x402"]).optional(),
5486
+ _in: z$1.array(z$1.enum(["checkout", "x402"])).optional()
5487
+ }).optional(),
4792
5488
  sourceAmount: z$1.strictObject({
4793
5489
  _eq: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
4794
5490
  _gt: z$1.string().max(78).regex(/^[0-9]+$/).optional(),
@@ -4827,8 +5523,7 @@ const zKvSetPath = z$1.object({ key: z$1.union([z$1.enum([
4827
5523
  "QuickNodeEvmContractEvents_ContractsListName",
4828
5524
  "QuickNodeEvmContractEvents_EventHashesListName",
4829
5525
  "QuickNodeWebhookSecurityToken",
4830
- "ThirdwebSecretKey",
4831
- "NearIntentsApiKey"
5526
+ "ThirdwebSecretKey"
4832
5527
  ]), z$1.string().regex(/^(?:AlchemyAddressActivity_Webhook|AlchemyContractEvents_Webhook|QuickNodeEvmWalletFilter_WebhookId|QuickNodeEvmContractEvents_WebhookId):[A-Za-z0-9_-]+$/)]) });
4833
5528
  /**
4834
5529
  * Response for status 200
@@ -4838,6 +5533,10 @@ const zKvSetResponse = zKvEntry;
4838
5533
  * Response for status 200
4839
5534
  */
4840
5535
  const zOverviewInfoResponse = zSystemInfo;
5536
+ /**
5537
+ * Response for status 200
5538
+ */
5539
+ const zOverviewGasResponse = zOperatorGasList;
4841
5540
  const zOverviewStatsQuery = z$1.object({
4842
5541
  from: z$1.iso.datetime(),
4843
5542
  to: z$1.iso.datetime(),
@@ -4853,8 +5552,11 @@ const zOverviewEventsQuery = z$1.object({
4853
5552
  "Transfer",
4854
5553
  "Deposit",
4855
5554
  "Recovery",
4856
- "ExcessRefund"
5555
+ "ExcessRefund",
5556
+ "Chain",
5557
+ "Payout"
4857
5558
  ]).optional(),
5559
+ system: z$1.boolean().optional(),
4858
5560
  page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
4859
5561
  pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
4860
5562
  });
@@ -4974,6 +5676,7 @@ const zPriceFeedsDeleteResponse = z$1.strictObject({ id: z$1.uuid() });
4974
5676
  const zQuotesListQuery = z$1.object({
4975
5677
  customerId: z$1.uuid().optional(),
4976
5678
  paymentLinkId: z$1.uuid().optional(),
5679
+ channel: z$1.enum(["checkout", "x402"]).optional(),
4977
5680
  q: z$1.string().max(100).optional(),
4978
5681
  page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
4979
5682
  pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
@@ -4990,7 +5693,8 @@ const zQuotesCreateBody = z$1.strictObject({
4990
5693
  price: z$1.string().regex(/^(?:0|[1-9][0-9]{0,19})(?:\.[0-9]{1,18})?$/).optional(),
4991
5694
  customerId: z$1.uuid().optional(),
4992
5695
  reference: z$1.string().min(1).max(255).optional(),
4993
- meta: z$1.record(z$1.string(), z$1.unknown()).optional()
5696
+ meta: z$1.record(z$1.string(), z$1.unknown()).optional(),
5697
+ channel: z$1.enum(["checkout", "x402"]).optional()
4994
5698
  });
4995
5699
  /**
4996
5700
  * Response for status 201
@@ -5039,6 +5743,11 @@ const zTransfersGetPath = z$1.object({ id: z$1.uuid() });
5039
5743
  * Response for status 200
5040
5744
  */
5041
5745
  const zTransfersGetResponse = zTransferDetails;
5746
+ const zTransfersRetryPayoutPath = z$1.object({ id: z$1.uuid() });
5747
+ /**
5748
+ * Response for status 200
5749
+ */
5750
+ const zTransfersRetryPayoutResponse = zPayout;
5042
5751
  const zTransfersRefundBody = z$1.strictObject({ useGasSponsor: z$1.boolean().optional() });
5043
5752
  const zTransfersRefundPath = z$1.object({ id: z$1.uuid() });
5044
5753
  /**
@@ -5077,7 +5786,9 @@ const zWebhooksCreateBody = z$1.strictObject({
5077
5786
  "Transfer",
5078
5787
  "Deposit",
5079
5788
  "Recovery",
5080
- "ExcessRefund"
5789
+ "ExcessRefund",
5790
+ "Chain",
5791
+ "Payout"
5081
5792
  ])).min(1),
5082
5793
  maxRetries: z$1.union([z$1.string(), z$1.int().gte(0).lte(20)]).optional(),
5083
5794
  retryIntervalInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(86400)]).optional(),
@@ -5087,6 +5798,68 @@ const zWebhooksCreateBody = z$1.strictObject({
5087
5798
  * Response for status 201
5088
5799
  */
5089
5800
  const zWebhooksCreateResponse = zCreatedWebhook;
5801
+ const zWebhooksListSystemQuery = z$1.object({
5802
+ q: z$1.string().max(100).optional(),
5803
+ page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
5804
+ pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
5805
+ });
5806
+ /**
5807
+ * Response for status 200
5808
+ */
5809
+ const zWebhooksListSystemResponse = zWebhookPage;
5810
+ const zWebhooksCreateSystemBody = z$1.strictObject({
5811
+ url: z$1.url().max(2048).regex(/^https?:\/\//),
5812
+ label: z$1.string().min(1).max(120),
5813
+ categories: z$1.array(z$1.enum([
5814
+ "Transfer",
5815
+ "Deposit",
5816
+ "Recovery",
5817
+ "ExcessRefund",
5818
+ "Chain",
5819
+ "Payout"
5820
+ ])).min(1),
5821
+ maxRetries: z$1.union([z$1.string(), z$1.int().gte(0).lte(20)]).optional(),
5822
+ retryIntervalInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(86400)]).optional(),
5823
+ timeoutInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(120)]).optional()
5824
+ });
5825
+ /**
5826
+ * Response for status 201
5827
+ */
5828
+ const zWebhooksCreateSystemResponse = zCreatedWebhook;
5829
+ const zWebhooksDeleteSystemPath = z$1.object({ id: z$1.uuid() });
5830
+ /**
5831
+ * Response for status 200
5832
+ */
5833
+ const zWebhooksDeleteSystemResponse = zWebhook;
5834
+ const zWebhooksUpdateSystemBody = z$1.strictObject({
5835
+ url: z$1.url().max(2048).regex(/^https?:\/\//).optional(),
5836
+ label: z$1.string().min(1).max(120).optional(),
5837
+ categories: z$1.array(z$1.enum([
5838
+ "Transfer",
5839
+ "Deposit",
5840
+ "Recovery",
5841
+ "ExcessRefund",
5842
+ "Chain",
5843
+ "Payout"
5844
+ ])).min(1).optional(),
5845
+ maxRetries: z$1.union([z$1.string(), z$1.int().gte(0).lte(20)]).optional(),
5846
+ retryIntervalInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(86400)]).optional(),
5847
+ timeoutInSeconds: z$1.union([z$1.string(), z$1.int().gte(1).lte(120)]).optional()
5848
+ });
5849
+ const zWebhooksUpdateSystemPath = z$1.object({ id: z$1.uuid() });
5850
+ /**
5851
+ * Response for status 200
5852
+ */
5853
+ const zWebhooksUpdateSystemResponse = zWebhook;
5854
+ const zWebhooksListSystemDeliveriesPath = z$1.object({ id: z$1.uuid() });
5855
+ const zWebhooksListSystemDeliveriesQuery = z$1.object({
5856
+ page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
5857
+ pageSize: z$1.union([z$1.string(), z$1.number().gte(1).lte(100)]).optional()
5858
+ });
5859
+ /**
5860
+ * Response for status 200
5861
+ */
5862
+ const zWebhooksListSystemDeliveriesResponse = zWebhookDeliveryPage;
5090
5863
  const zWebhooksListDeliveriesPath = z$1.object({ id: z$1.uuid() });
5091
5864
  const zWebhooksListDeliveriesQuery = z$1.object({
5092
5865
  page: z$1.union([z$1.string(), z$1.number().gte(1)]).optional(),
@@ -5218,7 +5991,7 @@ const registerTools = (server, kite, baseUrl) => {
5218
5991
  };
5219
5992
  //#endregion
5220
5993
  //#region package.json
5221
- var version = "0.1.1";
5994
+ var version = "0.2.0";
5222
5995
  //#endregion
5223
5996
  //#region src/index.ts
5224
5997
  const env = process.env;