@settlemint/sdk-utils 2.4.0-pra6821f69 → 2.4.0-pra779099b

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 CHANGED
@@ -79,10 +79,16 @@
79
79
  - [LoggerOptions](#loggeroptions)
80
80
  - [SpinnerOptions\<R\>](#spinneroptionsr)
81
81
  - [Type Aliases](#type-aliases)
82
+ - [AccessToken](#accesstoken)
83
+ - [ApplicationAccessToken](#applicationaccesstoken)
82
84
  - [DotEnv](#dotenv)
83
85
  - [DotEnvPartial](#dotenvpartial)
84
86
  - [Id](#id)
85
87
  - [LogLevel](#loglevel)
88
+ - [PersonalAccessToken](#personalaccesstoken)
89
+ - [Url](#url)
90
+ - [UrlOrPath](#urlorpath)
91
+ - [UrlPath](#urlpath)
86
92
  - [Variables](#variables)
87
93
  - [AccessTokenSchema](#accesstokenschema)
88
94
  - [ApplicationAccessTokenSchema](#applicationaccesstokenschema)
@@ -1694,29 +1700,139 @@ Options for configuring the spinner behavior
1694
1700
 
1695
1701
  ### Type Aliases
1696
1702
 
1703
+ #### AccessToken
1704
+
1705
+ > **AccessToken** = `string`
1706
+
1707
+ Defined in: [sdk/utils/src/validation/access-token.schema.ts:22](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/access-token.schema.ts#L22)
1708
+
1709
+ Schema for validating both application and personal access tokens.
1710
+ Accepts tokens starting with either 'sm_pat_' or 'sm_aat_' prefix.
1711
+
1712
+ ***
1713
+
1714
+ #### ApplicationAccessToken
1715
+
1716
+ > **ApplicationAccessToken** = `string`
1717
+
1718
+ Defined in: [sdk/utils/src/validation/access-token.schema.ts:8](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/access-token.schema.ts#L8)
1719
+
1720
+ Schema for validating application access tokens.
1721
+ Application access tokens start with 'sm_aat_' prefix.
1722
+
1723
+ ***
1724
+
1697
1725
  #### DotEnv
1698
1726
 
1699
- > **DotEnv** = `z.infer`\<*typeof* [`DotEnvSchema`](#dotenvschema)\>
1727
+ > **DotEnv** = `object`
1700
1728
 
1701
1729
  Defined in: [sdk/utils/src/validation/dot-env.schema.ts:112](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L112)
1702
1730
 
1703
1731
  Type definition for the environment variables schema.
1704
1732
 
1733
+ ##### Type declaration
1734
+
1735
+ | Name | Type | Description | Defined in |
1736
+ | ------ | ------ | ------ | ------ |
1737
+ | <a id="settlemint_access_token"></a> `SETTLEMINT_ACCESS_TOKEN?` | `string` | Application access token for authenticating with SettleMint services | [sdk/utils/src/validation/dot-env.schema.ts:27](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L27) |
1738
+ | <a id="settlemint_accessible_private_key"></a> `SETTLEMINT_ACCESSIBLE_PRIVATE_KEY?` | `string` | Unique name of the accessible private key | [sdk/utils/src/validation/dot-env.schema.ts:76](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L76) |
1739
+ | <a id="settlemint_application"></a> `SETTLEMINT_APPLICATION?` | `string` | Unique name of the application | [sdk/utils/src/validation/dot-env.schema.ts:33](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L33) |
1740
+ | <a id="settlemint_blockchain_network"></a> `SETTLEMINT_BLOCKCHAIN_NETWORK?` | `string` | Unique name of the blockchain network | [sdk/utils/src/validation/dot-env.schema.ts:35](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L35) |
1741
+ | <a id="settlemint_blockchain_network_chain_id"></a> `SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID?` | `string` | Chain ID of the blockchain network | [sdk/utils/src/validation/dot-env.schema.ts:37](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L37) |
1742
+ | <a id="settlemint_blockchain_node"></a> `SETTLEMINT_BLOCKCHAIN_NODE?` | `string` | Unique name of the blockchain node (should have a private key for signing transactions) | [sdk/utils/src/validation/dot-env.schema.ts:39](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L39) |
1743
+ | <a id="settlemint_blockchain_node_json_rpc_endpoint"></a> `SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT?` | `string` | JSON RPC endpoint for the blockchain node | [sdk/utils/src/validation/dot-env.schema.ts:41](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L41) |
1744
+ | <a id="settlemint_blockchain_node_or_load_balancer"></a> `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER?` | `string` | Unique name of the blockchain node or load balancer | [sdk/utils/src/validation/dot-env.schema.ts:43](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L43) |
1745
+ | <a id="settlemint_blockchain_node_or_load_balancer_json_rpc_endpoint"></a> `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT?` | `string` | JSON RPC endpoint for the blockchain node or load balancer | [sdk/utils/src/validation/dot-env.schema.ts:45](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L45) |
1746
+ | <a id="settlemint_blockscout"></a> `SETTLEMINT_BLOCKSCOUT?` | `string` | Unique name of the Blockscout instance | [sdk/utils/src/validation/dot-env.schema.ts:98](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L98) |
1747
+ | <a id="settlemint_blockscout_graphql_endpoint"></a> `SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT?` | `string` | GraphQL endpoint URL for Blockscout | [sdk/utils/src/validation/dot-env.schema.ts:100](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L100) |
1748
+ | <a id="settlemint_blockscout_ui_endpoint"></a> `SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT?` | `string` | UI endpoint URL for Blockscout | [sdk/utils/src/validation/dot-env.schema.ts:102](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L102) |
1749
+ | <a id="settlemint_custom_deployment"></a> `SETTLEMINT_CUSTOM_DEPLOYMENT?` | `string` | Unique name of the custom deployment | [sdk/utils/src/validation/dot-env.schema.ts:94](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L94) |
1750
+ | <a id="settlemint_custom_deployment_endpoint"></a> `SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT?` | `string` | Endpoint URL for the custom deployment | [sdk/utils/src/validation/dot-env.schema.ts:96](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L96) |
1751
+ | <a id="settlemint_hasura"></a> `SETTLEMINT_HASURA?` | `string` | Unique name of the Hasura instance | [sdk/utils/src/validation/dot-env.schema.ts:47](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L47) |
1752
+ | <a id="settlemint_hasura_admin_secret"></a> `SETTLEMINT_HASURA_ADMIN_SECRET?` | `string` | Admin secret for authenticating with Hasura | [sdk/utils/src/validation/dot-env.schema.ts:51](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L51) |
1753
+ | <a id="settlemint_hasura_database_url"></a> `SETTLEMINT_HASURA_DATABASE_URL?` | `string` | Database connection URL for Hasura | [sdk/utils/src/validation/dot-env.schema.ts:53](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L53) |
1754
+ | <a id="settlemint_hasura_endpoint"></a> `SETTLEMINT_HASURA_ENDPOINT?` | `string` | Endpoint URL for the Hasura GraphQL API | [sdk/utils/src/validation/dot-env.schema.ts:49](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L49) |
1755
+ | <a id="settlemint_hd_private_key"></a> `SETTLEMINT_HD_PRIVATE_KEY?` | `string` | Unique name of the HD private key | [sdk/utils/src/validation/dot-env.schema.ts:72](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L72) |
1756
+ | <a id="settlemint_hd_private_key_forwarder_address"></a> `SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS?` | `string` | Address of the HD private key forwarder | [sdk/utils/src/validation/dot-env.schema.ts:74](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L74) |
1757
+ | <a id="settlemint_instance"></a> `SETTLEMINT_INSTANCE` | `string` | Base URL of the SettleMint platform instance, set to standalone if your resources are not part of the SettleMint platform | [sdk/utils/src/validation/dot-env.schema.ts:23](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L23) |
1758
+ | <a id="settlemint_ipfs"></a> `SETTLEMINT_IPFS?` | `string` | Unique name of the IPFS instance | [sdk/utils/src/validation/dot-env.schema.ts:86](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L86) |
1759
+ | <a id="settlemint_ipfs_api_endpoint"></a> `SETTLEMINT_IPFS_API_ENDPOINT?` | `string` | API endpoint URL for IPFS | [sdk/utils/src/validation/dot-env.schema.ts:88](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L88) |
1760
+ | <a id="settlemint_ipfs_gateway_endpoint"></a> `SETTLEMINT_IPFS_GATEWAY_ENDPOINT?` | `string` | Gateway endpoint URL for IPFS | [sdk/utils/src/validation/dot-env.schema.ts:92](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L92) |
1761
+ | <a id="settlemint_ipfs_pinning_endpoint"></a> `SETTLEMINT_IPFS_PINNING_ENDPOINT?` | `string` | Pinning service endpoint URL for IPFS | [sdk/utils/src/validation/dot-env.schema.ts:90](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L90) |
1762
+ | <a id="settlemint_log_level"></a> `SETTLEMINT_LOG_LEVEL` | `"error"` \| `"info"` \| `"warn"` \| `"debug"` \| `"none"` | The log level to use | [sdk/utils/src/validation/dot-env.schema.ts:106](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L106) |
1763
+ | <a id="settlemint_minio"></a> `SETTLEMINT_MINIO?` | `string` | Unique name of the MinIO instance | [sdk/utils/src/validation/dot-env.schema.ts:78](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L78) |
1764
+ | <a id="settlemint_minio_access_key"></a> `SETTLEMINT_MINIO_ACCESS_KEY?` | `string` | Access key for MinIO authentication | [sdk/utils/src/validation/dot-env.schema.ts:82](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L82) |
1765
+ | <a id="settlemint_minio_endpoint"></a> `SETTLEMINT_MINIO_ENDPOINT?` | `string` | Endpoint URL for MinIO | [sdk/utils/src/validation/dot-env.schema.ts:80](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L80) |
1766
+ | <a id="settlemint_minio_secret_key"></a> `SETTLEMINT_MINIO_SECRET_KEY?` | `string` | Secret key for MinIO authentication | [sdk/utils/src/validation/dot-env.schema.ts:84](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L84) |
1767
+ | <a id="settlemint_new_project_name"></a> `SETTLEMINT_NEW_PROJECT_NAME?` | `string` | Name of the new project being created | [sdk/utils/src/validation/dot-env.schema.ts:104](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L104) |
1768
+ | <a id="settlemint_portal"></a> `SETTLEMINT_PORTAL?` | `string` | Unique name of the Smart Contract Portal instance | [sdk/utils/src/validation/dot-env.schema.ts:64](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L64) |
1769
+ | <a id="settlemint_portal_graphql_endpoint"></a> `SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?` | `string` | GraphQL endpoint URL for the Portal | [sdk/utils/src/validation/dot-env.schema.ts:66](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L66) |
1770
+ | <a id="settlemint_portal_rest_endpoint"></a> `SETTLEMINT_PORTAL_REST_ENDPOINT?` | `string` | REST endpoint URL for the Portal | [sdk/utils/src/validation/dot-env.schema.ts:68](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L68) |
1771
+ | <a id="settlemint_portal_ws_endpoint"></a> `SETTLEMINT_PORTAL_WS_ENDPOINT?` | `string` | WebSocket endpoint URL for the Portal | [sdk/utils/src/validation/dot-env.schema.ts:70](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L70) |
1772
+ | <a id="settlemint_thegraph"></a> `SETTLEMINT_THEGRAPH?` | `string` | Unique name of The Graph instance | [sdk/utils/src/validation/dot-env.schema.ts:55](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L55) |
1773
+ | <a id="settlemint_thegraph_default_subgraph"></a> `SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH?` | `string` | Default The Graph subgraph to use | [sdk/utils/src/validation/dot-env.schema.ts:62](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L62) |
1774
+ | <a id="settlemint_thegraph_subgraphs_endpoints"></a> `SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?` | `string`[] | Array of endpoint URLs for The Graph subgraphs | [sdk/utils/src/validation/dot-env.schema.ts:57](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L57) |
1775
+ | <a id="settlemint_workspace"></a> `SETTLEMINT_WORKSPACE?` | `string` | Unique name of the workspace | [sdk/utils/src/validation/dot-env.schema.ts:31](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L31) |
1776
+
1705
1777
  ***
1706
1778
 
1707
1779
  #### DotEnvPartial
1708
1780
 
1709
- > **DotEnvPartial** = `z.infer`\<*typeof* [`DotEnvSchemaPartial`](#dotenvschemapartial)\>
1781
+ > **DotEnvPartial** = `object`
1710
1782
 
1711
1783
  Defined in: [sdk/utils/src/validation/dot-env.schema.ts:123](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L123)
1712
1784
 
1713
1785
  Type definition for the partial environment variables schema.
1714
1786
 
1787
+ ##### Type declaration
1788
+
1789
+ | Name | Type | Description | Defined in |
1790
+ | ------ | ------ | ------ | ------ |
1791
+ | <a id="settlemint_access_token-1"></a> `SETTLEMINT_ACCESS_TOKEN?` | `string` | Application access token for authenticating with SettleMint services | [sdk/utils/src/validation/dot-env.schema.ts:27](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L27) |
1792
+ | <a id="settlemint_accessible_private_key-1"></a> `SETTLEMINT_ACCESSIBLE_PRIVATE_KEY?` | `string` | Unique name of the accessible private key | [sdk/utils/src/validation/dot-env.schema.ts:76](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L76) |
1793
+ | <a id="settlemint_application-1"></a> `SETTLEMINT_APPLICATION?` | `string` | Unique name of the application | [sdk/utils/src/validation/dot-env.schema.ts:33](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L33) |
1794
+ | <a id="settlemint_blockchain_network-1"></a> `SETTLEMINT_BLOCKCHAIN_NETWORK?` | `string` | Unique name of the blockchain network | [sdk/utils/src/validation/dot-env.schema.ts:35](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L35) |
1795
+ | <a id="settlemint_blockchain_network_chain_id-1"></a> `SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID?` | `string` | Chain ID of the blockchain network | [sdk/utils/src/validation/dot-env.schema.ts:37](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L37) |
1796
+ | <a id="settlemint_blockchain_node-1"></a> `SETTLEMINT_BLOCKCHAIN_NODE?` | `string` | Unique name of the blockchain node (should have a private key for signing transactions) | [sdk/utils/src/validation/dot-env.schema.ts:39](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L39) |
1797
+ | <a id="settlemint_blockchain_node_json_rpc_endpoint-1"></a> `SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT?` | `string` | JSON RPC endpoint for the blockchain node | [sdk/utils/src/validation/dot-env.schema.ts:41](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L41) |
1798
+ | <a id="settlemint_blockchain_node_or_load_balancer-1"></a> `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER?` | `string` | Unique name of the blockchain node or load balancer | [sdk/utils/src/validation/dot-env.schema.ts:43](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L43) |
1799
+ | <a id="settlemint_blockchain_node_or_load_balancer_json_rpc_endpoint-1"></a> `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT?` | `string` | JSON RPC endpoint for the blockchain node or load balancer | [sdk/utils/src/validation/dot-env.schema.ts:45](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L45) |
1800
+ | <a id="settlemint_blockscout-1"></a> `SETTLEMINT_BLOCKSCOUT?` | `string` | Unique name of the Blockscout instance | [sdk/utils/src/validation/dot-env.schema.ts:98](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L98) |
1801
+ | <a id="settlemint_blockscout_graphql_endpoint-1"></a> `SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT?` | `string` | GraphQL endpoint URL for Blockscout | [sdk/utils/src/validation/dot-env.schema.ts:100](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L100) |
1802
+ | <a id="settlemint_blockscout_ui_endpoint-1"></a> `SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT?` | `string` | UI endpoint URL for Blockscout | [sdk/utils/src/validation/dot-env.schema.ts:102](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L102) |
1803
+ | <a id="settlemint_custom_deployment-1"></a> `SETTLEMINT_CUSTOM_DEPLOYMENT?` | `string` | Unique name of the custom deployment | [sdk/utils/src/validation/dot-env.schema.ts:94](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L94) |
1804
+ | <a id="settlemint_custom_deployment_endpoint-1"></a> `SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT?` | `string` | Endpoint URL for the custom deployment | [sdk/utils/src/validation/dot-env.schema.ts:96](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L96) |
1805
+ | <a id="settlemint_hasura-1"></a> `SETTLEMINT_HASURA?` | `string` | Unique name of the Hasura instance | [sdk/utils/src/validation/dot-env.schema.ts:47](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L47) |
1806
+ | <a id="settlemint_hasura_admin_secret-1"></a> `SETTLEMINT_HASURA_ADMIN_SECRET?` | `string` | Admin secret for authenticating with Hasura | [sdk/utils/src/validation/dot-env.schema.ts:51](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L51) |
1807
+ | <a id="settlemint_hasura_database_url-1"></a> `SETTLEMINT_HASURA_DATABASE_URL?` | `string` | Database connection URL for Hasura | [sdk/utils/src/validation/dot-env.schema.ts:53](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L53) |
1808
+ | <a id="settlemint_hasura_endpoint-1"></a> `SETTLEMINT_HASURA_ENDPOINT?` | `string` | Endpoint URL for the Hasura GraphQL API | [sdk/utils/src/validation/dot-env.schema.ts:49](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L49) |
1809
+ | <a id="settlemint_hd_private_key-1"></a> `SETTLEMINT_HD_PRIVATE_KEY?` | `string` | Unique name of the HD private key | [sdk/utils/src/validation/dot-env.schema.ts:72](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L72) |
1810
+ | <a id="settlemint_hd_private_key_forwarder_address-1"></a> `SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS?` | `string` | Address of the HD private key forwarder | [sdk/utils/src/validation/dot-env.schema.ts:74](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L74) |
1811
+ | <a id="settlemint_instance-1"></a> `SETTLEMINT_INSTANCE?` | `string` | Base URL of the SettleMint platform instance, set to standalone if your resources are not part of the SettleMint platform | [sdk/utils/src/validation/dot-env.schema.ts:23](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L23) |
1812
+ | <a id="settlemint_ipfs-1"></a> `SETTLEMINT_IPFS?` | `string` | Unique name of the IPFS instance | [sdk/utils/src/validation/dot-env.schema.ts:86](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L86) |
1813
+ | <a id="settlemint_ipfs_api_endpoint-1"></a> `SETTLEMINT_IPFS_API_ENDPOINT?` | `string` | API endpoint URL for IPFS | [sdk/utils/src/validation/dot-env.schema.ts:88](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L88) |
1814
+ | <a id="settlemint_ipfs_gateway_endpoint-1"></a> `SETTLEMINT_IPFS_GATEWAY_ENDPOINT?` | `string` | Gateway endpoint URL for IPFS | [sdk/utils/src/validation/dot-env.schema.ts:92](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L92) |
1815
+ | <a id="settlemint_ipfs_pinning_endpoint-1"></a> `SETTLEMINT_IPFS_PINNING_ENDPOINT?` | `string` | Pinning service endpoint URL for IPFS | [sdk/utils/src/validation/dot-env.schema.ts:90](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L90) |
1816
+ | <a id="settlemint_log_level-1"></a> `SETTLEMINT_LOG_LEVEL?` | `"error"` \| `"info"` \| `"warn"` \| `"debug"` \| `"none"` | The log level to use | [sdk/utils/src/validation/dot-env.schema.ts:106](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L106) |
1817
+ | <a id="settlemint_minio-1"></a> `SETTLEMINT_MINIO?` | `string` | Unique name of the MinIO instance | [sdk/utils/src/validation/dot-env.schema.ts:78](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L78) |
1818
+ | <a id="settlemint_minio_access_key-1"></a> `SETTLEMINT_MINIO_ACCESS_KEY?` | `string` | Access key for MinIO authentication | [sdk/utils/src/validation/dot-env.schema.ts:82](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L82) |
1819
+ | <a id="settlemint_minio_endpoint-1"></a> `SETTLEMINT_MINIO_ENDPOINT?` | `string` | Endpoint URL for MinIO | [sdk/utils/src/validation/dot-env.schema.ts:80](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L80) |
1820
+ | <a id="settlemint_minio_secret_key-1"></a> `SETTLEMINT_MINIO_SECRET_KEY?` | `string` | Secret key for MinIO authentication | [sdk/utils/src/validation/dot-env.schema.ts:84](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L84) |
1821
+ | <a id="settlemint_new_project_name-1"></a> `SETTLEMINT_NEW_PROJECT_NAME?` | `string` | Name of the new project being created | [sdk/utils/src/validation/dot-env.schema.ts:104](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L104) |
1822
+ | <a id="settlemint_portal-1"></a> `SETTLEMINT_PORTAL?` | `string` | Unique name of the Smart Contract Portal instance | [sdk/utils/src/validation/dot-env.schema.ts:64](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L64) |
1823
+ | <a id="settlemint_portal_graphql_endpoint-1"></a> `SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT?` | `string` | GraphQL endpoint URL for the Portal | [sdk/utils/src/validation/dot-env.schema.ts:66](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L66) |
1824
+ | <a id="settlemint_portal_rest_endpoint-1"></a> `SETTLEMINT_PORTAL_REST_ENDPOINT?` | `string` | REST endpoint URL for the Portal | [sdk/utils/src/validation/dot-env.schema.ts:68](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L68) |
1825
+ | <a id="settlemint_portal_ws_endpoint-1"></a> `SETTLEMINT_PORTAL_WS_ENDPOINT?` | `string` | WebSocket endpoint URL for the Portal | [sdk/utils/src/validation/dot-env.schema.ts:70](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L70) |
1826
+ | <a id="settlemint_thegraph-1"></a> `SETTLEMINT_THEGRAPH?` | `string` | Unique name of The Graph instance | [sdk/utils/src/validation/dot-env.schema.ts:55](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L55) |
1827
+ | <a id="settlemint_thegraph_default_subgraph-1"></a> `SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH?` | `string` | Default The Graph subgraph to use | [sdk/utils/src/validation/dot-env.schema.ts:62](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L62) |
1828
+ | <a id="settlemint_thegraph_subgraphs_endpoints-1"></a> `SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS?` | `string`[] | Array of endpoint URLs for The Graph subgraphs | [sdk/utils/src/validation/dot-env.schema.ts:57](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L57) |
1829
+ | <a id="settlemint_workspace-1"></a> `SETTLEMINT_WORKSPACE?` | `string` | Unique name of the workspace | [sdk/utils/src/validation/dot-env.schema.ts:31](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L31) |
1830
+
1715
1831
  ***
1716
1832
 
1717
1833
  #### Id
1718
1834
 
1719
- > **Id** = `z.infer`\<*typeof* [`IdSchema`](#idschema)\>
1835
+ > **Id** = `string`
1720
1836
 
1721
1837
  Defined in: [sdk/utils/src/validation/id.schema.ts:30](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/id.schema.ts#L30)
1722
1838
 
@@ -1733,11 +1849,94 @@ Defined in: [sdk/utils/src/logging/logger.ts:6](https://github.com/settlemint/sd
1733
1849
 
1734
1850
  Log levels supported by the logger
1735
1851
 
1852
+ ***
1853
+
1854
+ #### PersonalAccessToken
1855
+
1856
+ > **PersonalAccessToken** = `string`
1857
+
1858
+ Defined in: [sdk/utils/src/validation/access-token.schema.ts:15](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/access-token.schema.ts#L15)
1859
+
1860
+ Schema for validating personal access tokens.
1861
+ Personal access tokens start with 'sm_pat_' prefix.
1862
+
1863
+ ***
1864
+
1865
+ #### Url
1866
+
1867
+ > **Url** = `string`
1868
+
1869
+ Defined in: [sdk/utils/src/validation/url.schema.ts:18](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/url.schema.ts#L18)
1870
+
1871
+ Schema for validating URLs.
1872
+
1873
+ ##### Example
1874
+
1875
+ ```ts
1876
+ import { UrlSchema } from "@settlemint/sdk-utils/validation";
1877
+
1878
+ // Validate a URL
1879
+ const isValidUrl = UrlSchema.safeParse("https://console.settlemint.com").success;
1880
+ // true
1881
+
1882
+ // Invalid URLs will fail validation
1883
+ const isInvalidUrl = UrlSchema.safeParse("not-a-url").success;
1884
+ // false
1885
+ ```
1886
+
1887
+ ***
1888
+
1889
+ #### UrlOrPath
1890
+
1891
+ > **UrlOrPath** = `string`
1892
+
1893
+ Defined in: [sdk/utils/src/validation/url.schema.ts:55](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/url.schema.ts#L55)
1894
+
1895
+ Schema that accepts either a full URL or a URL path.
1896
+
1897
+ ##### Example
1898
+
1899
+ ```ts
1900
+ import { UrlOrPathSchema } from "@settlemint/sdk-utils/validation";
1901
+
1902
+ // Validate a URL
1903
+ const isValidUrl = UrlOrPathSchema.safeParse("https://console.settlemint.com").success;
1904
+ // true
1905
+
1906
+ // Validate a path
1907
+ const isValidPath = UrlOrPathSchema.safeParse("/api/v1/users").success;
1908
+ // true
1909
+ ```
1910
+
1911
+ ***
1912
+
1913
+ #### UrlPath
1914
+
1915
+ > **UrlPath** = `string`
1916
+
1917
+ Defined in: [sdk/utils/src/validation/url.schema.ts:38](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/url.schema.ts#L38)
1918
+
1919
+ Schema for validating URL paths.
1920
+
1921
+ ##### Example
1922
+
1923
+ ```ts
1924
+ import { UrlPathSchema } from "@settlemint/sdk-utils/validation";
1925
+
1926
+ // Validate a URL path
1927
+ const isValidPath = UrlPathSchema.safeParse("/api/v1/users").success;
1928
+ // true
1929
+
1930
+ // Invalid paths will fail validation
1931
+ const isInvalidPath = UrlPathSchema.safeParse("not-a-path").success;
1932
+ // false
1933
+ ```
1934
+
1736
1935
  ### Variables
1737
1936
 
1738
1937
  #### AccessTokenSchema
1739
1938
 
1740
- > `const` **AccessTokenSchema**: `ZodString`
1939
+ > `const` **AccessTokenSchema**: `ZodString`\<[`AccessToken`](#accesstoken)\>
1741
1940
 
1742
1941
  Defined in: [sdk/utils/src/validation/access-token.schema.ts:21](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/access-token.schema.ts#L21)
1743
1942
 
@@ -1748,7 +1947,7 @@ Accepts tokens starting with either 'sm_pat_' or 'sm_aat_' prefix.
1748
1947
 
1749
1948
  #### ApplicationAccessTokenSchema
1750
1949
 
1751
- > `const` **ApplicationAccessTokenSchema**: `ZodString`
1950
+ > `const` **ApplicationAccessTokenSchema**: `ZodString`\<[`ApplicationAccessToken`](#applicationaccesstoken)\>
1752
1951
 
1753
1952
  Defined in: [sdk/utils/src/validation/access-token.schema.ts:7](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/access-token.schema.ts#L7)
1754
1953
 
@@ -1759,7 +1958,7 @@ Application access tokens start with 'sm_aat_' prefix.
1759
1958
 
1760
1959
  #### DotEnvSchema
1761
1960
 
1762
- > `const` **DotEnvSchema**: `ZodObject`\<\{ `SETTLEMINT_ACCESS_TOKEN`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_ACCESSIBLE_PRIVATE_KEY`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_APPLICATION`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKCHAIN_NETWORK`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKCHAIN_NODE`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKSCOUT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_CUSTOM_DEPLOYMENT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_HASURA`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_HASURA_ADMIN_SECRET`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_HASURA_DATABASE_URL`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_HASURA_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_HD_PRIVATE_KEY`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_INSTANCE`: `ZodDefault`\<`ZodUnion`\<readonly \[`ZodString`, `ZodLiteral`\<`"standalone"`\>, `ZodLiteral`\<`"local"`\>\]\>\>; `SETTLEMINT_IPFS`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_IPFS_API_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_IPFS_GATEWAY_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_IPFS_PINNING_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_LOG_LEVEL`: `ZodDefault`\<`ZodEnum`\<\{ `debug`: `"debug"`; `error`: `"error"`; `info`: `"info"`; `none`: `"none"`; `warn`: `"warn"`; \}\>\>; `SETTLEMINT_MINIO`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_MINIO_ACCESS_KEY`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_MINIO_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_MINIO_SECRET_KEY`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_NEW_PROJECT_NAME`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_PORTAL`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_PORTAL_REST_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_PORTAL_WS_ENDPOINT`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_THEGRAPH`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH`: `ZodOptional`\<`ZodString`\>; `SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS`: `ZodPipe`\<`ZodTransform`\<`null` \| `never`[], `unknown`\>, `ZodOptional`\<`ZodArray`\<`ZodString`\>\>\>; `SETTLEMINT_WORKSPACE`: `ZodOptional`\<`ZodString`\>; \}, `$strip`\>
1961
+ > `const` **DotEnvSchema**: `ZodObject`\<[`DotEnv`](#dotenv)\>
1763
1962
 
1764
1963
  Defined in: [sdk/utils/src/validation/dot-env.schema.ts:21](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L21)
1765
1964
 
@@ -1771,7 +1970,7 @@ access tokens, workspace names, and service endpoints.
1771
1970
 
1772
1971
  #### DotEnvSchemaPartial
1773
1972
 
1774
- > `const` **DotEnvSchemaPartial**: `ZodObject`\<\{ `SETTLEMINT_ACCESS_TOKEN`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_ACCESSIBLE_PRIVATE_KEY`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_APPLICATION`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKCHAIN_NETWORK`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKCHAIN_NETWORK_CHAIN_ID`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKCHAIN_NODE`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKCHAIN_NODE_JSON_RPC_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKCHAIN_NODE_OR_LOAD_BALANCER_JSON_RPC_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKSCOUT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKSCOUT_GRAPHQL_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_BLOCKSCOUT_UI_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_CUSTOM_DEPLOYMENT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_CUSTOM_DEPLOYMENT_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_HASURA`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_HASURA_ADMIN_SECRET`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_HASURA_DATABASE_URL`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_HASURA_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_HD_PRIVATE_KEY`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_HD_PRIVATE_KEY_FORWARDER_ADDRESS`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_INSTANCE`: `ZodOptional`\<`ZodDefault`\<`ZodUnion`\<readonly \[`ZodString`, `ZodLiteral`\<`"standalone"`\>, `ZodLiteral`\<`"local"`\>\]\>\>\>; `SETTLEMINT_IPFS`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_IPFS_API_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_IPFS_GATEWAY_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_IPFS_PINNING_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_LOG_LEVEL`: `ZodOptional`\<`ZodDefault`\<`ZodEnum`\<\{ `debug`: `"debug"`; `error`: `"error"`; `info`: `"info"`; `none`: `"none"`; `warn`: `"warn"`; \}\>\>\>; `SETTLEMINT_MINIO`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_MINIO_ACCESS_KEY`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_MINIO_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_MINIO_SECRET_KEY`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_NEW_PROJECT_NAME`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_PORTAL`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_PORTAL_REST_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_PORTAL_WS_ENDPOINT`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_THEGRAPH`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_THEGRAPH_DEFAULT_SUBGRAPH`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; `SETTLEMINT_THEGRAPH_SUBGRAPHS_ENDPOINTS`: `ZodOptional`\<`ZodPipe`\<`ZodTransform`\<`null` \| `never`[], `unknown`\>, `ZodOptional`\<`ZodArray`\<`ZodString`\>\>\>\>; `SETTLEMINT_WORKSPACE`: `ZodOptional`\<`ZodOptional`\<`ZodString`\>\>; \}, `$strip`\>
1973
+ > `const` **DotEnvSchemaPartial**: `ZodObject`\<[`DotEnvPartial`](#dotenvpartial)\>
1775
1974
 
1776
1975
  Defined in: [sdk/utils/src/validation/dot-env.schema.ts:118](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/dot-env.schema.ts#L118)
1777
1976
 
@@ -1782,7 +1981,7 @@ Useful for validating incomplete configurations during development or build time
1782
1981
 
1783
1982
  #### IdSchema
1784
1983
 
1785
- > `const` **IdSchema**: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>
1984
+ > `const` **IdSchema**: `ZodUnion`\<[`Id`](#id)\>
1786
1985
 
1787
1986
  Defined in: [sdk/utils/src/validation/id.schema.ts:17](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/id.schema.ts#L17)
1788
1987
 
@@ -1816,7 +2015,7 @@ Use this value to indicate that the resources are not part of the SettleMint pla
1816
2015
 
1817
2016
  #### PersonalAccessTokenSchema
1818
2017
 
1819
- > `const` **PersonalAccessTokenSchema**: `ZodString`
2018
+ > `const` **PersonalAccessTokenSchema**: `ZodString`\<[`PersonalAccessToken`](#personalaccesstoken)\>
1820
2019
 
1821
2020
  Defined in: [sdk/utils/src/validation/access-token.schema.ts:14](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/access-token.schema.ts#L14)
1822
2021
 
@@ -1883,7 +2082,7 @@ const isInvalidName = UniqueNameSchema.safeParse("My Workspace!").success;
1883
2082
 
1884
2083
  #### UrlOrPathSchema
1885
2084
 
1886
- > `const` **UrlOrPathSchema**: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>
2085
+ > `const` **UrlOrPathSchema**: `ZodUnion`\<[`UrlOrPath`](#urlorpath)\>
1887
2086
 
1888
2087
  Defined in: [sdk/utils/src/validation/url.schema.ts:54](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/url.schema.ts#L54)
1889
2088
 
@@ -1907,7 +2106,7 @@ const isValidPath = UrlOrPathSchema.safeParse("/api/v1/users").success;
1907
2106
 
1908
2107
  #### UrlPathSchema
1909
2108
 
1910
- > `const` **UrlPathSchema**: `ZodString`
2109
+ > `const` **UrlPathSchema**: `ZodString`\<[`UrlPath`](#urlpath)\>
1911
2110
 
1912
2111
  Defined in: [sdk/utils/src/validation/url.schema.ts:34](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/url.schema.ts#L34)
1913
2112
 
@@ -1931,7 +2130,7 @@ const isInvalidPath = UrlPathSchema.safeParse("not-a-path").success;
1931
2130
 
1932
2131
  #### UrlSchema
1933
2132
 
1934
- > `const` **UrlSchema**: `ZodString`
2133
+ > `const` **UrlSchema**: `ZodString`\<[`Url`](#url)\>
1935
2134
 
1936
2135
  Defined in: [sdk/utils/src/validation/url.schema.ts:17](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/utils/src/validation/url.schema.ts#L17)
1937
2136
 
@@ -11276,17 +11276,17 @@ function validate(schema, value) {
11276
11276
  * Schema for validating application access tokens.
11277
11277
  * Application access tokens start with 'sm_aat_' prefix.
11278
11278
  */
11279
- const ApplicationAccessTokenSchema = string$1().regex(/^sm_aat_.*$/);
11279
+ const ApplicationAccessTokenSchema = string$1().regex(/^sm_aat_.+$/);
11280
11280
  /**
11281
11281
  * Schema for validating personal access tokens.
11282
11282
  * Personal access tokens start with 'sm_pat_' prefix.
11283
11283
  */
11284
- const PersonalAccessTokenSchema = string$1().regex(/^sm_pat_.*$/);
11284
+ const PersonalAccessTokenSchema = string$1().regex(/^sm_pat_.+$/);
11285
11285
  /**
11286
11286
  * Schema for validating both application and personal access tokens.
11287
11287
  * Accepts tokens starting with either 'sm_pat_' or 'sm_aat_' prefix.
11288
11288
  */
11289
- const AccessTokenSchema = string$1().regex(/^sm_pat_.*|sm_aat_.*$/);
11289
+ const AccessTokenSchema = string$1().regex(/^(sm_pat_.+|sm_aat_.+)$/);
11290
11290
 
11291
11291
  //#endregion
11292
11292
  //#region src/json.ts
@@ -11319,7 +11319,7 @@ function tryParseJson(value, defaultValue = null) {
11319
11319
  return defaultValue;
11320
11320
  }
11321
11321
  return parsed;
11322
- } catch (err) {
11322
+ } catch (_err) {
11323
11323
  return defaultValue;
11324
11324
  }
11325
11325
  }
@@ -18210,7 +18210,7 @@ async function findMonoRepoPackages(projectDir) {
18210
18210
  }));
18211
18211
  const allPaths = packagePaths.flat();
18212
18212
  return allPaths.length === 0 ? [projectDir] : [monoRepoRoot, ...allPaths];
18213
- } catch (error$37) {
18213
+ } catch (_error) {
18214
18214
  return [projectDir];
18215
18215
  }
18216
18216
  }