diff --git a/docs/sdk/reference/changelog.md b/docs/sdk/reference/changelog.md index 4886e3182..d494dcf6c 100644 --- a/docs/sdk/reference/changelog.md +++ b/docs/sdk/reference/changelog.md @@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.8.3] - 2024-06-12 + +### Added + +- Added new transaction for changing an election duration. +- Added new functions `changeElectionEndDate` and `changeElectionDuration`. +- Added new raw information when election data is not complete. + +### Changed + +- Census3 `getStrategyHolders` changed for using queues instead of direct endpoint call. + +## [0.8.2] - 2024-06-12 + +### Added + +- Added API fees calls functions for checking all fees and account fees. +- Added new function to modify an election maximum census size. +- Added new `delta` parameter when checking for next election identifiers. + +### Changed + +- Census publishing is done async to avoid 502 errors when uploading large censuses. +- Modified change census function to accept a new maximum census size. + ## [0.8.1] - 2024-05-21 ### Added @@ -473,6 +498,8 @@ which extend from the abstract `Election` class. - First unstable version of the SDK for testing purposes +[0.8.3]: https://github.com/vocdoni/vocdoni-sdk/releases/tag/v0.8.3 +[0.8.2]: https://github.com/vocdoni/vocdoni-sdk/releases/tag/v0.8.2 [0.8.1]: https://github.com/vocdoni/vocdoni-sdk/releases/tag/v0.8.1 [0.8.0]: https://github.com/vocdoni/vocdoni-sdk/releases/tag/v0.8.0 [0.7.5]: https://github.com/vocdoni/vocdoni-sdk/releases/tag/v0.7.5 diff --git a/docs/sdk/reference/classes/API.md b/docs/sdk/reference/classes/API.md new file mode 100644 index 000000000..6cb9ff6f5 --- /dev/null +++ b/docs/sdk/reference/classes/API.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / API + +# Class: API + +## Hierarchy + +- **`API`** + + ↳ [`AccountAPI`](AccountAPI) + + ↳ [`CensusAPI`](CensusAPI) + + ↳ [`ChainAPI`](ChainAPI) + + ↳ [`ElectionAPI`](ElectionAPI) + + ↳ [`FaucetAPI`](FaucetAPI) + + ↳ [`FileAPI`](FileAPI) + + ↳ [`VoteAPI`](VoteAPI) + + ↳ [`WalletAPI`](WalletAPI) + + ↳ [`CspAPI`](CspAPI) + + ↳ [`ZkAPI`](ZkAPI) diff --git a/docs/sdk/reference/classes/Account.md b/docs/sdk/reference/classes/Account.md index dc11f6097..19b122426 100644 --- a/docs/sdk/reference/classes/Account.md +++ b/docs/sdk/reference/classes/Account.md @@ -38,7 +38,7 @@ Represents an account #### Defined in -[types/account.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L108) +[src/types/account.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L108) • `set` **avatar**(`value`): `void` @@ -54,7 +54,7 @@ Represents an account #### Defined in -[types/account.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L112) +[src/types/account.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L112) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[types/account.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L92) +[src/types/account.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L92) • `set` **description**(`value`): `void` @@ -84,7 +84,7 @@ ___ #### Defined in -[types/account.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L96) +[src/types/account.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L96) ___ @@ -98,7 +98,7 @@ ___ #### Defined in -[types/account.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L124) +[src/types/account.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L124) • `set` **feed**(`value`): `void` @@ -114,7 +114,7 @@ ___ #### Defined in -[types/account.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L128) +[src/types/account.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L128) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[types/account.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L100) +[src/types/account.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L100) • `set` **header**(`value`): `void` @@ -144,7 +144,7 @@ ___ #### Defined in -[types/account.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L104) +[src/types/account.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L104) ___ @@ -158,7 +158,7 @@ ___ #### Defined in -[types/account.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L140) +[src/types/account.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L140) • `set` **languages**(`value`): `void` @@ -174,7 +174,7 @@ ___ #### Defined in -[types/account.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L144) +[src/types/account.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L144) ___ @@ -188,7 +188,7 @@ ___ #### Defined in -[types/account.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L116) +[src/types/account.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L116) • `set` **logo**(`value`): `void` @@ -204,7 +204,7 @@ ___ #### Defined in -[types/account.ts:120](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L120) +[src/types/account.ts:120](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L120) ___ @@ -218,7 +218,7 @@ ___ #### Defined in -[types/account.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L132) +[src/types/account.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L132) • `set` **meta**(`value`): `void` @@ -234,7 +234,7 @@ ___ #### Defined in -[types/account.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L136) +[src/types/account.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L136) ___ @@ -248,7 +248,7 @@ ___ #### Defined in -[types/account.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L84) +[src/types/account.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L84) • `set` **name**(`value`): `void` @@ -264,7 +264,7 @@ ___ #### Defined in -[types/account.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L88) +[src/types/account.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L88) ## Constructors @@ -286,7 +286,7 @@ Constructs an account #### Defined in -[types/account.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L33) +[src/types/account.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L33) ## Methods @@ -300,7 +300,7 @@ Constructs an account #### Defined in -[types/account.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L65) +[src/types/account.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L65) ___ @@ -322,4 +322,4 @@ Returns an account object #### Defined in -[types/account.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L61) +[src/types/account.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L61) diff --git a/docs/sdk/reference/classes/AccountAPI.md b/docs/sdk/reference/classes/AccountAPI.md index 103ddffff..77203b745 100644 --- a/docs/sdk/reference/classes/AccountAPI.md +++ b/docs/sdk/reference/classes/AccountAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`AccountAPI`** @@ -12,91 +12,16 @@ ### Methods -- [count](AccountAPI#count) -- [electionsList](AccountAPI#electionslist) -- [fees](AccountAPI#fees) - [info](AccountAPI#info) - [list](AccountAPI#list) - [metadata](AccountAPI#metadata) - [setInfo](AccountAPI#setinfo) -- [transfersCount](AccountAPI#transferscount) -- [transfersList](AccountAPI#transferslist) ## Methods -### count - -▸ **count**(`url`): `Promise`\<[`IAccountsCountResponse`](../interfaces/IAccountsCountResponse)\> - -Returns the number of accounts - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `url` | `string` | API endpoint URL | - -#### Returns - -`Promise`\<[`IAccountsCountResponse`](../interfaces/IAccountsCountResponse)\> - -#### Defined in - -[api/account.ts:133](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L133) - -___ - -### electionsList - -▸ **electionsList**(`url`, `accountId`, `page?`): `Promise`\<[`IElectionListResponse`](../interfaces/IElectionListResponse)\> - -Returns paginated list of elections for a specific account - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `accountId` | `string` | `undefined` | accountId to get elections | -| `page` | `number` | `0` | The page number | - -#### Returns - -`Promise`\<[`IElectionListResponse`](../interfaces/IElectionListResponse)\> - -#### Defined in - -[api/account.ts:214](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L214) - -___ - -### fees - -▸ **fees**(`url`, `account`, `page?`): `Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> - -Returns the list of fees by account - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | {string} url API endpoint URL | -| `account` | `string` | `undefined` | {string} account The account | -| `page` | `number` | `0` | {number} page The page number | - -#### Returns - -`Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> - -#### Defined in - -[api/account.ts:228](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L228) - -___ - ### info -▸ **info**(`url`, `accountId`): `Promise`\<`IAccountInfoResponse`\> +▸ **info**(`url`, `accountId`): `Promise`\<[`IAccountInfoResponse`](../interfaces/IAccountInfoResponse)\> Fetches an Account information @@ -109,26 +34,26 @@ Fetches an Account information #### Returns -`Promise`\<`IAccountInfoResponse`\> +`Promise`\<[`IAccountInfoResponse`](../interfaces/IAccountInfoResponse)\> #### Defined in -[api/account.ts:146](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L146) +[src/api/account.ts:114](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L114) ___ ### list -▸ **list**(`url`, `page?`): `Promise`\<[`IAccountsListResponse`](../interfaces/IAccountsListResponse)\> +▸ **list**(`url`, `params?`): `Promise`\<[`IAccountsListResponse`](../interfaces/IAccountsListResponse)\> -Returns paginated list of accounts +Returns list of accounts #### Parameters -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `page` | `number` | `0` | The page number | +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | API endpoint URL | +| `params?` | `Partial`\<[`FetchAccountsParametersWithPagination`](../sdk-reference#fetchaccountsparameterswithpagination)\> | The parameters to filter the accounts | #### Returns @@ -136,7 +61,7 @@ Returns paginated list of accounts #### Defined in -[api/account.ts:121](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L121) +[src/api/account.ts:97](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L97) ___ @@ -159,7 +84,7 @@ Fetches the account metadata #### Defined in -[api/account.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L159) +[src/api/account.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L127) ___ @@ -183,51 +108,4 @@ Sets Account information #### Defined in -[api/account.ts:173](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L173) - -___ - -### transfersCount - -▸ **transfersCount**(`url`, `accountId`): `Promise`\<[`IAccountTransfersCountResponse`](../interfaces/IAccountTransfersCountResponse)\> - -Returns the account's transfers count - -#### Parameters - -| Name | Type | Description | -| :------ | :------ | :------ | -| `url` | `string` | API endpoint URL | -| `accountId` | `string` | accountId to get the transfers count | - -#### Returns - -`Promise`\<[`IAccountTransfersCountResponse`](../interfaces/IAccountTransfersCountResponse)\> - -#### Defined in - -[api/account.ts:200](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L200) - -___ - -### transfersList - -▸ **transfersList**(`url`, `accountId`, `page?`): `Promise`\<`IAccountTransfersResponse`\> - -Returns paginated list of transfers for a specific account - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `accountId` | `string` | `undefined` | accountId to get transfers | -| `page` | `number` | `0` | The page number | - -#### Returns - -`Promise`\<`IAccountTransfersResponse`\> - -#### Defined in - -[api/account.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L187) +[src/api/account.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L141) diff --git a/docs/sdk/reference/classes/AccountService.md b/docs/sdk/reference/classes/AccountService.md index 3cf978b65..022eb6ff2 100644 --- a/docs/sdk/reference/classes/AccountService.md +++ b/docs/sdk/reference/classes/AccountService.md @@ -53,7 +53,7 @@ Service.constructor #### Defined in -[services/account.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L45) +[src/services/account.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L46) ## Methods @@ -75,7 +75,7 @@ Fetches account information. #### Defined in -[services/account.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L55) +[src/services/account.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L56) ___ @@ -100,7 +100,7 @@ The transaction hash #### Defined in -[services/account.ts:95](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L95) +[src/services/account.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L96) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[services/account.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L100) +[src/services/account.ts:101](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L101) ## Properties @@ -136,7 +136,7 @@ AccountServiceProperties.chainService #### Defined in -[services/account.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L38) +[src/services/account.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L39) ___ @@ -150,4 +150,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/AnonymousService.md b/docs/sdk/reference/classes/AnonymousService.md index 766d31dff..8b93ea838 100644 --- a/docs/sdk/reference/classes/AnonymousService.md +++ b/docs/sdk/reference/classes/AnonymousService.md @@ -68,7 +68,7 @@ Service.constructor #### Defined in -[services/anonymous.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L71) +[src/services/anonymous.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L71) ## Methods @@ -86,7 +86,7 @@ The checked circuit parameters #### Defined in -[services/anonymous.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L107) +[src/services/anonymous.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L107) ___ @@ -106,7 +106,7 @@ ___ #### Defined in -[services/anonymous.ts:82](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L82) +[src/services/anonymous.ts:82](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L82) ___ @@ -128,7 +128,7 @@ Fetches circuits for anonymous voting #### Defined in -[services/anonymous.ts:130](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L130) +[src/services/anonymous.ts:130](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L130) ___ @@ -148,7 +148,7 @@ ___ #### Defined in -[services/anonymous.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L93) +[src/services/anonymous.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L93) ___ @@ -168,7 +168,7 @@ ___ #### Defined in -[services/anonymous.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L76) +[src/services/anonymous.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L76) ___ @@ -190,7 +190,7 @@ ___ #### Defined in -[services/anonymous.ts:87](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L87) +[src/services/anonymous.ts:87](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L87) ___ @@ -212,7 +212,7 @@ Sets circuits for anonymous voting #### Defined in -[services/anonymous.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L185) +[src/services/anonymous.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L185) ___ @@ -232,7 +232,7 @@ ___ #### Defined in -[services/anonymous.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L98) +[src/services/anonymous.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L98) ___ @@ -254,7 +254,7 @@ ___ #### Defined in -[services/anonymous.ts:232](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L232) +[src/services/anonymous.ts:232](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L232) ___ @@ -276,7 +276,7 @@ ___ #### Defined in -[services/anonymous.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L245) +[src/services/anonymous.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L245) ___ @@ -298,7 +298,7 @@ ___ #### Defined in -[services/anonymous.ts:255](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L255) +[src/services/anonymous.ts:255](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L255) ___ @@ -320,7 +320,7 @@ ___ #### Defined in -[services/anonymous.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L249) +[src/services/anonymous.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L249) ___ @@ -342,7 +342,7 @@ ___ #### Defined in -[services/anonymous.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L190) +[src/services/anonymous.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L190) ___ @@ -372,7 +372,7 @@ ___ #### Defined in -[services/anonymous.ts:198](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L198) +[src/services/anonymous.ts:198](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L198) ___ @@ -392,7 +392,7 @@ ___ #### Defined in -[services/anonymous.ts:268](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L268) +[src/services/anonymous.ts:268](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L268) ## Properties @@ -406,7 +406,7 @@ AnonymousServiceProperties.chainCircuits #### Defined in -[services/anonymous.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L64) +[src/services/anonymous.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L64) ___ @@ -420,7 +420,7 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) ___ @@ -438,7 +438,7 @@ ___ #### Defined in -[services/anonymous.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L275) +[src/services/anonymous.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L275) ___ @@ -456,7 +456,7 @@ ___ #### Defined in -[services/anonymous.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L327) +[src/services/anonymous.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L327) ___ @@ -474,4 +474,4 @@ ___ #### Defined in -[services/anonymous.ts:302](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L302) +[src/services/anonymous.ts:302](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L302) diff --git a/docs/sdk/reference/classes/AnonymousVote.md b/docs/sdk/reference/classes/AnonymousVote.md index b7bdc56b1..0810bad07 100644 --- a/docs/sdk/reference/classes/AnonymousVote.md +++ b/docs/sdk/reference/classes/AnonymousVote.md @@ -34,7 +34,7 @@ Represents a vote #### Defined in -[types/vote/anonymous.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/anonymous.ts#L20) +[src/types/vote/anonymous.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/anonymous.ts#L20) • `set` **password**(`value`): `void` @@ -50,7 +50,7 @@ Represents a vote #### Defined in -[types/vote/anonymous.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/anonymous.ts#L24) +[src/types/vote/anonymous.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/anonymous.ts#L24) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[types/vote/anonymous.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/anonymous.ts#L28) +[src/types/vote/anonymous.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/anonymous.ts#L28) • `set` **signature**(`value`): `void` @@ -80,7 +80,7 @@ ___ #### Defined in -[types/vote/anonymous.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/anonymous.ts#L32) +[src/types/vote/anonymous.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/anonymous.ts#L32) ___ @@ -98,7 +98,7 @@ Vote.votes #### Defined in -[types/vote/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L16) +[src/types/vote/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L16) • `set` **votes**(`value`): `void` @@ -118,7 +118,7 @@ Vote.votes #### Defined in -[types/vote/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L20) +[src/types/vote/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L20) ## Constructors @@ -146,4 +146,4 @@ Constructs an anonymous vote #### Defined in -[types/vote/anonymous.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/anonymous.ts#L14) +[src/types/vote/anonymous.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/anonymous.ts#L14) diff --git a/docs/sdk/reference/classes/ApprovalElection.md b/docs/sdk/reference/classes/ApprovalElection.md index 3f2f61e88..7391d7b99 100644 --- a/docs/sdk/reference/classes/ApprovalElection.md +++ b/docs/sdk/reference/classes/ApprovalElection.md @@ -63,7 +63,7 @@ UnpublishedElection.addSDKVersion #### Defined in -[types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L287) +[src/types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L287) • `set` **addSDKVersion**(`value`): `void` @@ -83,7 +83,7 @@ UnpublishedElection.addSDKVersion #### Defined in -[types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L291) +[src/types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L291) ___ @@ -101,7 +101,7 @@ UnpublishedElection.census #### Defined in -[types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L261) +[src/types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L261) • `set` **census**(`value`): `void` @@ -121,7 +121,7 @@ UnpublishedElection.census #### Defined in -[types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L265) +[src/types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L265) ___ @@ -139,7 +139,7 @@ UnpublishedElection.description #### Defined in -[types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L185) +[src/types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L185) • `set` **description**(`value`): `void` @@ -159,7 +159,7 @@ UnpublishedElection.description #### Defined in -[types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L189) +[src/types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L189) ___ @@ -177,7 +177,7 @@ UnpublishedElection.duration #### Defined in -[types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L150) +[src/types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L150) ___ @@ -195,7 +195,7 @@ UnpublishedElection.electionType #### Defined in -[types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L237) +[src/types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L237) • `set` **electionType**(`value`): `void` @@ -215,7 +215,7 @@ UnpublishedElection.electionType #### Defined in -[types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L241) +[src/types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L241) ___ @@ -233,7 +233,7 @@ UnpublishedElection.endDate #### Defined in -[types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L227) +[src/types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L227) • `set` **endDate**(`value`): `void` @@ -253,7 +253,7 @@ UnpublishedElection.endDate #### Defined in -[types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L231) +[src/types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L231) ___ @@ -271,7 +271,7 @@ UnpublishedElection.header #### Defined in -[types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L193) +[src/types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L193) • `set` **header**(`value`): `void` @@ -291,7 +291,7 @@ UnpublishedElection.header #### Defined in -[types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L197) +[src/types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L197) ___ @@ -309,7 +309,7 @@ UnpublishedElection.maxCensusSize #### Defined in -[types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L270) +[src/types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L270) • `set` **maxCensusSize**(`value`): `void` @@ -329,7 +329,7 @@ UnpublishedElection.maxCensusSize #### Defined in -[types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L274) +[src/types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L274) ___ @@ -347,7 +347,7 @@ UnpublishedElection.meta #### Defined in -[types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L209) +[src/types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L209) • `set` **meta**(`value`): `void` @@ -367,7 +367,7 @@ UnpublishedElection.meta #### Defined in -[types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L213) +[src/types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L213) ___ @@ -385,7 +385,7 @@ UnpublishedElection.questions #### Defined in -[types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L253) +[src/types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L253) • `set` **questions**(`value`): `void` @@ -405,7 +405,7 @@ UnpublishedElection.questions #### Defined in -[types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L257) +[src/types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L257) ___ @@ -423,7 +423,7 @@ UnpublishedElection.startDate #### Defined in -[types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L218) +[src/types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L218) • `set` **startDate**(`value`): `void` @@ -443,7 +443,7 @@ UnpublishedElection.startDate #### Defined in -[types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L222) +[src/types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L222) ___ @@ -461,7 +461,7 @@ UnpublishedElection.streamUri #### Defined in -[types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L201) +[src/types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L201) • `set` **streamUri**(`value`): `void` @@ -481,7 +481,7 @@ UnpublishedElection.streamUri #### Defined in -[types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L205) +[src/types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L205) ___ @@ -499,7 +499,7 @@ UnpublishedElection.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L279) +[src/types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L279) • `set` **temporarySecretIdentity**(`value`): `void` @@ -519,7 +519,7 @@ UnpublishedElection.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L283) +[src/types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L283) ___ @@ -537,7 +537,7 @@ UnpublishedElection.title #### Defined in -[types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L176) +[src/types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L176) • `set` **title**(`value`): `void` @@ -557,7 +557,7 @@ UnpublishedElection.title #### Defined in -[types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L180) +[src/types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L180) ___ @@ -575,7 +575,7 @@ UnpublishedElection.voteType #### Defined in -[types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L245) +[src/types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L245) • `set` **voteType**(`value`): `void` @@ -595,7 +595,7 @@ UnpublishedElection.voteType #### Defined in -[types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L249) +[src/types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L249) ## Constructors @@ -621,7 +621,7 @@ Constructs an approval election #### Defined in -[types/election/approval.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L18) +[src/types/election/approval.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L18) ## Methods @@ -647,7 +647,7 @@ Constructs an approval election #### Defined in -[types/election/approval.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L26) +[src/types/election/approval.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L26) ___ @@ -665,7 +665,7 @@ ___ #### Defined in -[types/election/approval.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L55) +[src/types/election/approval.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L55) ___ @@ -683,7 +683,7 @@ ___ #### Defined in -[types/election/approval.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L65) +[src/types/election/approval.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L65) ___ @@ -701,7 +701,7 @@ ___ #### Defined in -[types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L166) +[src/types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L166) ___ @@ -719,7 +719,7 @@ ___ #### Defined in -[types/election/approval.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L45) +[src/types/election/approval.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L45) ___ @@ -743,7 +743,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -767,7 +767,7 @@ ___ #### Defined in -[types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L61) +[src/types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L61) ___ @@ -785,7 +785,7 @@ ___ #### Defined in -[types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L128) +[src/types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L128) ___ @@ -806,7 +806,7 @@ ___ #### Defined in -[types/election/approval.ts:79](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L79) +[src/types/election/approval.ts:79](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L79) ___ @@ -832,4 +832,4 @@ Returns an unpublished election object #### Defined in -[types/election/approval.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/approval.ts#L22) +[src/types/election/approval.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/approval.ts#L22) diff --git a/docs/sdk/reference/classes/ArchivedElection.md b/docs/sdk/reference/classes/ArchivedElection.md index 46adc9a43..b8916723c 100644 --- a/docs/sdk/reference/classes/ArchivedElection.md +++ b/docs/sdk/reference/classes/ArchivedElection.md @@ -72,7 +72,7 @@ PublishedElection.addSDKVersion #### Defined in -[types/election/election.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L275) +[src/types/election/election.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L275) ___ @@ -90,7 +90,7 @@ PublishedElection.census #### Defined in -[types/election/archived.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/archived.ts#L17) +[src/types/election/archived.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/archived.ts#L17) ___ @@ -108,7 +108,7 @@ PublishedElection.chainId #### Defined in -[types/election/published.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L219) +[src/types/election/published.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L219) ___ @@ -126,7 +126,7 @@ PublishedElection.creationTime #### Defined in -[types/election/published.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L223) +[src/types/election/published.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L223) ___ @@ -144,7 +144,7 @@ PublishedElection.description #### Defined in -[types/election/published.ts:147](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L147) +[src/types/election/published.ts:147](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L147) ___ @@ -162,7 +162,7 @@ PublishedElection.electionType #### Defined in -[types/election/published.ts:167](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L167) +[src/types/election/published.ts:167](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L167) ___ @@ -180,7 +180,7 @@ PublishedElection.endDate #### Defined in -[types/election/published.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L163) +[src/types/election/published.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L163) ___ @@ -198,7 +198,7 @@ PublishedElection.finalResults #### Defined in -[types/election/published.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L203) +[src/types/election/published.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L203) ___ @@ -216,7 +216,7 @@ PublishedElection.fromArchive #### Defined in -[types/election/published.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L215) +[src/types/election/published.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L215) ___ @@ -234,7 +234,7 @@ PublishedElection.header #### Defined in -[types/election/published.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L151) +[src/types/election/published.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L151) ___ @@ -252,7 +252,7 @@ PublishedElection.id #### Defined in -[types/election/published.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L187) +[src/types/election/published.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L187) ___ @@ -270,7 +270,7 @@ PublishedElection.isValid #### Defined in -[types/election/published.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L239) +[src/types/election/published.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L239) ___ @@ -288,7 +288,7 @@ PublishedElection.manuallyEnded #### Defined in -[types/election/published.ts:211](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L211) +[src/types/election/published.ts:211](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L211) ___ @@ -306,7 +306,7 @@ PublishedElection.maxCensusSize #### Defined in -[types/election/published.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L183) +[src/types/election/published.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L183) ___ @@ -324,7 +324,7 @@ PublishedElection.meta #### Defined in -[types/election/election.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L239) +[src/types/election/election.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L239) ___ @@ -342,7 +342,7 @@ PublishedElection.metadataURL #### Defined in -[types/election/published.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L227) +[src/types/election/published.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L227) ___ @@ -360,7 +360,7 @@ PublishedElection.organizationId #### Defined in -[types/election/published.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L191) +[src/types/election/published.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L191) ___ @@ -378,7 +378,7 @@ PublishedElection.questions #### Defined in -[types/election/published.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L175) +[src/types/election/published.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L175) ___ @@ -396,7 +396,7 @@ PublishedElection.raw #### Defined in -[types/election/published.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L235) +[src/types/election/published.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L235) ___ @@ -414,7 +414,7 @@ PublishedElection.results #### Defined in -[types/election/published.ts:207](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L207) +[src/types/election/published.ts:207](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L207) ___ @@ -432,7 +432,7 @@ PublishedElection.resultsType #### Defined in -[types/election/published.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L231) +[src/types/election/published.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L231) ___ @@ -450,7 +450,7 @@ PublishedElection.startDate #### Defined in -[types/election/published.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L159) +[src/types/election/published.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L159) ___ @@ -468,7 +468,7 @@ PublishedElection.status #### Defined in -[types/election/published.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L195) +[src/types/election/published.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L195) ___ @@ -486,7 +486,7 @@ PublishedElection.streamUri #### Defined in -[types/election/published.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L155) +[src/types/election/published.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L155) ___ @@ -504,7 +504,7 @@ PublishedElection.temporarySecretIdentity #### Defined in -[types/election/election.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L271) +[src/types/election/election.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L271) ___ @@ -522,7 +522,7 @@ PublishedElection.title #### Defined in -[types/election/published.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L143) +[src/types/election/published.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L143) ___ @@ -540,7 +540,7 @@ PublishedElection.voteCount #### Defined in -[types/election/published.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L199) +[src/types/election/published.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L199) ___ @@ -558,7 +558,7 @@ PublishedElection.voteType #### Defined in -[types/election/published.ts:171](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L171) +[src/types/election/published.ts:171](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L171) ## Constructors @@ -584,7 +584,7 @@ Constructs an archived election #### Defined in -[types/election/archived.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/archived.ts#L13) +[src/types/election/archived.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/archived.ts#L13) ## Methods @@ -608,7 +608,7 @@ Constructs an archived election #### Defined in -[types/election/published.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L113) +[src/types/election/published.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L113) ___ @@ -632,7 +632,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -658,7 +658,7 @@ Returns a published election object #### Defined in -[types/election/published.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L100) +[src/types/election/published.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L100) ___ @@ -683,7 +683,7 @@ ___ #### Defined in -[types/election/published.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L127) +[src/types/election/published.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L127) ___ @@ -709,7 +709,7 @@ Returns an unpublished election object #### Defined in -[types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L219) +[src/types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L219) ___ @@ -734,4 +734,4 @@ ___ #### Defined in -[types/election/published.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L104) +[src/types/election/published.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L104) diff --git a/docs/sdk/reference/classes/BudgetElection.md b/docs/sdk/reference/classes/BudgetElection.md index 9cfe2dc8f..266fb5ee7 100644 --- a/docs/sdk/reference/classes/BudgetElection.md +++ b/docs/sdk/reference/classes/BudgetElection.md @@ -67,7 +67,7 @@ UnpublishedElection.addSDKVersion #### Defined in -[types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L287) +[src/types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L287) • `set` **addSDKVersion**(`value`): `void` @@ -87,7 +87,7 @@ UnpublishedElection.addSDKVersion #### Defined in -[types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L291) +[src/types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L291) ___ @@ -105,7 +105,7 @@ UnpublishedElection.census #### Defined in -[types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L261) +[src/types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L261) • `set` **census**(`value`): `void` @@ -125,7 +125,7 @@ UnpublishedElection.census #### Defined in -[types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L265) +[src/types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L265) ___ @@ -143,7 +143,7 @@ UnpublishedElection.description #### Defined in -[types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L185) +[src/types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L185) • `set` **description**(`value`): `void` @@ -163,7 +163,7 @@ UnpublishedElection.description #### Defined in -[types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L189) +[src/types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L189) ___ @@ -181,7 +181,7 @@ UnpublishedElection.duration #### Defined in -[types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L150) +[src/types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L150) ___ @@ -199,7 +199,7 @@ UnpublishedElection.electionType #### Defined in -[types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L237) +[src/types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L237) • `set` **electionType**(`value`): `void` @@ -219,7 +219,7 @@ UnpublishedElection.electionType #### Defined in -[types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L241) +[src/types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L241) ___ @@ -237,7 +237,7 @@ UnpublishedElection.endDate #### Defined in -[types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L227) +[src/types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L227) • `set` **endDate**(`value`): `void` @@ -257,7 +257,7 @@ UnpublishedElection.endDate #### Defined in -[types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L231) +[src/types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L231) ___ @@ -271,7 +271,7 @@ ___ #### Defined in -[types/election/budget.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L132) +[src/types/election/budget.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L132) • `set` **forceFullBudget**(`value`): `void` @@ -287,7 +287,7 @@ ___ #### Defined in -[types/election/budget.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L136) +[src/types/election/budget.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L136) ___ @@ -305,7 +305,7 @@ UnpublishedElection.header #### Defined in -[types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L193) +[src/types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L193) • `set` **header**(`value`): `void` @@ -325,7 +325,7 @@ UnpublishedElection.header #### Defined in -[types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L197) +[src/types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L197) ___ @@ -339,7 +339,7 @@ ___ #### Defined in -[types/election/budget.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L148) +[src/types/election/budget.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L148) • `set` **maxBudget**(`value`): `void` @@ -355,7 +355,7 @@ ___ #### Defined in -[types/election/budget.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L152) +[src/types/election/budget.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L152) ___ @@ -373,7 +373,7 @@ UnpublishedElection.maxCensusSize #### Defined in -[types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L270) +[src/types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L270) • `set` **maxCensusSize**(`value`): `void` @@ -393,7 +393,7 @@ UnpublishedElection.maxCensusSize #### Defined in -[types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L274) +[src/types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L274) ___ @@ -411,7 +411,7 @@ UnpublishedElection.meta #### Defined in -[types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L209) +[src/types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L209) • `set` **meta**(`value`): `void` @@ -431,7 +431,7 @@ UnpublishedElection.meta #### Defined in -[types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L213) +[src/types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L213) ___ @@ -445,7 +445,7 @@ ___ #### Defined in -[types/election/budget.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L124) +[src/types/election/budget.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L124) • `set` **minStep**(`value`): `void` @@ -461,7 +461,7 @@ ___ #### Defined in -[types/election/budget.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L128) +[src/types/election/budget.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L128) ___ @@ -479,7 +479,7 @@ UnpublishedElection.questions #### Defined in -[types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L253) +[src/types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L253) • `set` **questions**(`value`): `void` @@ -499,7 +499,7 @@ UnpublishedElection.questions #### Defined in -[types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L257) +[src/types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L257) ___ @@ -517,7 +517,7 @@ UnpublishedElection.startDate #### Defined in -[types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L218) +[src/types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L218) • `set` **startDate**(`value`): `void` @@ -537,7 +537,7 @@ UnpublishedElection.startDate #### Defined in -[types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L222) +[src/types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L222) ___ @@ -555,7 +555,7 @@ UnpublishedElection.streamUri #### Defined in -[types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L201) +[src/types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L201) • `set` **streamUri**(`value`): `void` @@ -575,7 +575,7 @@ UnpublishedElection.streamUri #### Defined in -[types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L205) +[src/types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L205) ___ @@ -593,7 +593,7 @@ UnpublishedElection.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L279) +[src/types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L279) • `set` **temporarySecretIdentity**(`value`): `void` @@ -613,7 +613,7 @@ UnpublishedElection.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L283) +[src/types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L283) ___ @@ -631,7 +631,7 @@ UnpublishedElection.title #### Defined in -[types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L176) +[src/types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L176) • `set` **title**(`value`): `void` @@ -651,7 +651,7 @@ UnpublishedElection.title #### Defined in -[types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L180) +[src/types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L180) ___ @@ -665,7 +665,7 @@ ___ #### Defined in -[types/election/budget.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L140) +[src/types/election/budget.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L140) • `set` **useCensusWeightAsBudget**(`value`): `void` @@ -681,7 +681,7 @@ ___ #### Defined in -[types/election/budget.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L144) +[src/types/election/budget.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L144) ___ @@ -699,7 +699,7 @@ UnpublishedElection.voteType #### Defined in -[types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L245) +[src/types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L245) • `set` **voteType**(`value`): `void` @@ -719,7 +719,7 @@ UnpublishedElection.voteType #### Defined in -[types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L249) +[src/types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L249) ## Constructors @@ -745,7 +745,7 @@ Constructs a budget election #### Defined in -[types/election/budget.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L35) +[src/types/election/budget.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L35) ## Methods @@ -771,7 +771,7 @@ Constructs a budget election #### Defined in -[types/election/budget.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L49) +[src/types/election/budget.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L49) ___ @@ -789,7 +789,7 @@ ___ #### Defined in -[types/election/budget.ts:78](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L78) +[src/types/election/budget.ts:78](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L78) ___ @@ -807,7 +807,7 @@ ___ #### Defined in -[types/election/budget.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L88) +[src/types/election/budget.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L88) ___ @@ -825,7 +825,7 @@ ___ #### Defined in -[types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L166) +[src/types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L166) ___ @@ -843,7 +843,7 @@ ___ #### Defined in -[types/election/budget.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L68) +[src/types/election/budget.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L68) ___ @@ -867,7 +867,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -891,7 +891,7 @@ ___ #### Defined in -[types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L61) +[src/types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L61) ___ @@ -909,7 +909,7 @@ ___ #### Defined in -[types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L128) +[src/types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L128) ___ @@ -931,7 +931,7 @@ ___ #### Defined in -[types/election/budget.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L104) +[src/types/election/budget.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L104) ___ @@ -957,4 +957,4 @@ Returns an unpublished election object #### Defined in -[types/election/budget.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L45) +[src/types/election/budget.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L45) diff --git a/docs/sdk/reference/classes/Census.md b/docs/sdk/reference/classes/Census.md index d21cef3ca..5931ab8f8 100644 --- a/docs/sdk/reference/classes/Census.md +++ b/docs/sdk/reference/classes/Census.md @@ -41,7 +41,7 @@ Represents a generic census #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -57,7 +57,7 @@ Represents a generic census #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -71,7 +71,7 @@ ___ #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -87,7 +87,7 @@ ___ #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -115,7 +115,7 @@ ___ #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -131,7 +131,7 @@ ___ #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -145,7 +145,7 @@ ___ #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -161,7 +161,7 @@ ___ #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -175,7 +175,7 @@ ___ #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -191,7 +191,7 @@ ___ #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Methods @@ -212,4 +212,4 @@ ___ #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/Census3CensusAPI.md b/docs/sdk/reference/classes/Census3CensusAPI.md index 601a4c6fe..96368e2f7 100644 --- a/docs/sdk/reference/classes/Census3CensusAPI.md +++ b/docs/sdk/reference/classes/Census3CensusAPI.md @@ -38,7 +38,7 @@ Returns the information of the census #### Defined in -[api/census3/census.ts:119](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L119) +[src/api/census3/census.ts:119](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L119) ___ @@ -64,7 +64,7 @@ The queue identifier #### Defined in -[api/census3/census.ts:147](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L147) +[src/api/census3/census.ts:147](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L147) ___ @@ -87,7 +87,7 @@ Fetches list of census based on given strategy #### Defined in -[api/census3/census.ts:106](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L106) +[src/api/census3/census.ts:106](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L106) ___ @@ -110,4 +110,4 @@ Returns the information of the census queue #### Defined in -[api/census3/census.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L132) +[src/api/census3/census.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L132) diff --git a/docs/sdk/reference/classes/Census3ServiceAPI.md b/docs/sdk/reference/classes/Census3ServiceAPI.md index 2bcadefc2..36746fbb1 100644 --- a/docs/sdk/reference/classes/Census3ServiceAPI.md +++ b/docs/sdk/reference/classes/Census3ServiceAPI.md @@ -34,4 +34,4 @@ Fetches supported chains from the service #### Defined in -[api/census3/service.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/service.ts#L45) +[src/api/census3/service.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/service.ts#L45) diff --git a/docs/sdk/reference/classes/Census3StrategyAPI.md b/docs/sdk/reference/classes/Census3StrategyAPI.md index cad908971..01c12ef37 100644 --- a/docs/sdk/reference/classes/Census3StrategyAPI.md +++ b/docs/sdk/reference/classes/Census3StrategyAPI.md @@ -16,6 +16,7 @@ - [estimation](Census3StrategyAPI#estimation) - [estimationQueue](Census3StrategyAPI#estimationqueue) - [holders](Census3StrategyAPI#holders) +- [holdersQueue](Census3StrategyAPI#holdersqueue) - [import](Census3StrategyAPI#import) - [importQueue](Census3StrategyAPI#importqueue) - [list](Census3StrategyAPI#list) @@ -49,7 +50,7 @@ The identifier of the created strategy #### Defined in -[api/census3/strategy.ts:422](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L422) +[src/api/census3/strategy.ts:451](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L451) ___ @@ -76,7 +77,7 @@ The queue identifier #### Defined in -[api/census3/strategy.ts:354](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L354) +[src/api/census3/strategy.ts:383](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L383) ___ @@ -99,13 +100,13 @@ Returns the information of the strategy estimation queue #### Defined in -[api/census3/strategy.ts:375](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L375) +[src/api/census3/strategy.ts:404](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L404) ___ ### holders -▸ **holders**(`url`, `id`, `pagination?`): `Promise`\<[`ICensus3StrategyHoldersResponsePaginated`](../interfaces/ICensus3StrategyHoldersResponsePaginated)\> +▸ **holders**(`url`, `id`): `Promise`\<`ICensus3QueueResponse`\> Fetches list of holders by strategy @@ -115,15 +116,40 @@ Fetches list of holders by strategy | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | | `id` | `number` | The identifier of the strategy | -| `pagination?` | `Census3Pagination` | Pagination options | #### Returns -`Promise`\<[`ICensus3StrategyHoldersResponsePaginated`](../interfaces/ICensus3StrategyHoldersResponsePaginated)\> +`Promise`\<`ICensus3QueueResponse`\> + +The queue identifier + +#### Defined in + +[src/api/census3/strategy.ts:314](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L314) + +___ + +### holdersQueue + +▸ **holdersQueue**(`url`, `id`, `queueId`): `Promise`\<[`ICensus3StrategyHoldersQueueResponse`](../interfaces/ICensus3StrategyHoldersQueueResponse)\> + +Returns the information of the strategy holders queue + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | API endpoint URL | +| `id` | `number` | The identifier of the strategy | +| `queueId` | `string` | The identifier of the strategy holders queue | + +#### Returns + +`Promise`\<[`ICensus3StrategyHoldersQueueResponse`](../interfaces/ICensus3StrategyHoldersQueueResponse)\> #### Defined in -[api/census3/strategy.ts:295](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L295) +[src/api/census3/strategy.ts:328](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L328) ___ @@ -148,7 +174,7 @@ The queue identifier #### Defined in -[api/census3/strategy.ts:406](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L406) +[src/api/census3/strategy.ts:435](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L435) ___ @@ -171,7 +197,7 @@ Returns the information of the strategy import queue #### Defined in -[api/census3/strategy.ts:390](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L390) +[src/api/census3/strategy.ts:419](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L419) ___ @@ -194,7 +220,7 @@ Fetches list of strategies #### Defined in -[api/census3/strategy.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L279) +[src/api/census3/strategy.ts:298](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L298) ___ @@ -219,7 +245,7 @@ Fetches list of strategies based on given token #### Defined in -[api/census3/strategy.ts:316](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L316) +[src/api/census3/strategy.ts:345](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L345) ___ @@ -241,7 +267,7 @@ Returns the list of supported operators to build strategy predicates. #### Defined in -[api/census3/strategy.ts:453](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L453) +[src/api/census3/strategy.ts:482](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L482) ___ @@ -264,7 +290,7 @@ Returns the information of the strategy #### Defined in -[api/census3/strategy.ts:338](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L338) +[src/api/census3/strategy.ts:367](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L367) ___ @@ -289,4 +315,4 @@ Parsed version of the predicate #### Defined in -[api/census3/strategy.ts:441](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L441) +[src/api/census3/strategy.ts:470](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L470) diff --git a/docs/sdk/reference/classes/Census3TokenAPI.md b/docs/sdk/reference/classes/Census3TokenAPI.md index 721873ca2..aa89b689f 100644 --- a/docs/sdk/reference/classes/Census3TokenAPI.md +++ b/docs/sdk/reference/classes/Census3TokenAPI.md @@ -45,7 +45,7 @@ promised IFileCIDResponse #### Defined in -[api/census3/token.ts:226](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L226) +[src/api/census3/token.ts:226](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L226) ___ @@ -73,7 +73,7 @@ The balance of holder #### Defined in -[api/census3/token.ts:196](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L196) +[src/api/census3/token.ts:196](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L196) ___ @@ -96,7 +96,7 @@ Fetches list of already added tokens #### Defined in -[api/census3/token.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L148) +[src/api/census3/token.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L148) ___ @@ -121,7 +121,7 @@ Fetch the full token information #### Defined in -[api/census3/token.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L175) +[src/api/census3/token.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L175) ___ @@ -143,4 +143,4 @@ Fetches list of tokens types #### Defined in -[api/census3/token.ts:160](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L160) +[src/api/census3/token.ts:160](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L160) diff --git a/docs/sdk/reference/classes/CensusAPI.md b/docs/sdk/reference/classes/CensusAPI.md index 52a84d448..9774c980d 100644 --- a/docs/sdk/reference/classes/CensusAPI.md +++ b/docs/sdk/reference/classes/CensusAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`CensusAPI`** @@ -13,12 +13,14 @@ ### Methods - [add](CensusAPI#add) +- [check](CensusAPI#check) - [create](CensusAPI#create) - [delete](CensusAPI#delete) - [export](CensusAPI#export) - [import](CensusAPI#import) - [proof](CensusAPI#proof) -- [publish](CensusAPI#publish) +- [publishAsync](CensusAPI#publishasync) +- [publishSync](CensusAPI#publishsync) - [size](CensusAPI#size) - [type](CensusAPI#type) - [weight](CensusAPI#weight) @@ -46,7 +48,33 @@ Adds participants to a census #### Defined in -[api/census.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L151) +[src/api/census.ts:161](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L161) + +___ + +### check + +▸ **check**(`url`, `authToken`, `censusId`): `Promise`\<[`ICensusPublishResponse`](../interfaces/ICensusPublishResponse)\> + +Checks that the census is published + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | API endpoint URL | +| `authToken` | `string` | Authentication token | +| `censusId` | `string` | The census ID we're checking | + +#### Returns + +`Promise`\<[`ICensusPublishResponse`](../interfaces/ICensusPublishResponse)\> + +on success + +#### Defined in + +[src/api/census.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L235) ___ @@ -70,7 +98,7 @@ Create's a new census in the API. #### Defined in -[api/census.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L132) +[src/api/census.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L142) ___ @@ -96,7 +124,7 @@ on success #### Defined in -[api/census.ts:273](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L273) +[src/api/census.ts:326](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L326) ___ @@ -122,7 +150,7 @@ on success #### Defined in -[api/census.ts:221](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L221) +[src/api/census.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L274) ___ @@ -151,7 +179,7 @@ on success #### Defined in -[api/census.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L243) +[src/api/census.ts:296](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L296) ___ @@ -177,13 +205,39 @@ on success #### Defined in -[api/census.ts:206](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L206) +[src/api/census.ts:259](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L259) + +___ + +### publishAsync + +▸ **publishAsync**(`url`, `authToken`, `censusId`): `Promise`\<[`ICensusPublishAsyncResponse`](../interfaces/ICensusPublishAsyncResponse)\> + +Publishes the census using an async call + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | API endpoint URL | +| `authToken` | `string` | Authentication token | +| `censusId` | `string` | The census ID we're publishing | + +#### Returns + +`Promise`\<[`ICensusPublishAsyncResponse`](../interfaces/ICensusPublishAsyncResponse)\> + +on success + +#### Defined in + +[src/api/census.ts:216](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L216) ___ -### publish +### publishSync -▸ **publish**(`url`, `authToken`, `censusId`): `Promise`\<[`ICensusPublishResponse`](../interfaces/ICensusPublishResponse)\> +▸ **publishSync**(`url`, `authToken`, `censusId`): `Promise`\<[`ICensusPublishResponse`](../interfaces/ICensusPublishResponse)\> Publishes the census, so it can be used in processes @@ -203,7 +257,7 @@ on success #### Defined in -[api/census.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L187) +[src/api/census.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L197) ___ @@ -226,7 +280,7 @@ Returns the size of a given census #### Defined in -[api/census.ts:290](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L290) +[src/api/census.ts:343](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L343) ___ @@ -249,7 +303,7 @@ Returns the type of given census #### Defined in -[api/census.ts:316](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L316) +[src/api/census.ts:369](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L369) ___ @@ -272,4 +326,4 @@ Returns the weight of a given census #### Defined in -[api/census.ts:303](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L303) +[src/api/census.ts:356](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L356) diff --git a/docs/sdk/reference/classes/CensusService.md b/docs/sdk/reference/classes/CensusService.md index 5585b71ca..f65023c9e 100644 --- a/docs/sdk/reference/classes/CensusService.md +++ b/docs/sdk/reference/classes/CensusService.md @@ -33,6 +33,7 @@ ### Properties +- [async](CensusService#async) - [auth](CensusService#auth) - [chunk\_size](CensusService.md#chunk_size) - [url](CensusService#url) @@ -61,7 +62,7 @@ Service.constructor #### Defined in -[services/census.ts:73](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L73) +[src/services/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L81) ## Methods @@ -82,7 +83,7 @@ Service.constructor #### Defined in -[services/census.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L142) +[src/services/census.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L150) ___ @@ -102,7 +103,7 @@ ___ #### Defined in -[services/census.ts:134](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L134) +[src/services/census.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L142) ___ @@ -124,7 +125,7 @@ Publishes the given census. #### Defined in -[services/census.ts:228](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L228) +[src/services/census.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L253) ___ @@ -146,7 +147,7 @@ Deletes the given census. #### Defined in -[services/census.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L108) +[src/services/census.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L116) ___ @@ -168,7 +169,7 @@ Exports the given census identifier. #### Defined in -[services/census.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L203) +[src/services/census.ts:228](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L228) ___ @@ -184,7 +185,7 @@ Fetches the specific account token auth and sets it to the current instance. #### Defined in -[services/census.ts:269](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L269) +[src/services/census.ts:294](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L294) ___ @@ -207,7 +208,7 @@ Fetches proof that an address is part of the specified census. #### Defined in -[services/census.ts:121](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L121) +[src/services/census.ts:129](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L129) ___ @@ -229,7 +230,7 @@ Fetches the information of a given census. #### Defined in -[services/census.ts:83](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L83) +[src/services/census.ts:91](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L91) ___ @@ -252,13 +253,13 @@ Imports data into the given census identifier. #### Defined in -[services/census.ts:216](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L216) +[src/services/census.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L241) ___ ### publish -▸ **publish**(`censusId`): `Promise`\<[`ICensusPublishResponse`](../interfaces/ICensusPublishResponse)\> +▸ **publish**(`censusId`, `async?`): `Promise`\<[`ICensusPublishResponse`](../interfaces/ICensusPublishResponse)\> Publishes the given census identifier. @@ -267,6 +268,7 @@ Publishes the given census identifier. | Name | Type | Description | | :------ | :------ | :------ | | `censusId` | `string` | The census identifier | +| `async?` | `boolean` | If the publication has to be done asynchronously | #### Returns @@ -274,10 +276,24 @@ Publishes the given census identifier. #### Defined in -[services/census.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L191) +[src/services/census.ts:200](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L200) ## Properties +### async + +• **async**: `CensusAsync` + +#### Implementation of + +CensusServiceProperties.async + +#### Defined in + +[src/services/census.ts:74](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L74) + +___ + ### auth • **auth**: `CensusAuth` @@ -288,7 +304,7 @@ CensusServiceProperties.auth #### Defined in -[services/census.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L65) +[src/services/census.ts:72](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L72) ___ @@ -302,7 +318,7 @@ CensusServiceProperties.chunk\_size #### Defined in -[services/census.ts:66](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L66) +[src/services/census.ts:73](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L73) ___ @@ -316,4 +332,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/CensusStillNotPublished.md b/docs/sdk/reference/classes/CensusStillNotPublished.md new file mode 100644 index 000000000..000c49dfb --- /dev/null +++ b/docs/sdk/reference/classes/CensusStillNotPublished.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / CensusStillNotPublished + +# Class: CensusStillNotPublished + +## Hierarchy + +- `Error` + + ↳ **`CensusStillNotPublished`** + +## Table of contents + +### Constructors + +- [constructor](CensusStillNotPublished#constructor) + +### Methods + +- [captureStackTrace](CensusStillNotPublished#capturestacktrace) + +### Properties + +- [cause](CensusStillNotPublished#cause) +- [message](CensusStillNotPublished#message) +- [name](CensusStillNotPublished#name) +- [stack](CensusStillNotPublished#stack) +- [prepareStackTrace](CensusStillNotPublished#preparestacktrace) +- [stackTraceLimit](CensusStillNotPublished#stacktracelimit) + +## Constructors + +### constructor + +• **new CensusStillNotPublished**(`message?`): [`CensusStillNotPublished`](CensusStillNotPublished) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`CensusStillNotPublished`](CensusStillNotPublished) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:568](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L568) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ChainAPI.md b/docs/sdk/reference/classes/ChainAPI.md index 7386e01b0..1793c701a 100644 --- a/docs/sdk/reference/classes/ChainAPI.md +++ b/docs/sdk/reference/classes/ChainAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`ChainAPI`** @@ -15,18 +15,16 @@ - [blockByHash](ChainAPI#blockbyhash) - [blockByHeight](ChainAPI#blockbyheight) - [blockToDate](ChainAPI#blocktodate) -- [blockTransactions](ChainAPI#blocktransactions) - [circuit](ChainAPI#circuit) - [circuits](ChainAPI#circuits) - [costs](ChainAPI#costs) - [dateToBlock](ChainAPI#datetoblock) - [feesList](ChainAPI#feeslist) -- [feesListByReference](ChainAPI#feeslistbyreference) -- [feesListByType](ChainAPI#feeslistbytype) - [info](ChainAPI#info) -- [organizationCount](ChainAPI#organizationcount) - [organizationList](ChainAPI#organizationlist) - [submitTx](ChainAPI#submittx) +- [transfers](ChainAPI#transfers) +- [txByIndex](ChainAPI#txbyindex) - [txInfo](ChainAPI#txinfo) - [txInfoByBlock](ChainAPI#txinfobyblock) - [txList](ChainAPI#txlist) @@ -53,7 +51,7 @@ Get block information by hash #### Defined in -[api/chain.ts:630](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L630) +[src/api/chain.ts:661](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L661) ___ @@ -76,7 +74,7 @@ Get block information by height #### Defined in -[api/chain.ts:605](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L605) +[src/api/chain.ts:636](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L636) ___ @@ -99,31 +97,7 @@ Return approximate date by a given block height. #### Defined in -[api/chain.ts:672](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L672) - -___ - -### blockTransactions - -▸ **blockTransactions**(`url`, `height`, `page?`): `Promise`\<[`IBlockTransactionsResponse`](../interfaces/IBlockTransactionsResponse)\> - -Get paginated list of transactions registered on specific block - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `height` | `number` | `undefined` | block height | -| `page` | `number` | `0` | the page number | - -#### Returns - -`Promise`\<[`IBlockTransactionsResponse`](../interfaces/IBlockTransactionsResponse)\> - -#### Defined in - -[api/chain.ts:644](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L644) +[src/api/chain.ts:687](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L687) ___ @@ -145,7 +119,7 @@ Fetches a circuit. #### Defined in -[api/chain.ts:445](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L445) +[src/api/chain.ts:483](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L483) ___ @@ -167,7 +141,7 @@ Fetches info about the blockchain anonymous circuits. #### Defined in -[api/chain.ts:433](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L433) +[src/api/chain.ts:471](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L471) ___ @@ -189,7 +163,7 @@ Fetches info about the blockchain costs. #### Defined in -[api/chain.ts:421](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L421) +[src/api/chain.ts:459](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L459) ___ @@ -212,46 +186,22 @@ By a given date give the estimate block for the current Vochain. #### Defined in -[api/chain.ts:658](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L658) +[src/api/chain.ts:673](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L673) ___ ### feesList -▸ **feesList**(`url`, `page?`): `Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> +▸ **feesList**(`url`, `params?`): `Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> -Returns the list of fees by page +Returns the list of fees #### Parameters -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | {string} url API endpoint URL | -| `page` | `number` | `0` | {number} page The page number | - -#### Returns - -`Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> - -#### Defined in - -[api/chain.ts:522](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L522) - -___ - -### feesListByReference - -▸ **feesListByReference**(`url`, `reference`, `page?`): `Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> - -Returns the list of fees by reference - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | {string} url API endpoint URL | -| `reference` | `string` | `undefined` | {string} reference The reference | -| `page` | `number` | `0` | {number} page The page number | +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | {string} url API endpoint URL | +| `params?` | `Partial`\<[`FetchFeesParametersWithPagination`](../sdk-reference#fetchfeesparameterswithpagination)\> | The parameters to filter the fees | #### Returns @@ -259,122 +209,122 @@ Returns the list of fees by reference #### Defined in -[api/chain.ts:536](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L536) +[src/api/chain.ts:600](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L600) ___ -### feesListByType +### info -▸ **feesListByType**(`url`, `type`, `page?`): `Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> +▸ **info**(`url`): `Promise`\<[`IChainGetInfoResponse`](../interfaces/IChainGetInfoResponse)\> -Returns the list of fees by type +Fetches info about the blockchain status. #### Parameters -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | {string} url API endpoint URL | -| `type` | `string` | `undefined` | {string} type The type of the fee | -| `page` | `number` | `0` | {number} page The page number | +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | API endpoint URL | #### Returns -`Promise`\<[`IChainFeesListResponse`](../interfaces/IChainFeesListResponse)\> +`Promise`\<[`IChainGetInfoResponse`](../interfaces/IChainGetInfoResponse)\> #### Defined in -[api/chain.ts:552](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L552) +[src/api/chain.ts:447](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L447) ___ -### info +### organizationList -▸ **info**(`url`): `Promise`\<[`IChainGetInfoResponse`](../interfaces/IChainGetInfoResponse)\> +▸ **organizationList**(`url`, `params?`): `Promise`\<[`IChainOrganizationListResponse`](../interfaces/IChainOrganizationListResponse)\> -Fetches info about the blockchain status. +Returns the list of organizations #### Parameters | Name | Type | Description | | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | +| `params?` | `Partial`\<[`FetchOrganizationParametersWithPagination`](../sdk-reference#fetchorganizationparameterswithpagination)\> | The parameters to filter the organizations | #### Returns -`Promise`\<[`IChainGetInfoResponse`](../interfaces/IChainGetInfoResponse)\> +`Promise`\<[`IChainOrganizationListResponse`](../interfaces/IChainOrganizationListResponse)\> #### Defined in -[api/chain.ts:409](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L409) +[src/api/chain.ts:617](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L617) ___ -### organizationCount +### submitTx -▸ **organizationCount**(`url`): `Promise`\<[`IChainOrganizationCountResponse`](../interfaces/IChainOrganizationCountResponse)\> +▸ **submitTx**(`url`, `payload`): `Promise`\<[`IChainSubmitTxResponse`](../interfaces/IChainSubmitTxResponse)\> -Returns the number of organizations +Submits a transaction to the blockchain #### Parameters | Name | Type | Description | | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | +| `payload` | `string` | The transaction data payload | #### Returns -`Promise`\<[`IChainOrganizationCountResponse`](../interfaces/IChainOrganizationCountResponse)\> +`Promise`\<[`IChainSubmitTxResponse`](../interfaces/IChainSubmitTxResponse)\> #### Defined in -[api/chain.ts:566](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L566) +[src/api/chain.ts:553](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L553) ___ -### organizationList +### transfers -▸ **organizationList**(`url`, `page?`, `organizationId?`): `Promise`\<[`IChainOrganizationListResponse`](../interfaces/IChainOrganizationListResponse)\> +▸ **transfers**(`url`, `params?`): `Promise`\<[`IChainTransfersListResponse`](../interfaces/IChainTransfersListResponse)\> -Returns the list of organizations by page +Returns the list of transfers #### Parameters -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `page` | `number` | `0` | The page number | -| `organizationId?` | `string` | `undefined` | Organization id or partial id to search. It has to be a valid hex string. | +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | {string} url API endpoint URL | +| `params?` | `Partial`\<[`FetchTransfersParametersWithPagination`](../sdk-reference#fetchtransfersparameterswithpagination)\> | The parameters to filter the transfers | #### Returns -`Promise`\<[`IChainOrganizationListResponse`](../interfaces/IChainOrganizationListResponse)\> +`Promise`\<[`IChainTransfersListResponse`](../interfaces/IChainTransfersListResponse)\> #### Defined in -[api/chain.ts:580](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L580) +[src/api/chain.ts:583](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L583) ___ -### submitTx +### txByIndex -▸ **submitTx**(`url`, `payload`): `Promise`\<[`IChainSubmitTxResponse`](../interfaces/IChainSubmitTxResponse)\> +▸ **txByIndex**(`url`, `index`): `Promise`\<[`IChainTxReference`](../interfaces/IChainTxReference)\> -Submits a transaction to the blockchain +Fetches information about a transaction from the blockchain by its index. The transaction index is an incremental +counter for each transaction #### Parameters | Name | Type | Description | | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | -| `payload` | `string` | The transaction data payload | +| `index` | `number` | The transaction index | #### Returns -`Promise`\<[`IChainSubmitTxResponse`](../interfaces/IChainSubmitTxResponse)\> +`Promise`\<[`IChainTxReference`](../interfaces/IChainTxReference)\> #### Defined in -[api/chain.ts:496](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L496) +[src/api/chain.ts:515](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L515) ___ @@ -397,7 +347,7 @@ Fetches information about a transaction from the blockchain. #### Defined in -[api/chain.ts:458](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L458) +[src/api/chain.ts:496](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L496) ___ @@ -421,22 +371,22 @@ Fetches information about a transaction by its containing block an index on the #### Defined in -[api/chain.ts:477](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L477) +[src/api/chain.ts:534](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L534) ___ ### txList -▸ **txList**(`url`, `page?`): `Promise`\<[`IChainTxListResponse`](../interfaces/IChainTxListResponse)\> +▸ **txList**(`url`, `params?`): `Promise`\<[`IChainTxListResponse`](../interfaces/IChainTxListResponse)\> -Returns the list of transactions by page +Returns the list of transactions #### Parameters -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | {string} url API endpoint URL | -| `page` | `number` | `0` | {number} page The page number | +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | {string} url API endpoint URL | +| `params?` | `Partial`\<[`FetchTransactionsParametersWithPagination`](../sdk-reference#fetchtransactionsparameterswithpagination)\> | The parameters to filter the transactions | #### Returns @@ -444,7 +394,7 @@ Returns the list of transactions by page #### Defined in -[api/chain.ts:509](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L509) +[src/api/chain.ts:566](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L566) ___ @@ -466,4 +416,4 @@ Returns the list of validators #### Defined in -[api/chain.ts:617](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L617) +[src/api/chain.ts:648](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L648) diff --git a/docs/sdk/reference/classes/ChainService.md b/docs/sdk/reference/classes/ChainService.md index 19200dae5..007c71a45 100644 --- a/docs/sdk/reference/classes/ChainService.md +++ b/docs/sdk/reference/classes/ChainService.md @@ -58,7 +58,7 @@ Service.constructor #### Defined in -[services/chain.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L47) +[src/services/chain.ts:72](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L72) ## Methods @@ -82,7 +82,7 @@ The block number #### Defined in -[services/chain.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L112) +[src/services/chain.ts:137](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L137) ___ @@ -98,7 +98,7 @@ Fetches blockchain costs information if needed. #### Defined in -[services/chain.ts:72](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L72) +[src/services/chain.ts:97](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L97) ___ @@ -114,7 +114,7 @@ Fetches blockchain information if needed. #### Defined in -[services/chain.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L56) +[src/services/chain.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L81) ___ @@ -138,7 +138,7 @@ The transaction hash #### Defined in -[services/chain.ts:90](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L90) +[src/services/chain.ts:115](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L115) ___ @@ -162,7 +162,7 @@ The chain transaction #### Defined in -[services/chain.ts:101](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L101) +[src/services/chain.ts:126](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L126) ___ @@ -188,7 +188,7 @@ it fails. #### Defined in -[services/chain.ts:126](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L126) +[src/services/chain.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L151) ## Properties @@ -202,7 +202,7 @@ ChainServiceProperties.chainCosts #### Defined in -[services/chain.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L38) +[src/services/chain.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L63) ___ @@ -216,7 +216,7 @@ ChainServiceProperties.chainData #### Defined in -[services/chain.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L39) +[src/services/chain.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L64) ___ @@ -230,7 +230,7 @@ ChainServiceProperties.txWait #### Defined in -[services/chain.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L40) +[src/services/chain.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L65) ___ @@ -244,4 +244,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/CspAPI.md b/docs/sdk/reference/classes/CspAPI.md index caf590e29..ec005b206 100644 --- a/docs/sdk/reference/classes/CspAPI.md +++ b/docs/sdk/reference/classes/CspAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`CspAPI`** @@ -36,7 +36,7 @@ CSP info #### Defined in -[api/csp.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L85) +[src/api/csp.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L85) ___ @@ -62,7 +62,7 @@ CSP sign #### Defined in -[api/csp.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L132) +[src/api/csp.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L132) ___ @@ -90,4 +90,4 @@ CSP step #### Defined in -[api/csp.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L104) +[src/api/csp.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L104) diff --git a/docs/sdk/reference/classes/CspCensus.md b/docs/sdk/reference/classes/CspCensus.md index cbe6bc717..fb57409fe 100644 --- a/docs/sdk/reference/classes/CspCensus.md +++ b/docs/sdk/reference/classes/CspCensus.md @@ -45,7 +45,7 @@ Census.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -65,7 +65,7 @@ Census.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -83,7 +83,7 @@ Census.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -103,7 +103,7 @@ Census.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -121,7 +121,7 @@ Census.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -139,7 +139,7 @@ Census.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -159,7 +159,7 @@ Census.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -177,7 +177,7 @@ Census.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -197,7 +197,7 @@ Census.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -215,7 +215,7 @@ Census.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -235,7 +235,7 @@ Census.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Constructors @@ -262,7 +262,7 @@ Census.constructor #### Defined in -[types/census/csp.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/csp.ts#L14) +[src/types/census/csp.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/csp.ts#L14) ## Methods @@ -287,4 +287,4 @@ Census.constructor #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/CspService.md b/docs/sdk/reference/classes/CspService.md index 01bf02b24..5e716016b 100644 --- a/docs/sdk/reference/classes/CspService.md +++ b/docs/sdk/reference/classes/CspService.md @@ -57,7 +57,7 @@ Service.constructor #### Defined in -[services/csp.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L29) +[src/services/csp.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L29) ## Methods @@ -79,7 +79,7 @@ Service.constructor #### Defined in -[services/csp.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L64) +[src/services/csp.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L64) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[services/csp.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L49) +[src/services/csp.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L49) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[services/csp.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L75) +[src/services/csp.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L75) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[services/csp.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L43) +[src/services/csp.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L43) ___ @@ -158,7 +158,7 @@ ___ #### Defined in -[services/csp.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L39) +[src/services/csp.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L39) ___ @@ -180,7 +180,7 @@ ___ #### Defined in -[services/csp.ts:79](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L79) +[src/services/csp.ts:79](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L79) ___ @@ -200,7 +200,7 @@ ___ #### Defined in -[services/csp.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L34) +[src/services/csp.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L34) ## Properties @@ -214,7 +214,7 @@ CspServiceProperties.info #### Defined in -[services/csp.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L22) +[src/services/csp.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L22) ___ @@ -228,4 +228,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/CspVote.md b/docs/sdk/reference/classes/CspVote.md index 32a4a776d..51087c418 100644 --- a/docs/sdk/reference/classes/CspVote.md +++ b/docs/sdk/reference/classes/CspVote.md @@ -34,7 +34,7 @@ Represents a vote #### Defined in -[types/vote/csp.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/csp.ts#L29) +[src/types/vote/csp.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/csp.ts#L29) • `set` **proof_type**(`value`): `void` @@ -50,7 +50,7 @@ Represents a vote #### Defined in -[types/vote/csp.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/csp.ts#L33) +[src/types/vote/csp.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/csp.ts#L33) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[types/vote/csp.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/csp.ts#L21) +[src/types/vote/csp.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/csp.ts#L21) • `set` **signature**(`value`): `void` @@ -80,7 +80,7 @@ ___ #### Defined in -[types/vote/csp.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/csp.ts#L25) +[src/types/vote/csp.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/csp.ts#L25) ___ @@ -98,7 +98,7 @@ Vote.votes #### Defined in -[types/vote/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L16) +[src/types/vote/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L16) • `set` **votes**(`value`): `void` @@ -118,7 +118,7 @@ Vote.votes #### Defined in -[types/vote/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L20) +[src/types/vote/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L20) ## Constructors @@ -146,4 +146,4 @@ Constructs a csp vote #### Defined in -[types/vote/csp.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/csp.ts#L15) +[src/types/vote/csp.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/csp.ts#L15) diff --git a/docs/sdk/reference/classes/Election.md b/docs/sdk/reference/classes/Election.md index 4aec6f4f9..c7cb0e8ea 100644 --- a/docs/sdk/reference/classes/Election.md +++ b/docs/sdk/reference/classes/Election.md @@ -48,7 +48,7 @@ Represents an election #### Defined in -[types/election/election.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L275) +[src/types/election/election.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L275) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[types/election/election.ts:263](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L263) +[src/types/election/election.ts:263](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L263) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[types/election/election.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L227) +[src/types/election/election.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L227) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[types/election/election.ts:251](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L251) +[src/types/election/election.ts:251](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L251) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[types/election/election.ts:247](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L247) +[src/types/election/election.ts:247](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L247) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[types/election/election.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L231) +[src/types/election/election.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L231) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[types/election/election.ts:267](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L267) +[src/types/election/election.ts:267](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L267) ___ @@ -146,7 +146,7 @@ ___ #### Defined in -[types/election/election.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L239) +[src/types/election/election.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L239) ___ @@ -160,7 +160,7 @@ ___ #### Defined in -[types/election/election.ts:259](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L259) +[src/types/election/election.ts:259](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L259) ___ @@ -174,7 +174,7 @@ ___ #### Defined in -[types/election/election.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L243) +[src/types/election/election.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L243) ___ @@ -188,7 +188,7 @@ ___ #### Defined in -[types/election/election.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L235) +[src/types/election/election.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L235) ___ @@ -202,7 +202,7 @@ ___ #### Defined in -[types/election/election.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L271) +[src/types/election/election.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L271) ___ @@ -216,7 +216,7 @@ ___ #### Defined in -[types/election/election.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L223) +[src/types/election/election.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L223) ___ @@ -230,7 +230,7 @@ ___ #### Defined in -[types/election/election.ts:255](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L255) +[src/types/election/election.ts:255](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L255) ## Methods @@ -250,7 +250,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -272,4 +272,4 @@ Returns an unpublished election object #### Defined in -[types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L219) +[src/types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L219) diff --git a/docs/sdk/reference/classes/ElectionAPI.md b/docs/sdk/reference/classes/ElectionAPI.md index bf0c16fa8..d6f342672 100644 --- a/docs/sdk/reference/classes/ElectionAPI.md +++ b/docs/sdk/reference/classes/ElectionAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`ElectionAPI`** @@ -13,13 +13,11 @@ ### Methods - [create](ElectionAPI#create) -- [electionsList](ElectionAPI#electionslist) - [info](ElectionAPI#info) - [keys](ElectionAPI#keys) +- [list](ElectionAPI#list) - [nextElectionId](ElectionAPI#nextelectionid) - [price](ElectionAPI#price) -- [votesCount](ElectionAPI#votescount) -- [votesList](ElectionAPI#voteslist) ## Methods @@ -43,31 +41,7 @@ Creates a new election. #### Defined in -[api/election.ts:410](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L410) - -___ - -### electionsList - -▸ **electionsList**(`url`, `page?`, `filter?`): `Promise`\<[`IElectionListResponse`](../interfaces/IElectionListResponse)\> - -Return list of all elections in the chain - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `page` | `number` | `0` | The page number | -| `filter` | [`IElectionListFilter`](../interfaces/IElectionListFilter) | `{}` | Search by organizationId, electionId, withResults, and status | - -#### Returns - -`Promise`\<[`IElectionListResponse`](../interfaces/IElectionListResponse)\> - -#### Defined in - -[api/election.ts:477](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L477) +[src/api/election.ts:372](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L372) ___ @@ -90,7 +64,7 @@ Fetches info about the specified process. #### Defined in -[api/election.ts:383](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L383) +[src/api/election.ts:345](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L345) ___ @@ -113,103 +87,80 @@ Fetches the encryption keys from the specified process. #### Defined in -[api/election.ts:396](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L396) +[src/api/election.ts:358](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L358) ___ -### nextElectionId +### list -▸ **nextElectionId**(`url`, `organizationId`, `censusOrigin`, `envelopeType?`): `Promise`\<[`IElectionNextIdResponse`](../interfaces/IElectionNextIdResponse)\> +▸ **list**(`url`, `params?`): `Promise`\<[`IElectionListResponse`](../interfaces/IElectionListResponse)\> -Returns the next election id. +Return list of all elections in the chain #### Parameters | Name | Type | Description | | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | -| `organizationId` | `string` | The identifier of the organization | -| `censusOrigin` | `number` | The census origin | -| `envelopeType?` | `Partial`\<[`IVoteMode`](../interfaces/IVoteMode)\> | The envelope type | +| `params?` | `Partial`\<[`FetchElectionsParametersWithPagination`](../sdk-reference#fetchelectionsparameterswithpagination)\> | The parameters to filter the elections | #### Returns -`Promise`\<[`IElectionNextIdResponse`](../interfaces/IElectionNextIdResponse)\> +`Promise`\<[`IElectionListResponse`](../interfaces/IElectionListResponse)\> #### Defined in -[api/election.ts:425](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L425) +[src/api/election.ts:412](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L412) ___ -### price +### nextElectionId -▸ **price**(`url`, `maxCensusSize`, `electionDuration`, `encryptedVotes`, `anonymousVotes`, `maxVoteOverwrite`): `Promise`\<`IElectionCalculatePriceResponse`\> +▸ **nextElectionId**(`url`, `organizationId`, `censusOrigin`, `delta?`, `envelopeType?`): `Promise`\<[`IElectionNextIdResponse`](../interfaces/IElectionNextIdResponse)\> -Calculates the election price. +Returns the next election id. #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `url` | `string` | API endpoint URL | -| `maxCensusSize` | `number` | | -| `electionDuration` | `number` | | -| `encryptedVotes` | `boolean` | | -| `anonymousVotes` | `boolean` | | -| `maxVoteOverwrite` | `number` | | +| Name | Type | Default value | Description | +| :------ | :------ | :------ | :------ | +| `url` | `string` | `undefined` | API endpoint URL | +| `organizationId` | `string` | `undefined` | The identifier of the organization | +| `censusOrigin` | `number` | `undefined` | The census origin | +| `delta` | `number` | `0` | The stride to next election id, being 0 the next one | +| `envelopeType?` | `Partial`\<[`IVoteMode`](../interfaces/IVoteMode)\> | `undefined` | The envelope type | #### Returns -`Promise`\<`IElectionCalculatePriceResponse`\> +`Promise`\<[`IElectionNextIdResponse`](../interfaces/IElectionNextIdResponse)\> #### Defined in -[api/election.ts:509](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L509) +[src/api/election.ts:388](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L388) ___ -### votesCount +### price -▸ **votesCount**(`url`, `electionId`): `Promise`\<`IElectionVotesCountResponse`\> +▸ **price**(`url`, `maxCensusSize`, `electionDuration`, `encryptedVotes`, `anonymousVotes`, `maxVoteOverwrite`): `Promise`\<`IElectionCalculatePriceResponse`\> -Returns the number of votes of a given election +Calculates the election price. #### Parameters | Name | Type | Description | | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | -| `electionId` | `string` | The identifier of the election | - -#### Returns - -`Promise`\<`IElectionVotesCountResponse`\> - -#### Defined in - -[api/election.ts:447](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L447) - -___ - -### votesList - -▸ **votesList**(`url`, `electionId`, `page?`): `Promise`\<[`IElectionVoteListResponse`](../interfaces/IElectionVoteListResponse)\> - -Returns the list of votes for a given election - -#### Parameters - -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `url` | `string` | `undefined` | API endpoint URL | -| `electionId` | `string` | `undefined` | The identifier of the election | -| `page` | `number` | `0` | The page number | +| `maxCensusSize` | `number` | | +| `electionDuration` | `number` | | +| `encryptedVotes` | `boolean` | | +| `anonymousVotes` | `boolean` | | +| `maxVoteOverwrite` | `number` | | #### Returns -`Promise`\<[`IElectionVoteListResponse`](../interfaces/IElectionVoteListResponse)\> +`Promise`\<`IElectionCalculatePriceResponse`\> #### Defined in -[api/election.ts:461](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L461) +[src/api/election.ts:433](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L433) diff --git a/docs/sdk/reference/classes/ElectionService.md b/docs/sdk/reference/classes/ElectionService.md index c3713711d..5ae2c23d8 100644 --- a/docs/sdk/reference/classes/ElectionService.md +++ b/docs/sdk/reference/classes/ElectionService.md @@ -62,7 +62,7 @@ Service.constructor #### Defined in -[services/election.ts:70](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L70) +[src/services/election.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L88) ## Methods @@ -86,7 +86,7 @@ The cost in tokens. #### Defined in -[services/election.ts:376](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L376) +[src/services/election.ts:395](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L395) ___ @@ -111,7 +111,7 @@ The created election information #### Defined in -[services/election.ts:296](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L296) +[src/services/election.ts:314](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L314) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[services/election.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L110) +[src/services/election.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L128) ___ @@ -156,7 +156,7 @@ The cost in tokens. #### Defined in -[services/election.ts:363](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L363) +[src/services/election.ts:382](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L382) ___ @@ -179,27 +179,27 @@ Fetches info about an election. #### Defined in -[services/election.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L148) +[src/services/election.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L166) ___ ### fetchElections -▸ **fetchElections**(`params`): `Promise`\<([`PublishedElection`](PublishedElection.md) \| [`ArchivedElection`](ArchivedElection.md) \| [`InvalidElection`](InvalidElection))[]\> +▸ **fetchElections**(`params?`): `Promise`\<[`ElectionListWithPagination`](../sdk-reference#electionlistwithpagination)\> #### Parameters | Name | Type | | :------ | :------ | -| `params` | `Partial`\<[`FetchElectionsParameters`](../interfaces/FetchElectionsParameters)\> | +| `params?` | `Partial`\<[`FetchElectionsParametersWithPagination`](../sdk-reference#fetchelectionsparameterswithpagination)\> | #### Returns -`Promise`\<([`PublishedElection`](PublishedElection.md) \| [`ArchivedElection`](ArchivedElection.md) \| [`InvalidElection`](InvalidElection))[]\> +`Promise`\<[`ElectionListWithPagination`](../sdk-reference#electionlistwithpagination)\> #### Defined in -[services/election.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L261) +[src/services/election.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L287) ___ @@ -224,7 +224,7 @@ The election salt #### Defined in -[services/election.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L327) +[src/services/election.ts:346](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L346) ___ @@ -248,7 +248,7 @@ The numeric identifier #### Defined in -[services/election.ts:341](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L341) +[src/services/election.ts:360](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L360) ___ @@ -270,22 +270,23 @@ Fetches the encryption keys from the specified process. #### Defined in -[services/election.ts:353](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L353) +[src/services/election.ts:372](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L372) ___ ### nextElectionId -▸ **nextElectionId**(`address`, `election`): `Promise`\<`string`\> +▸ **nextElectionId**(`address`, `election`, `delta?`): `Promise`\<`string`\> Returns the next election id. #### Parameters -| Name | Type | Description | -| :------ | :------ | :------ | -| `address` | `string` | The address of the account | -| `election` | [`UnpublishedElection`](UnpublishedElection) | The unpublished election | +| Name | Type | Default value | Description | +| :------ | :------ | :------ | :------ | +| `address` | `string` | `undefined` | The address of the account | +| `election` | [`UnpublishedElection`](UnpublishedElection) | `undefined` | The unpublished election | +| `delta` | `number` | `0` | The stride to next election id, being 0 the next one | #### Returns @@ -295,7 +296,7 @@ The next election identifier #### Defined in -[services/election.ts:308](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L308) +[src/services/election.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L327) ___ @@ -317,7 +318,7 @@ ___ #### Defined in -[services/election.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L75) +[src/services/election.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L93) ## Properties @@ -331,7 +332,7 @@ ElectionServiceProperties.censusService #### Defined in -[services/election.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L62) +[src/services/election.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L80) ___ @@ -345,7 +346,7 @@ ElectionServiceProperties.chainService #### Defined in -[services/election.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L63) +[src/services/election.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L81) ___ @@ -359,4 +360,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/ErrAPI.md b/docs/sdk/reference/classes/ErrAPI.md new file mode 100644 index 000000000..a85bd4f06 --- /dev/null +++ b/docs/sdk/reference/classes/ErrAPI.md @@ -0,0 +1,196 @@ +[@vocdoni/sdk](/sdk) / ErrAPI + +# Class: ErrAPI + +## Hierarchy + +- `Error` + + ↳ **`ErrAPI`** + +## Table of contents + +### Constructors + +- [constructor](ErrAPI#constructor) + +### Methods + +- [captureStackTrace](ErrAPI#capturestacktrace) + +### Properties + +- [cause](ErrAPI#cause) +- [message](ErrAPI#message) +- [name](ErrAPI#name) +- [raw](ErrAPI#raw) +- [stack](ErrAPI#stack) +- [prepareStackTrace](ErrAPI#preparestacktrace) +- [stackTraceLimit](ErrAPI#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrAPI**(`message?`, `error?`): [`ErrAPI`](ErrAPI) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | +| `error?` | `AxiosError`\<`unknown`, `any`\> | + +#### Returns + +[`ErrAPI`](ErrAPI) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/api.ts:101](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L101) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### raw + +• **raw**: `AxiosError`\<`unknown`, `any`\> + +#### Defined in + +[src/api/api.ts:99](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L99) + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrAccountAlreadyExists.md b/docs/sdk/reference/classes/ErrAccountAlreadyExists.md new file mode 100644 index 000000000..db30fd481 --- /dev/null +++ b/docs/sdk/reference/classes/ErrAccountAlreadyExists.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrAccountAlreadyExists + +# Class: ErrAccountAlreadyExists + +## Hierarchy + +- `Error` + + ↳ **`ErrAccountAlreadyExists`** + +## Table of contents + +### Constructors + +- [constructor](ErrAccountAlreadyExists#constructor) + +### Methods + +- [captureStackTrace](ErrAccountAlreadyExists#capturestacktrace) + +### Properties + +- [cause](ErrAccountAlreadyExists#cause) +- [message](ErrAccountAlreadyExists#message) +- [name](ErrAccountAlreadyExists#name) +- [stack](ErrAccountAlreadyExists#stack) +- [prepareStackTrace](ErrAccountAlreadyExists#preparestacktrace) +- [stackTraceLimit](ErrAccountAlreadyExists#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrAccountAlreadyExists**(`message?`): [`ErrAccountAlreadyExists`](ErrAccountAlreadyExists) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrAccountAlreadyExists`](ErrAccountAlreadyExists) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L26) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrAccountNotFound.md b/docs/sdk/reference/classes/ErrAccountNotFound.md new file mode 100644 index 000000000..9a6e03739 --- /dev/null +++ b/docs/sdk/reference/classes/ErrAccountNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrAccountNotFound + +# Class: ErrAccountNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrAccountNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrAccountNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrAccountNotFound#capturestacktrace) + +### Properties + +- [cause](ErrAccountNotFound#cause) +- [message](ErrAccountNotFound#message) +- [name](ErrAccountNotFound#name) +- [stack](ErrAccountNotFound#stack) +- [prepareStackTrace](ErrAccountNotFound#preparestacktrace) +- [stackTraceLimit](ErrAccountNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrAccountNotFound**(`message?`): [`ErrAccountNotFound`](ErrAccountNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrAccountNotFound`](ErrAccountNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L20) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrAddressMalformed.md b/docs/sdk/reference/classes/ErrAddressMalformed.md new file mode 100644 index 000000000..18a66bc07 --- /dev/null +++ b/docs/sdk/reference/classes/ErrAddressMalformed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrAddressMalformed + +# Class: ErrAddressMalformed + +## Hierarchy + +- `Error` + + ↳ **`ErrAddressMalformed`** + +## Table of contents + +### Constructors + +- [constructor](ErrAddressMalformed#constructor) + +### Methods + +- [captureStackTrace](ErrAddressMalformed#capturestacktrace) + +### Properties + +- [cause](ErrAddressMalformed#cause) +- [message](ErrAddressMalformed#message) +- [name](ErrAddressMalformed#name) +- [stack](ErrAddressMalformed#stack) +- [prepareStackTrace](ErrAddressMalformed#preparestacktrace) +- [stackTraceLimit](ErrAddressMalformed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrAddressMalformed**(`message?`): [`ErrAddressMalformed`](ErrAddressMalformed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrAddressMalformed`](ErrAddressMalformed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L2) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrBlockNotFound.md b/docs/sdk/reference/classes/ErrBlockNotFound.md new file mode 100644 index 000000000..034a5d0d2 --- /dev/null +++ b/docs/sdk/reference/classes/ErrBlockNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrBlockNotFound + +# Class: ErrBlockNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrBlockNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrBlockNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrBlockNotFound#capturestacktrace) + +### Properties + +- [cause](ErrBlockNotFound#cause) +- [message](ErrBlockNotFound#message) +- [name](ErrBlockNotFound#name) +- [stack](ErrBlockNotFound#stack) +- [prepareStackTrace](ErrBlockNotFound#preparestacktrace) +- [stackTraceLimit](ErrBlockNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrBlockNotFound**(`message?`): [`ErrBlockNotFound`](ErrBlockNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrBlockNotFound`](ErrBlockNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L44) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantABIEncodeResults.md b/docs/sdk/reference/classes/ErrCantABIEncodeResults.md new file mode 100644 index 000000000..8f8281465 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantABIEncodeResults.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantABIEncodeResults + +# Class: ErrCantABIEncodeResults + +## Hierarchy + +- `Error` + + ↳ **`ErrCantABIEncodeResults`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantABIEncodeResults#constructor) + +### Methods + +- [captureStackTrace](ErrCantABIEncodeResults#capturestacktrace) + +### Properties + +- [cause](ErrCantABIEncodeResults#cause) +- [message](ErrCantABIEncodeResults#message) +- [name](ErrCantABIEncodeResults#name) +- [stack](ErrCantABIEncodeResults#stack) +- [prepareStackTrace](ErrCantABIEncodeResults#preparestacktrace) +- [stackTraceLimit](ErrCantABIEncodeResults#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantABIEncodeResults**(`message?`): [`ErrCantABIEncodeResults`](ErrCantABIEncodeResults) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantABIEncodeResults`](ErrCantABIEncodeResults) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:416](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L416) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantAddKeyAndValueToTree.md b/docs/sdk/reference/classes/ErrCantAddKeyAndValueToTree.md new file mode 100644 index 000000000..4365746f6 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantAddKeyAndValueToTree.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantAddKeyAndValueToTree + +# Class: ErrCantAddKeyAndValueToTree + +## Hierarchy + +- `Error` + + ↳ **`ErrCantAddKeyAndValueToTree`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantAddKeyAndValueToTree#constructor) + +### Methods + +- [captureStackTrace](ErrCantAddKeyAndValueToTree#capturestacktrace) + +### Properties + +- [cause](ErrCantAddKeyAndValueToTree#cause) +- [message](ErrCantAddKeyAndValueToTree#message) +- [name](ErrCantAddKeyAndValueToTree#name) +- [stack](ErrCantAddKeyAndValueToTree#stack) +- [prepareStackTrace](ErrCantAddKeyAndValueToTree#preparestacktrace) +- [stackTraceLimit](ErrCantAddKeyAndValueToTree#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantAddKeyAndValueToTree**(`message?`): [`ErrCantAddKeyAndValueToTree`](ErrCantAddKeyAndValueToTree) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantAddKeyAndValueToTree`](ErrCantAddKeyAndValueToTree) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:428](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L428) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantAddKeyToTree.md b/docs/sdk/reference/classes/ErrCantAddKeyToTree.md new file mode 100644 index 000000000..e063f6999 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantAddKeyToTree.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantAddKeyToTree + +# Class: ErrCantAddKeyToTree + +## Hierarchy + +- `Error` + + ↳ **`ErrCantAddKeyToTree`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantAddKeyToTree#constructor) + +### Methods + +- [captureStackTrace](ErrCantAddKeyToTree#capturestacktrace) + +### Properties + +- [cause](ErrCantAddKeyToTree#cause) +- [message](ErrCantAddKeyToTree#message) +- [name](ErrCantAddKeyToTree#name) +- [stack](ErrCantAddKeyToTree#stack) +- [prepareStackTrace](ErrCantAddKeyToTree#preparestacktrace) +- [stackTraceLimit](ErrCantAddKeyToTree#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantAddKeyToTree**(`message?`): [`ErrCantAddKeyToTree`](ErrCantAddKeyToTree) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantAddKeyToTree`](ErrCantAddKeyToTree) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:434](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L434) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantCheckTxType.md b/docs/sdk/reference/classes/ErrCantCheckTxType.md new file mode 100644 index 000000000..4f412e577 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantCheckTxType.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantCheckTxType + +# Class: ErrCantCheckTxType + +## Hierarchy + +- `Error` + + ↳ **`ErrCantCheckTxType`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantCheckTxType#constructor) + +### Methods + +- [captureStackTrace](ErrCantCheckTxType#capturestacktrace) + +### Properties + +- [cause](ErrCantCheckTxType#cause) +- [message](ErrCantCheckTxType#message) +- [name](ErrCantCheckTxType#name) +- [stack](ErrCantCheckTxType#stack) +- [prepareStackTrace](ErrCantCheckTxType#preparestacktrace) +- [stackTraceLimit](ErrCantCheckTxType#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantCheckTxType**(`message?`): [`ErrCantCheckTxType`](ErrCantCheckTxType) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantCheckTxType`](ErrCantCheckTxType) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:410](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L410) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantComputeKeyHash.md b/docs/sdk/reference/classes/ErrCantComputeKeyHash.md new file mode 100644 index 000000000..792c29c87 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantComputeKeyHash.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantComputeKeyHash + +# Class: ErrCantComputeKeyHash + +## Hierarchy + +- `Error` + + ↳ **`ErrCantComputeKeyHash`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantComputeKeyHash#constructor) + +### Methods + +- [captureStackTrace](ErrCantComputeKeyHash#capturestacktrace) + +### Properties + +- [cause](ErrCantComputeKeyHash#cause) +- [message](ErrCantComputeKeyHash#message) +- [name](ErrCantComputeKeyHash#name) +- [stack](ErrCantComputeKeyHash#stack) +- [prepareStackTrace](ErrCantComputeKeyHash#preparestacktrace) +- [stackTraceLimit](ErrCantComputeKeyHash#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantComputeKeyHash**(`message?`): [`ErrCantComputeKeyHash`](ErrCantComputeKeyHash) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantComputeKeyHash`](ErrCantComputeKeyHash) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:422](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L422) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantCountVotes.md b/docs/sdk/reference/classes/ErrCantCountVotes.md new file mode 100644 index 000000000..2033a3642 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantCountVotes.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantCountVotes + +# Class: ErrCantCountVotes + +## Hierarchy + +- `Error` + + ↳ **`ErrCantCountVotes`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantCountVotes#constructor) + +### Methods + +- [captureStackTrace](ErrCantCountVotes#capturestacktrace) + +### Properties + +- [cause](ErrCantCountVotes#cause) +- [message](ErrCantCountVotes#message) +- [name](ErrCantCountVotes#name) +- [stack](ErrCantCountVotes#stack) +- [prepareStackTrace](ErrCantCountVotes#preparestacktrace) +- [stackTraceLimit](ErrCantCountVotes#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantCountVotes**(`message?`): [`ErrCantCountVotes`](ErrCantCountVotes) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantCountVotes`](ErrCantCountVotes) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:506](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L506) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantEstimateBlockHeight.md b/docs/sdk/reference/classes/ErrCantEstimateBlockHeight.md new file mode 100644 index 000000000..6420bc4e0 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantEstimateBlockHeight.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantEstimateBlockHeight + +# Class: ErrCantEstimateBlockHeight + +## Hierarchy + +- `Error` + + ↳ **`ErrCantEstimateBlockHeight`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantEstimateBlockHeight#constructor) + +### Methods + +- [captureStackTrace](ErrCantEstimateBlockHeight#capturestacktrace) + +### Properties + +- [cause](ErrCantEstimateBlockHeight#cause) +- [message](ErrCantEstimateBlockHeight#message) +- [name](ErrCantEstimateBlockHeight#name) +- [stack](ErrCantEstimateBlockHeight#stack) +- [prepareStackTrace](ErrCantEstimateBlockHeight#preparestacktrace) +- [stackTraceLimit](ErrCantEstimateBlockHeight#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantEstimateBlockHeight**(`message?`): [`ErrCantEstimateBlockHeight`](ErrCantEstimateBlockHeight) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantEstimateBlockHeight`](ErrCantEstimateBlockHeight) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:446](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L446) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantExtractMetadataURI.md b/docs/sdk/reference/classes/ErrCantExtractMetadataURI.md new file mode 100644 index 000000000..e2ab7dd16 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantExtractMetadataURI.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantExtractMetadataURI + +# Class: ErrCantExtractMetadataURI + +## Hierarchy + +- `Error` + + ↳ **`ErrCantExtractMetadataURI`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantExtractMetadataURI#constructor) + +### Methods + +- [captureStackTrace](ErrCantExtractMetadataURI#capturestacktrace) + +### Properties + +- [cause](ErrCantExtractMetadataURI#cause) +- [message](ErrCantExtractMetadataURI#message) +- [name](ErrCantExtractMetadataURI#name) +- [stack](ErrCantExtractMetadataURI#stack) +- [prepareStackTrace](ErrCantExtractMetadataURI#preparestacktrace) +- [stackTraceLimit](ErrCantExtractMetadataURI#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantExtractMetadataURI**(`message?`): [`ErrCantExtractMetadataURI`](ErrCantExtractMetadataURI) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantExtractMetadataURI`](ErrCantExtractMetadataURI) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L128) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantFetchElection.md b/docs/sdk/reference/classes/ErrCantFetchElection.md new file mode 100644 index 000000000..dec576483 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantFetchElection.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantFetchElection + +# Class: ErrCantFetchElection + +## Hierarchy + +- `Error` + + ↳ **`ErrCantFetchElection`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantFetchElection#constructor) + +### Methods + +- [captureStackTrace](ErrCantFetchElection#capturestacktrace) + +### Properties + +- [cause](ErrCantFetchElection#cause) +- [message](ErrCantFetchElection#message) +- [name](ErrCantFetchElection#name) +- [stack](ErrCantFetchElection#stack) +- [prepareStackTrace](ErrCantFetchElection#preparestacktrace) +- [stackTraceLimit](ErrCantFetchElection#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantFetchElection**(`message?`): [`ErrCantFetchElection`](ErrCantFetchElection) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantFetchElection`](ErrCantFetchElection) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:386](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L386) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantFetchEnvelope.md b/docs/sdk/reference/classes/ErrCantFetchEnvelope.md new file mode 100644 index 000000000..19d2d26e1 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantFetchEnvelope.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantFetchEnvelope + +# Class: ErrCantFetchEnvelope + +## Hierarchy + +- `Error` + + ↳ **`ErrCantFetchEnvelope`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantFetchEnvelope#constructor) + +### Methods + +- [captureStackTrace](ErrCantFetchEnvelope#capturestacktrace) + +### Properties + +- [cause](ErrCantFetchEnvelope#cause) +- [message](ErrCantFetchEnvelope#message) +- [name](ErrCantFetchEnvelope#name) +- [stack](ErrCantFetchEnvelope#stack) +- [prepareStackTrace](ErrCantFetchEnvelope#preparestacktrace) +- [stackTraceLimit](ErrCantFetchEnvelope#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantFetchEnvelope**(`message?`): [`ErrCantFetchEnvelope`](ErrCantFetchEnvelope) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantFetchEnvelope`](ErrCantFetchEnvelope) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:404](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L404) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantFetchEnvelopeHeight.md b/docs/sdk/reference/classes/ErrCantFetchEnvelopeHeight.md new file mode 100644 index 000000000..6ec08ac7f --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantFetchEnvelopeHeight.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantFetchEnvelopeHeight + +# Class: ErrCantFetchEnvelopeHeight + +## Hierarchy + +- `Error` + + ↳ **`ErrCantFetchEnvelopeHeight`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantFetchEnvelopeHeight#constructor) + +### Methods + +- [captureStackTrace](ErrCantFetchEnvelopeHeight#capturestacktrace) + +### Properties + +- [cause](ErrCantFetchEnvelopeHeight#cause) +- [message](ErrCantFetchEnvelopeHeight#message) +- [name](ErrCantFetchEnvelopeHeight#name) +- [stack](ErrCantFetchEnvelopeHeight#stack) +- [prepareStackTrace](ErrCantFetchEnvelopeHeight#preparestacktrace) +- [stackTraceLimit](ErrCantFetchEnvelopeHeight#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantFetchEnvelopeHeight**(`message?`): [`ErrCantFetchEnvelopeHeight`](ErrCantFetchEnvelopeHeight) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantFetchEnvelopeHeight`](ErrCantFetchEnvelopeHeight) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:398](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L398) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantFetchTokenFees.md b/docs/sdk/reference/classes/ErrCantFetchTokenFees.md new file mode 100644 index 000000000..dc7fda10d --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantFetchTokenFees.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantFetchTokenFees + +# Class: ErrCantFetchTokenFees + +## Hierarchy + +- `Error` + + ↳ **`ErrCantFetchTokenFees`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantFetchTokenFees#constructor) + +### Methods + +- [captureStackTrace](ErrCantFetchTokenFees#capturestacktrace) + +### Properties + +- [cause](ErrCantFetchTokenFees#cause) +- [message](ErrCantFetchTokenFees#message) +- [name](ErrCantFetchTokenFees#name) +- [stack](ErrCantFetchTokenFees#stack) +- [prepareStackTrace](ErrCantFetchTokenFees#preparestacktrace) +- [stackTraceLimit](ErrCantFetchTokenFees#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantFetchTokenFees**(`message?`): [`ErrCantFetchTokenFees`](ErrCantFetchTokenFees) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantFetchTokenFees`](ErrCantFetchTokenFees) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:536](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L536) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantFetchTokenTransfers.md b/docs/sdk/reference/classes/ErrCantFetchTokenTransfers.md new file mode 100644 index 000000000..9706a41e4 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantFetchTokenTransfers.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantFetchTokenTransfers + +# Class: ErrCantFetchTokenTransfers + +## Hierarchy + +- `Error` + + ↳ **`ErrCantFetchTokenTransfers`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantFetchTokenTransfers#constructor) + +### Methods + +- [captureStackTrace](ErrCantFetchTokenTransfers#capturestacktrace) + +### Properties + +- [cause](ErrCantFetchTokenTransfers#cause) +- [message](ErrCantFetchTokenTransfers#message) +- [name](ErrCantFetchTokenTransfers#name) +- [stack](ErrCantFetchTokenTransfers#stack) +- [prepareStackTrace](ErrCantFetchTokenTransfers#preparestacktrace) +- [stackTraceLimit](ErrCantFetchTokenTransfers#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantFetchTokenTransfers**(`message?`): [`ErrCantFetchTokenTransfers`](ErrCantFetchTokenTransfers) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantFetchTokenTransfers`](ErrCantFetchTokenTransfers) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:392](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L392) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantGenerateFaucetPkg.md b/docs/sdk/reference/classes/ErrCantGenerateFaucetPkg.md new file mode 100644 index 000000000..97bb28a3d --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantGenerateFaucetPkg.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantGenerateFaucetPkg + +# Class: ErrCantGenerateFaucetPkg + +## Hierarchy + +- `Error` + + ↳ **`ErrCantGenerateFaucetPkg`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantGenerateFaucetPkg#constructor) + +### Methods + +- [captureStackTrace](ErrCantGenerateFaucetPkg#capturestacktrace) + +### Properties + +- [cause](ErrCantGenerateFaucetPkg#cause) +- [message](ErrCantGenerateFaucetPkg#message) +- [name](ErrCantGenerateFaucetPkg#name) +- [stack](ErrCantGenerateFaucetPkg#stack) +- [prepareStackTrace](ErrCantGenerateFaucetPkg#preparestacktrace) +- [stackTraceLimit](ErrCantGenerateFaucetPkg#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantGenerateFaucetPkg**(`message?`): [`ErrCantGenerateFaucetPkg`](ErrCantGenerateFaucetPkg) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantGenerateFaucetPkg`](ErrCantGenerateFaucetPkg) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:440](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L440) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantGetCircomSiblings.md b/docs/sdk/reference/classes/ErrCantGetCircomSiblings.md new file mode 100644 index 000000000..c67d317b3 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantGetCircomSiblings.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantGetCircomSiblings + +# Class: ErrCantGetCircomSiblings + +## Hierarchy + +- `Error` + + ↳ **`ErrCantGetCircomSiblings`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantGetCircomSiblings#constructor) + +### Methods + +- [captureStackTrace](ErrCantGetCircomSiblings#capturestacktrace) + +### Properties + +- [cause](ErrCantGetCircomSiblings#cause) +- [message](ErrCantGetCircomSiblings#message) +- [name](ErrCantGetCircomSiblings#name) +- [stack](ErrCantGetCircomSiblings#stack) +- [prepareStackTrace](ErrCantGetCircomSiblings#preparestacktrace) +- [stackTraceLimit](ErrCantGetCircomSiblings#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantGetCircomSiblings**(`message?`): [`ErrCantGetCircomSiblings`](ErrCantGetCircomSiblings) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantGetCircomSiblings`](ErrCantGetCircomSiblings) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:494](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L494) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantMarshalMetadata.md b/docs/sdk/reference/classes/ErrCantMarshalMetadata.md new file mode 100644 index 000000000..428338969 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantMarshalMetadata.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantMarshalMetadata + +# Class: ErrCantMarshalMetadata + +## Hierarchy + +- `Error` + + ↳ **`ErrCantMarshalMetadata`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantMarshalMetadata#constructor) + +### Methods + +- [captureStackTrace](ErrCantMarshalMetadata#capturestacktrace) + +### Properties + +- [cause](ErrCantMarshalMetadata#cause) +- [message](ErrCantMarshalMetadata#message) +- [name](ErrCantMarshalMetadata#name) +- [stack](ErrCantMarshalMetadata#stack) +- [prepareStackTrace](ErrCantMarshalMetadata#preparestacktrace) +- [stackTraceLimit](ErrCantMarshalMetadata#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantMarshalMetadata**(`message?`): [`ErrCantMarshalMetadata`](ErrCantMarshalMetadata) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantMarshalMetadata`](ErrCantMarshalMetadata) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:452](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L452) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseAccountID.md b/docs/sdk/reference/classes/ErrCantParseAccountID.md new file mode 100644 index 000000000..4104d804a --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseAccountID.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseAccountID + +# Class: ErrCantParseAccountID + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseAccountID`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseAccountID#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseAccountID#capturestacktrace) + +### Properties + +- [cause](ErrCantParseAccountID#cause) +- [message](ErrCantParseAccountID#message) +- [name](ErrCantParseAccountID#name) +- [stack](ErrCantParseAccountID#stack) +- [prepareStackTrace](ErrCantParseAccountID#preparestacktrace) +- [stackTraceLimit](ErrCantParseAccountID#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseAccountID**(`message?`): [`ErrCantParseAccountID`](ErrCantParseAccountID) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseAccountID`](ErrCantParseAccountID) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L80) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseBearerToken.md b/docs/sdk/reference/classes/ErrCantParseBearerToken.md new file mode 100644 index 000000000..99592a251 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseBearerToken.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseBearerToken + +# Class: ErrCantParseBearerToken + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseBearerToken`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseBearerToken#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseBearerToken#capturestacktrace) + +### Properties + +- [cause](ErrCantParseBearerToken#cause) +- [message](ErrCantParseBearerToken#message) +- [name](ErrCantParseBearerToken#name) +- [stack](ErrCantParseBearerToken#stack) +- [prepareStackTrace](ErrCantParseBearerToken#preparestacktrace) +- [stackTraceLimit](ErrCantParseBearerToken#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseBearerToken**(`message?`): [`ErrCantParseBearerToken`](ErrCantParseBearerToken) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseBearerToken`](ErrCantParseBearerToken) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:86](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L86) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseBoolean.md b/docs/sdk/reference/classes/ErrCantParseBoolean.md new file mode 100644 index 000000000..8b81120ae --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseBoolean.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseBoolean + +# Class: ErrCantParseBoolean + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseBoolean`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseBoolean#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseBoolean#capturestacktrace) + +### Properties + +- [cause](ErrCantParseBoolean#cause) +- [message](ErrCantParseBoolean#message) +- [name](ErrCantParseBoolean#name) +- [stack](ErrCantParseBoolean#stack) +- [prepareStackTrace](ErrCantParseBoolean#preparestacktrace) +- [stackTraceLimit](ErrCantParseBoolean#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseBoolean**(`message?`): [`ErrCantParseBoolean`](ErrCantParseBoolean) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseBoolean`](ErrCantParseBoolean) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:326](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L326) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseDataAsJSON.md b/docs/sdk/reference/classes/ErrCantParseDataAsJSON.md new file mode 100644 index 000000000..d9e4698e9 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseDataAsJSON.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseDataAsJSON + +# Class: ErrCantParseDataAsJSON + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseDataAsJSON`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseDataAsJSON#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseDataAsJSON#capturestacktrace) + +### Properties + +- [cause](ErrCantParseDataAsJSON#cause) +- [message](ErrCantParseDataAsJSON#message) +- [name](ErrCantParseDataAsJSON#name) +- [stack](ErrCantParseDataAsJSON#stack) +- [prepareStackTrace](ErrCantParseDataAsJSON#preparestacktrace) +- [stackTraceLimit](ErrCantParseDataAsJSON#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseDataAsJSON**(`message?`): [`ErrCantParseDataAsJSON`](ErrCantParseDataAsJSON) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseDataAsJSON`](ErrCantParseDataAsJSON) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L92) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseElectionID.md b/docs/sdk/reference/classes/ErrCantParseElectionID.md new file mode 100644 index 000000000..b7c80c399 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseElectionID.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseElectionID + +# Class: ErrCantParseElectionID + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseElectionID`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseElectionID#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseElectionID#capturestacktrace) + +### Properties + +- [cause](ErrCantParseElectionID#cause) +- [message](ErrCantParseElectionID#message) +- [name](ErrCantParseElectionID#name) +- [stack](ErrCantParseElectionID#stack) +- [prepareStackTrace](ErrCantParseElectionID#preparestacktrace) +- [stackTraceLimit](ErrCantParseElectionID#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseElectionID**(`message?`): [`ErrCantParseElectionID`](ErrCantParseElectionID) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseElectionID`](ErrCantParseElectionID) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L98) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseHexString.md b/docs/sdk/reference/classes/ErrCantParseHexString.md new file mode 100644 index 000000000..bac72fd11 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseHexString.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseHexString + +# Class: ErrCantParseHexString + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseHexString`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseHexString#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseHexString#capturestacktrace) + +### Properties + +- [cause](ErrCantParseHexString#cause) +- [message](ErrCantParseHexString#message) +- [name](ErrCantParseHexString#name) +- [stack](ErrCantParseHexString#stack) +- [prepareStackTrace](ErrCantParseHexString#preparestacktrace) +- [stackTraceLimit](ErrCantParseHexString#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseHexString**(`message?`): [`ErrCantParseHexString`](ErrCantParseHexString) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseHexString`](ErrCantParseHexString) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:332](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L332) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseMetadataAsJSON.md b/docs/sdk/reference/classes/ErrCantParseMetadataAsJSON.md new file mode 100644 index 000000000..615866392 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseMetadataAsJSON.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseMetadataAsJSON + +# Class: ErrCantParseMetadataAsJSON + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseMetadataAsJSON`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseMetadataAsJSON#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseMetadataAsJSON#capturestacktrace) + +### Properties + +- [cause](ErrCantParseMetadataAsJSON#cause) +- [message](ErrCantParseMetadataAsJSON#message) +- [name](ErrCantParseMetadataAsJSON#name) +- [stack](ErrCantParseMetadataAsJSON#stack) +- [prepareStackTrace](ErrCantParseMetadataAsJSON#preparestacktrace) +- [stackTraceLimit](ErrCantParseMetadataAsJSON#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseMetadataAsJSON**(`message?`): [`ErrCantParseMetadataAsJSON`](ErrCantParseMetadataAsJSON) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseMetadataAsJSON`](ErrCantParseMetadataAsJSON) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L104) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseNumber.md b/docs/sdk/reference/classes/ErrCantParseNumber.md new file mode 100644 index 000000000..b4e5f7862 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseNumber.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseNumber + +# Class: ErrCantParseNumber + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseNumber`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseNumber#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseNumber#capturestacktrace) + +### Properties + +- [cause](ErrCantParseNumber#cause) +- [message](ErrCantParseNumber#message) +- [name](ErrCantParseNumber#name) +- [stack](ErrCantParseNumber#stack) +- [prepareStackTrace](ErrCantParseNumber#preparestacktrace) +- [stackTraceLimit](ErrCantParseNumber#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseNumber**(`message?`): [`ErrCantParseNumber`](ErrCantParseNumber) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseNumber`](ErrCantParseNumber) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L110) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseOrgID.md b/docs/sdk/reference/classes/ErrCantParseOrgID.md new file mode 100644 index 000000000..369c4857d --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseOrgID.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseOrgID + +# Class: ErrCantParseOrgID + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseOrgID`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseOrgID#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseOrgID#capturestacktrace) + +### Properties + +- [cause](ErrCantParseOrgID#cause) +- [message](ErrCantParseOrgID#message) +- [name](ErrCantParseOrgID#name) +- [stack](ErrCantParseOrgID#stack) +- [prepareStackTrace](ErrCantParseOrgID#preparestacktrace) +- [stackTraceLimit](ErrCantParseOrgID#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseOrgID**(`message?`): [`ErrCantParseOrgID`](ErrCantParseOrgID) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseOrgID`](ErrCantParseOrgID) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:74](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L74) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParsePayloadAsJSON.md b/docs/sdk/reference/classes/ErrCantParsePayloadAsJSON.md new file mode 100644 index 000000000..b71ec049b --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParsePayloadAsJSON.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParsePayloadAsJSON + +# Class: ErrCantParsePayloadAsJSON + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParsePayloadAsJSON`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParsePayloadAsJSON#constructor) + +### Methods + +- [captureStackTrace](ErrCantParsePayloadAsJSON#capturestacktrace) + +### Properties + +- [cause](ErrCantParsePayloadAsJSON#cause) +- [message](ErrCantParsePayloadAsJSON#message) +- [name](ErrCantParsePayloadAsJSON#name) +- [stack](ErrCantParsePayloadAsJSON#stack) +- [prepareStackTrace](ErrCantParsePayloadAsJSON#preparestacktrace) +- [stackTraceLimit](ErrCantParsePayloadAsJSON#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParsePayloadAsJSON**(`message?`): [`ErrCantParsePayloadAsJSON`](ErrCantParsePayloadAsJSON) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParsePayloadAsJSON`](ErrCantParsePayloadAsJSON) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L116) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantParseVoteID.md b/docs/sdk/reference/classes/ErrCantParseVoteID.md new file mode 100644 index 000000000..132002a6b --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantParseVoteID.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantParseVoteID + +# Class: ErrCantParseVoteID + +## Hierarchy + +- `Error` + + ↳ **`ErrCantParseVoteID`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantParseVoteID#constructor) + +### Methods + +- [captureStackTrace](ErrCantParseVoteID#capturestacktrace) + +### Properties + +- [cause](ErrCantParseVoteID#cause) +- [message](ErrCantParseVoteID#message) +- [name](ErrCantParseVoteID#name) +- [stack](ErrCantParseVoteID#stack) +- [prepareStackTrace](ErrCantParseVoteID#preparestacktrace) +- [stackTraceLimit](ErrCantParseVoteID#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantParseVoteID**(`message?`): [`ErrCantParseVoteID`](ErrCantParseVoteID) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantParseVoteID`](ErrCantParseVoteID) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:122](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L122) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCantPublishMetadata.md b/docs/sdk/reference/classes/ErrCantPublishMetadata.md new file mode 100644 index 000000000..2868968e7 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCantPublishMetadata.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCantPublishMetadata + +# Class: ErrCantPublishMetadata + +## Hierarchy + +- `Error` + + ↳ **`ErrCantPublishMetadata`** + +## Table of contents + +### Constructors + +- [constructor](ErrCantPublishMetadata#constructor) + +### Methods + +- [captureStackTrace](ErrCantPublishMetadata#capturestacktrace) + +### Properties + +- [cause](ErrCantPublishMetadata#cause) +- [message](ErrCantPublishMetadata#message) +- [name](ErrCantPublishMetadata#name) +- [stack](ErrCantPublishMetadata#stack) +- [prepareStackTrace](ErrCantPublishMetadata#preparestacktrace) +- [stackTraceLimit](ErrCantPublishMetadata#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCantPublishMetadata**(`message?`): [`ErrCantPublishMetadata`](ErrCantPublishMetadata) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCantPublishMetadata`](ErrCantPublishMetadata) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:458](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L458) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusBuild.md b/docs/sdk/reference/classes/ErrCensusBuild.md new file mode 100644 index 000000000..ff7619dd2 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusBuild.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusBuild + +# Class: ErrCensusBuild + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusBuild`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusBuild#constructor) + +### Methods + +- [captureStackTrace](ErrCensusBuild#capturestacktrace) + +### Properties + +- [cause](ErrCensusBuild#cause) +- [message](ErrCensusBuild#message) +- [name](ErrCensusBuild#name) +- [stack](ErrCensusBuild#stack) +- [prepareStackTrace](ErrCensusBuild#preparestacktrace) +- [stackTraceLimit](ErrCensusBuild#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusBuild**(`message?`): [`ErrCensusBuild`](ErrCensusBuild) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusBuild`](ErrCensusBuild) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:524](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L524) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusIDLengthInvalid.md b/docs/sdk/reference/classes/ErrCensusIDLengthInvalid.md new file mode 100644 index 000000000..386e8e76d --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusIDLengthInvalid.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusIDLengthInvalid + +# Class: ErrCensusIDLengthInvalid + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusIDLengthInvalid`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusIDLengthInvalid#constructor) + +### Methods + +- [captureStackTrace](ErrCensusIDLengthInvalid#capturestacktrace) + +### Properties + +- [cause](ErrCensusIDLengthInvalid#cause) +- [message](ErrCensusIDLengthInvalid#message) +- [name](ErrCensusIDLengthInvalid#name) +- [stack](ErrCensusIDLengthInvalid#stack) +- [prepareStackTrace](ErrCensusIDLengthInvalid#preparestacktrace) +- [stackTraceLimit](ErrCensusIDLengthInvalid#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusIDLengthInvalid**(`message?`): [`ErrCensusIDLengthInvalid`](ErrCensusIDLengthInvalid) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusIDLengthInvalid`](ErrCensusIDLengthInvalid) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:146](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L146) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusIndexedFlagMismatch.md b/docs/sdk/reference/classes/ErrCensusIndexedFlagMismatch.md new file mode 100644 index 000000000..b3da0a197 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusIndexedFlagMismatch.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusIndexedFlagMismatch + +# Class: ErrCensusIndexedFlagMismatch + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusIndexedFlagMismatch`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusIndexedFlagMismatch#constructor) + +### Methods + +- [captureStackTrace](ErrCensusIndexedFlagMismatch#capturestacktrace) + +### Properties + +- [cause](ErrCensusIndexedFlagMismatch#cause) +- [message](ErrCensusIndexedFlagMismatch#message) +- [name](ErrCensusIndexedFlagMismatch#name) +- [stack](ErrCensusIndexedFlagMismatch#stack) +- [prepareStackTrace](ErrCensusIndexedFlagMismatch#preparestacktrace) +- [stackTraceLimit](ErrCensusIndexedFlagMismatch#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusIndexedFlagMismatch**(`message?`): [`ErrCensusIndexedFlagMismatch`](ErrCensusIndexedFlagMismatch) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusIndexedFlagMismatch`](ErrCensusIndexedFlagMismatch) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:170](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L170) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusNotFound.md b/docs/sdk/reference/classes/ErrCensusNotFound.md new file mode 100644 index 000000000..beab79e9c --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusNotFound + +# Class: ErrCensusNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrCensusNotFound#capturestacktrace) + +### Properties + +- [cause](ErrCensusNotFound#cause) +- [message](ErrCensusNotFound#message) +- [name](ErrCensusNotFound#name) +- [stack](ErrCensusNotFound#stack) +- [prepareStackTrace](ErrCensusNotFound#preparestacktrace) +- [stackTraceLimit](ErrCensusNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusNotFound**(`message?`): [`ErrCensusNotFound`](ErrCensusNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusNotFound`](ErrCensusNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:272](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L272) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusProofVerificationFailed.md b/docs/sdk/reference/classes/ErrCensusProofVerificationFailed.md new file mode 100644 index 000000000..c8c04012f --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusProofVerificationFailed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusProofVerificationFailed + +# Class: ErrCensusProofVerificationFailed + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusProofVerificationFailed`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusProofVerificationFailed#constructor) + +### Methods + +- [captureStackTrace](ErrCensusProofVerificationFailed#capturestacktrace) + +### Properties + +- [cause](ErrCensusProofVerificationFailed#cause) +- [message](ErrCensusProofVerificationFailed#message) +- [name](ErrCensusProofVerificationFailed#name) +- [stack](ErrCensusProofVerificationFailed#stack) +- [prepareStackTrace](ErrCensusProofVerificationFailed#preparestacktrace) +- [stackTraceLimit](ErrCensusProofVerificationFailed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusProofVerificationFailed**(`message?`): [`ErrCensusProofVerificationFailed`](ErrCensusProofVerificationFailed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusProofVerificationFailed`](ErrCensusProofVerificationFailed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:500](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L500) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusRootHashMismatch.md b/docs/sdk/reference/classes/ErrCensusRootHashMismatch.md new file mode 100644 index 000000000..953a941f8 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusRootHashMismatch.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusRootHashMismatch + +# Class: ErrCensusRootHashMismatch + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusRootHashMismatch`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusRootHashMismatch#constructor) + +### Methods + +- [captureStackTrace](ErrCensusRootHashMismatch#capturestacktrace) + +### Properties + +- [cause](ErrCensusRootHashMismatch#cause) +- [message](ErrCensusRootHashMismatch#message) +- [name](ErrCensusRootHashMismatch#name) +- [stack](ErrCensusRootHashMismatch#stack) +- [prepareStackTrace](ErrCensusRootHashMismatch#preparestacktrace) +- [stackTraceLimit](ErrCensusRootHashMismatch#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusRootHashMismatch**(`message?`): [`ErrCensusRootHashMismatch`](ErrCensusRootHashMismatch) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusRootHashMismatch`](ErrCensusRootHashMismatch) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L176) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusRootIsNil.md b/docs/sdk/reference/classes/ErrCensusRootIsNil.md new file mode 100644 index 000000000..89bdda492 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusRootIsNil.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusRootIsNil + +# Class: ErrCensusRootIsNil + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusRootIsNil`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusRootIsNil#constructor) + +### Methods + +- [captureStackTrace](ErrCensusRootIsNil#capturestacktrace) + +### Properties + +- [cause](ErrCensusRootIsNil#cause) +- [message](ErrCensusRootIsNil#message) +- [name](ErrCensusRootIsNil#name) +- [stack](ErrCensusRootIsNil#stack) +- [prepareStackTrace](ErrCensusRootIsNil#preparestacktrace) +- [stackTraceLimit](ErrCensusRootIsNil#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusRootIsNil**(`message?`): [`ErrCensusRootIsNil`](ErrCensusRootIsNil) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusRootIsNil`](ErrCensusRootIsNil) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L152) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusTypeMismatch.md b/docs/sdk/reference/classes/ErrCensusTypeMismatch.md new file mode 100644 index 000000000..3ba56b037 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusTypeMismatch.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusTypeMismatch + +# Class: ErrCensusTypeMismatch + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusTypeMismatch`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusTypeMismatch#constructor) + +### Methods + +- [captureStackTrace](ErrCensusTypeMismatch#capturestacktrace) + +### Properties + +- [cause](ErrCensusTypeMismatch#cause) +- [message](ErrCensusTypeMismatch#message) +- [name](ErrCensusTypeMismatch#name) +- [stack](ErrCensusTypeMismatch#stack) +- [prepareStackTrace](ErrCensusTypeMismatch#preparestacktrace) +- [stackTraceLimit](ErrCensusTypeMismatch#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusTypeMismatch**(`message?`): [`ErrCensusTypeMismatch`](ErrCensusTypeMismatch) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusTypeMismatch`](ErrCensusTypeMismatch) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:164](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L164) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrCensusTypeUnknown.md b/docs/sdk/reference/classes/ErrCensusTypeUnknown.md new file mode 100644 index 000000000..3c1e4d6c8 --- /dev/null +++ b/docs/sdk/reference/classes/ErrCensusTypeUnknown.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrCensusTypeUnknown + +# Class: ErrCensusTypeUnknown + +## Hierarchy + +- `Error` + + ↳ **`ErrCensusTypeUnknown`** + +## Table of contents + +### Constructors + +- [constructor](ErrCensusTypeUnknown#constructor) + +### Methods + +- [captureStackTrace](ErrCensusTypeUnknown#capturestacktrace) + +### Properties + +- [cause](ErrCensusTypeUnknown#cause) +- [message](ErrCensusTypeUnknown#message) +- [name](ErrCensusTypeUnknown#name) +- [stack](ErrCensusTypeUnknown#stack) +- [prepareStackTrace](ErrCensusTypeUnknown#preparestacktrace) +- [stackTraceLimit](ErrCensusTypeUnknown#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrCensusTypeUnknown**(`message?`): [`ErrCensusTypeUnknown`](ErrCensusTypeUnknown) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrCensusTypeUnknown`](ErrCensusTypeUnknown) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L158) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrDstAccountUnknown.md b/docs/sdk/reference/classes/ErrDstAccountUnknown.md new file mode 100644 index 000000000..0687ec40c --- /dev/null +++ b/docs/sdk/reference/classes/ErrDstAccountUnknown.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrDstAccountUnknown + +# Class: ErrDstAccountUnknown + +## Hierarchy + +- `Error` + + ↳ **`ErrDstAccountUnknown`** + +## Table of contents + +### Constructors + +- [constructor](ErrDstAccountUnknown#constructor) + +### Methods + +- [captureStackTrace](ErrDstAccountUnknown#capturestacktrace) + +### Properties + +- [cause](ErrDstAccountUnknown#cause) +- [message](ErrDstAccountUnknown#message) +- [name](ErrDstAccountUnknown#name) +- [stack](ErrDstAccountUnknown#stack) +- [prepareStackTrace](ErrDstAccountUnknown#preparestacktrace) +- [stackTraceLimit](ErrDstAccountUnknown#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrDstAccountUnknown**(`message?`): [`ErrDstAccountUnknown`](ErrDstAccountUnknown) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrDstAccountUnknown`](ErrDstAccountUnknown) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L14) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrDstAddressMalformed.md b/docs/sdk/reference/classes/ErrDstAddressMalformed.md new file mode 100644 index 000000000..ff0e3c158 --- /dev/null +++ b/docs/sdk/reference/classes/ErrDstAddressMalformed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrDstAddressMalformed + +# Class: ErrDstAddressMalformed + +## Hierarchy + +- `Error` + + ↳ **`ErrDstAddressMalformed`** + +## Table of contents + +### Constructors + +- [constructor](ErrDstAddressMalformed#constructor) + +### Methods + +- [captureStackTrace](ErrDstAddressMalformed#capturestacktrace) + +### Properties + +- [cause](ErrDstAddressMalformed#cause) +- [message](ErrDstAddressMalformed#message) +- [name](ErrDstAddressMalformed#name) +- [stack](ErrDstAddressMalformed#stack) +- [prepareStackTrace](ErrDstAddressMalformed#preparestacktrace) +- [stackTraceLimit](ErrDstAddressMalformed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrDstAddressMalformed**(`message?`): [`ErrDstAddressMalformed`](ErrDstAddressMalformed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrDstAddressMalformed`](ErrDstAddressMalformed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L8) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionEndDateBeforeStart.md b/docs/sdk/reference/classes/ErrElectionEndDateBeforeStart.md new file mode 100644 index 000000000..dea63474a --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionEndDateBeforeStart.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionEndDateBeforeStart + +# Class: ErrElectionEndDateBeforeStart + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionEndDateBeforeStart`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionEndDateBeforeStart#constructor) + +### Methods + +- [captureStackTrace](ErrElectionEndDateBeforeStart#capturestacktrace) + +### Properties + +- [cause](ErrElectionEndDateBeforeStart#cause) +- [message](ErrElectionEndDateBeforeStart#message) +- [name](ErrElectionEndDateBeforeStart#name) +- [stack](ErrElectionEndDateBeforeStart#stack) +- [prepareStackTrace](ErrElectionEndDateBeforeStart#preparestacktrace) +- [stackTraceLimit](ErrElectionEndDateBeforeStart#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionEndDateBeforeStart**(`message?`): [`ErrElectionEndDateBeforeStart`](ErrElectionEndDateBeforeStart) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionEndDateBeforeStart`](ErrElectionEndDateBeforeStart) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:260](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L260) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionEndDateInThePast.md b/docs/sdk/reference/classes/ErrElectionEndDateInThePast.md new file mode 100644 index 000000000..0d543f5dd --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionEndDateInThePast.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionEndDateInThePast + +# Class: ErrElectionEndDateInThePast + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionEndDateInThePast`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionEndDateInThePast#constructor) + +### Methods + +- [captureStackTrace](ErrElectionEndDateInThePast#capturestacktrace) + +### Properties + +- [cause](ErrElectionEndDateInThePast#cause) +- [message](ErrElectionEndDateInThePast#message) +- [name](ErrElectionEndDateInThePast#name) +- [stack](ErrElectionEndDateInThePast#stack) +- [prepareStackTrace](ErrElectionEndDateInThePast#preparestacktrace) +- [stackTraceLimit](ErrElectionEndDateInThePast#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionEndDateInThePast**(`message?`): [`ErrElectionEndDateInThePast`](ErrElectionEndDateInThePast) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionEndDateInThePast`](ErrElectionEndDateInThePast) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:254](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L254) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionFinished.md b/docs/sdk/reference/classes/ErrElectionFinished.md new file mode 100644 index 000000000..d5cdb158d --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionFinished.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionFinished + +# Class: ErrElectionFinished + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionFinished`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionFinished#constructor) + +### Methods + +- [captureStackTrace](ErrElectionFinished#capturestacktrace) + +### Properties + +- [cause](ErrElectionFinished#cause) +- [message](ErrElectionFinished#message) +- [name](ErrElectionFinished#name) +- [stack](ErrElectionFinished#stack) +- [prepareStackTrace](ErrElectionFinished#preparestacktrace) +- [stackTraceLimit](ErrElectionFinished#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionFinished**(`message?`): [`ErrElectionFinished`](ErrElectionFinished) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionFinished`](ErrElectionFinished) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:562](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L562) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionIsNil.md b/docs/sdk/reference/classes/ErrElectionIsNil.md new file mode 100644 index 000000000..4b6a8a3fc --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionIsNil.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionIsNil + +# Class: ErrElectionIsNil + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionIsNil`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionIsNil#constructor) + +### Methods + +- [captureStackTrace](ErrElectionIsNil#capturestacktrace) + +### Properties + +- [cause](ErrElectionIsNil#cause) +- [message](ErrElectionIsNil#message) +- [name](ErrElectionIsNil#name) +- [stack](ErrElectionIsNil#stack) +- [prepareStackTrace](ErrElectionIsNil#preparestacktrace) +- [stackTraceLimit](ErrElectionIsNil#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionIsNil**(`message?`): [`ErrElectionIsNil`](ErrElectionIsNil) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionIsNil`](ErrElectionIsNil) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:470](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L470) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionNotFound.md b/docs/sdk/reference/classes/ErrElectionNotFound.md new file mode 100644 index 000000000..7cb7efbc0 --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionNotFound + +# Class: ErrElectionNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrElectionNotFound#capturestacktrace) + +### Properties + +- [cause](ErrElectionNotFound#cause) +- [message](ErrElectionNotFound#message) +- [name](ErrElectionNotFound#name) +- [stack](ErrElectionNotFound#stack) +- [prepareStackTrace](ErrElectionNotFound#preparestacktrace) +- [stackTraceLimit](ErrElectionNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionNotFound**(`message?`): [`ErrElectionNotFound`](ErrElectionNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionNotFound`](ErrElectionNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:266](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L266) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionNotStarted.md b/docs/sdk/reference/classes/ErrElectionNotStarted.md new file mode 100644 index 000000000..8aa206178 --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionNotStarted.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionNotStarted + +# Class: ErrElectionNotStarted + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionNotStarted`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionNotStarted#constructor) + +### Methods + +- [captureStackTrace](ErrElectionNotStarted#capturestacktrace) + +### Properties + +- [cause](ErrElectionNotStarted#cause) +- [message](ErrElectionNotStarted#message) +- [name](ErrElectionNotStarted#name) +- [stack](ErrElectionNotStarted#stack) +- [prepareStackTrace](ErrElectionNotStarted#preparestacktrace) +- [stackTraceLimit](ErrElectionNotStarted#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionNotStarted**(`message?`): [`ErrElectionNotStarted`](ErrElectionNotStarted) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionNotStarted`](ErrElectionNotStarted) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:556](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L556) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionResultsIsNil.md b/docs/sdk/reference/classes/ErrElectionResultsIsNil.md new file mode 100644 index 000000000..185d4f0f1 --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionResultsIsNil.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionResultsIsNil + +# Class: ErrElectionResultsIsNil + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionResultsIsNil`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionResultsIsNil#constructor) + +### Methods + +- [captureStackTrace](ErrElectionResultsIsNil#capturestacktrace) + +### Properties + +- [cause](ErrElectionResultsIsNil#cause) +- [message](ErrElectionResultsIsNil#message) +- [name](ErrElectionResultsIsNil#name) +- [stack](ErrElectionResultsIsNil#stack) +- [prepareStackTrace](ErrElectionResultsIsNil#preparestacktrace) +- [stackTraceLimit](ErrElectionResultsIsNil#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionResultsIsNil**(`message?`): [`ErrElectionResultsIsNil`](ErrElectionResultsIsNil) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionResultsIsNil`](ErrElectionResultsIsNil) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:482](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L482) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionResultsMismatch.md b/docs/sdk/reference/classes/ErrElectionResultsMismatch.md new file mode 100644 index 000000000..cc07c3de9 --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionResultsMismatch.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionResultsMismatch + +# Class: ErrElectionResultsMismatch + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionResultsMismatch`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionResultsMismatch#constructor) + +### Methods + +- [captureStackTrace](ErrElectionResultsMismatch#capturestacktrace) + +### Properties + +- [cause](ErrElectionResultsMismatch#cause) +- [message](ErrElectionResultsMismatch#message) +- [name](ErrElectionResultsMismatch#name) +- [stack](ErrElectionResultsMismatch#stack) +- [prepareStackTrace](ErrElectionResultsMismatch#preparestacktrace) +- [stackTraceLimit](ErrElectionResultsMismatch#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionResultsMismatch**(`message?`): [`ErrElectionResultsMismatch`](ErrElectionResultsMismatch) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionResultsMismatch`](ErrElectionResultsMismatch) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:488](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L488) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrElectionResultsNotYetAvailable.md b/docs/sdk/reference/classes/ErrElectionResultsNotYetAvailable.md new file mode 100644 index 000000000..c0c6cf3ec --- /dev/null +++ b/docs/sdk/reference/classes/ErrElectionResultsNotYetAvailable.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrElectionResultsNotYetAvailable + +# Class: ErrElectionResultsNotYetAvailable + +## Hierarchy + +- `Error` + + ↳ **`ErrElectionResultsNotYetAvailable`** + +## Table of contents + +### Constructors + +- [constructor](ErrElectionResultsNotYetAvailable#constructor) + +### Methods + +- [captureStackTrace](ErrElectionResultsNotYetAvailable#capturestacktrace) + +### Properties + +- [cause](ErrElectionResultsNotYetAvailable#cause) +- [message](ErrElectionResultsNotYetAvailable#message) +- [name](ErrElectionResultsNotYetAvailable#name) +- [stack](ErrElectionResultsNotYetAvailable#stack) +- [prepareStackTrace](ErrElectionResultsNotYetAvailable#preparestacktrace) +- [stackTraceLimit](ErrElectionResultsNotYetAvailable#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrElectionResultsNotYetAvailable**(`message?`): [`ErrElectionResultsNotYetAvailable`](ErrElectionResultsNotYetAvailable) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrElectionResultsNotYetAvailable`](ErrElectionResultsNotYetAvailable) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:476](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L476) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrFaucetAlreadyFunded.md b/docs/sdk/reference/classes/ErrFaucetAlreadyFunded.md new file mode 100644 index 000000000..3f87ac4c5 --- /dev/null +++ b/docs/sdk/reference/classes/ErrFaucetAlreadyFunded.md @@ -0,0 +1,195 @@ +[@vocdoni/sdk](/sdk) / ErrFaucetAlreadyFunded + +# Class: ErrFaucetAlreadyFunded + +## Hierarchy + +- `Error` + + ↳ **`ErrFaucetAlreadyFunded`** + +## Table of contents + +### Constructors + +- [constructor](ErrFaucetAlreadyFunded#constructor) + +### Methods + +- [captureStackTrace](ErrFaucetAlreadyFunded#capturestacktrace) + +### Properties + +- [cause](ErrFaucetAlreadyFunded#cause) +- [message](ErrFaucetAlreadyFunded#message) +- [name](ErrFaucetAlreadyFunded#name) +- [stack](ErrFaucetAlreadyFunded#stack) +- [untilDate](ErrFaucetAlreadyFunded#untildate) +- [prepareStackTrace](ErrFaucetAlreadyFunded#preparestacktrace) +- [stackTraceLimit](ErrFaucetAlreadyFunded#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrFaucetAlreadyFunded**(`message?`): [`ErrFaucetAlreadyFunded`](ErrFaucetAlreadyFunded) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrFaucetAlreadyFunded`](ErrFaucetAlreadyFunded) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:543](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L543) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### untilDate + +• **untilDate**: `Date` + +#### Defined in + +[src/api/errors.ts:542](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L542) + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrFileSizeTooBig.md b/docs/sdk/reference/classes/ErrFileSizeTooBig.md new file mode 100644 index 000000000..12562f918 --- /dev/null +++ b/docs/sdk/reference/classes/ErrFileSizeTooBig.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrFileSizeTooBig + +# Class: ErrFileSizeTooBig + +## Hierarchy + +- `Error` + + ↳ **`ErrFileSizeTooBig`** + +## Table of contents + +### Constructors + +- [constructor](ErrFileSizeTooBig#constructor) + +### Methods + +- [captureStackTrace](ErrFileSizeTooBig#capturestacktrace) + +### Properties + +- [cause](ErrFileSizeTooBig#cause) +- [message](ErrFileSizeTooBig#message) +- [name](ErrFileSizeTooBig#name) +- [stack](ErrFileSizeTooBig#stack) +- [prepareStackTrace](ErrFileSizeTooBig#preparestacktrace) +- [stackTraceLimit](ErrFileSizeTooBig#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrFileSizeTooBig**(`message?`): [`ErrFileSizeTooBig`](ErrFileSizeTooBig) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrFileSizeTooBig`](ErrFileSizeTooBig) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L68) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrGettingSIK.md b/docs/sdk/reference/classes/ErrGettingSIK.md new file mode 100644 index 000000000..777fe611b --- /dev/null +++ b/docs/sdk/reference/classes/ErrGettingSIK.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrGettingSIK + +# Class: ErrGettingSIK + +## Hierarchy + +- `Error` + + ↳ **`ErrGettingSIK`** + +## Table of contents + +### Constructors + +- [constructor](ErrGettingSIK#constructor) + +### Methods + +- [captureStackTrace](ErrGettingSIK#capturestacktrace) + +### Properties + +- [cause](ErrGettingSIK#cause) +- [message](ErrGettingSIK#message) +- [name](ErrGettingSIK#name) +- [stack](ErrGettingSIK#stack) +- [prepareStackTrace](ErrGettingSIK#preparestacktrace) +- [stackTraceLimit](ErrGettingSIK#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrGettingSIK**(`message?`): [`ErrGettingSIK`](ErrGettingSIK) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrGettingSIK`](ErrGettingSIK) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:518](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L518) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrIndexedCensusCantUseWeight.md b/docs/sdk/reference/classes/ErrIndexedCensusCantUseWeight.md new file mode 100644 index 000000000..81707b148 --- /dev/null +++ b/docs/sdk/reference/classes/ErrIndexedCensusCantUseWeight.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrIndexedCensusCantUseWeight + +# Class: ErrIndexedCensusCantUseWeight + +## Hierarchy + +- `Error` + + ↳ **`ErrIndexedCensusCantUseWeight`** + +## Table of contents + +### Constructors + +- [constructor](ErrIndexedCensusCantUseWeight#constructor) + +### Methods + +- [captureStackTrace](ErrIndexedCensusCantUseWeight#capturestacktrace) + +### Properties + +- [cause](ErrIndexedCensusCantUseWeight#cause) +- [message](ErrIndexedCensusCantUseWeight#message) +- [name](ErrIndexedCensusCantUseWeight#name) +- [stack](ErrIndexedCensusCantUseWeight#stack) +- [prepareStackTrace](ErrIndexedCensusCantUseWeight#preparestacktrace) +- [stackTraceLimit](ErrIndexedCensusCantUseWeight#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrIndexedCensusCantUseWeight**(`message?`): [`ErrIndexedCensusCantUseWeight`](ErrIndexedCensusCantUseWeight) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrIndexedCensusCantUseWeight`](ErrIndexedCensusCantUseWeight) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:236](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L236) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrIndexerQueryFailed.md b/docs/sdk/reference/classes/ErrIndexerQueryFailed.md new file mode 100644 index 000000000..2f9386911 --- /dev/null +++ b/docs/sdk/reference/classes/ErrIndexerQueryFailed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrIndexerQueryFailed + +# Class: ErrIndexerQueryFailed + +## Hierarchy + +- `Error` + + ↳ **`ErrIndexerQueryFailed`** + +## Table of contents + +### Constructors + +- [constructor](ErrIndexerQueryFailed#constructor) + +### Methods + +- [captureStackTrace](ErrIndexerQueryFailed#capturestacktrace) + +### Properties + +- [cause](ErrIndexerQueryFailed#cause) +- [message](ErrIndexerQueryFailed#message) +- [name](ErrIndexerQueryFailed#name) +- [stack](ErrIndexerQueryFailed#stack) +- [prepareStackTrace](ErrIndexerQueryFailed#preparestacktrace) +- [stackTraceLimit](ErrIndexerQueryFailed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrIndexerQueryFailed**(`message?`): [`ErrIndexerQueryFailed`](ErrIndexerQueryFailed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrIndexerQueryFailed`](ErrIndexerQueryFailed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:530](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L530) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrInvalidCensusKeyLength.md b/docs/sdk/reference/classes/ErrInvalidCensusKeyLength.md new file mode 100644 index 000000000..865a1f147 --- /dev/null +++ b/docs/sdk/reference/classes/ErrInvalidCensusKeyLength.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrInvalidCensusKeyLength + +# Class: ErrInvalidCensusKeyLength + +## Hierarchy + +- `Error` + + ↳ **`ErrInvalidCensusKeyLength`** + +## Table of contents + +### Constructors + +- [constructor](ErrInvalidCensusKeyLength#constructor) + +### Methods + +- [captureStackTrace](ErrInvalidCensusKeyLength#capturestacktrace) + +### Properties + +- [cause](ErrInvalidCensusKeyLength#cause) +- [message](ErrInvalidCensusKeyLength#message) +- [name](ErrInvalidCensusKeyLength#name) +- [stack](ErrInvalidCensusKeyLength#stack) +- [prepareStackTrace](ErrInvalidCensusKeyLength#preparestacktrace) +- [stackTraceLimit](ErrInvalidCensusKeyLength#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrInvalidCensusKeyLength**(`message?`): [`ErrInvalidCensusKeyLength`](ErrInvalidCensusKeyLength) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrInvalidCensusKeyLength`](ErrInvalidCensusKeyLength) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:302](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L302) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrInvalidStatus.md b/docs/sdk/reference/classes/ErrInvalidStatus.md new file mode 100644 index 000000000..4c4d2753e --- /dev/null +++ b/docs/sdk/reference/classes/ErrInvalidStatus.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrInvalidStatus + +# Class: ErrInvalidStatus + +## Hierarchy + +- `Error` + + ↳ **`ErrInvalidStatus`** + +## Table of contents + +### Constructors + +- [constructor](ErrInvalidStatus#constructor) + +### Methods + +- [captureStackTrace](ErrInvalidStatus#capturestacktrace) + +### Properties + +- [cause](ErrInvalidStatus#cause) +- [message](ErrInvalidStatus#message) +- [name](ErrInvalidStatus#name) +- [stack](ErrInvalidStatus#stack) +- [prepareStackTrace](ErrInvalidStatus#preparestacktrace) +- [stackTraceLimit](ErrInvalidStatus#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrInvalidStatus**(`message?`): [`ErrInvalidStatus`](ErrInvalidStatus) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrInvalidStatus`](ErrInvalidStatus) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:296](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L296) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrKeyNotFoundInCensus.md b/docs/sdk/reference/classes/ErrKeyNotFoundInCensus.md new file mode 100644 index 000000000..c9de0d3ee --- /dev/null +++ b/docs/sdk/reference/classes/ErrKeyNotFoundInCensus.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrKeyNotFoundInCensus + +# Class: ErrKeyNotFoundInCensus + +## Hierarchy + +- `Error` + + ↳ **`ErrKeyNotFoundInCensus`** + +## Table of contents + +### Constructors + +- [constructor](ErrKeyNotFoundInCensus#constructor) + +### Methods + +- [captureStackTrace](ErrKeyNotFoundInCensus#capturestacktrace) + +### Properties + +- [cause](ErrKeyNotFoundInCensus#cause) +- [message](ErrKeyNotFoundInCensus#message) +- [name](ErrKeyNotFoundInCensus#name) +- [stack](ErrKeyNotFoundInCensus#stack) +- [prepareStackTrace](ErrKeyNotFoundInCensus#preparestacktrace) +- [stackTraceLimit](ErrKeyNotFoundInCensus#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrKeyNotFoundInCensus**(`message?`): [`ErrKeyNotFoundInCensus`](ErrKeyNotFoundInCensus) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrKeyNotFoundInCensus`](ErrKeyNotFoundInCensus) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:290](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L290) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrMarshalingJSONFailed.md b/docs/sdk/reference/classes/ErrMarshalingJSONFailed.md new file mode 100644 index 000000000..8dd852a2d --- /dev/null +++ b/docs/sdk/reference/classes/ErrMarshalingJSONFailed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrMarshalingJSONFailed + +# Class: ErrMarshalingJSONFailed + +## Hierarchy + +- `Error` + + ↳ **`ErrMarshalingJSONFailed`** + +## Table of contents + +### Constructors + +- [constructor](ErrMarshalingJSONFailed#constructor) + +### Methods + +- [captureStackTrace](ErrMarshalingJSONFailed#capturestacktrace) + +### Properties + +- [cause](ErrMarshalingJSONFailed#cause) +- [message](ErrMarshalingJSONFailed#message) +- [name](ErrMarshalingJSONFailed#name) +- [stack](ErrMarshalingJSONFailed#stack) +- [prepareStackTrace](ErrMarshalingJSONFailed#preparestacktrace) +- [stackTraceLimit](ErrMarshalingJSONFailed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrMarshalingJSONFailed**(`message?`): [`ErrMarshalingJSONFailed`](ErrMarshalingJSONFailed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrMarshalingJSONFailed`](ErrMarshalingJSONFailed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L62) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrMarshalingServerJSONFailed.md b/docs/sdk/reference/classes/ErrMarshalingServerJSONFailed.md new file mode 100644 index 000000000..5a7079801 --- /dev/null +++ b/docs/sdk/reference/classes/ErrMarshalingServerJSONFailed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrMarshalingServerJSONFailed + +# Class: ErrMarshalingServerJSONFailed + +## Hierarchy + +- `Error` + + ↳ **`ErrMarshalingServerJSONFailed`** + +## Table of contents + +### Constructors + +- [constructor](ErrMarshalingServerJSONFailed#constructor) + +### Methods + +- [captureStackTrace](ErrMarshalingServerJSONFailed#capturestacktrace) + +### Properties + +- [cause](ErrMarshalingServerJSONFailed#cause) +- [message](ErrMarshalingServerJSONFailed#message) +- [name](ErrMarshalingServerJSONFailed#name) +- [stack](ErrMarshalingServerJSONFailed#stack) +- [prepareStackTrace](ErrMarshalingServerJSONFailed#preparestacktrace) +- [stackTraceLimit](ErrMarshalingServerJSONFailed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrMarshalingServerJSONFailed**(`message?`): [`ErrMarshalingServerJSONFailed`](ErrMarshalingServerJSONFailed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrMarshalingServerJSONFailed`](ErrMarshalingServerJSONFailed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:380](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L380) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrMarshalingServerProto.md b/docs/sdk/reference/classes/ErrMarshalingServerProto.md new file mode 100644 index 000000000..f11799cd7 --- /dev/null +++ b/docs/sdk/reference/classes/ErrMarshalingServerProto.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrMarshalingServerProto + +# Class: ErrMarshalingServerProto + +## Hierarchy + +- `Error` + + ↳ **`ErrMarshalingServerProto`** + +## Table of contents + +### Constructors + +- [constructor](ErrMarshalingServerProto#constructor) + +### Methods + +- [captureStackTrace](ErrMarshalingServerProto#capturestacktrace) + +### Properties + +- [cause](ErrMarshalingServerProto#cause) +- [message](ErrMarshalingServerProto#message) +- [name](ErrMarshalingServerProto#name) +- [stack](ErrMarshalingServerProto#stack) +- [prepareStackTrace](ErrMarshalingServerProto#preparestacktrace) +- [stackTraceLimit](ErrMarshalingServerProto#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrMarshalingServerProto**(`message?`): [`ErrMarshalingServerProto`](ErrMarshalingServerProto) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrMarshalingServerProto`](ErrMarshalingServerProto) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:314](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L314) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrMetadataProvidedButNoURI.md b/docs/sdk/reference/classes/ErrMetadataProvidedButNoURI.md new file mode 100644 index 000000000..b7781bf3a --- /dev/null +++ b/docs/sdk/reference/classes/ErrMetadataProvidedButNoURI.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrMetadataProvidedButNoURI + +# Class: ErrMetadataProvidedButNoURI + +## Hierarchy + +- `Error` + + ↳ **`ErrMetadataProvidedButNoURI`** + +## Table of contents + +### Constructors + +- [constructor](ErrMetadataProvidedButNoURI#constructor) + +### Methods + +- [captureStackTrace](ErrMetadataProvidedButNoURI#capturestacktrace) + +### Properties + +- [cause](ErrMetadataProvidedButNoURI#cause) +- [message](ErrMetadataProvidedButNoURI#message) +- [name](ErrMetadataProvidedButNoURI#name) +- [stack](ErrMetadataProvidedButNoURI#stack) +- [prepareStackTrace](ErrMetadataProvidedButNoURI#preparestacktrace) +- [stackTraceLimit](ErrMetadataProvidedButNoURI#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrMetadataProvidedButNoURI**(`message?`): [`ErrMetadataProvidedButNoURI`](ErrMetadataProvidedButNoURI) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrMetadataProvidedButNoURI`](ErrMetadataProvidedButNoURI) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:50](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L50) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrMetadataURINotMatchContent.md b/docs/sdk/reference/classes/ErrMetadataURINotMatchContent.md new file mode 100644 index 000000000..3e59fecbb --- /dev/null +++ b/docs/sdk/reference/classes/ErrMetadataURINotMatchContent.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrMetadataURINotMatchContent + +# Class: ErrMetadataURINotMatchContent + +## Hierarchy + +- `Error` + + ↳ **`ErrMetadataURINotMatchContent`** + +## Table of contents + +### Constructors + +- [constructor](ErrMetadataURINotMatchContent#constructor) + +### Methods + +- [captureStackTrace](ErrMetadataURINotMatchContent#capturestacktrace) + +### Properties + +- [cause](ErrMetadataURINotMatchContent#cause) +- [message](ErrMetadataURINotMatchContent#message) +- [name](ErrMetadataURINotMatchContent#name) +- [stack](ErrMetadataURINotMatchContent#stack) +- [prepareStackTrace](ErrMetadataURINotMatchContent#preparestacktrace) +- [stackTraceLimit](ErrMetadataURINotMatchContent#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrMetadataURINotMatchContent**(`message?`): [`ErrMetadataURINotMatchContent`](ErrMetadataURINotMatchContent) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrMetadataURINotMatchContent`](ErrMetadataURINotMatchContent) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L56) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrMissingParameter.md b/docs/sdk/reference/classes/ErrMissingParameter.md new file mode 100644 index 000000000..47719d030 --- /dev/null +++ b/docs/sdk/reference/classes/ErrMissingParameter.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrMissingParameter + +# Class: ErrMissingParameter + +## Hierarchy + +- `Error` + + ↳ **`ErrMissingParameter`** + +## Table of contents + +### Constructors + +- [constructor](ErrMissingParameter#constructor) + +### Methods + +- [captureStackTrace](ErrMissingParameter#capturestacktrace) + +### Properties + +- [cause](ErrMissingParameter#cause) +- [message](ErrMissingParameter#message) +- [name](ErrMissingParameter#name) +- [stack](ErrMissingParameter#stack) +- [prepareStackTrace](ErrMissingParameter#preparestacktrace) +- [stackTraceLimit](ErrMissingParameter#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrMissingParameter**(`message?`): [`ErrMissingParameter`](ErrMissingParameter) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrMissingParameter`](ErrMissingParameter) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:284](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L284) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrNoElectionKeys.md b/docs/sdk/reference/classes/ErrNoElectionKeys.md new file mode 100644 index 000000000..93380605b --- /dev/null +++ b/docs/sdk/reference/classes/ErrNoElectionKeys.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrNoElectionKeys + +# Class: ErrNoElectionKeys + +## Hierarchy + +- `Error` + + ↳ **`ErrNoElectionKeys`** + +## Table of contents + +### Constructors + +- [constructor](ErrNoElectionKeys#constructor) + +### Methods + +- [captureStackTrace](ErrNoElectionKeys#capturestacktrace) + +### Properties + +- [cause](ErrNoElectionKeys#cause) +- [message](ErrNoElectionKeys#message) +- [name](ErrNoElectionKeys#name) +- [stack](ErrNoElectionKeys#stack) +- [prepareStackTrace](ErrNoElectionKeys#preparestacktrace) +- [stackTraceLimit](ErrNoElectionKeys#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrNoElectionKeys**(`message?`): [`ErrNoElectionKeys`](ErrNoElectionKeys) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrNoElectionKeys`](ErrNoElectionKeys) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:278](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L278) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrOrgNotFound.md b/docs/sdk/reference/classes/ErrOrgNotFound.md new file mode 100644 index 000000000..58f0c2598 --- /dev/null +++ b/docs/sdk/reference/classes/ErrOrgNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrOrgNotFound + +# Class: ErrOrgNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrOrgNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrOrgNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrOrgNotFound#capturestacktrace) + +### Properties + +- [cause](ErrOrgNotFound#cause) +- [message](ErrOrgNotFound#message) +- [name](ErrOrgNotFound#name) +- [stack](ErrOrgNotFound#stack) +- [prepareStackTrace](ErrOrgNotFound#preparestacktrace) +- [stackTraceLimit](ErrOrgNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrOrgNotFound**(`message?`): [`ErrOrgNotFound`](ErrOrgNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrOrgNotFound`](ErrOrgNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L32) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrPageNotFound.md b/docs/sdk/reference/classes/ErrPageNotFound.md new file mode 100644 index 000000000..4e55477bb --- /dev/null +++ b/docs/sdk/reference/classes/ErrPageNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrPageNotFound + +# Class: ErrPageNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrPageNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrPageNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrPageNotFound#capturestacktrace) + +### Properties + +- [cause](ErrPageNotFound#cause) +- [message](ErrPageNotFound#message) +- [name](ErrPageNotFound#name) +- [stack](ErrPageNotFound#stack) +- [prepareStackTrace](ErrPageNotFound#preparestacktrace) +- [stackTraceLimit](ErrPageNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrPageNotFound**(`message?`): [`ErrPageNotFound`](ErrPageNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrPageNotFound`](ErrPageNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:338](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L338) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamDumpOrRootMissing.md b/docs/sdk/reference/classes/ErrParamDumpOrRootMissing.md new file mode 100644 index 000000000..8a487c533 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamDumpOrRootMissing.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamDumpOrRootMissing + +# Class: ErrParamDumpOrRootMissing + +## Hierarchy + +- `Error` + + ↳ **`ErrParamDumpOrRootMissing`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamDumpOrRootMissing#constructor) + +### Methods + +- [captureStackTrace](ErrParamDumpOrRootMissing#capturestacktrace) + +### Properties + +- [cause](ErrParamDumpOrRootMissing#cause) +- [message](ErrParamDumpOrRootMissing#message) +- [name](ErrParamDumpOrRootMissing#name) +- [stack](ErrParamDumpOrRootMissing#stack) +- [prepareStackTrace](ErrParamDumpOrRootMissing#preparestacktrace) +- [stackTraceLimit](ErrParamDumpOrRootMissing#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamDumpOrRootMissing**(`message?`): [`ErrParamDumpOrRootMissing`](ErrParamDumpOrRootMissing) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamDumpOrRootMissing`](ErrParamDumpOrRootMissing) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:200](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L200) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamKeyOrProofMissing.md b/docs/sdk/reference/classes/ErrParamKeyOrProofMissing.md new file mode 100644 index 000000000..cd82fccee --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamKeyOrProofMissing.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamKeyOrProofMissing + +# Class: ErrParamKeyOrProofMissing + +## Hierarchy + +- `Error` + + ↳ **`ErrParamKeyOrProofMissing`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamKeyOrProofMissing#constructor) + +### Methods + +- [captureStackTrace](ErrParamKeyOrProofMissing#capturestacktrace) + +### Properties + +- [cause](ErrParamKeyOrProofMissing#cause) +- [message](ErrParamKeyOrProofMissing#message) +- [name](ErrParamKeyOrProofMissing#name) +- [stack](ErrParamKeyOrProofMissing#stack) +- [prepareStackTrace](ErrParamKeyOrProofMissing#preparestacktrace) +- [stackTraceLimit](ErrParamKeyOrProofMissing#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamKeyOrProofMissing**(`message?`): [`ErrParamKeyOrProofMissing`](ErrParamKeyOrProofMissing) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamKeyOrProofMissing`](ErrParamKeyOrProofMissing) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:206](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L206) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamNetworkInvalid.md b/docs/sdk/reference/classes/ErrParamNetworkInvalid.md new file mode 100644 index 000000000..a282bce15 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamNetworkInvalid.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamNetworkInvalid + +# Class: ErrParamNetworkInvalid + +## Hierarchy + +- `Error` + + ↳ **`ErrParamNetworkInvalid`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamNetworkInvalid#constructor) + +### Methods + +- [captureStackTrace](ErrParamNetworkInvalid#capturestacktrace) + +### Properties + +- [cause](ErrParamNetworkInvalid#cause) +- [message](ErrParamNetworkInvalid#message) +- [name](ErrParamNetworkInvalid#name) +- [stack](ErrParamNetworkInvalid#stack) +- [prepareStackTrace](ErrParamNetworkInvalid#preparestacktrace) +- [stackTraceLimit](ErrParamNetworkInvalid#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamNetworkInvalid**(`message?`): [`ErrParamNetworkInvalid`](ErrParamNetworkInvalid) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamNetworkInvalid`](ErrParamNetworkInvalid) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L218) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamParticipantsMissing.md b/docs/sdk/reference/classes/ErrParamParticipantsMissing.md new file mode 100644 index 000000000..9fc7055e6 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamParticipantsMissing.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamParticipantsMissing + +# Class: ErrParamParticipantsMissing + +## Hierarchy + +- `Error` + + ↳ **`ErrParamParticipantsMissing`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamParticipantsMissing#constructor) + +### Methods + +- [captureStackTrace](ErrParamParticipantsMissing#capturestacktrace) + +### Properties + +- [cause](ErrParamParticipantsMissing#cause) +- [message](ErrParamParticipantsMissing#message) +- [name](ErrParamParticipantsMissing#name) +- [stack](ErrParamParticipantsMissing#stack) +- [prepareStackTrace](ErrParamParticipantsMissing#preparestacktrace) +- [stackTraceLimit](ErrParamParticipantsMissing#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamParticipantsMissing**(`message?`): [`ErrParamParticipantsMissing`](ErrParamParticipantsMissing) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamParticipantsMissing`](ErrParamParticipantsMissing) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:188](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L188) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamParticipantsTooBig.md b/docs/sdk/reference/classes/ErrParamParticipantsTooBig.md new file mode 100644 index 000000000..1d17d0d77 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamParticipantsTooBig.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamParticipantsTooBig + +# Class: ErrParamParticipantsTooBig + +## Hierarchy + +- `Error` + + ↳ **`ErrParamParticipantsTooBig`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamParticipantsTooBig#constructor) + +### Methods + +- [captureStackTrace](ErrParamParticipantsTooBig#capturestacktrace) + +### Properties + +- [cause](ErrParamParticipantsTooBig#cause) +- [message](ErrParamParticipantsTooBig#message) +- [name](ErrParamParticipantsTooBig#name) +- [stack](ErrParamParticipantsTooBig#stack) +- [prepareStackTrace](ErrParamParticipantsTooBig#preparestacktrace) +- [stackTraceLimit](ErrParamParticipantsTooBig#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamParticipantsTooBig**(`message?`): [`ErrParamParticipantsTooBig`](ErrParamParticipantsTooBig) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamParticipantsTooBig`](ErrParamParticipantsTooBig) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:194](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L194) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamRootInvalid.md b/docs/sdk/reference/classes/ErrParamRootInvalid.md new file mode 100644 index 000000000..c2aa56004 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamRootInvalid.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamRootInvalid + +# Class: ErrParamRootInvalid + +## Hierarchy + +- `Error` + + ↳ **`ErrParamRootInvalid`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamRootInvalid#constructor) + +### Methods + +- [captureStackTrace](ErrParamRootInvalid#capturestacktrace) + +### Properties + +- [cause](ErrParamRootInvalid#cause) +- [message](ErrParamRootInvalid#message) +- [name](ErrParamRootInvalid#name) +- [stack](ErrParamRootInvalid#stack) +- [prepareStackTrace](ErrParamRootInvalid#preparestacktrace) +- [stackTraceLimit](ErrParamRootInvalid#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamRootInvalid**(`message?`): [`ErrParamRootInvalid`](ErrParamRootInvalid) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamRootInvalid`](ErrParamRootInvalid) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:212](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L212) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamStatusInvalid.md b/docs/sdk/reference/classes/ErrParamStatusInvalid.md new file mode 100644 index 000000000..090ca22c2 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamStatusInvalid.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamStatusInvalid + +# Class: ErrParamStatusInvalid + +## Hierarchy + +- `Error` + + ↳ **`ErrParamStatusInvalid`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamStatusInvalid#constructor) + +### Methods + +- [captureStackTrace](ErrParamStatusInvalid#capturestacktrace) + +### Properties + +- [cause](ErrParamStatusInvalid#cause) +- [message](ErrParamStatusInvalid#message) +- [name](ErrParamStatusInvalid#name) +- [stack](ErrParamStatusInvalid#stack) +- [prepareStackTrace](ErrParamStatusInvalid#preparestacktrace) +- [stackTraceLimit](ErrParamStatusInvalid#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamStatusInvalid**(`message?`): [`ErrParamStatusInvalid`](ErrParamStatusInvalid) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamStatusInvalid`](ErrParamStatusInvalid) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:182](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L182) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParamToInvalid.md b/docs/sdk/reference/classes/ErrParamToInvalid.md new file mode 100644 index 000000000..f5678bad0 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParamToInvalid.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParamToInvalid + +# Class: ErrParamToInvalid + +## Hierarchy + +- `Error` + + ↳ **`ErrParamToInvalid`** + +## Table of contents + +### Constructors + +- [constructor](ErrParamToInvalid#constructor) + +### Methods + +- [captureStackTrace](ErrParamToInvalid#capturestacktrace) + +### Properties + +- [cause](ErrParamToInvalid#cause) +- [message](ErrParamToInvalid#message) +- [name](ErrParamToInvalid#name) +- [stack](ErrParamToInvalid#stack) +- [prepareStackTrace](ErrParamToInvalid#preparestacktrace) +- [stackTraceLimit](ErrParamToInvalid#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParamToInvalid**(`message?`): [`ErrParamToInvalid`](ErrParamToInvalid) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParamToInvalid`](ErrParamToInvalid) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:224](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L224) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrParticipantKeyMissing.md b/docs/sdk/reference/classes/ErrParticipantKeyMissing.md new file mode 100644 index 000000000..fcbbda290 --- /dev/null +++ b/docs/sdk/reference/classes/ErrParticipantKeyMissing.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrParticipantKeyMissing + +# Class: ErrParticipantKeyMissing + +## Hierarchy + +- `Error` + + ↳ **`ErrParticipantKeyMissing`** + +## Table of contents + +### Constructors + +- [constructor](ErrParticipantKeyMissing#constructor) + +### Methods + +- [captureStackTrace](ErrParticipantKeyMissing#capturestacktrace) + +### Properties + +- [cause](ErrParticipantKeyMissing#cause) +- [message](ErrParticipantKeyMissing#message) +- [name](ErrParticipantKeyMissing#name) +- [stack](ErrParticipantKeyMissing#stack) +- [prepareStackTrace](ErrParticipantKeyMissing#preparestacktrace) +- [stackTraceLimit](ErrParticipantKeyMissing#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrParticipantKeyMissing**(`message?`): [`ErrParticipantKeyMissing`](ErrParticipantKeyMissing) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrParticipantKeyMissing`](ErrParticipantKeyMissing) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:230](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L230) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrSIKNotFound.md b/docs/sdk/reference/classes/ErrSIKNotFound.md new file mode 100644 index 000000000..00d67187f --- /dev/null +++ b/docs/sdk/reference/classes/ErrSIKNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrSIKNotFound + +# Class: ErrSIKNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrSIKNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrSIKNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrSIKNotFound#capturestacktrace) + +### Properties + +- [cause](ErrSIKNotFound#cause) +- [message](ErrSIKNotFound#message) +- [name](ErrSIKNotFound#name) +- [stack](ErrSIKNotFound#stack) +- [prepareStackTrace](ErrSIKNotFound#preparestacktrace) +- [stackTraceLimit](ErrSIKNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrSIKNotFound**(`message?`): [`ErrSIKNotFound`](ErrSIKNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrSIKNotFound`](ErrSIKNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:320](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L320) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrTransactionNotFound.md b/docs/sdk/reference/classes/ErrTransactionNotFound.md new file mode 100644 index 000000000..c1cef59ed --- /dev/null +++ b/docs/sdk/reference/classes/ErrTransactionNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrTransactionNotFound + +# Class: ErrTransactionNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrTransactionNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrTransactionNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrTransactionNotFound#capturestacktrace) + +### Properties + +- [cause](ErrTransactionNotFound#cause) +- [message](ErrTransactionNotFound#message) +- [name](ErrTransactionNotFound#name) +- [stack](ErrTransactionNotFound#stack) +- [prepareStackTrace](ErrTransactionNotFound#preparestacktrace) +- [stackTraceLimit](ErrTransactionNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrTransactionNotFound**(`message?`): [`ErrTransactionNotFound`](ErrTransactionNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrTransactionNotFound`](ErrTransactionNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L38) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrTxTypeMismatch.md b/docs/sdk/reference/classes/ErrTxTypeMismatch.md new file mode 100644 index 000000000..b4eebe0ed --- /dev/null +++ b/docs/sdk/reference/classes/ErrTxTypeMismatch.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrTxTypeMismatch + +# Class: ErrTxTypeMismatch + +## Hierarchy + +- `Error` + + ↳ **`ErrTxTypeMismatch`** + +## Table of contents + +### Constructors + +- [constructor](ErrTxTypeMismatch#constructor) + +### Methods + +- [captureStackTrace](ErrTxTypeMismatch#capturestacktrace) + +### Properties + +- [cause](ErrTxTypeMismatch#cause) +- [message](ErrTxTypeMismatch#message) +- [name](ErrTxTypeMismatch#name) +- [stack](ErrTxTypeMismatch#stack) +- [prepareStackTrace](ErrTxTypeMismatch#preparestacktrace) +- [stackTraceLimit](ErrTxTypeMismatch#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrTxTypeMismatch**(`message?`): [`ErrTxTypeMismatch`](ErrTxTypeMismatch) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrTxTypeMismatch`](ErrTxTypeMismatch) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:464](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L464) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrUnmarshalingServerProto.md b/docs/sdk/reference/classes/ErrUnmarshalingServerProto.md new file mode 100644 index 000000000..b1bb4e1b3 --- /dev/null +++ b/docs/sdk/reference/classes/ErrUnmarshalingServerProto.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrUnmarshalingServerProto + +# Class: ErrUnmarshalingServerProto + +## Hierarchy + +- `Error` + + ↳ **`ErrUnmarshalingServerProto`** + +## Table of contents + +### Constructors + +- [constructor](ErrUnmarshalingServerProto#constructor) + +### Methods + +- [captureStackTrace](ErrUnmarshalingServerProto#capturestacktrace) + +### Properties + +- [cause](ErrUnmarshalingServerProto#cause) +- [message](ErrUnmarshalingServerProto#message) +- [name](ErrUnmarshalingServerProto#name) +- [stack](ErrUnmarshalingServerProto#stack) +- [prepareStackTrace](ErrUnmarshalingServerProto#preparestacktrace) +- [stackTraceLimit](ErrUnmarshalingServerProto#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrUnmarshalingServerProto**(`message?`): [`ErrUnmarshalingServerProto`](ErrUnmarshalingServerProto) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrUnmarshalingServerProto`](ErrUnmarshalingServerProto) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:308](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L308) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainEmptyReply.md b/docs/sdk/reference/classes/ErrVochainEmptyReply.md new file mode 100644 index 000000000..3f454f540 --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainEmptyReply.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainEmptyReply + +# Class: ErrVochainEmptyReply + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainEmptyReply`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainEmptyReply#constructor) + +### Methods + +- [captureStackTrace](ErrVochainEmptyReply#capturestacktrace) + +### Properties + +- [cause](ErrVochainEmptyReply#cause) +- [message](ErrVochainEmptyReply#message) +- [name](ErrVochainEmptyReply#name) +- [stack](ErrVochainEmptyReply#stack) +- [prepareStackTrace](ErrVochainEmptyReply#preparestacktrace) +- [stackTraceLimit](ErrVochainEmptyReply#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainEmptyReply**(`message?`): [`ErrVochainEmptyReply`](ErrVochainEmptyReply) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainEmptyReply`](ErrVochainEmptyReply) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:344](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L344) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainGetTxFailed.md b/docs/sdk/reference/classes/ErrVochainGetTxFailed.md new file mode 100644 index 000000000..53fb3fe92 --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainGetTxFailed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainGetTxFailed + +# Class: ErrVochainGetTxFailed + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainGetTxFailed`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainGetTxFailed#constructor) + +### Methods + +- [captureStackTrace](ErrVochainGetTxFailed#capturestacktrace) + +### Properties + +- [cause](ErrVochainGetTxFailed#cause) +- [message](ErrVochainGetTxFailed#message) +- [name](ErrVochainGetTxFailed#name) +- [stack](ErrVochainGetTxFailed#stack) +- [prepareStackTrace](ErrVochainGetTxFailed#preparestacktrace) +- [stackTraceLimit](ErrVochainGetTxFailed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainGetTxFailed**(`message?`): [`ErrVochainGetTxFailed`](ErrVochainGetTxFailed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainGetTxFailed`](ErrVochainGetTxFailed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:356](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L356) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainOverloaded.md b/docs/sdk/reference/classes/ErrVochainOverloaded.md new file mode 100644 index 000000000..9c49b1e4e --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainOverloaded.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainOverloaded + +# Class: ErrVochainOverloaded + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainOverloaded`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainOverloaded#constructor) + +### Methods + +- [captureStackTrace](ErrVochainOverloaded#capturestacktrace) + +### Properties + +- [cause](ErrVochainOverloaded#cause) +- [message](ErrVochainOverloaded#message) +- [name](ErrVochainOverloaded#name) +- [stack](ErrVochainOverloaded#stack) +- [prepareStackTrace](ErrVochainOverloaded#preparestacktrace) +- [stackTraceLimit](ErrVochainOverloaded#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainOverloaded**(`message?`): [`ErrVochainOverloaded`](ErrVochainOverloaded) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainOverloaded`](ErrVochainOverloaded) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:512](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L512) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainReturnedErrorCode.md b/docs/sdk/reference/classes/ErrVochainReturnedErrorCode.md new file mode 100644 index 000000000..2460068f1 --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainReturnedErrorCode.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainReturnedErrorCode + +# Class: ErrVochainReturnedErrorCode + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainReturnedErrorCode`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainReturnedErrorCode#constructor) + +### Methods + +- [captureStackTrace](ErrVochainReturnedErrorCode#capturestacktrace) + +### Properties + +- [cause](ErrVochainReturnedErrorCode#cause) +- [message](ErrVochainReturnedErrorCode#message) +- [name](ErrVochainReturnedErrorCode#name) +- [stack](ErrVochainReturnedErrorCode#stack) +- [prepareStackTrace](ErrVochainReturnedErrorCode#preparestacktrace) +- [stackTraceLimit](ErrVochainReturnedErrorCode#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainReturnedErrorCode**(`message?`): [`ErrVochainReturnedErrorCode`](ErrVochainReturnedErrorCode) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainReturnedErrorCode`](ErrVochainReturnedErrorCode) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:362](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L362) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainReturnedInvalidElectionID.md b/docs/sdk/reference/classes/ErrVochainReturnedInvalidElectionID.md new file mode 100644 index 000000000..b949d0a87 --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainReturnedInvalidElectionID.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainReturnedInvalidElectionID + +# Class: ErrVochainReturnedInvalidElectionID + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainReturnedInvalidElectionID`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainReturnedInvalidElectionID#constructor) + +### Methods + +- [captureStackTrace](ErrVochainReturnedInvalidElectionID#capturestacktrace) + +### Properties + +- [cause](ErrVochainReturnedInvalidElectionID#cause) +- [message](ErrVochainReturnedInvalidElectionID#message) +- [name](ErrVochainReturnedInvalidElectionID#name) +- [stack](ErrVochainReturnedInvalidElectionID#stack) +- [prepareStackTrace](ErrVochainReturnedInvalidElectionID#preparestacktrace) +- [stackTraceLimit](ErrVochainReturnedInvalidElectionID#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainReturnedInvalidElectionID**(`message?`): [`ErrVochainReturnedInvalidElectionID`](ErrVochainReturnedInvalidElectionID) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainReturnedInvalidElectionID`](ErrVochainReturnedInvalidElectionID) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:368](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L368) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainReturnedWrongMetadataCID.md b/docs/sdk/reference/classes/ErrVochainReturnedWrongMetadataCID.md new file mode 100644 index 000000000..a86f78e6d --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainReturnedWrongMetadataCID.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainReturnedWrongMetadataCID + +# Class: ErrVochainReturnedWrongMetadataCID + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainReturnedWrongMetadataCID`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainReturnedWrongMetadataCID#constructor) + +### Methods + +- [captureStackTrace](ErrVochainReturnedWrongMetadataCID#capturestacktrace) + +### Properties + +- [cause](ErrVochainReturnedWrongMetadataCID#cause) +- [message](ErrVochainReturnedWrongMetadataCID#message) +- [name](ErrVochainReturnedWrongMetadataCID#name) +- [stack](ErrVochainReturnedWrongMetadataCID#stack) +- [prepareStackTrace](ErrVochainReturnedWrongMetadataCID#preparestacktrace) +- [stackTraceLimit](ErrVochainReturnedWrongMetadataCID#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainReturnedWrongMetadataCID**(`message?`): [`ErrVochainReturnedWrongMetadataCID`](ErrVochainReturnedWrongMetadataCID) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainReturnedWrongMetadataCID`](ErrVochainReturnedWrongMetadataCID) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:374](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L374) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVochainSendTxFailed.md b/docs/sdk/reference/classes/ErrVochainSendTxFailed.md new file mode 100644 index 000000000..a1ba467cd --- /dev/null +++ b/docs/sdk/reference/classes/ErrVochainSendTxFailed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVochainSendTxFailed + +# Class: ErrVochainSendTxFailed + +## Hierarchy + +- `Error` + + ↳ **`ErrVochainSendTxFailed`** + +## Table of contents + +### Constructors + +- [constructor](ErrVochainSendTxFailed#constructor) + +### Methods + +- [captureStackTrace](ErrVochainSendTxFailed#capturestacktrace) + +### Properties + +- [cause](ErrVochainSendTxFailed#cause) +- [message](ErrVochainSendTxFailed#message) +- [name](ErrVochainSendTxFailed#name) +- [stack](ErrVochainSendTxFailed#stack) +- [prepareStackTrace](ErrVochainSendTxFailed#preparestacktrace) +- [stackTraceLimit](ErrVochainSendTxFailed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVochainSendTxFailed**(`message?`): [`ErrVochainSendTxFailed`](ErrVochainSendTxFailed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVochainSendTxFailed`](ErrVochainSendTxFailed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:350](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L350) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVoteIDMalformed.md b/docs/sdk/reference/classes/ErrVoteIDMalformed.md new file mode 100644 index 000000000..30f454e4d --- /dev/null +++ b/docs/sdk/reference/classes/ErrVoteIDMalformed.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVoteIDMalformed + +# Class: ErrVoteIDMalformed + +## Hierarchy + +- `Error` + + ↳ **`ErrVoteIDMalformed`** + +## Table of contents + +### Constructors + +- [constructor](ErrVoteIDMalformed#constructor) + +### Methods + +- [captureStackTrace](ErrVoteIDMalformed#capturestacktrace) + +### Properties + +- [cause](ErrVoteIDMalformed#cause) +- [message](ErrVoteIDMalformed#message) +- [name](ErrVoteIDMalformed#name) +- [stack](ErrVoteIDMalformed#stack) +- [prepareStackTrace](ErrVoteIDMalformed#preparestacktrace) +- [stackTraceLimit](ErrVoteIDMalformed#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVoteIDMalformed**(`message?`): [`ErrVoteIDMalformed`](ErrVoteIDMalformed) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVoteIDMalformed`](ErrVoteIDMalformed) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:134](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L134) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrVoteNotFound.md b/docs/sdk/reference/classes/ErrVoteNotFound.md new file mode 100644 index 000000000..90bc122a1 --- /dev/null +++ b/docs/sdk/reference/classes/ErrVoteNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrVoteNotFound + +# Class: ErrVoteNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrVoteNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrVoteNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrVoteNotFound#capturestacktrace) + +### Properties + +- [cause](ErrVoteNotFound#cause) +- [message](ErrVoteNotFound#message) +- [name](ErrVoteNotFound#name) +- [stack](ErrVoteNotFound#stack) +- [prepareStackTrace](ErrVoteNotFound#preparestacktrace) +- [stackTraceLimit](ErrVoteNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrVoteNotFound**(`message?`): [`ErrVoteNotFound`](ErrVoteNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrVoteNotFound`](ErrVoteNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L140) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrWalletNotFound.md b/docs/sdk/reference/classes/ErrWalletNotFound.md new file mode 100644 index 000000000..d6fbe40c7 --- /dev/null +++ b/docs/sdk/reference/classes/ErrWalletNotFound.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrWalletNotFound + +# Class: ErrWalletNotFound + +## Hierarchy + +- `Error` + + ↳ **`ErrWalletNotFound`** + +## Table of contents + +### Constructors + +- [constructor](ErrWalletNotFound#constructor) + +### Methods + +- [captureStackTrace](ErrWalletNotFound#capturestacktrace) + +### Properties + +- [cause](ErrWalletNotFound#cause) +- [message](ErrWalletNotFound#message) +- [name](ErrWalletNotFound#name) +- [stack](ErrWalletNotFound#stack) +- [prepareStackTrace](ErrWalletNotFound#preparestacktrace) +- [stackTraceLimit](ErrWalletNotFound#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrWalletNotFound**(`message?`): [`ErrWalletNotFound`](ErrWalletNotFound) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrWalletNotFound`](ErrWalletNotFound) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:242](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L242) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/ErrWalletPrivKeyAlreadyExists.md b/docs/sdk/reference/classes/ErrWalletPrivKeyAlreadyExists.md new file mode 100644 index 000000000..7c924d252 --- /dev/null +++ b/docs/sdk/reference/classes/ErrWalletPrivKeyAlreadyExists.md @@ -0,0 +1,184 @@ +[@vocdoni/sdk](/sdk) / ErrWalletPrivKeyAlreadyExists + +# Class: ErrWalletPrivKeyAlreadyExists + +## Hierarchy + +- `Error` + + ↳ **`ErrWalletPrivKeyAlreadyExists`** + +## Table of contents + +### Constructors + +- [constructor](ErrWalletPrivKeyAlreadyExists#constructor) + +### Methods + +- [captureStackTrace](ErrWalletPrivKeyAlreadyExists#capturestacktrace) + +### Properties + +- [cause](ErrWalletPrivKeyAlreadyExists#cause) +- [message](ErrWalletPrivKeyAlreadyExists#message) +- [name](ErrWalletPrivKeyAlreadyExists#name) +- [stack](ErrWalletPrivKeyAlreadyExists#stack) +- [prepareStackTrace](ErrWalletPrivKeyAlreadyExists#preparestacktrace) +- [stackTraceLimit](ErrWalletPrivKeyAlreadyExists#stacktracelimit) + +## Constructors + +### constructor + +• **new ErrWalletPrivKeyAlreadyExists**(`message?`): [`ErrWalletPrivKeyAlreadyExists`](ErrWalletPrivKeyAlreadyExists) + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `message?` | `string` | + +#### Returns + +[`ErrWalletPrivKeyAlreadyExists`](ErrWalletPrivKeyAlreadyExists) + +#### Overrides + +Error.constructor + +#### Defined in + +[src/api/errors.ts:248](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/errors.ts#L248) + +## Methods + +### captureStackTrace + +▸ **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` + +Create .stack property on a target object + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `targetObject` | `object` | +| `constructorOpt?` | `Function` | + +#### Returns + +`void` + +#### Inherited from + +Error.captureStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:22 + +## Properties + +### cause + +• `Optional` **cause**: `unknown` + +#### Inherited from + +Error.cause + +#### Defined in + +docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26 + +___ + +### message + +• **message**: `string` + +#### Inherited from + +Error.message + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1054 + +___ + +### name + +• **name**: `string` + +#### Inherited from + +Error.name + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1053 + +___ + +### stack + +• `Optional` **stack**: `string` + +#### Inherited from + +Error.stack + +#### Defined in + +docs/node_modules/typescript/lib/lib.es5.d.ts:1055 + +___ + +### prepareStackTrace + +▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any` + +Optional override for formatting stack traces + +**`See`** + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Type declaration + +▸ (`err`, `stackTraces`): `any` + +##### Parameters + +| Name | Type | +| :------ | :------ | +| `err` | `Error` | +| `stackTraces` | `CallSite`[] | + +##### Returns + +`any` + +#### Inherited from + +Error.prepareStackTrace + +#### Defined in + +node_modules/@types/node/globals.d.ts:29 + +___ + +### stackTraceLimit + +▪ `Static` **stackTraceLimit**: `number` + +#### Inherited from + +Error.stackTraceLimit + +#### Defined in + +node_modules/@types/node/globals.d.ts:31 diff --git a/docs/sdk/reference/classes/FaucetAPI.md b/docs/sdk/reference/classes/FaucetAPI.md index 931c96f44..b7b318f39 100644 --- a/docs/sdk/reference/classes/FaucetAPI.md +++ b/docs/sdk/reference/classes/FaucetAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`FaucetAPI`** @@ -35,4 +35,4 @@ Calls the collect tokens method. #### Defined in -[api/faucet.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/faucet.ts#L34) +[src/api/faucet.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/faucet.ts#L34) diff --git a/docs/sdk/reference/classes/FaucetService.md b/docs/sdk/reference/classes/FaucetService.md index 2114cac24..fb0470681 100644 --- a/docs/sdk/reference/classes/FaucetService.md +++ b/docs/sdk/reference/classes/FaucetService.md @@ -52,7 +52,7 @@ Service.constructor #### Defined in -[services/faucet.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/faucet.ts#L38) +[src/services/faucet.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/faucet.ts#L38) ## Methods @@ -76,7 +76,7 @@ The encoded faucet package #### Defined in -[services/faucet.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/faucet.ts#L49) +[src/services/faucet.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/faucet.ts#L49) ___ @@ -98,7 +98,7 @@ Parses a faucet package. #### Defined in -[services/faucet.ts:58](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/faucet.ts#L58) +[src/services/faucet.ts:58](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/faucet.ts#L58) ## Properties @@ -112,7 +112,7 @@ FaucetServiceProperties.token\_limit #### Defined in -[services/faucet.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/faucet.ts#L31) +[src/services/faucet.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/faucet.ts#L31) ___ @@ -126,4 +126,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/FileAPI.md b/docs/sdk/reference/classes/FileAPI.md index f67c140ef..86ca54b56 100644 --- a/docs/sdk/reference/classes/FileAPI.md +++ b/docs/sdk/reference/classes/FileAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`FileAPI`** @@ -37,4 +37,4 @@ promised IFileCIDResponse #### Defined in -[api/file.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/file.ts#L30) +[src/api/file.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/file.ts#L30) diff --git a/docs/sdk/reference/classes/FileService.md b/docs/sdk/reference/classes/FileService.md index 837efcd9e..c2061dc02 100644 --- a/docs/sdk/reference/classes/FileService.md +++ b/docs/sdk/reference/classes/FileService.md @@ -50,7 +50,7 @@ Service.constructor #### Defined in -[services/file.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/file.ts#L16) +[src/services/file.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/file.ts#L16) ## Methods @@ -74,7 +74,7 @@ Resulting CID #### Defined in -[services/file.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/file.ts#L27) +[src/services/file.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/file.ts#L27) ## Properties @@ -88,4 +88,4 @@ Resulting CID #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/InvalidElection.md b/docs/sdk/reference/classes/InvalidElection.md index 80583fe4d..ff81ab762 100644 --- a/docs/sdk/reference/classes/InvalidElection.md +++ b/docs/sdk/reference/classes/InvalidElection.md @@ -27,7 +27,7 @@ Represents an invalid election #### Defined in -[types/election/invalid.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/invalid.ts#L20) +[src/types/election/invalid.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/invalid.ts#L20) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[types/election/invalid.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/invalid.ts#L24) +[src/types/election/invalid.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/invalid.ts#L24) ## Constructors @@ -63,4 +63,4 @@ Constructs an invalid election #### Defined in -[types/election/invalid.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/invalid.ts#L16) +[src/types/election/invalid.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/invalid.ts#L16) diff --git a/docs/sdk/reference/classes/MultiChoiceElection.md b/docs/sdk/reference/classes/MultiChoiceElection.md index 9688f5cd3..f4a7b54ea 100644 --- a/docs/sdk/reference/classes/MultiChoiceElection.md +++ b/docs/sdk/reference/classes/MultiChoiceElection.md @@ -66,7 +66,7 @@ UnpublishedElection.addSDKVersion #### Defined in -[types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L287) +[src/types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L287) • `set` **addSDKVersion**(`value`): `void` @@ -86,7 +86,7 @@ UnpublishedElection.addSDKVersion #### Defined in -[types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L291) +[src/types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L291) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[types/election/multichoice.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L124) +[src/types/election/multichoice.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L124) • `set` **canAbstain**(`value`): `void` @@ -116,7 +116,7 @@ ___ #### Defined in -[types/election/multichoice.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L128) +[src/types/election/multichoice.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L128) ___ @@ -130,7 +130,7 @@ ___ #### Defined in -[types/election/multichoice.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L116) +[src/types/election/multichoice.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L116) • `set` **canRepeatChoices**(`value`): `void` @@ -146,7 +146,7 @@ ___ #### Defined in -[types/election/multichoice.ts:120](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L120) +[src/types/election/multichoice.ts:120](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L120) ___ @@ -164,7 +164,7 @@ UnpublishedElection.census #### Defined in -[types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L261) +[src/types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L261) • `set` **census**(`value`): `void` @@ -184,7 +184,7 @@ UnpublishedElection.census #### Defined in -[types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L265) +[src/types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L265) ___ @@ -202,7 +202,7 @@ UnpublishedElection.description #### Defined in -[types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L185) +[src/types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L185) • `set` **description**(`value`): `void` @@ -222,7 +222,7 @@ UnpublishedElection.description #### Defined in -[types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L189) +[src/types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L189) ___ @@ -240,7 +240,7 @@ UnpublishedElection.duration #### Defined in -[types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L150) +[src/types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L150) ___ @@ -258,7 +258,7 @@ UnpublishedElection.electionType #### Defined in -[types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L237) +[src/types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L237) • `set` **electionType**(`value`): `void` @@ -278,7 +278,7 @@ UnpublishedElection.electionType #### Defined in -[types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L241) +[src/types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L241) ___ @@ -296,7 +296,7 @@ UnpublishedElection.endDate #### Defined in -[types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L227) +[src/types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L227) • `set` **endDate**(`value`): `void` @@ -316,7 +316,7 @@ UnpublishedElection.endDate #### Defined in -[types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L231) +[src/types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L231) ___ @@ -334,7 +334,7 @@ UnpublishedElection.header #### Defined in -[types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L193) +[src/types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L193) • `set` **header**(`value`): `void` @@ -354,7 +354,7 @@ UnpublishedElection.header #### Defined in -[types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L197) +[src/types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L197) ___ @@ -372,7 +372,7 @@ UnpublishedElection.maxCensusSize #### Defined in -[types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L270) +[src/types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L270) • `set` **maxCensusSize**(`value`): `void` @@ -392,7 +392,7 @@ UnpublishedElection.maxCensusSize #### Defined in -[types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L274) +[src/types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L274) ___ @@ -406,7 +406,7 @@ ___ #### Defined in -[types/election/multichoice.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L108) +[src/types/election/multichoice.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L108) • `set` **maxNumberOfChoices**(`value`): `void` @@ -422,7 +422,7 @@ ___ #### Defined in -[types/election/multichoice.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L112) +[src/types/election/multichoice.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L112) ___ @@ -440,7 +440,7 @@ UnpublishedElection.meta #### Defined in -[types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L209) +[src/types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L209) • `set` **meta**(`value`): `void` @@ -460,7 +460,7 @@ UnpublishedElection.meta #### Defined in -[types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L213) +[src/types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L213) ___ @@ -478,7 +478,7 @@ UnpublishedElection.questions #### Defined in -[types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L253) +[src/types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L253) • `set` **questions**(`value`): `void` @@ -498,7 +498,7 @@ UnpublishedElection.questions #### Defined in -[types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L257) +[src/types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L257) ___ @@ -516,7 +516,7 @@ UnpublishedElection.startDate #### Defined in -[types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L218) +[src/types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L218) • `set` **startDate**(`value`): `void` @@ -536,7 +536,7 @@ UnpublishedElection.startDate #### Defined in -[types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L222) +[src/types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L222) ___ @@ -554,7 +554,7 @@ UnpublishedElection.streamUri #### Defined in -[types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L201) +[src/types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L201) • `set` **streamUri**(`value`): `void` @@ -574,7 +574,7 @@ UnpublishedElection.streamUri #### Defined in -[types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L205) +[src/types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L205) ___ @@ -592,7 +592,7 @@ UnpublishedElection.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L279) +[src/types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L279) • `set` **temporarySecretIdentity**(`value`): `void` @@ -612,7 +612,7 @@ UnpublishedElection.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L283) +[src/types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L283) ___ @@ -630,7 +630,7 @@ UnpublishedElection.title #### Defined in -[types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L176) +[src/types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L176) • `set` **title**(`value`): `void` @@ -650,7 +650,7 @@ UnpublishedElection.title #### Defined in -[types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L180) +[src/types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L180) ___ @@ -668,7 +668,7 @@ UnpublishedElection.voteType #### Defined in -[types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L245) +[src/types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L245) • `set` **voteType**(`value`): `void` @@ -688,7 +688,7 @@ UnpublishedElection.voteType #### Defined in -[types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L249) +[src/types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L249) ## Constructors @@ -714,7 +714,7 @@ Constructs a multi choice election #### Defined in -[types/election/multichoice.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L24) +[src/types/election/multichoice.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L24) ## Methods @@ -740,7 +740,7 @@ Constructs a multi choice election #### Defined in -[types/election/multichoice.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L35) +[src/types/election/multichoice.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L35) ___ @@ -758,7 +758,7 @@ ___ #### Defined in -[types/election/multichoice.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L65) +[src/types/election/multichoice.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L65) ___ @@ -776,7 +776,7 @@ ___ #### Defined in -[types/election/multichoice.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L75) +[src/types/election/multichoice.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L75) ___ @@ -794,7 +794,7 @@ ___ #### Defined in -[types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L166) +[src/types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L166) ___ @@ -812,7 +812,7 @@ ___ #### Defined in -[types/election/multichoice.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L54) +[src/types/election/multichoice.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L54) ___ @@ -836,7 +836,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -860,7 +860,7 @@ ___ #### Defined in -[types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L61) +[src/types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L61) ___ @@ -878,7 +878,7 @@ ___ #### Defined in -[types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L128) +[src/types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L128) ___ @@ -899,7 +899,7 @@ ___ #### Defined in -[types/election/multichoice.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L92) +[src/types/election/multichoice.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L92) ___ @@ -925,4 +925,4 @@ Returns an unpublished election object #### Defined in -[types/election/multichoice.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L31) +[src/types/election/multichoice.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L31) diff --git a/docs/sdk/reference/classes/OffchainCensus.md b/docs/sdk/reference/classes/OffchainCensus.md index 25ba17be7..8ad412be7 100644 --- a/docs/sdk/reference/classes/OffchainCensus.md +++ b/docs/sdk/reference/classes/OffchainCensus.md @@ -46,7 +46,7 @@ Census.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -66,7 +66,7 @@ Census.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -84,7 +84,7 @@ Census.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -104,7 +104,7 @@ Census.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -122,7 +122,7 @@ Census.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -136,7 +136,7 @@ ___ #### Defined in -[types/census/offchain.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L45) +[src/types/census/offchain.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L45) • `set` **participants**(`value`): `void` @@ -152,7 +152,7 @@ ___ #### Defined in -[types/census/offchain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L49) +[src/types/census/offchain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L49) ___ @@ -170,7 +170,7 @@ Census.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -190,7 +190,7 @@ Census.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -208,7 +208,7 @@ Census.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -228,7 +228,7 @@ Census.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -246,7 +246,7 @@ Census.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -266,7 +266,7 @@ Census.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Methods @@ -291,4 +291,4 @@ Census.weight #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/PlainCensus.md b/docs/sdk/reference/classes/PlainCensus.md index 377d7b5f3..db487dd1e 100644 --- a/docs/sdk/reference/classes/PlainCensus.md +++ b/docs/sdk/reference/classes/PlainCensus.md @@ -48,7 +48,7 @@ OffchainCensus.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -68,7 +68,7 @@ OffchainCensus.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -86,7 +86,7 @@ OffchainCensus.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -106,7 +106,7 @@ OffchainCensus.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -124,7 +124,7 @@ OffchainCensus.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -142,7 +142,7 @@ OffchainCensus.participants #### Defined in -[types/census/offchain.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L45) +[src/types/census/offchain.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L45) • `set` **participants**(`value`): `void` @@ -162,7 +162,7 @@ OffchainCensus.participants #### Defined in -[types/census/offchain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L49) +[src/types/census/offchain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L49) ___ @@ -180,7 +180,7 @@ OffchainCensus.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -200,7 +200,7 @@ OffchainCensus.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -218,7 +218,7 @@ OffchainCensus.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -238,7 +238,7 @@ OffchainCensus.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -256,7 +256,7 @@ OffchainCensus.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -276,7 +276,7 @@ OffchainCensus.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Constructors @@ -296,7 +296,7 @@ OffchainCensus.constructor #### Defined in -[types/census/plain.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/plain.ts#L10) +[src/types/census/plain.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/plain.ts#L10) ## Methods @@ -316,7 +316,7 @@ OffchainCensus.constructor #### Defined in -[types/census/plain.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/plain.ts#L14) +[src/types/census/plain.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/plain.ts#L14) ___ @@ -336,7 +336,7 @@ ___ #### Defined in -[types/census/plain.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/plain.ts#L30) +[src/types/census/plain.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/plain.ts#L30) ___ @@ -361,4 +361,4 @@ ___ #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/PublishedCensus.md b/docs/sdk/reference/classes/PublishedCensus.md index c3da9a0e7..03b975500 100644 --- a/docs/sdk/reference/classes/PublishedCensus.md +++ b/docs/sdk/reference/classes/PublishedCensus.md @@ -49,7 +49,7 @@ Census.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -69,7 +69,7 @@ Census.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -87,7 +87,7 @@ Census.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -107,7 +107,7 @@ Census.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -125,7 +125,7 @@ Census.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -143,7 +143,7 @@ Census.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -163,7 +163,7 @@ Census.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -181,7 +181,7 @@ Census.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -201,7 +201,7 @@ Census.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -219,7 +219,7 @@ Census.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -239,7 +239,7 @@ Census.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Constructors @@ -269,7 +269,7 @@ Census.constructor #### Defined in -[types/census/published.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/published.ts#L17) +[src/types/census/published.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/published.ts#L17) ## Methods @@ -294,4 +294,4 @@ Census.constructor #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/PublishedElection.md b/docs/sdk/reference/classes/PublishedElection.md index 4c76a6ef6..8bd0eb9a5 100644 --- a/docs/sdk/reference/classes/PublishedElection.md +++ b/docs/sdk/reference/classes/PublishedElection.md @@ -74,7 +74,7 @@ Election.addSDKVersion #### Defined in -[types/election/election.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L275) +[src/types/election/election.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L275) ___ @@ -92,7 +92,7 @@ Election.census #### Defined in -[types/election/published.ts:179](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L179) +[src/types/election/published.ts:179](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L179) ___ @@ -106,7 +106,7 @@ ___ #### Defined in -[types/election/published.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L219) +[src/types/election/published.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L219) ___ @@ -120,7 +120,7 @@ ___ #### Defined in -[types/election/published.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L223) +[src/types/election/published.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L223) ___ @@ -138,7 +138,7 @@ Election.description #### Defined in -[types/election/published.ts:147](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L147) +[src/types/election/published.ts:147](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L147) ___ @@ -156,7 +156,7 @@ Election.electionType #### Defined in -[types/election/published.ts:167](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L167) +[src/types/election/published.ts:167](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L167) ___ @@ -174,7 +174,7 @@ Election.endDate #### Defined in -[types/election/published.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L163) +[src/types/election/published.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L163) ___ @@ -188,7 +188,7 @@ ___ #### Defined in -[types/election/published.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L203) +[src/types/election/published.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L203) ___ @@ -202,7 +202,7 @@ ___ #### Defined in -[types/election/published.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L215) +[src/types/election/published.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L215) ___ @@ -220,7 +220,7 @@ Election.header #### Defined in -[types/election/published.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L151) +[src/types/election/published.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L151) ___ @@ -234,7 +234,7 @@ ___ #### Defined in -[types/election/published.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L187) +[src/types/election/published.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L187) ___ @@ -248,7 +248,7 @@ ___ #### Defined in -[types/election/published.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L239) +[src/types/election/published.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L239) ___ @@ -262,7 +262,7 @@ ___ #### Defined in -[types/election/published.ts:211](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L211) +[src/types/election/published.ts:211](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L211) ___ @@ -280,7 +280,7 @@ Election.maxCensusSize #### Defined in -[types/election/published.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L183) +[src/types/election/published.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L183) ___ @@ -298,7 +298,7 @@ Election.meta #### Defined in -[types/election/election.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L239) +[src/types/election/election.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L239) ___ @@ -312,7 +312,7 @@ ___ #### Defined in -[types/election/published.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L227) +[src/types/election/published.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L227) ___ @@ -326,7 +326,7 @@ ___ #### Defined in -[types/election/published.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L191) +[src/types/election/published.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L191) ___ @@ -344,7 +344,7 @@ Election.questions #### Defined in -[types/election/published.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L175) +[src/types/election/published.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L175) ___ @@ -358,7 +358,7 @@ ___ #### Defined in -[types/election/published.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L235) +[src/types/election/published.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L235) ___ @@ -372,7 +372,7 @@ ___ #### Defined in -[types/election/published.ts:207](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L207) +[src/types/election/published.ts:207](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L207) ___ @@ -386,7 +386,7 @@ ___ #### Defined in -[types/election/published.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L231) +[src/types/election/published.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L231) ___ @@ -404,7 +404,7 @@ Election.startDate #### Defined in -[types/election/published.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L159) +[src/types/election/published.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L159) ___ @@ -418,7 +418,7 @@ ___ #### Defined in -[types/election/published.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L195) +[src/types/election/published.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L195) ___ @@ -436,7 +436,7 @@ Election.streamUri #### Defined in -[types/election/published.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L155) +[src/types/election/published.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L155) ___ @@ -454,7 +454,7 @@ Election.temporarySecretIdentity #### Defined in -[types/election/election.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L271) +[src/types/election/election.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L271) ___ @@ -472,7 +472,7 @@ Election.title #### Defined in -[types/election/published.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L143) +[src/types/election/published.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L143) ___ @@ -486,7 +486,7 @@ ___ #### Defined in -[types/election/published.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L199) +[src/types/election/published.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L199) ___ @@ -504,7 +504,7 @@ Election.voteType #### Defined in -[types/election/published.ts:171](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L171) +[src/types/election/published.ts:171](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L171) ## Constructors @@ -530,7 +530,7 @@ Election.constructor #### Defined in -[types/election/published.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L65) +[src/types/election/published.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L65) ## Methods @@ -550,7 +550,7 @@ Election.constructor #### Defined in -[types/election/published.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L113) +[src/types/election/published.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L113) ___ @@ -574,7 +574,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -596,7 +596,7 @@ Returns a published election object #### Defined in -[types/election/published.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L100) +[src/types/election/published.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L100) ___ @@ -617,7 +617,7 @@ ___ #### Defined in -[types/election/published.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L127) +[src/types/election/published.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L127) ___ @@ -643,7 +643,7 @@ Returns an unpublished election object #### Defined in -[types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L219) +[src/types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L219) ___ @@ -664,4 +664,4 @@ ___ #### Defined in -[types/election/published.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L104) +[src/types/election/published.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L104) diff --git a/docs/sdk/reference/classes/Service.md b/docs/sdk/reference/classes/Service.md index c13e6c16d..9e33e8e62 100644 --- a/docs/sdk/reference/classes/Service.md +++ b/docs/sdk/reference/classes/Service.md @@ -46,4 +46,4 @@ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/StrategyCensus.md b/docs/sdk/reference/classes/StrategyCensus.md index 9047fb021..475f5fed3 100644 --- a/docs/sdk/reference/classes/StrategyCensus.md +++ b/docs/sdk/reference/classes/StrategyCensus.md @@ -46,7 +46,7 @@ PublishedCensus.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -66,7 +66,7 @@ PublishedCensus.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -84,7 +84,7 @@ PublishedCensus.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -104,7 +104,7 @@ PublishedCensus.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -122,7 +122,7 @@ PublishedCensus.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -140,7 +140,7 @@ PublishedCensus.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -160,7 +160,7 @@ PublishedCensus.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -174,7 +174,7 @@ ___ #### Defined in -[types/census/census3/strategy.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census3/strategy.ts#L33) +[src/types/census/census3/strategy.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census3/strategy.ts#L33) • `set` **strategy**(`value`): `void` @@ -190,7 +190,7 @@ ___ #### Defined in -[types/census/census3/strategy.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census3/strategy.ts#L37) +[src/types/census/census3/strategy.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census3/strategy.ts#L37) ___ @@ -208,7 +208,7 @@ PublishedCensus.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -228,7 +228,7 @@ PublishedCensus.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -246,7 +246,7 @@ PublishedCensus.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -266,7 +266,7 @@ PublishedCensus.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Constructors @@ -297,7 +297,7 @@ Constructs a census3 census #### Defined in -[types/census/census3/strategy.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census3/strategy.ts#L21) +[src/types/census/census3/strategy.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census3/strategy.ts#L21) ## Methods @@ -322,4 +322,4 @@ Constructs a census3 census #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/TokenCensus.md b/docs/sdk/reference/classes/TokenCensus.md index 8c3295999..b40c6f0cb 100644 --- a/docs/sdk/reference/classes/TokenCensus.md +++ b/docs/sdk/reference/classes/TokenCensus.md @@ -46,7 +46,7 @@ PublishedCensus.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -66,7 +66,7 @@ PublishedCensus.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -84,7 +84,7 @@ PublishedCensus.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -104,7 +104,7 @@ PublishedCensus.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -122,7 +122,7 @@ PublishedCensus.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -140,7 +140,7 @@ PublishedCensus.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -160,7 +160,7 @@ PublishedCensus.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -174,7 +174,7 @@ ___ #### Defined in -[types/census/census3/token.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census3/token.ts#L33) +[src/types/census/census3/token.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census3/token.ts#L33) • `set` **token**(`value`): `void` @@ -190,7 +190,7 @@ ___ #### Defined in -[types/census/census3/token.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census3/token.ts#L37) +[src/types/census/census3/token.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census3/token.ts#L37) ___ @@ -208,7 +208,7 @@ PublishedCensus.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -228,7 +228,7 @@ PublishedCensus.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -246,7 +246,7 @@ PublishedCensus.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -266,7 +266,7 @@ PublishedCensus.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Constructors @@ -297,7 +297,7 @@ Constructs a census3 census #### Defined in -[types/census/census3/token.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census3/token.ts#L21) +[src/types/census/census3/token.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census3/token.ts#L21) ## Methods @@ -322,4 +322,4 @@ Constructs a census3 census #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/UnpublishedElection.md b/docs/sdk/reference/classes/UnpublishedElection.md index 084059a62..63698b39e 100644 --- a/docs/sdk/reference/classes/UnpublishedElection.md +++ b/docs/sdk/reference/classes/UnpublishedElection.md @@ -68,7 +68,7 @@ Election.addSDKVersion #### Defined in -[types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L287) +[src/types/election/unpublished.ts:287](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L287) • `set` **addSDKVersion**(`value`): `void` @@ -88,7 +88,7 @@ Election.addSDKVersion #### Defined in -[types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L291) +[src/types/election/unpublished.ts:291](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L291) ___ @@ -106,7 +106,7 @@ Election.census #### Defined in -[types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L261) +[src/types/election/unpublished.ts:261](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L261) • `set` **census**(`value`): `void` @@ -126,7 +126,7 @@ Election.census #### Defined in -[types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L265) +[src/types/election/unpublished.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L265) ___ @@ -144,7 +144,7 @@ Election.description #### Defined in -[types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L185) +[src/types/election/unpublished.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L185) • `set` **description**(`value`): `void` @@ -164,7 +164,7 @@ Election.description #### Defined in -[types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L189) +[src/types/election/unpublished.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L189) ___ @@ -178,7 +178,7 @@ ___ #### Defined in -[types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L150) +[src/types/election/unpublished.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L150) ___ @@ -196,7 +196,7 @@ Election.electionType #### Defined in -[types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L237) +[src/types/election/unpublished.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L237) • `set` **electionType**(`value`): `void` @@ -216,7 +216,7 @@ Election.electionType #### Defined in -[types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L241) +[src/types/election/unpublished.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L241) ___ @@ -234,7 +234,7 @@ Election.endDate #### Defined in -[types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L227) +[src/types/election/unpublished.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L227) • `set` **endDate**(`value`): `void` @@ -254,7 +254,7 @@ Election.endDate #### Defined in -[types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L231) +[src/types/election/unpublished.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L231) ___ @@ -272,7 +272,7 @@ Election.header #### Defined in -[types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L193) +[src/types/election/unpublished.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L193) • `set` **header**(`value`): `void` @@ -292,7 +292,7 @@ Election.header #### Defined in -[types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L197) +[src/types/election/unpublished.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L197) ___ @@ -310,7 +310,7 @@ Election.maxCensusSize #### Defined in -[types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L270) +[src/types/election/unpublished.ts:270](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L270) • `set` **maxCensusSize**(`value`): `void` @@ -330,7 +330,7 @@ Election.maxCensusSize #### Defined in -[types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L274) +[src/types/election/unpublished.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L274) ___ @@ -348,7 +348,7 @@ Election.meta #### Defined in -[types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L209) +[src/types/election/unpublished.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L209) • `set` **meta**(`value`): `void` @@ -368,7 +368,7 @@ Election.meta #### Defined in -[types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L213) +[src/types/election/unpublished.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L213) ___ @@ -386,7 +386,7 @@ Election.questions #### Defined in -[types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L253) +[src/types/election/unpublished.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L253) • `set` **questions**(`value`): `void` @@ -406,7 +406,7 @@ Election.questions #### Defined in -[types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L257) +[src/types/election/unpublished.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L257) ___ @@ -424,7 +424,7 @@ Election.startDate #### Defined in -[types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L218) +[src/types/election/unpublished.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L218) • `set` **startDate**(`value`): `void` @@ -444,7 +444,7 @@ Election.startDate #### Defined in -[types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L222) +[src/types/election/unpublished.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L222) ___ @@ -462,7 +462,7 @@ Election.streamUri #### Defined in -[types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L201) +[src/types/election/unpublished.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L201) • `set` **streamUri**(`value`): `void` @@ -482,7 +482,7 @@ Election.streamUri #### Defined in -[types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L205) +[src/types/election/unpublished.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L205) ___ @@ -500,7 +500,7 @@ Election.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L279) +[src/types/election/unpublished.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L279) • `set` **temporarySecretIdentity**(`value`): `void` @@ -520,7 +520,7 @@ Election.temporarySecretIdentity #### Defined in -[types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L283) +[src/types/election/unpublished.ts:283](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L283) ___ @@ -538,7 +538,7 @@ Election.title #### Defined in -[types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L176) +[src/types/election/unpublished.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L176) • `set` **title**(`value`): `void` @@ -558,7 +558,7 @@ Election.title #### Defined in -[types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L180) +[src/types/election/unpublished.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L180) ___ @@ -576,7 +576,7 @@ Election.voteType #### Defined in -[types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L245) +[src/types/election/unpublished.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L245) • `set` **voteType**(`value`): `void` @@ -596,7 +596,7 @@ Election.voteType #### Defined in -[types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L249) +[src/types/election/unpublished.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L249) ## Constructors @@ -622,7 +622,7 @@ Election.constructor #### Defined in -[types/election/unpublished.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L24) +[src/types/election/unpublished.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L24) ## Methods @@ -644,7 +644,7 @@ Election.constructor #### Defined in -[types/election/unpublished.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L42) +[src/types/election/unpublished.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L42) ___ @@ -658,7 +658,7 @@ ___ #### Defined in -[types/election/unpublished.ts:156](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L156) +[src/types/election/unpublished.ts:156](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L156) ___ @@ -678,7 +678,7 @@ ___ #### Defined in -[types/election/unpublished.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L93) +[src/types/election/unpublished.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L93) ___ @@ -692,7 +692,7 @@ ___ #### Defined in -[types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L166) +[src/types/election/unpublished.ts:166](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L166) ___ @@ -706,7 +706,7 @@ ___ #### Defined in -[types/election/unpublished.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L135) +[src/types/election/unpublished.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L135) ___ @@ -730,7 +730,7 @@ ___ #### Defined in -[types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L279) +[src/types/election/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L279) ___ @@ -750,7 +750,7 @@ ___ #### Defined in -[types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L61) +[src/types/election/unpublished.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L61) ___ @@ -764,7 +764,7 @@ ___ #### Defined in -[types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/unpublished.ts#L128) +[src/types/election/unpublished.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/unpublished.ts#L128) ___ @@ -790,4 +790,4 @@ Returns an unpublished election object #### Defined in -[types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L219) +[src/types/election/election.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L219) diff --git a/docs/sdk/reference/classes/VocdoniCensus3Client.md b/docs/sdk/reference/classes/VocdoniCensus3Client.md index c63a6e71c..dd84077a4 100644 --- a/docs/sdk/reference/classes/VocdoniCensus3Client.md +++ b/docs/sdk/reference/classes/VocdoniCensus3Client.md @@ -62,7 +62,7 @@ To instantiate the client just pass the `ClientOptions` you want or use an empty #### Defined in -[census3.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L49) +[src/census3.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L47) ## Methods @@ -87,7 +87,7 @@ The census information #### Defined in -[census3.ts:379](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L379) +[src/census3.ts:398](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L398) ___ @@ -113,7 +113,7 @@ The strategy id #### Defined in -[census3.ts:296](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L296) +[src/census3.ts:315](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L315) ___ @@ -138,7 +138,7 @@ The strategy census #### Defined in -[census3.ts:439](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L439) +[src/census3.ts:458](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L458) ___ @@ -164,7 +164,7 @@ Creates a new token to be tracked in the service #### Defined in -[census3.ts:164](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L164) +[src/census3.ts:162](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L162) ___ @@ -191,7 +191,7 @@ The token census #### Defined in -[census3.ts:416](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L416) +[src/census3.ts:435](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L435) ___ @@ -215,7 +215,7 @@ The census3 census #### Defined in -[census3.ts:367](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L367) +[src/census3.ts:386](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L386) ___ @@ -239,7 +239,7 @@ The list of census3 censuses #### Defined in -[census3.ts:356](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L356) +[src/census3.ts:375](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L375) ___ @@ -265,7 +265,7 @@ The predicate estimation #### Defined in -[census3.ts:252](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L252) +[src/census3.ts:271](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L271) ___ @@ -283,7 +283,7 @@ The list of strategies #### Defined in -[census3.ts:182](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L182) +[src/census3.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L180) ___ @@ -309,7 +309,7 @@ The list of strategies #### Defined in -[census3.ts:208](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L208) +[src/census3.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L227) ___ @@ -333,7 +333,7 @@ The strategy information #### Defined in -[census3.ts:222](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L222) +[src/census3.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L241) ___ @@ -358,13 +358,13 @@ The strategy estimation #### Defined in -[census3.ts:234](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L234) +[src/census3.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L253) ___ ### getStrategyHolders -▸ **getStrategyHolders**(`id`, `pagination?`): `Promise`\<[`StrategyHolders`](../sdk-reference#strategyholders)\> +▸ **getStrategyHolders**(`id`): `Promise`\<[`StrategyHolders`](../sdk-reference#strategyholders)\> Returns the strategy holders @@ -373,7 +373,6 @@ Returns the strategy holders | Name | Type | Description | | :------ | :------ | :------ | | `id` | `number` | The id of the strategy | -| `pagination` | `Census3Pagination` | Pagination options | #### Returns @@ -383,7 +382,7 @@ The list strategy holders #### Defined in -[census3.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L193) +[src/census3.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L190) ___ @@ -401,7 +400,7 @@ Supported chain list #### Defined in -[census3.ts:77](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L77) +[src/census3.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L75) ___ @@ -419,7 +418,7 @@ Supported strategies operators list #### Defined in -[census3.ts:95](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L95) +[src/census3.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L93) ___ @@ -437,7 +436,7 @@ Token summary list #### Defined in -[census3.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L62) +[src/census3.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L60) ___ @@ -455,7 +454,7 @@ Supported tokens type list #### Defined in -[census3.ts:86](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L86) +[src/census3.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L84) ___ @@ -481,7 +480,7 @@ The token information #### Defined in -[census3.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L107) +[src/census3.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L105) ___ @@ -505,7 +504,7 @@ The strategy information #### Defined in -[census3.ts:311](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L311) +[src/census3.ts:330](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L330) ___ @@ -532,7 +531,7 @@ If the holder is in the token #### Defined in -[census3.ts:125](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L125) +[src/census3.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L123) ___ @@ -559,7 +558,7 @@ The balance of the holder #### Defined in -[census3.ts:146](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L146) +[src/census3.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L144) ___ @@ -583,7 +582,7 @@ The parsed predicate #### Defined in -[census3.ts:345](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L345) +[src/census3.ts:364](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L364) ## Properties @@ -600,7 +599,7 @@ The parsed predicate #### Defined in -[census3.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L38) +[src/census3.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L36) ___ @@ -610,4 +609,4 @@ ___ #### Defined in -[census3.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L37) +[src/census3.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L35) diff --git a/docs/sdk/reference/classes/VocdoniSDKClient.md b/docs/sdk/reference/classes/VocdoniSDKClient.md index 3eb14e8ed..5c1b71cf4 100644 --- a/docs/sdk/reference/classes/VocdoniSDKClient.md +++ b/docs/sdk/reference/classes/VocdoniSDKClient.md @@ -25,6 +25,9 @@ point. - [calculateElectionCost](VocdoniSDKClient#calculateelectioncost) - [cancelElection](VocdoniSDKClient#cancelelection) - [changeElectionCensus](VocdoniSDKClient#changeelectioncensus) +- [changeElectionDuration](VocdoniSDKClient#changeelectionduration) +- [changeElectionEndDate](VocdoniSDKClient#changeelectionenddate) +- [changeElectionMaxCensusSize](VocdoniSDKClient#changeelectionmaxcensussize) - [continueElection](VocdoniSDKClient#continueelection) - [createElection](VocdoniSDKClient#createelection) - [createElectionSteps](VocdoniSDKClient#createelectionsteps) @@ -107,7 +110,7 @@ To instantiate the client just pass the `ClientOptions` you want or empty object #### Defined in -[client.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L128) +[src/client.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L152) ## Account Methods @@ -133,7 +136,7 @@ Registers an account against vochain, so it can create new elections. #### Defined in -[client.ts:421](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L421) +[src/client.ts:445](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L445) ___ @@ -159,7 +162,7 @@ Creates an account with information. #### Defined in -[client.ts:331](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L331) +[src/client.ts:355](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L355) ___ @@ -181,7 +184,7 @@ Fetches account. #### Defined in -[client.ts:198](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L198) +[src/client.ts:226](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L226) ___ @@ -203,7 +206,7 @@ Fetches account information. #### Defined in -[client.ts:179](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L179) +[src/client.ts:207](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L207) ___ @@ -225,7 +228,7 @@ Updates an account with information #### Defined in -[client.ts:375](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L375) +[src/client.ts:399](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L399) ___ @@ -251,7 +254,7 @@ The cost in tokens. #### Defined in -[client.ts:1043](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1043) +[src/client.ts:1136](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1136) ___ @@ -273,13 +276,13 @@ Cancels an election. #### Defined in -[client.ts:634](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L634) +[src/client.ts:658](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L658) ___ ### changeElectionCensus -▸ **changeElectionCensus**(`electionId`, `censusId`, `censusURI`): `Promise`\<`void`\> +▸ **changeElectionCensus**(`electionId`, `censusId`, `censusURI`, `maxCensusSize?`): `Promise`\<`void`\> Changes the census of an election. @@ -290,6 +293,7 @@ Changes the census of an election. | `electionId` | `string` | The id of the election | | `censusId` | `string` | The new census id (root) | | `censusURI` | `string` | The new census URI | +| `maxCensusSize?` | `number` | The new max census size | #### Returns @@ -297,7 +301,76 @@ Changes the census of an election. #### Defined in -[client.ts:680](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L680) +[src/client.ts:705](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L705) + +___ + +### changeElectionDuration + +▸ **changeElectionDuration**(`electionId`, `duration`): `Promise`\<`void`\> + +Changes the duration of an election. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `electionId` | `string` | The id of the election | +| `duration` | `number` | The new duration of the election | + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[src/client.ts:758](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L758) + +___ + +### changeElectionEndDate + +▸ **changeElectionEndDate**(`electionId`, `endDate`): `Promise`\<`void`\> + +Changes the end date of an election. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `electionId` | `string` | The id of the election | +| `endDate` | `string` \| `number` \| `Date` | The new end date | + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[src/client.ts:779](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L779) + +___ + +### changeElectionMaxCensusSize + +▸ **changeElectionMaxCensusSize**(`electionId`, `maxCensusSize`): `Promise`\<`void`\> + +Changes the max census size of an election. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `electionId` | `string` | The id of the election | +| `maxCensusSize` | `number` | The new max census size | + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[src/client.ts:736](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L736) ___ @@ -319,7 +392,7 @@ Continues an election. #### Defined in -[client.ts:644](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L644) +[src/client.ts:668](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L668) ___ @@ -343,7 +416,7 @@ Resulting election id. #### Defined in -[client.ts:515](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L515) +[src/client.ts:539](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L539) ___ @@ -367,7 +440,7 @@ The async step returns. #### Defined in -[client.ts:532](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L532) +[src/client.ts:556](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L556) ___ @@ -389,7 +462,7 @@ Ends an election. #### Defined in -[client.ts:614](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L614) +[src/client.ts:638](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L638) ___ @@ -413,7 +486,7 @@ The cost in tokens. #### Defined in -[client.ts:1033](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1033) +[src/client.ts:1126](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1126) ___ @@ -436,30 +509,29 @@ Fetches info about an election. #### Defined in -[client.ts:227](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L227) +[src/client.ts:255](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L255) ___ ### fetchElections -▸ **fetchElections**(`account?`, `page?`): `Promise`\<([`PublishedElection`](PublishedElection.md) \| [`ArchivedElection`](ArchivedElection.md) \| [`InvalidElection`](InvalidElection))[]\> +▸ **fetchElections**(`params?`): `Promise`\<[`ElectionListWithPagination`](../sdk-reference#electionlistwithpagination)\> -Fetches info about all elections created by the given account +Fetches info about all elections #### Parameters -| Name | Type | Default value | Description | -| :------ | :------ | :------ | :------ | -| `account?` | `string` | `undefined` | specify an account to search for. Otherwise client wallet address is used. | -| `page` | `number` | `0` | - | +| Name | Type | Description | +| :------ | :------ | :------ | +| `params?` | `Partial`\<[`FetchElectionsParametersWithPagination`](../sdk-reference#fetchelectionsparameterswithpagination)\> | The parameters to filter the elections | #### Returns -`Promise`\<([`PublishedElection`](PublishedElection.md) \| [`ArchivedElection`](ArchivedElection.md) \| [`InvalidElection`](InvalidElection))[]\> +`Promise`\<[`ElectionListWithPagination`](../sdk-reference#electionlistwithpagination)\> #### Defined in -[client.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L241) +[src/client.ts:268](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L268) ___ @@ -481,7 +553,7 @@ Pauses an election. #### Defined in -[client.ts:624](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L624) +[src/client.ts:648](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L648) ___ @@ -503,7 +575,7 @@ Sets an election id. Required by other methods like submitVote or createElection #### Defined in -[client.ts:169](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L169) +[src/client.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L197) ___ @@ -529,7 +601,7 @@ The id of the vote #### Defined in -[client.ts:726](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L726) +[src/client.ts:819](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L819) ___ @@ -551,7 +623,7 @@ Checks if the user is able to vote #### Defined in -[client.ts:758](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L758) +[src/client.ts:851](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L851) ___ @@ -573,7 +645,7 @@ Checks if the user is in census. #### Defined in -[client.ts:704](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L704) +[src/client.ts:797](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L797) ___ @@ -597,7 +669,7 @@ Vote confirmation id. #### Defined in -[client.ts:806](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L806) +[src/client.ts:899](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L899) ___ @@ -621,7 +693,7 @@ Vote confirmation id. #### Defined in -[client.ts:823](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L823) +[src/client.ts:916](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L916) ___ @@ -643,7 +715,7 @@ Checks how many times a user can submit their vote #### Defined in -[client.ts:768](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L768) +[src/client.ts:861](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L861) ___ @@ -669,7 +741,7 @@ Resulting CID #### Defined in -[client.ts:1053](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1053) +[src/client.ts:1146](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1146) ___ @@ -693,7 +765,7 @@ Account data information updated with new balance #### Defined in -[client.ts:488](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L488) +[src/client.ts:512](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L512) ___ @@ -715,7 +787,7 @@ Publishes the given census. #### Defined in -[client.ts:955](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L955) +[src/client.ts:1048](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1048) ___ @@ -729,7 +801,7 @@ ___ #### Defined in -[client.ts:991](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L991) +[src/client.ts:1084](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1084) ___ @@ -750,7 +822,7 @@ ___ #### Defined in -[client.ts:1002](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1002) +[src/client.ts:1095](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1095) ___ @@ -772,7 +844,7 @@ ___ #### Defined in -[client.ts:995](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L995) +[src/client.ts:1088](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1088) ___ @@ -786,7 +858,7 @@ ___ #### Defined in -[client.ts:986](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L986) +[src/client.ts:1079](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1079) ___ @@ -808,7 +880,7 @@ ___ #### Defined in -[client.ts:1007](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1007) +[src/client.ts:1100](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1100) ___ @@ -830,7 +902,7 @@ Fetches the information of a given census. #### Defined in -[client.ts:964](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L964) +[src/client.ts:1057](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1057) ___ @@ -846,7 +918,7 @@ Fetches blockchain costs information if needed. #### Defined in -[client.ts:1015](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1015) +[src/client.ts:1108](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1108) ___ @@ -862,7 +934,7 @@ Fetches blockchain information if needed and returns the chain id. #### Defined in -[client.ts:1023](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1023) +[src/client.ts:1116](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1116) ___ @@ -884,7 +956,7 @@ Fetches circuits for anonymous voting #### Defined in -[client.ts:973](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L973) +[src/client.ts:1066](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1066) ___ @@ -900,7 +972,7 @@ Fetches a faucet payload. Only for development. #### Defined in -[client.ts:1061](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1061) +[src/client.ts:1154](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1154) ___ @@ -923,7 +995,7 @@ Fetches proof that an address is part of the specified census. #### Defined in -[client.ts:946](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L946) +[src/client.ts:1039](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1039) ___ @@ -941,7 +1013,7 @@ The private key. #### Defined in -[client.ts:918](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L918) +[src/client.ts:1011](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1011) ___ @@ -963,7 +1035,7 @@ Parses a faucet package. #### Defined in -[client.ts:1071](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1071) +[src/client.ts:1164](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1164) ___ @@ -985,7 +1057,7 @@ Send tokens from one account to another. #### Defined in -[client.ts:459](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L459) +[src/client.ts:483](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L483) ___ @@ -1007,7 +1079,7 @@ Sets circuits for anonymous voting #### Defined in -[client.ts:982](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L982) +[src/client.ts:1075](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1075) ___ @@ -1033,7 +1105,7 @@ it fails. #### Defined in -[client.ts:1084](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L1084) +[src/client.ts:1177](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1177) ___ @@ -1057,7 +1129,7 @@ The deterministic wallet. #### Defined in -[client.ts:930](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L930) +[src/client.ts:1023](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L1023) ## Properties @@ -1067,7 +1139,7 @@ The deterministic wallet. #### Defined in -[client.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L112) +[src/client.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L136) ___ @@ -1077,7 +1149,7 @@ ___ #### Defined in -[client.ts:106](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L106) +[src/client.ts:130](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L130) ___ @@ -1087,7 +1159,7 @@ ___ #### Defined in -[client.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L104) +[src/client.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L128) ___ @@ -1097,7 +1169,7 @@ ___ #### Defined in -[client.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L105) +[src/client.ts:129](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L129) ___ @@ -1107,7 +1179,7 @@ ___ #### Defined in -[client.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L107) +[src/client.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L131) ___ @@ -1117,7 +1189,7 @@ ___ #### Defined in -[client.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L116) +[src/client.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L140) ___ @@ -1127,7 +1199,7 @@ ___ #### Defined in -[client.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L108) +[src/client.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L132) ___ @@ -1137,7 +1209,7 @@ ___ #### Defined in -[client.ts:117](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L117) +[src/client.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L141) ___ @@ -1147,7 +1219,7 @@ ___ #### Defined in -[client.ts:111](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L111) +[src/client.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L135) ___ @@ -1157,7 +1229,7 @@ ___ #### Defined in -[client.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L110) +[src/client.ts:134](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L134) ___ @@ -1167,7 +1239,7 @@ ___ #### Defined in -[client.ts:114](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L114) +[src/client.ts:138](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L138) ___ @@ -1177,7 +1249,7 @@ ___ #### Defined in -[client.ts:109](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L109) +[src/client.ts:133](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L133) ___ @@ -1187,4 +1259,4 @@ ___ #### Defined in -[client.ts:115](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L115) +[src/client.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L139) diff --git a/docs/sdk/reference/classes/Vote.md b/docs/sdk/reference/classes/Vote.md index 1a63a900a..5801178d9 100644 --- a/docs/sdk/reference/classes/Vote.md +++ b/docs/sdk/reference/classes/Vote.md @@ -34,7 +34,7 @@ Represents a vote #### Defined in -[types/vote/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L16) +[src/types/vote/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L16) • `set` **votes**(`value`): `void` @@ -50,7 +50,7 @@ Represents a vote #### Defined in -[types/vote/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L20) +[src/types/vote/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L20) ## Constructors @@ -72,4 +72,4 @@ Constructs a vote #### Defined in -[types/vote/vote.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/vote/vote.ts#L12) +[src/types/vote/vote.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/vote/vote.ts#L12) diff --git a/docs/sdk/reference/classes/VoteAPI.md b/docs/sdk/reference/classes/VoteAPI.md index 0701c960b..9fa190dba 100644 --- a/docs/sdk/reference/classes/VoteAPI.md +++ b/docs/sdk/reference/classes/VoteAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`VoteAPI`** @@ -13,6 +13,7 @@ ### Methods - [info](VoteAPI#info) +- [list](VoteAPI#list) - [submit](VoteAPI#submit) - [verify](VoteAPI#verify) @@ -20,7 +21,7 @@ ### info -▸ **info**(`url`, `voteId`): `Promise`\<[`IVoteInfoResponse`](../interfaces/IVoteInfoResponse)\> +▸ **info**(`url`, `voteId`): `Promise`\<[`VoteInfoResponse`](../sdk-reference#voteinforesponse)\> Vote info @@ -33,11 +34,34 @@ Vote info #### Returns -`Promise`\<[`IVoteInfoResponse`](../interfaces/IVoteInfoResponse)\> +`Promise`\<[`VoteInfoResponse`](../sdk-reference#voteinforesponse)\> #### Defined in -[api/vote.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L127) +[src/api/vote.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L143) + +___ + +### list + +▸ **list**(`url`, `params?`): `Promise`\<[`IVoteListResponse`](../interfaces/IVoteListResponse)\> + +Fetches the vote list + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `url` | `string` | API endpoint URL | +| `params?` | `Partial`\<[`FetchVotesParametersWithPagination`](../sdk-reference#fetchvotesparameterswithpagination)\> | The parameters to filter the votes | + +#### Returns + +`Promise`\<[`IVoteListResponse`](../interfaces/IVoteListResponse)\> + +#### Defined in + +[src/api/vote.ts:156](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L156) ___ @@ -45,7 +69,7 @@ ___ ▸ **submit**(`url`, `payload`): `Promise`\<[`IVoteSubmitResponse`](../interfaces/IVoteSubmitResponse)\> -Voting +Submits a payload representing the vote transaction to the chain #### Parameters @@ -60,13 +84,13 @@ Voting #### Defined in -[api/vote.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L113) +[src/api/vote.ts:129](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L129) ___ ### verify -▸ **verify**(`url`, `processId`, `voteId`): `Promise`\<`boolean`\> +▸ **verify**(`url`, `electionId`, `voteId`): `Promise`\<`boolean`\> Verify vote. A vote exists in a process. @@ -75,7 +99,7 @@ Verify vote. A vote exists in a process. | Name | Type | Description | | :------ | :------ | :------ | | `url` | `string` | API endpoint URL | -| `processId` | `string` | The process identifier | +| `electionId` | `string` | The process identifier | | `voteId` | `string` | The identifier of the vote | #### Returns @@ -86,4 +110,4 @@ Return true if response has status 200 #### Defined in -[api/vote.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L143) +[src/api/vote.ts:173](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L173) diff --git a/docs/sdk/reference/classes/VoteService.md b/docs/sdk/reference/classes/VoteService.md index d4648f9dd..f80627368 100644 --- a/docs/sdk/reference/classes/VoteService.md +++ b/docs/sdk/reference/classes/VoteService.md @@ -54,7 +54,7 @@ Service.constructor #### Defined in -[services/vote.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L45) +[src/services/vote.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L51) ## Methods @@ -74,13 +74,13 @@ Service.constructor #### Defined in -[services/vote.ts:58](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L58) +[src/services/vote.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L64) ___ ### info -▸ **info**(`voteId`): `Promise`\<[`IVoteInfoResponse`](../interfaces/IVoteInfoResponse)\> +▸ **info**(`voteId`): `Promise`\<[`VoteInfoResponse`](../sdk-reference#voteinforesponse)\> Get the vote information @@ -92,11 +92,11 @@ Get the vote information #### Returns -`Promise`\<[`IVoteInfoResponse`](../interfaces/IVoteInfoResponse)\> +`Promise`\<[`VoteInfoResponse`](../sdk-reference#voteinforesponse)\> #### Defined in -[services/vote.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L68) +[src/services/vote.ts:74](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L74) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[services/vote.ts:50](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L50) +[src/services/vote.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L56) ___ @@ -140,7 +140,7 @@ Submit the vote to the chain #### Defined in -[services/vote.ts:79](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L79) +[src/services/vote.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L85) ## Properties @@ -154,7 +154,7 @@ VoteServiceProperties.chainService #### Defined in -[services/vote.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L38) +[src/services/vote.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L44) ___ @@ -168,4 +168,4 @@ ___ #### Defined in -[services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L6) +[src/services/service.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L6) diff --git a/docs/sdk/reference/classes/WalletAPI.md b/docs/sdk/reference/classes/WalletAPI.md index cf26df230..35acb7598 100644 --- a/docs/sdk/reference/classes/WalletAPI.md +++ b/docs/sdk/reference/classes/WalletAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`WalletAPI`** @@ -33,4 +33,4 @@ #### Defined in -[api/wallet.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/wallet.ts#L29) +[src/api/wallet.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/wallet.ts#L29) diff --git a/docs/sdk/reference/classes/WeightedCensus.md b/docs/sdk/reference/classes/WeightedCensus.md index 9d016f957..79501ec17 100644 --- a/docs/sdk/reference/classes/WeightedCensus.md +++ b/docs/sdk/reference/classes/WeightedCensus.md @@ -48,7 +48,7 @@ OffchainCensus.censusId #### Defined in -[types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L35) +[src/types/census/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L35) • `set` **censusId**(`value`): `void` @@ -68,7 +68,7 @@ OffchainCensus.censusId #### Defined in -[types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L39) +[src/types/census/census.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L39) ___ @@ -86,7 +86,7 @@ OffchainCensus.censusURI #### Defined in -[types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L43) +[src/types/census/census.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L43) • `set` **censusURI**(`value`): `void` @@ -106,7 +106,7 @@ OffchainCensus.censusURI #### Defined in -[types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L47) +[src/types/census/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L47) ___ @@ -124,7 +124,7 @@ OffchainCensus.isPublished #### Defined in -[types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L75) +[src/types/census/census.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L75) ___ @@ -142,7 +142,7 @@ OffchainCensus.participants #### Defined in -[types/census/offchain.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L45) +[src/types/census/offchain.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L45) • `set` **participants**(`value`): `void` @@ -162,7 +162,7 @@ OffchainCensus.participants #### Defined in -[types/census/offchain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L49) +[src/types/census/offchain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L49) ___ @@ -180,7 +180,7 @@ OffchainCensus.size #### Defined in -[types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L59) +[src/types/census/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L59) • `set` **size**(`value`): `void` @@ -200,7 +200,7 @@ OffchainCensus.size #### Defined in -[types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L63) +[src/types/census/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L63) ___ @@ -218,7 +218,7 @@ OffchainCensus.type #### Defined in -[types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L51) +[src/types/census/census.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L51) • `set` **type**(`value`): `void` @@ -238,7 +238,7 @@ OffchainCensus.type #### Defined in -[types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L55) +[src/types/census/census.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L55) ___ @@ -256,7 +256,7 @@ OffchainCensus.weight #### Defined in -[types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L67) +[src/types/census/census.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L67) • `set` **weight**(`value`): `void` @@ -276,7 +276,7 @@ OffchainCensus.weight #### Defined in -[types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L71) +[src/types/census/census.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L71) ## Constructors @@ -296,7 +296,7 @@ OffchainCensus.constructor #### Defined in -[types/census/weighted.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/weighted.ts#L10) +[src/types/census/weighted.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/weighted.ts#L10) ## Methods @@ -316,7 +316,7 @@ OffchainCensus.constructor #### Defined in -[types/census/weighted.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/weighted.ts#L14) +[src/types/census/weighted.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/weighted.ts#L14) ___ @@ -336,7 +336,7 @@ ___ #### Defined in -[types/census/weighted.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/weighted.ts#L18) +[src/types/census/weighted.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/weighted.ts#L18) ___ @@ -361,4 +361,4 @@ ___ #### Defined in -[types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L81) +[src/types/census/census.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L81) diff --git a/docs/sdk/reference/classes/ZkAPI.md b/docs/sdk/reference/classes/ZkAPI.md index b65a377fa..1e4d31b6a 100644 --- a/docs/sdk/reference/classes/ZkAPI.md +++ b/docs/sdk/reference/classes/ZkAPI.md @@ -4,7 +4,7 @@ ## Hierarchy -- `API` +- [`API`](API) ↳ **`ZkAPI`** @@ -38,7 +38,7 @@ The ZK proof #### Defined in -[api/zk.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L54) +[src/api/zk.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L54) ___ @@ -63,4 +63,4 @@ The ZK proof #### Defined in -[api/zk.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L68) +[src/api/zk.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L68) diff --git a/docs/sdk/reference/enums/CensusOrigin.md b/docs/sdk/reference/enums/CensusOrigin.md index 74b3f7fe6..63383fe4f 100644 --- a/docs/sdk/reference/enums/CensusOrigin.md +++ b/docs/sdk/reference/enums/CensusOrigin.md @@ -25,7 +25,7 @@ #### Defined in -[api/chain/transactions.ts:234](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L234) +[src/api/chain/transactions.ts:234](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L234) ___ @@ -35,7 +35,7 @@ ___ #### Defined in -[api/chain/transactions.ts:240](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L240) +[src/api/chain/transactions.ts:240](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L240) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[api/chain/transactions.ts:238](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L238) +[src/api/chain/transactions.ts:238](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L238) ___ @@ -55,7 +55,7 @@ ___ #### Defined in -[api/chain/transactions.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L239) +[src/api/chain/transactions.ts:239](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L239) ___ @@ -65,7 +65,7 @@ ___ #### Defined in -[api/chain/transactions.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L241) +[src/api/chain/transactions.ts:241](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L241) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[api/chain/transactions.ts:242](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L242) +[src/api/chain/transactions.ts:242](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L242) ___ @@ -85,7 +85,7 @@ ___ #### Defined in -[api/chain/transactions.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L237) +[src/api/chain/transactions.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L237) ___ @@ -95,7 +95,7 @@ ___ #### Defined in -[api/chain/transactions.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L235) +[src/api/chain/transactions.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L235) ___ @@ -105,7 +105,7 @@ ___ #### Defined in -[api/chain/transactions.ts:236](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L236) +[src/api/chain/transactions.ts:236](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L236) ___ @@ -115,4 +115,4 @@ ___ #### Defined in -[api/chain/transactions.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L243) +[src/api/chain/transactions.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L243) diff --git a/docs/sdk/reference/enums/CensusType.md b/docs/sdk/reference/enums/CensusType.md index e025287c7..04a3e33a5 100644 --- a/docs/sdk/reference/enums/CensusType.md +++ b/docs/sdk/reference/enums/CensusType.md @@ -19,7 +19,7 @@ #### Defined in -[types/census/census.ts:3](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L3) +[src/types/census/census.ts:3](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L3) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[types/census/census.ts:4](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L4) +[src/types/census/census.ts:4](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L4) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[types/census/census.ts:5](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L5) +[src/types/census/census.ts:5](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L5) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[types/census/census.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/census.ts#L2) +[src/types/census/census.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/census.ts#L2) diff --git a/docs/sdk/reference/enums/CensusTypeEnum.md b/docs/sdk/reference/enums/CensusTypeEnum.md index 729383d5d..50accca1f 100644 --- a/docs/sdk/reference/enums/CensusTypeEnum.md +++ b/docs/sdk/reference/enums/CensusTypeEnum.md @@ -24,7 +24,7 @@ #### Defined in -[api/election.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L150) +[src/api/election.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L148) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[api/election.ts:156](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L156) +[src/api/election.ts:154](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L154) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[api/election.ts:154](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L154) +[src/api/election.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L152) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[api/election.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L155) +[src/api/election.ts:153](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L153) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[api/election.ts:157](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L157) +[src/api/election.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L155) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[api/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L158) +[src/api/election.ts:156](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L156) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[api/election.ts:153](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L153) +[src/api/election.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L151) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[api/election.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L151) +[src/api/election.ts:149](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L149) ___ @@ -104,4 +104,4 @@ ___ #### Defined in -[api/election.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L152) +[src/api/election.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L150) diff --git a/docs/sdk/reference/enums/CspProofType.md b/docs/sdk/reference/enums/CspProofType.md index 1a6c00039..8256bd92b 100644 --- a/docs/sdk/reference/enums/CspProofType.md +++ b/docs/sdk/reference/enums/CspProofType.md @@ -19,7 +19,7 @@ #### Defined in -[services/csp.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L15) +[src/services/csp.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L15) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[services/csp.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L17) +[src/services/csp.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L17) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[services/csp.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L18) +[src/services/csp.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L18) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[services/csp.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/csp.ts#L16) +[src/services/csp.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/csp.ts#L16) diff --git a/docs/sdk/reference/enums/ElectionCreationSteps.md b/docs/sdk/reference/enums/ElectionCreationSteps.md index 44d954993..8f7ba6a3f 100644 --- a/docs/sdk/reference/enums/ElectionCreationSteps.md +++ b/docs/sdk/reference/enums/ElectionCreationSteps.md @@ -23,7 +23,7 @@ #### Defined in -[services/election.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L42) +[src/services/election.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L60) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[services/election.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L47) +[src/services/election.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L65) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[services/election.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L48) +[src/services/election.ts:66](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L66) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[services/election.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L45) +[src/services/election.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L63) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[services/election.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L43) +[src/services/election.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L61) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[services/election.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L41) +[src/services/election.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L59) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[services/election.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L44) +[src/services/election.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L62) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[services/election.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L46) +[src/services/election.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L64) diff --git a/docs/sdk/reference/enums/ElectionResultsTypeNames.md b/docs/sdk/reference/enums/ElectionResultsTypeNames.md index c2fd6adc7..25f0ef62b 100644 --- a/docs/sdk/reference/enums/ElectionResultsTypeNames.md +++ b/docs/sdk/reference/enums/ElectionResultsTypeNames.md @@ -19,7 +19,7 @@ #### Defined in -[types/metadata/election.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L41) +[src/types/metadata/election.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L41) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[types/metadata/election.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L40) +[src/types/metadata/election.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L40) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[types/metadata/election.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L39) +[src/types/metadata/election.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L39) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[types/metadata/election.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L38) +[src/types/metadata/election.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L38) diff --git a/docs/sdk/reference/enums/ElectionStatus.md b/docs/sdk/reference/enums/ElectionStatus.md index da0fe8872..4dfd9a7de 100644 --- a/docs/sdk/reference/enums/ElectionStatus.md +++ b/docs/sdk/reference/enums/ElectionStatus.md @@ -22,7 +22,7 @@ #### Defined in -[types/election/published.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L15) +[src/types/election/published.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L15) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[types/election/published.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L14) +[src/types/election/published.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L14) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[types/election/published.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L13) +[src/types/election/published.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L13) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[types/election/published.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L16) +[src/types/election/published.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L16) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[types/election/published.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L11) +[src/types/election/published.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L11) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[types/election/published.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L17) +[src/types/election/published.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L17) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[types/election/published.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L12) +[src/types/election/published.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L12) diff --git a/docs/sdk/reference/enums/ElectionStatusReady.md b/docs/sdk/reference/enums/ElectionStatusReady.md index 53437f687..1dc244812 100644 --- a/docs/sdk/reference/enums/ElectionStatusReady.md +++ b/docs/sdk/reference/enums/ElectionStatusReady.md @@ -16,4 +16,4 @@ #### Defined in -[types/election/published.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L21) +[src/types/election/published.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L21) diff --git a/docs/sdk/reference/enums/EnvOptions.md b/docs/sdk/reference/enums/EnvOptions.md index 99c10bf44..f88aed34a 100644 --- a/docs/sdk/reference/enums/EnvOptions.md +++ b/docs/sdk/reference/enums/EnvOptions.md @@ -18,7 +18,7 @@ #### Defined in -[client.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L59) +[src/client.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L68) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[client.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L61) +[src/client.ts:70](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L70) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[client.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L60) +[src/client.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L69) diff --git a/docs/sdk/reference/enums/TransactionType.md b/docs/sdk/reference/enums/TransactionType.md index 75ababedd..eba4416ae 100644 --- a/docs/sdk/reference/enums/TransactionType.md +++ b/docs/sdk/reference/enums/TransactionType.md @@ -26,7 +26,7 @@ #### Defined in -[api/chain.ts:171](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L171) +[src/api/chain.ts:174](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L174) ___ @@ -36,7 +36,7 @@ ___ #### Defined in -[api/chain.ts:178](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L178) +[src/api/chain.ts:181](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L181) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[api/chain.ts:174](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L174) +[src/api/chain.ts:177](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L177) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[api/chain.ts:170](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L170) +[src/api/chain.ts:173](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L173) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[api/chain.ts:173](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L173) +[src/api/chain.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L176) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[api/chain.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L175) +[src/api/chain.ts:178](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L178) ___ @@ -86,7 +86,7 @@ ___ #### Defined in -[api/chain.ts:177](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L177) +[src/api/chain.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L180) ___ @@ -96,7 +96,7 @@ ___ #### Defined in -[api/chain.ts:179](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L179) +[src/api/chain.ts:182](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L182) ___ @@ -106,7 +106,7 @@ ___ #### Defined in -[api/chain.ts:172](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L172) +[src/api/chain.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L175) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[api/chain.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L176) +[src/api/chain.ts:179](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L179) ___ @@ -126,4 +126,4 @@ ___ #### Defined in -[api/chain.ts:169](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L169) +[src/api/chain.ts:172](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L172) diff --git a/docs/sdk/reference/enums/TxType.md b/docs/sdk/reference/enums/TxType.md index 95fdaa71d..c41b5405b 100644 --- a/docs/sdk/reference/enums/TxType.md +++ b/docs/sdk/reference/enums/TxType.md @@ -40,7 +40,7 @@ #### Defined in -[api/chain/transactions.ts:331](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L331) +[src/api/chain/transactions.ts:331](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L331) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[api/chain/transactions.ts:334](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L334) +[src/api/chain/transactions.ts:334](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L334) ___ @@ -60,7 +60,7 @@ ___ #### Defined in -[api/chain/transactions.ts:320](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L320) +[src/api/chain/transactions.ts:320](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L320) ___ @@ -70,7 +70,7 @@ ___ #### Defined in -[api/chain/transactions.ts:318](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L318) +[src/api/chain/transactions.ts:318](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L318) ___ @@ -80,7 +80,7 @@ ___ #### Defined in -[api/chain/transactions.ts:322](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L322) +[src/api/chain/transactions.ts:322](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L322) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[api/chain/transactions.ts:333](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L333) +[src/api/chain/transactions.ts:333](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L333) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[api/chain/transactions.ts:336](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L336) +[src/api/chain/transactions.ts:336](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L336) ___ @@ -110,7 +110,7 @@ ___ #### Defined in -[api/chain/transactions.ts:335](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L335) +[src/api/chain/transactions.ts:335](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L335) ___ @@ -120,7 +120,7 @@ ___ #### Defined in -[api/chain/transactions.ts:332](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L332) +[src/api/chain/transactions.ts:332](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L332) ___ @@ -130,7 +130,7 @@ ___ #### Defined in -[api/chain/transactions.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L327) +[src/api/chain/transactions.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L327) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[api/chain/transactions.ts:314](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L314) +[src/api/chain/transactions.ts:314](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L314) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[api/chain/transactions.ts:326](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L326) +[src/api/chain/transactions.ts:326](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L326) ___ @@ -160,7 +160,7 @@ ___ #### Defined in -[api/chain/transactions.ts:321](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L321) +[src/api/chain/transactions.ts:321](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L321) ___ @@ -170,7 +170,7 @@ ___ #### Defined in -[api/chain/transactions.ts:323](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L323) +[src/api/chain/transactions.ts:323](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L323) ___ @@ -180,7 +180,7 @@ ___ #### Defined in -[api/chain/transactions.ts:319](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L319) +[src/api/chain/transactions.ts:319](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L319) ___ @@ -190,7 +190,7 @@ ___ #### Defined in -[api/chain/transactions.ts:328](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L328) +[src/api/chain/transactions.ts:328](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L328) ___ @@ -200,7 +200,7 @@ ___ #### Defined in -[api/chain/transactions.ts:330](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L330) +[src/api/chain/transactions.ts:330](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L330) ___ @@ -210,7 +210,7 @@ ___ #### Defined in -[api/chain/transactions.ts:316](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L316) +[src/api/chain/transactions.ts:316](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L316) ___ @@ -220,7 +220,7 @@ ___ #### Defined in -[api/chain/transactions.ts:317](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L317) +[src/api/chain/transactions.ts:317](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L317) ___ @@ -230,7 +230,7 @@ ___ #### Defined in -[api/chain/transactions.ts:325](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L325) +[src/api/chain/transactions.ts:325](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L325) ___ @@ -240,7 +240,7 @@ ___ #### Defined in -[api/chain/transactions.ts:315](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L315) +[src/api/chain/transactions.ts:315](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L315) ___ @@ -250,7 +250,7 @@ ___ #### Defined in -[api/chain/transactions.ts:329](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L329) +[src/api/chain/transactions.ts:329](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L329) ___ @@ -260,7 +260,7 @@ ___ #### Defined in -[api/chain/transactions.ts:313](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L313) +[src/api/chain/transactions.ts:313](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L313) ___ @@ -270,7 +270,7 @@ ___ #### Defined in -[api/chain/transactions.ts:337](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L337) +[src/api/chain/transactions.ts:337](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L337) ___ @@ -280,4 +280,4 @@ ___ #### Defined in -[api/chain/transactions.ts:324](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L324) +[src/api/chain/transactions.ts:324](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L324) diff --git a/docs/sdk/reference/enums/VoteSteps.md b/docs/sdk/reference/enums/VoteSteps.md index b65e87deb..e0a4b29aa 100644 --- a/docs/sdk/reference/enums/VoteSteps.md +++ b/docs/sdk/reference/enums/VoteSteps.md @@ -22,7 +22,7 @@ #### Defined in -[services/vote.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L22) +[src/services/vote.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L28) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[services/vote.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L25) +[src/services/vote.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L31) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[services/vote.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L23) +[src/services/vote.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L29) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[services/vote.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L19) +[src/services/vote.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L25) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[services/vote.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L20) +[src/services/vote.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L26) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[services/vote.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L21) +[src/services/vote.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L27) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[services/vote.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L24) +[src/services/vote.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L30) diff --git a/docs/sdk/reference/interfaces/AccountMetadata.md b/docs/sdk/reference/interfaces/AccountMetadata.md index 08fabecc3..56483cb6b 100644 --- a/docs/sdk/reference/interfaces/AccountMetadata.md +++ b/docs/sdk/reference/interfaces/AccountMetadata.md @@ -25,7 +25,7 @@ More info: https://vocdoni.io/docs/#/architecture/components/entity?id=meta #### Defined in -[types/metadata/account.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L53) +[src/types/metadata/account.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L53) ___ @@ -35,7 +35,7 @@ ___ #### Defined in -[types/metadata/account.ts:50](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L50) +[src/types/metadata/account.ts:50](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L50) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[types/metadata/account.ts:57](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L57) +[src/types/metadata/account.ts:57](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L57) ___ @@ -67,7 +67,7 @@ ___ #### Defined in -[types/metadata/account.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L62) +[src/types/metadata/account.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L62) ___ @@ -77,7 +77,7 @@ ___ #### Defined in -[types/metadata/account.ts:52](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L52) +[src/types/metadata/account.ts:52](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L52) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[types/metadata/account.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L55) +[src/types/metadata/account.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L55) ___ @@ -97,4 +97,4 @@ ___ #### Defined in -[types/metadata/account.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L49) +[src/types/metadata/account.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L49) diff --git a/docs/sdk/reference/interfaces/AdminTx.md b/docs/sdk/reference/interfaces/AdminTx.md index ae8e7dd1f..8eb3631cb 100644 --- a/docs/sdk/reference/interfaces/AdminTx.md +++ b/docs/sdk/reference/interfaces/AdminTx.md @@ -24,7 +24,7 @@ #### Defined in -[api/chain/transactions.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L92) +[src/api/chain/transactions.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L92) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[api/chain/transactions.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L93) +[src/api/chain/transactions.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L93) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[api/chain/transactions.ts:94](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L94) +[src/api/chain/transactions.ts:94](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L94) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[api/chain/transactions.ts:95](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L95) +[src/api/chain/transactions.ts:95](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L95) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[api/chain/transactions.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L98) +[src/api/chain/transactions.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L98) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[api/chain/transactions.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L96) +[src/api/chain/transactions.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L96) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[api/chain/transactions.ts:91](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L91) +[src/api/chain/transactions.ts:91](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L91) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[api/chain/transactions.ts:97](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L97) +[src/api/chain/transactions.ts:97](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L97) ___ @@ -104,4 +104,4 @@ ___ #### Defined in -[api/chain/transactions.ts:90](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L90) +[src/api/chain/transactions.ts:90](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L90) diff --git a/docs/sdk/reference/interfaces/CircuitInputs.md b/docs/sdk/reference/interfaces/CircuitInputs.md index 04ba497d3..1562d4327 100644 --- a/docs/sdk/reference/interfaces/CircuitInputs.md +++ b/docs/sdk/reference/interfaces/CircuitInputs.md @@ -27,7 +27,7 @@ #### Defined in -[services/anonymous.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L43) +[src/services/anonymous.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L43) ___ @@ -37,7 +37,7 @@ ___ #### Defined in -[services/anonymous.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L38) +[src/services/anonymous.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L38) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[services/anonymous.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L41) +[src/services/anonymous.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L41) ___ @@ -57,7 +57,7 @@ ___ #### Defined in -[services/anonymous.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L48) +[src/services/anonymous.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L48) ___ @@ -67,7 +67,7 @@ ___ #### Defined in -[services/anonymous.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L36) +[src/services/anonymous.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L36) ___ @@ -77,7 +77,7 @@ ___ #### Defined in -[services/anonymous.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L37) +[src/services/anonymous.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L37) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[services/anonymous.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L44) +[src/services/anonymous.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L44) ___ @@ -97,7 +97,7 @@ ___ #### Defined in -[services/anonymous.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L45) +[src/services/anonymous.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L45) ___ @@ -107,7 +107,7 @@ ___ #### Defined in -[services/anonymous.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L40) +[src/services/anonymous.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L40) ___ @@ -117,7 +117,7 @@ ___ #### Defined in -[services/anonymous.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L47) +[src/services/anonymous.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L47) ___ @@ -127,7 +127,7 @@ ___ #### Defined in -[services/anonymous.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L39) +[src/services/anonymous.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L39) ___ @@ -137,4 +137,4 @@ ___ #### Defined in -[services/anonymous.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L46) +[src/services/anonymous.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L46) diff --git a/docs/sdk/reference/interfaces/CollectFaucetTx.md b/docs/sdk/reference/interfaces/CollectFaucetTx.md index ce899779f..13a2d86b1 100644 --- a/docs/sdk/reference/interfaces/CollectFaucetTx.md +++ b/docs/sdk/reference/interfaces/CollectFaucetTx.md @@ -18,7 +18,7 @@ #### Defined in -[api/chain/transactions.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L158) +[src/api/chain/transactions.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L158) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[api/chain/transactions.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L159) +[src/api/chain/transactions.ts:159](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L159) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[api/chain/transactions.ts:157](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L157) +[src/api/chain/transactions.ts:157](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L157) diff --git a/docs/sdk/reference/interfaces/ElectionMetadata.md b/docs/sdk/reference/interfaces/ElectionMetadata.md index 0427da3e7..074633cdf 100644 --- a/docs/sdk/reference/interfaces/ElectionMetadata.md +++ b/docs/sdk/reference/interfaces/ElectionMetadata.md @@ -25,7 +25,7 @@ More info: https://vocdoni.io/docs/#/architecture/components/process?id=process- #### Defined in -[types/metadata/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L127) +[src/types/metadata/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L127) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[types/metadata/election.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L128) +[src/types/metadata/election.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L128) ___ @@ -58,7 +58,7 @@ Arbitrary key/value data that specific applications can use for their own needs #### Defined in -[types/metadata/election.ts:133](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L133) +[src/types/metadata/election.ts:133](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L133) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[types/metadata/election.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L136) +[src/types/metadata/election.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L136) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[types/metadata/election.ts:126](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L126) +[src/types/metadata/election.ts:126](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L126) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[types/metadata/election.ts:137](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L137) +[src/types/metadata/election.ts:137](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L137) ___ @@ -98,4 +98,4 @@ ___ #### Defined in -[types/metadata/election.ts:125](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L125) +[src/types/metadata/election.ts:125](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L125) diff --git a/docs/sdk/reference/interfaces/FetchAccountsParameters.md b/docs/sdk/reference/interfaces/FetchAccountsParameters.md new file mode 100644 index 000000000..abc3166b9 --- /dev/null +++ b/docs/sdk/reference/interfaces/FetchAccountsParameters.md @@ -0,0 +1,3 @@ +[@vocdoni/sdk](/sdk) / FetchAccountsParameters + +# Interface: FetchAccountsParameters diff --git a/docs/sdk/reference/interfaces/FetchElectionsParameters.md b/docs/sdk/reference/interfaces/FetchElectionsParameters.md index 6fe66713a..dcb85ee6c 100644 --- a/docs/sdk/reference/interfaces/FetchElectionsParameters.md +++ b/docs/sdk/reference/interfaces/FetchElectionsParameters.md @@ -6,25 +6,69 @@ ### Properties -- [account](FetchElectionsParameters#account) -- [page](FetchElectionsParameters#page) +- [electionId](FetchElectionsParameters#electionid) +- [finalResults](FetchElectionsParameters#finalresults) +- [manuallyEnded](FetchElectionsParameters#manuallyended) +- [organizationId](FetchElectionsParameters#organizationid) +- [status](FetchElectionsParameters#status) +- [withResults](FetchElectionsParameters#withresults) ## Properties -### account +### electionId -• **account**: `string` +• **electionId**: `string` #### Defined in -[services/election.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L33) +[src/services/election.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L45) ___ -### page +### finalResults -• **page**: `number` +• **finalResults**: `boolean` #### Defined in -[services/election.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L34) +[src/services/election.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L47) + +___ + +### manuallyEnded + +• **manuallyEnded**: `boolean` + +#### Defined in + +[src/services/election.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L48) + +___ + +### organizationId + +• **organizationId**: `string` + +#### Defined in + +[src/services/election.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L44) + +___ + +### status + +• **status**: [`PROCESS_UNKNOWN`](../enums/ElectionStatus.md#process_unknown) \| [`ENDED`](../enums/ElectionStatus.md#ended) \| [`CANCELED`](../enums/ElectionStatus.md#canceled) \| [`PAUSED`](../enums/ElectionStatus.md#paused) \| [`RESULTS`](../enums/ElectionStatus.md#results) \| [`READY`](../enums/ElectionStatusReady#ready) + +#### Defined in + +[src/services/election.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L49) + +___ + +### withResults + +• **withResults**: `boolean` + +#### Defined in + +[src/services/election.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L46) diff --git a/docs/sdk/reference/interfaces/FetchFeesParameters.md b/docs/sdk/reference/interfaces/FetchFeesParameters.md new file mode 100644 index 000000000..4064c146c --- /dev/null +++ b/docs/sdk/reference/interfaces/FetchFeesParameters.md @@ -0,0 +1,41 @@ +[@vocdoni/sdk](/sdk) / FetchFeesParameters + +# Interface: FetchFeesParameters + +## Table of contents + +### Properties + +- [accountId](FetchFeesParameters#accountid) +- [reference](FetchFeesParameters#reference) +- [type](FetchFeesParameters#type) + +## Properties + +### accountId + +• **accountId**: `string` + +#### Defined in + +[src/services/chain.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L29) + +___ + +### reference + +• **reference**: `string` + +#### Defined in + +[src/services/chain.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L27) + +___ + +### type + +• **type**: `string` + +#### Defined in + +[src/services/chain.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L28) diff --git a/docs/sdk/reference/interfaces/FetchOrganizationParameters.md b/docs/sdk/reference/interfaces/FetchOrganizationParameters.md new file mode 100644 index 000000000..b072a3b3b --- /dev/null +++ b/docs/sdk/reference/interfaces/FetchOrganizationParameters.md @@ -0,0 +1,19 @@ +[@vocdoni/sdk](/sdk) / FetchOrganizationParameters + +# Interface: FetchOrganizationParameters + +## Table of contents + +### Properties + +- [organizationId](FetchOrganizationParameters#organizationid) + +## Properties + +### organizationId + +• **organizationId**: `string` + +#### Defined in + +[src/services/chain.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L23) diff --git a/docs/sdk/reference/interfaces/FetchTransactionsParameters.md b/docs/sdk/reference/interfaces/FetchTransactionsParameters.md new file mode 100644 index 000000000..d7570d033 --- /dev/null +++ b/docs/sdk/reference/interfaces/FetchTransactionsParameters.md @@ -0,0 +1,19 @@ +[@vocdoni/sdk](/sdk) / FetchTransactionsParameters + +# Interface: FetchTransactionsParameters + +## Table of contents + +### Properties + +- [height](FetchTransactionsParameters#height) + +## Properties + +### height + +• **height**: `number` + +#### Defined in + +[src/services/chain.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L39) diff --git a/docs/sdk/reference/interfaces/FetchTransfersParameters.md b/docs/sdk/reference/interfaces/FetchTransfersParameters.md new file mode 100644 index 000000000..27de77aff --- /dev/null +++ b/docs/sdk/reference/interfaces/FetchTransfersParameters.md @@ -0,0 +1,41 @@ +[@vocdoni/sdk](/sdk) / FetchTransfersParameters + +# Interface: FetchTransfersParameters + +## Table of contents + +### Properties + +- [accountId](FetchTransfersParameters#accountid) +- [accountIdFrom](FetchTransfersParameters#accountidfrom) +- [accountIdTo](FetchTransfersParameters#accountidto) + +## Properties + +### accountId + +• **accountId**: `string` + +#### Defined in + +[src/services/chain.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L33) + +___ + +### accountIdFrom + +• **accountIdFrom**: `string` + +#### Defined in + +[src/services/chain.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L34) + +___ + +### accountIdTo + +• **accountIdTo**: `string` + +#### Defined in + +[src/services/chain.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L35) diff --git a/docs/sdk/reference/interfaces/FetchVotesParameters.md b/docs/sdk/reference/interfaces/FetchVotesParameters.md new file mode 100644 index 000000000..347de2dd4 --- /dev/null +++ b/docs/sdk/reference/interfaces/FetchVotesParameters.md @@ -0,0 +1,19 @@ +[@vocdoni/sdk](/sdk) / FetchVotesParameters + +# Interface: FetchVotesParameters + +## Table of contents + +### Properties + +- [electionId](FetchVotesParameters#electionid) + +## Properties + +### electionId + +• **electionId**: `string` + +#### Defined in + +[src/services/vote.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L18) diff --git a/docs/sdk/reference/interfaces/IAccount.md b/docs/sdk/reference/interfaces/IAccount.md index 2679471d2..86da46c7a 100644 --- a/docs/sdk/reference/interfaces/IAccount.md +++ b/docs/sdk/reference/interfaces/IAccount.md @@ -23,7 +23,7 @@ #### Defined in -[types/account.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L10) +[src/types/account.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L10) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[types/account.ts:7](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L7) +[src/types/account.ts:7](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L7) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[types/account.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L8) +[src/types/account.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L8) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[types/account.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L9) +[src/types/account.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L9) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[types/account.ts:5](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L5) +[src/types/account.ts:5](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L5) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[types/account.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L11) +[src/types/account.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L11) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[types/account.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L12) +[src/types/account.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L12) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[types/account.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/account.ts#L6) +[src/types/account.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/account.ts#L6) diff --git a/docs/sdk/reference/interfaces/IAccountInfoResponse.md b/docs/sdk/reference/interfaces/IAccountInfoResponse.md new file mode 100644 index 000000000..59b54a18f --- /dev/null +++ b/docs/sdk/reference/interfaces/IAccountInfoResponse.md @@ -0,0 +1,125 @@ +[@vocdoni/sdk](/sdk) / IAccountInfoResponse + +# Interface: IAccountInfoResponse + +## Table of contents + +### Properties + +- [address](IAccountInfoResponse#address) +- [balance](IAccountInfoResponse#balance) +- [electionIndex](IAccountInfoResponse#electionindex) +- [feesCount](IAccountInfoResponse#feescount) +- [infoURI](IAccountInfoResponse#infouri) +- [metadata](IAccountInfoResponse#metadata) +- [nonce](IAccountInfoResponse#nonce) +- [sik](IAccountInfoResponse#sik) +- [transfersCount](IAccountInfoResponse#transferscount) + +## Properties + +### address + +• **address**: `string` + +The address of the account + +#### Defined in + +[src/api/account.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L19) + +___ + +### balance + +• **balance**: `number` + +The current balance in tokens. + +#### Defined in + +[src/api/account.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L24) + +___ + +### electionIndex + +• **electionIndex**: `number` + +The index of the elections created by the account. + +#### Defined in + +[src/api/account.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L39) + +___ + +### feesCount + +• **feesCount**: `number` + +The number of fees of the account. + +#### Defined in + +[src/api/account.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L49) + +___ + +### infoURI + +• `Optional` **infoURI**: `string` + +The information URI of the account + +#### Defined in + +[src/api/account.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L54) + +___ + +### metadata + +• **metadata**: [`AccountMetadata`](AccountMetadata) + +The metadata of the account + +#### Defined in + +[src/api/account.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L59) + +___ + +### nonce + +• **nonce**: `number` + +The nonce of the account. + +#### Defined in + +[src/api/account.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L29) + +___ + +### sik + +• **sik**: `string` + +The sik of the account. + +#### Defined in + +[src/api/account.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L34) + +___ + +### transfersCount + +• **transfersCount**: `number` + +The number of transfers of the account. + +#### Defined in + +[src/api/account.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L44) diff --git a/docs/sdk/reference/interfaces/IAccountTransfersCountResponse.md b/docs/sdk/reference/interfaces/IAccountTransfersCountResponse.md deleted file mode 100644 index 2475616eb..000000000 --- a/docs/sdk/reference/interfaces/IAccountTransfersCountResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -[@vocdoni/sdk](/sdk) / IAccountTransfersCountResponse - -# Interface: IAccountTransfersCountResponse - -## Table of contents - -### Properties - -- [count](IAccountTransfersCountResponse#count) - -## Properties - -### count - -• **count**: `number` - -Number of account's transfers - -#### Defined in - -[api/account.ts:97](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L97) diff --git a/docs/sdk/reference/interfaces/IAccountsCountResponse.md b/docs/sdk/reference/interfaces/IAccountsCountResponse.md deleted file mode 100644 index 960d447b0..000000000 --- a/docs/sdk/reference/interfaces/IAccountsCountResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -[@vocdoni/sdk](/sdk) / IAccountsCountResponse - -# Interface: IAccountsCountResponse - -## Table of contents - -### Properties - -- [count](IAccountsCountResponse#count) - -## Properties - -### count - -• **count**: `number` - -Number of accounts - -#### Defined in - -[api/account.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L104) diff --git a/docs/sdk/reference/interfaces/IAccountsList.md b/docs/sdk/reference/interfaces/IAccountsList.md new file mode 100644 index 000000000..5a9f2845a --- /dev/null +++ b/docs/sdk/reference/interfaces/IAccountsList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / IAccountsList + +# Interface: IAccountsList + +## Hierarchy + +- **`IAccountsList`** + + ↳ [`IAccountsListResponse`](IAccountsListResponse) + +## Table of contents + +### Properties + +- [accounts](IAccountsList#accounts) + +## Properties + +### accounts + +• **accounts**: [`IAccountSummary`](../sdk-reference#iaccountsummary)[] + +List of accounts + +#### Defined in + +[src/api/account.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L80) diff --git a/docs/sdk/reference/interfaces/IAccountsListResponse.md b/docs/sdk/reference/interfaces/IAccountsListResponse.md index 1e8b7ccd6..522f29e0d 100644 --- a/docs/sdk/reference/interfaces/IAccountsListResponse.md +++ b/docs/sdk/reference/interfaces/IAccountsListResponse.md @@ -2,11 +2,20 @@ # Interface: IAccountsListResponse +## Hierarchy + +- [`IAccountsList`](IAccountsList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IAccountsListResponse`** + ## Table of contents ### Properties - [accounts](IAccountsListResponse#accounts) +- [pagination](IAccountsListResponse#pagination) ## Properties @@ -16,6 +25,34 @@ List of accounts +#### Inherited from + +[IAccountsList](IAccountsList.md).[accounts](IAccountsList#accounts) + +#### Defined in + +[src/api/account.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L80) + +___ + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + #### Defined in -[api/account.ts:90](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L90) +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) diff --git a/docs/sdk/reference/interfaces/IApprovalElectionParameters.md b/docs/sdk/reference/interfaces/IApprovalElectionParameters.md index d30a93a41..dd766115b 100644 --- a/docs/sdk/reference/interfaces/IApprovalElectionParameters.md +++ b/docs/sdk/reference/interfaces/IApprovalElectionParameters.md @@ -43,7 +43,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -57,7 +57,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -73,7 +73,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -117,7 +117,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -141,7 +141,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -157,7 +157,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -171,7 +171,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -185,7 +185,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -201,7 +201,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -217,7 +217,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -233,7 +233,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -247,4 +247,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/IBlockTransactionsResponse.md b/docs/sdk/reference/interfaces/IBlockTransactionsResponse.md index e1d0130d1..f0dd47951 100644 --- a/docs/sdk/reference/interfaces/IBlockTransactionsResponse.md +++ b/docs/sdk/reference/interfaces/IBlockTransactionsResponse.md @@ -18,7 +18,7 @@ #### Defined in -[api/chain.ts:315](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L315) +[src/api/chain.ts:326](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L326) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[api/chain.ts:316](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L316) +[src/api/chain.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L327) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[api/chain.ts:317](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L317) +[src/api/chain.ts:328](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L328) diff --git a/docs/sdk/reference/interfaces/IBudgetElectionParametersInfo.md b/docs/sdk/reference/interfaces/IBudgetElectionParametersInfo.md index cc76bf61b..03e4cf05b 100644 --- a/docs/sdk/reference/interfaces/IBudgetElectionParametersInfo.md +++ b/docs/sdk/reference/interfaces/IBudgetElectionParametersInfo.md @@ -49,7 +49,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -79,7 +79,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -93,7 +93,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -107,7 +107,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -117,7 +117,7 @@ ___ #### Defined in -[types/election/budget.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L9) +[src/types/election/budget.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L9) ___ @@ -133,7 +133,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -157,7 +157,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -173,7 +173,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -183,7 +183,7 @@ ___ #### Defined in -[types/election/budget.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L8) +[src/types/election/budget.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L8) ___ @@ -197,7 +197,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -211,7 +211,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -227,7 +227,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -243,7 +243,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -259,7 +259,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -273,4 +273,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/IBudgetElectionParametersWithBudget.md b/docs/sdk/reference/interfaces/IBudgetElectionParametersWithBudget.md index 457e224c0..06ea8d758 100644 --- a/docs/sdk/reference/interfaces/IBudgetElectionParametersWithBudget.md +++ b/docs/sdk/reference/interfaces/IBudgetElectionParametersWithBudget.md @@ -47,7 +47,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -77,7 +77,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -91,7 +91,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -105,7 +105,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -119,7 +119,7 @@ ___ #### Defined in -[types/election/budget.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L9) +[src/types/election/budget.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L9) ___ @@ -135,7 +135,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -145,7 +145,7 @@ ___ #### Defined in -[types/election/budget.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L18) +[src/types/election/budget.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L18) ___ @@ -169,7 +169,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -185,7 +185,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -199,7 +199,7 @@ ___ #### Defined in -[types/election/budget.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L8) +[src/types/election/budget.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L8) ___ @@ -213,7 +213,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -227,7 +227,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -243,7 +243,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -259,7 +259,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -275,7 +275,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -285,7 +285,7 @@ ___ #### Defined in -[types/election/budget.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L17) +[src/types/election/budget.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L17) ___ @@ -299,4 +299,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight.md b/docs/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight.md index 91919bd66..976011b2b 100644 --- a/docs/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight.md +++ b/docs/sdk/reference/interfaces/IBudgetElectionParametersWithCensusWeight.md @@ -46,7 +46,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -60,7 +60,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -76,7 +76,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[types/election/budget.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L9) +[src/types/election/budget.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L9) ___ @@ -134,7 +134,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -158,7 +158,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -174,7 +174,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -188,7 +188,7 @@ ___ #### Defined in -[types/election/budget.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L8) +[src/types/election/budget.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L8) ___ @@ -202,7 +202,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -216,7 +216,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -232,7 +232,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -248,7 +248,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -264,7 +264,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -274,7 +274,7 @@ ___ #### Defined in -[types/election/budget.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L13) +[src/types/election/budget.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L13) ___ @@ -288,4 +288,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/ICensus.md b/docs/sdk/reference/interfaces/ICensus.md index f872886dd..495c3065b 100644 --- a/docs/sdk/reference/interfaces/ICensus.md +++ b/docs/sdk/reference/interfaces/ICensus.md @@ -22,7 +22,7 @@ The type of the census #### Defined in -[api/election.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L21) +[src/api/election.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L19) ___ @@ -34,7 +34,7 @@ The root of the census #### Defined in -[api/election.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L26) +[src/api/election.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L24) ___ @@ -46,7 +46,7 @@ The URL of the census #### Defined in -[api/election.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L36) +[src/api/election.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L34) ___ @@ -58,7 +58,7 @@ Max size of the census. How many voters the census can have. #### Defined in -[api/election.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L41) +[src/api/election.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L39) ___ @@ -70,4 +70,4 @@ The post register root of the census #### Defined in -[api/election.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L31) +[src/api/election.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L29) diff --git a/docs/sdk/reference/interfaces/ICensus3CensusListResponse.md b/docs/sdk/reference/interfaces/ICensus3CensusListResponse.md index 7774408aa..bf4137633 100644 --- a/docs/sdk/reference/interfaces/ICensus3CensusListResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3CensusListResponse.md @@ -18,4 +18,4 @@ The list of the strategies identifiers #### Defined in -[api/census3/census.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L15) +[src/api/census3/census.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L15) diff --git a/docs/sdk/reference/interfaces/ICensus3CensusQueueResponse.md b/docs/sdk/reference/interfaces/ICensus3CensusQueueResponse.md index 3216d90e2..6e94db3d5 100644 --- a/docs/sdk/reference/interfaces/ICensus3CensusQueueResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3CensusQueueResponse.md @@ -21,7 +21,7 @@ The census data #### Defined in -[api/census3/census.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L84) +[src/api/census3/census.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L84) ___ @@ -33,7 +33,7 @@ If the queue has been done #### Defined in -[api/census3/census.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L64) +[src/api/census3/census.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L64) ___ @@ -52,7 +52,7 @@ The error of the queue #### Defined in -[api/census3/census.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L69) +[src/api/census3/census.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L69) ___ @@ -64,4 +64,4 @@ The creation progress #### Defined in -[api/census3/census.ts:89](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L89) +[src/api/census3/census.ts:89](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L89) diff --git a/docs/sdk/reference/interfaces/ICensus3CensusResponse.md b/docs/sdk/reference/interfaces/ICensus3CensusResponse.md index 39879e9cd..7485ed951 100644 --- a/docs/sdk/reference/interfaces/ICensus3CensusResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3CensusResponse.md @@ -25,7 +25,7 @@ The identifier of the census #### Defined in -[api/census3/census.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L22) +[src/api/census3/census.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L22) ___ @@ -37,7 +37,7 @@ The accuracy for an anonymous census #### Defined in -[api/census3/census.ts:57](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L57) +[src/api/census3/census.ts:57](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L57) ___ @@ -49,7 +49,7 @@ If the census is anonymous or not #### Defined in -[api/census3/census.ts:52](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L52) +[src/api/census3/census.ts:52](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L52) ___ @@ -61,7 +61,7 @@ The root of the census #### Defined in -[api/census3/census.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L32) +[src/api/census3/census.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L32) ___ @@ -73,7 +73,7 @@ The size of the census (number of token holders) #### Defined in -[api/census3/census.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L42) +[src/api/census3/census.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L42) ___ @@ -85,7 +85,7 @@ The identifier of the strategy of the built census #### Defined in -[api/census3/census.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L27) +[src/api/census3/census.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L27) ___ @@ -97,7 +97,7 @@ The URI of the census #### Defined in -[api/census3/census.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L37) +[src/api/census3/census.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L37) ___ @@ -109,4 +109,4 @@ The weight of the census (weight of all token holders) #### Defined in -[api/census3/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/census.ts#L47) +[src/api/census3/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/census.ts#L47) diff --git a/docs/sdk/reference/interfaces/ICensus3ServiceInfoResponse.md b/docs/sdk/reference/interfaces/ICensus3ServiceInfoResponse.md index f88a699e9..e13263c0e 100644 --- a/docs/sdk/reference/interfaces/ICensus3ServiceInfoResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3ServiceInfoResponse.md @@ -18,4 +18,4 @@ The list of supported chains #### Defined in -[api/census3/service.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/service.ts#L29) +[src/api/census3/service.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/service.ts#L29) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategiesListResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategiesListResponse.md index a257fd91a..cf5256b57 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategiesListResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategiesListResponse.md @@ -24,4 +24,4 @@ The list of the strategies identifiers #### Defined in -[api/census3/strategy.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L22) +[src/api/census3/strategy.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L23) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated.md b/docs/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated.md index d7d01cbc7..59bb3c9ed 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategiesListResponsePaginated.md @@ -25,7 +25,7 @@ The pagination information #### Defined in -[api/census3/strategy.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L29) +[src/api/census3/strategy.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L30) ___ @@ -41,4 +41,4 @@ The list of the strategies identifiers #### Defined in -[api/census3/strategy.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L22) +[src/api/census3/strategy.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L23) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategiesOperator.md b/docs/sdk/reference/interfaces/ICensus3StrategiesOperator.md index 63643c637..b0fdb6d3e 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategiesOperator.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategiesOperator.md @@ -19,7 +19,7 @@ The description of the operator #### Defined in -[api/census3/strategy.ts:238](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L238) +[src/api/census3/strategy.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L257) ___ @@ -31,4 +31,4 @@ The tag of the operator #### Defined in -[api/census3/strategy.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L243) +[src/api/census3/strategy.ts:262](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L262) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse.md index d18d99011..080d60a3f 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategiesOperatorsResponse.md @@ -18,4 +18,4 @@ The list of supported operators #### Defined in -[api/census3/strategy.ts:250](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L250) +[src/api/census3/strategy.ts:269](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L269) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyCreateResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategyCreateResponse.md index 61e6eed61..230e0ffee 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategyCreateResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategyCreateResponse.md @@ -18,4 +18,4 @@ The identifier of the created strategy #### Defined in -[api/census3/strategy.ts:212](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L212) +[src/api/census3/strategy.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L231) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse.md index 133e92603..5c777b077 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategyEstimationQueueResponse.md @@ -29,7 +29,7 @@ The estimation data of the strategy #### Defined in -[api/census3/strategy.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L131) +[src/api/census3/strategy.ts:118](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L118) ___ @@ -41,7 +41,7 @@ If the queue has been done #### Defined in -[api/census3/strategy.ts:111](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L111) +[src/api/census3/strategy.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L98) ___ @@ -60,7 +60,7 @@ The error of the queue #### Defined in -[api/census3/strategy.ts:116](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L116) +[src/api/census3/strategy.ts:103](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L103) ___ @@ -72,4 +72,4 @@ The estimation progress #### Defined in -[api/census3/strategy.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L151) +[src/api/census3/strategy.ts:138](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L138) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyHoldersQueueResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategyHoldersQueueResponse.md new file mode 100644 index 000000000..8c11ae8b5 --- /dev/null +++ b/docs/sdk/reference/interfaces/ICensus3StrategyHoldersQueueResponse.md @@ -0,0 +1,71 @@ +[@vocdoni/sdk](/sdk) / ICensus3StrategyHoldersQueueResponse + +# Interface: ICensus3StrategyHoldersQueueResponse + +## Table of contents + +### Properties + +- [data](ICensus3StrategyHoldersQueueResponse#data) +- [done](ICensus3StrategyHoldersQueueResponse#done) +- [error](ICensus3StrategyHoldersQueueResponse#error) +- [progress](ICensus3StrategyHoldersQueueResponse#progress) + +## Properties + +### data + +• **data**: `Object` + +The list of the strategy holders + +#### Index signature + +▪ [key: `string`]: `string` + +#### Defined in + +[src/api/census3/strategy.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L197) + +___ + +### done + +• **done**: `boolean` + +If the queue has been done + +#### Defined in + +[src/api/census3/strategy.ts:177](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L177) + +___ + +### error + +• **error**: `Object` + +The error of the queue + +#### Type declaration + +| Name | Type | Description | +| :------ | :------ | :------ | +| `code` | `number` | The code of the error | +| `error` | `string` | The string of the error | + +#### Defined in + +[src/api/census3/strategy.ts:182](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L182) + +___ + +### progress + +• **progress**: `number` + +The importing progress + +#### Defined in + +[src/api/census3/strategy.ts:202](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L202) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponse.md deleted file mode 100644 index 1776c2ff9..000000000 --- a/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponse.md +++ /dev/null @@ -1,31 +0,0 @@ -[@vocdoni/sdk](/sdk) / ICensus3StrategyHoldersResponse - -# Interface: ICensus3StrategyHoldersResponse - -## Hierarchy - -- **`ICensus3StrategyHoldersResponse`** - - ↳ [`ICensus3StrategyHoldersResponsePaginated`](ICensus3StrategyHoldersResponsePaginated) - -## Table of contents - -### Properties - -- [holders](ICensus3StrategyHoldersResponse#holders) - -## Properties - -### holders - -• **holders**: `Object` - -The list of the strategy holders - -#### Index signature - -▪ [key: `string`]: `string` - -#### Defined in - -[api/census3/strategy.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L36) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated.md b/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated.md deleted file mode 100644 index 701c02dfb..000000000 --- a/docs/sdk/reference/interfaces/ICensus3StrategyHoldersResponsePaginated.md +++ /dev/null @@ -1,48 +0,0 @@ -[@vocdoni/sdk](/sdk) / ICensus3StrategyHoldersResponsePaginated - -# Interface: ICensus3StrategyHoldersResponsePaginated - -## Hierarchy - -- [`ICensus3StrategyHoldersResponse`](ICensus3StrategyHoldersResponse) - - ↳ **`ICensus3StrategyHoldersResponsePaginated`** - -## Table of contents - -### Properties - -- [holders](ICensus3StrategyHoldersResponsePaginated#holders) -- [pagination](ICensus3StrategyHoldersResponsePaginated#pagination) - -## Properties - -### holders - -• **holders**: `Object` - -The list of the strategy holders - -#### Index signature - -▪ [key: `string`]: `string` - -#### Inherited from - -[ICensus3StrategyHoldersResponse](ICensus3StrategyHoldersResponse.md).[holders](ICensus3StrategyHoldersResponse#holders) - -#### Defined in - -[api/census3/strategy.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L36) - -___ - -### pagination - -• **pagination**: `Census3Pagination` - -The pagination information - -#### Defined in - -[api/census3/strategy.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L43) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse.md b/docs/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse.md index 03a63ed0d..488c5c9bf 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategyImportQueueResponse.md @@ -21,7 +21,7 @@ The imported data strategy #### Defined in -[api/census3/strategy.ts:178](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L178) +[src/api/census3/strategy.ts:165](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L165) ___ @@ -33,7 +33,7 @@ If the queue has been done #### Defined in -[api/census3/strategy.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L158) +[src/api/census3/strategy.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L145) ___ @@ -52,7 +52,7 @@ The error of the queue #### Defined in -[api/census3/strategy.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L163) +[src/api/census3/strategy.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L150) ___ @@ -64,4 +64,4 @@ The importing progress #### Defined in -[api/census3/strategy.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L183) +[src/api/census3/strategy.ts:170](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L170) diff --git a/docs/sdk/reference/interfaces/ICensus3StrategyToken.md b/docs/sdk/reference/interfaces/ICensus3StrategyToken.md index 364bc4038..0315ffe74 100644 --- a/docs/sdk/reference/interfaces/ICensus3StrategyToken.md +++ b/docs/sdk/reference/interfaces/ICensus3StrategyToken.md @@ -21,7 +21,7 @@ The id (address) of the token. #### Defined in -[api/census3/strategy.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L190) +[src/api/census3/strategy.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L209) ___ @@ -33,7 +33,7 @@ The method used for checking balances. #### Defined in -[api/census3/strategy.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L205) +[src/api/census3/strategy.ts:224](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L224) ___ @@ -45,7 +45,7 @@ The minimum balance. #### Defined in -[api/census3/strategy.ts:200](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L200) +[src/api/census3/strategy.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L219) ___ @@ -57,4 +57,4 @@ The name of the token. #### Defined in -[api/census3/strategy.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L195) +[src/api/census3/strategy.ts:214](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L214) diff --git a/docs/sdk/reference/interfaces/ICensus3SupportedChain.md b/docs/sdk/reference/interfaces/ICensus3SupportedChain.md index fff7a6558..205b726a0 100644 --- a/docs/sdk/reference/interfaces/ICensus3SupportedChain.md +++ b/docs/sdk/reference/interfaces/ICensus3SupportedChain.md @@ -20,7 +20,7 @@ The identifier of the chain #### Defined in -[api/census3/service.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/service.ts#L12) +[src/api/census3/service.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/service.ts#L12) ___ @@ -32,7 +32,7 @@ The name of the chain #### Defined in -[api/census3/service.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/service.ts#L22) +[src/api/census3/service.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/service.ts#L22) ___ @@ -44,4 +44,4 @@ The short name of the chain #### Defined in -[api/census3/service.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/service.ts#L17) +[src/api/census3/service.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/service.ts#L17) diff --git a/docs/sdk/reference/interfaces/ICensus3TokenHolderResponse.md b/docs/sdk/reference/interfaces/ICensus3TokenHolderResponse.md index b7c1df5c8..d9c573efa 100644 --- a/docs/sdk/reference/interfaces/ICensus3TokenHolderResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3TokenHolderResponse.md @@ -18,4 +18,4 @@ The balance of the holder #### Defined in -[api/census3/token.ts:117](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L117) +[src/api/census3/token.ts:117](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L117) diff --git a/docs/sdk/reference/interfaces/ICensus3TokenListResponse.md b/docs/sdk/reference/interfaces/ICensus3TokenListResponse.md index 761cd0be3..e3cc83585 100644 --- a/docs/sdk/reference/interfaces/ICensus3TokenListResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3TokenListResponse.md @@ -24,4 +24,4 @@ The list of the tokens #### Defined in -[api/census3/token.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L110) +[src/api/census3/token.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L110) diff --git a/docs/sdk/reference/interfaces/ICensus3TokenListResponsePaginated.md b/docs/sdk/reference/interfaces/ICensus3TokenListResponsePaginated.md index 67fb659c2..787c24641 100644 --- a/docs/sdk/reference/interfaces/ICensus3TokenListResponsePaginated.md +++ b/docs/sdk/reference/interfaces/ICensus3TokenListResponsePaginated.md @@ -25,7 +25,7 @@ The pagination information #### Defined in -[api/census3/token.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L124) +[src/api/census3/token.ts:124](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L124) ___ @@ -41,4 +41,4 @@ The list of the tokens #### Defined in -[api/census3/token.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L110) +[src/api/census3/token.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L110) diff --git a/docs/sdk/reference/interfaces/ICensus3TokenTypesResponse.md b/docs/sdk/reference/interfaces/ICensus3TokenTypesResponse.md index d6259971c..877f0f397 100644 --- a/docs/sdk/reference/interfaces/ICensus3TokenTypesResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3TokenTypesResponse.md @@ -18,4 +18,4 @@ The list of the tokens types #### Defined in -[api/census3/token.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L131) +[src/api/census3/token.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L131) diff --git a/docs/sdk/reference/interfaces/ICensus3ValidatePredicateChild.md b/docs/sdk/reference/interfaces/ICensus3ValidatePredicateChild.md index dc2460739..805d24ae3 100644 --- a/docs/sdk/reference/interfaces/ICensus3ValidatePredicateChild.md +++ b/docs/sdk/reference/interfaces/ICensus3ValidatePredicateChild.md @@ -19,7 +19,7 @@ The operator used in the predicate #### Defined in -[api/census3/strategy.ts:226](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L226) +[src/api/census3/strategy.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L245) ___ @@ -31,4 +31,4 @@ The list of tokens of the predicate #### Defined in -[api/census3/strategy.ts:231](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L231) +[src/api/census3/strategy.ts:250](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L250) diff --git a/docs/sdk/reference/interfaces/ICensus3ValidatePredicateResponse.md b/docs/sdk/reference/interfaces/ICensus3ValidatePredicateResponse.md index 04d219337..dc72e8fa3 100644 --- a/docs/sdk/reference/interfaces/ICensus3ValidatePredicateResponse.md +++ b/docs/sdk/reference/interfaces/ICensus3ValidatePredicateResponse.md @@ -24,4 +24,4 @@ The parsed version of the predicate #### Defined in -[api/census3/strategy.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L257) +[src/api/census3/strategy.ts:276](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L276) diff --git a/docs/sdk/reference/interfaces/ICensus3ValidatePredicateToken.md b/docs/sdk/reference/interfaces/ICensus3ValidatePredicateToken.md index d6d6864a2..7566007d7 100644 --- a/docs/sdk/reference/interfaces/ICensus3ValidatePredicateToken.md +++ b/docs/sdk/reference/interfaces/ICensus3ValidatePredicateToken.md @@ -18,4 +18,4 @@ The literal of the predicate #### Defined in -[api/census3/strategy.ts:219](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L219) +[src/api/census3/strategy.ts:238](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L238) diff --git a/docs/sdk/reference/interfaces/ICensusExportResponse.md b/docs/sdk/reference/interfaces/ICensusExportResponse.md index 424520d16..114282a80 100644 --- a/docs/sdk/reference/interfaces/ICensusExportResponse.md +++ b/docs/sdk/reference/interfaces/ICensusExportResponse.md @@ -21,7 +21,7 @@ The data of the census #### Defined in -[api/census.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L54) +[src/api/census.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L64) ___ @@ -33,7 +33,7 @@ The max levels of the census #### Defined in -[api/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L59) +[src/api/census.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L69) ___ @@ -45,7 +45,7 @@ The root hash of the census #### Defined in -[api/census.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L49) +[src/api/census.ts:59](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L59) ___ @@ -57,4 +57,4 @@ The type of the census #### Defined in -[api/census.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L44) +[src/api/census.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L54) diff --git a/docs/sdk/reference/interfaces/ICensusParticipant.md b/docs/sdk/reference/interfaces/ICensusParticipant.md index b289f3548..0c420f9d6 100644 --- a/docs/sdk/reference/interfaces/ICensusParticipant.md +++ b/docs/sdk/reference/interfaces/ICensusParticipant.md @@ -17,7 +17,7 @@ #### Defined in -[types/census/offchain.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L6) +[src/types/census/offchain.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L6) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[types/census/offchain.ts:7](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/census/offchain.ts#L7) +[src/types/census/offchain.ts:7](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/census/offchain.ts#L7) diff --git a/docs/sdk/reference/interfaces/ICensusProofResponse.md b/docs/sdk/reference/interfaces/ICensusProofResponse.md index 845eb41f5..b21d87fe0 100644 --- a/docs/sdk/reference/interfaces/ICensusProofResponse.md +++ b/docs/sdk/reference/interfaces/ICensusProofResponse.md @@ -23,7 +23,7 @@ The proof for the given key #### Defined in -[api/census.ts:83](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L83) +[src/api/census.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L93) ___ @@ -35,7 +35,7 @@ The root (id) of the census #### Defined in -[api/census.ts:78](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L78) +[src/api/census.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L88) ___ @@ -47,7 +47,7 @@ The census siblings #### Defined in -[api/census.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L93) +[src/api/census.ts:103](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L103) ___ @@ -59,7 +59,7 @@ The type of the census #### Defined in -[api/census.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L68) +[src/api/census.ts:78](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L78) ___ @@ -71,7 +71,7 @@ The value for the given key #### Defined in -[api/census.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L88) +[src/api/census.ts:98](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L98) ___ @@ -83,4 +83,4 @@ The weight as a string #### Defined in -[api/census.ts:73](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L73) +[src/api/census.ts:83](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L83) diff --git a/docs/sdk/reference/interfaces/ICensusPublishAsyncResponse.md b/docs/sdk/reference/interfaces/ICensusPublishAsyncResponse.md new file mode 100644 index 000000000..1618b0c37 --- /dev/null +++ b/docs/sdk/reference/interfaces/ICensusPublishAsyncResponse.md @@ -0,0 +1,21 @@ +[@vocdoni/sdk](/sdk) / ICensusPublishAsyncResponse + +# Interface: ICensusPublishAsyncResponse + +## Table of contents + +### Properties + +- [censusID](ICensusPublishAsyncResponse#censusid) + +## Properties + +### censusID + +• **censusID**: `string` + +The identifier of the published census + +#### Defined in + +[src/api/census.ts:47](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L47) diff --git a/docs/sdk/reference/interfaces/ICensusPublishResponse.md b/docs/sdk/reference/interfaces/ICensusPublishResponse.md index 4c1b91aca..120910649 100644 --- a/docs/sdk/reference/interfaces/ICensusPublishResponse.md +++ b/docs/sdk/reference/interfaces/ICensusPublishResponse.md @@ -19,7 +19,7 @@ The identifier of the published census #### Defined in -[api/census.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L32) +[src/api/census.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L35) ___ @@ -31,4 +31,4 @@ The URI of the published census #### Defined in -[api/census.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census.ts#L37) +[src/api/census.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census.ts#L40) diff --git a/docs/sdk/reference/interfaces/IChainBlockInfoResponse.md b/docs/sdk/reference/interfaces/IChainBlockInfoResponse.md index f477b9f81..6c39a2376 100644 --- a/docs/sdk/reference/interfaces/IChainBlockInfoResponse.md +++ b/docs/sdk/reference/interfaces/IChainBlockInfoResponse.md @@ -26,7 +26,7 @@ #### Defined in -[api/chain.ts:275](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L275) +[src/api/chain.ts:286](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L286) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[api/chain.ts:278](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L278) +[src/api/chain.ts:289](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L289) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[api/chain.ts:281](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L281) +[src/api/chain.ts:292](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L292) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[api/chain.ts:282](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L282) +[src/api/chain.ts:293](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L293) ___ @@ -102,4 +102,4 @@ ___ #### Defined in -[api/chain.ts:301](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L301) +[src/api/chain.ts:312](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L312) diff --git a/docs/sdk/reference/interfaces/IChainFeesListResponse.md b/docs/sdk/reference/interfaces/IChainFeesListResponse.md index f426f46d4..88d984602 100644 --- a/docs/sdk/reference/interfaces/IChainFeesListResponse.md +++ b/docs/sdk/reference/interfaces/IChainFeesListResponse.md @@ -2,11 +2,20 @@ # Interface: IChainFeesListResponse +## Hierarchy + +- [`IFeesList`](IFeesList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IChainFeesListResponse`** + ## Table of contents ### Properties - [fees](IChainFeesListResponse#fees) +- [pagination](IChainFeesListResponse#pagination) ## Properties @@ -16,6 +25,34 @@ The list of fees +#### Inherited from + +[IFeesList](IFeesList.md).[fees](IFeesList#fees) + +#### Defined in + +[src/api/chain.ts:431](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L431) + +___ + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + #### Defined in -[api/chain.ts:393](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L393) +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) diff --git a/docs/sdk/reference/interfaces/IChainGetCircuitResponse.md b/docs/sdk/reference/interfaces/IChainGetCircuitResponse.md index a69406d9d..e137cd987 100644 --- a/docs/sdk/reference/interfaces/IChainGetCircuitResponse.md +++ b/docs/sdk/reference/interfaces/IChainGetCircuitResponse.md @@ -26,7 +26,7 @@ The path of the circuit. #### Defined in -[api/chain.ts:130](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L130) +[src/api/chain.ts:133](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L133) ___ @@ -38,7 +38,7 @@ The circuit levels. #### Defined in -[api/chain.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L135) +[src/api/chain.ts:138](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L138) ___ @@ -50,7 +50,7 @@ The base uri of the files. #### Defined in -[api/chain.ts:125](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L125) +[src/api/chain.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L128) ___ @@ -62,7 +62,7 @@ The name of the verification key file. #### Defined in -[api/chain.ts:155](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L155) +[src/api/chain.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L158) ___ @@ -74,7 +74,7 @@ The hash of the verification key file. #### Defined in -[api/chain.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L150) +[src/api/chain.ts:153](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L153) ___ @@ -86,7 +86,7 @@ The name of the WASM file. #### Defined in -[api/chain.ts:165](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L165) +[src/api/chain.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L168) ___ @@ -98,7 +98,7 @@ The hash of the WASM file. #### Defined in -[api/chain.ts:160](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L160) +[src/api/chain.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L163) ___ @@ -110,7 +110,7 @@ The name of the proving key file. #### Defined in -[api/chain.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L145) +[src/api/chain.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L148) ___ @@ -122,4 +122,4 @@ The hash of the proving key file. #### Defined in -[api/chain.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L140) +[src/api/chain.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L143) diff --git a/docs/sdk/reference/interfaces/IChainGetCostsResponse.md b/docs/sdk/reference/interfaces/IChainGetCostsResponse.md index 95d6d4743..d1cdefd8b 100644 --- a/docs/sdk/reference/interfaces/IChainGetCostsResponse.md +++ b/docs/sdk/reference/interfaces/IChainGetCostsResponse.md @@ -20,7 +20,7 @@ The base price. #### Defined in -[api/chain.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L100) +[src/api/chain.ts:103](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L103) ___ @@ -32,7 +32,7 @@ The capacity of the chain. #### Defined in -[api/chain.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L105) +[src/api/chain.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L108) ___ @@ -56,4 +56,4 @@ The factors. #### Defined in -[api/chain.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L110) +[src/api/chain.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L113) diff --git a/docs/sdk/reference/interfaces/IChainGetInfoResponse.md b/docs/sdk/reference/interfaces/IChainGetInfoResponse.md index e68edcfac..b6b24337c 100644 --- a/docs/sdk/reference/interfaces/IChainGetInfoResponse.md +++ b/docs/sdk/reference/interfaces/IChainGetInfoResponse.md @@ -30,7 +30,7 @@ The different block times from the chain. #### Defined in -[api/chain.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L38) +[src/api/chain.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L41) ___ @@ -42,7 +42,7 @@ The timestamp of the actual block. #### Defined in -[api/chain.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L68) +[src/api/chain.ts:71](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L71) ___ @@ -54,7 +54,7 @@ The id of the current chain #### Defined in -[api/chain.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L33) +[src/api/chain.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L36) ___ @@ -66,7 +66,7 @@ The circuit configuration tag. #### Defined in -[api/chain.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L88) +[src/api/chain.ts:91](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L91) ___ @@ -78,7 +78,7 @@ The number of elections existing on the Vochain. #### Defined in -[api/chain.ts:43](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L43) +[src/api/chain.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L46) ___ @@ -90,7 +90,7 @@ The time of the genesis block. #### Defined in -[api/chain.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L53) +[src/api/chain.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L56) ___ @@ -102,7 +102,7 @@ The height or actual block of the current chain. #### Defined in -[api/chain.ts:58](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L58) +[src/api/chain.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L61) ___ @@ -114,7 +114,7 @@ The maximum size of a census. #### Defined in -[api/chain.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L93) +[src/api/chain.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L96) ___ @@ -126,7 +126,7 @@ The number of organizations existing on the Vochain. #### Defined in -[api/chain.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L48) +[src/api/chain.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L51) ___ @@ -138,7 +138,7 @@ Whether the blockchain is syncing. #### Defined in -[api/chain.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L63) +[src/api/chain.ts:66](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L66) ___ @@ -150,7 +150,7 @@ The number of transactions. #### Defined in -[api/chain.ts:73](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L73) +[src/api/chain.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L76) ___ @@ -162,7 +162,7 @@ The number of validators. #### Defined in -[api/chain.ts:78](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L78) +[src/api/chain.ts:81](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L81) ___ @@ -174,4 +174,4 @@ The number of votes. #### Defined in -[api/chain.ts:83](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L83) +[src/api/chain.ts:86](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L86) diff --git a/docs/sdk/reference/interfaces/IChainOrganizationCountResponse.md b/docs/sdk/reference/interfaces/IChainOrganizationCountResponse.md deleted file mode 100644 index b218531a7..000000000 --- a/docs/sdk/reference/interfaces/IChainOrganizationCountResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -[@vocdoni/sdk](/sdk) / IChainOrganizationCountResponse - -# Interface: IChainOrganizationCountResponse - -## Table of contents - -### Properties - -- [count](IChainOrganizationCountResponse#count) - -## Properties - -### count - -• **count**: `number` - -The number of organizations - -#### Defined in - -[api/chain.ts:244](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L244) diff --git a/docs/sdk/reference/interfaces/IChainOrganizationListResponse.md b/docs/sdk/reference/interfaces/IChainOrganizationListResponse.md index 709ab2cb9..a44914092 100644 --- a/docs/sdk/reference/interfaces/IChainOrganizationListResponse.md +++ b/docs/sdk/reference/interfaces/IChainOrganizationListResponse.md @@ -2,11 +2,20 @@ # Interface: IChainOrganizationListResponse +## Hierarchy + +- [`OrganizationList`](OrganizationList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IChainOrganizationListResponse`** + ## Table of contents ### Properties - [organizations](IChainOrganizationListResponse#organizations) +- [pagination](IChainOrganizationListResponse#pagination) ## Properties @@ -16,6 +25,34 @@ The list of organizations +#### Inherited from + +[OrganizationList](OrganizationList.md).[organizations](OrganizationList#organizations) + +#### Defined in + +[src/api/chain.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L274) + +___ + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + #### Defined in -[api/chain.ts:263](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L263) +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) diff --git a/docs/sdk/reference/interfaces/IChainOrganizationResponse.md b/docs/sdk/reference/interfaces/IChainOrganizationResponse.md index 8af489dec..a2d87f12b 100644 --- a/docs/sdk/reference/interfaces/IChainOrganizationResponse.md +++ b/docs/sdk/reference/interfaces/IChainOrganizationResponse.md @@ -19,7 +19,7 @@ The number of elections #### Defined in -[api/chain.ts:256](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L256) +[src/api/chain.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L265) ___ @@ -31,4 +31,4 @@ The identifier of the organization #### Defined in -[api/chain.ts:251](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L251) +[src/api/chain.ts:260](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L260) diff --git a/docs/sdk/reference/interfaces/IChainSubmitTxResponse.md b/docs/sdk/reference/interfaces/IChainSubmitTxResponse.md index 9ad46ba2c..5368e2ded 100644 --- a/docs/sdk/reference/interfaces/IChainSubmitTxResponse.md +++ b/docs/sdk/reference/interfaces/IChainSubmitTxResponse.md @@ -20,7 +20,7 @@ The response code #### Defined in -[api/chain.ts:230](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L230) +[src/api/chain.ts:226](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L226) ___ @@ -32,7 +32,7 @@ The hash of the transaction #### Defined in -[api/chain.ts:220](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L220) +[src/api/chain.ts:216](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L216) ___ @@ -44,4 +44,4 @@ The response data (can vary depending on the transaction type) #### Defined in -[api/chain.ts:225](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L225) +[src/api/chain.ts:221](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L221) diff --git a/docs/sdk/reference/interfaces/IChainTransfersList.md b/docs/sdk/reference/interfaces/IChainTransfersList.md new file mode 100644 index 000000000..302d26b51 --- /dev/null +++ b/docs/sdk/reference/interfaces/IChainTransfersList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / IChainTransfersList + +# Interface: IChainTransfersList + +## Hierarchy + +- **`IChainTransfersList`** + + ↳ [`IChainTransfersListResponse`](IChainTransfersListResponse) + +## Table of contents + +### Properties + +- [transfers](IChainTransfersList#transfers) + +## Properties + +### transfers + +• **transfers**: [`ITransfer`](ITransfer)[] + +List of transfers + +#### Defined in + +[src/api/chain.ts:244](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L244) diff --git a/docs/sdk/reference/interfaces/IChainTransfersListResponse.md b/docs/sdk/reference/interfaces/IChainTransfersListResponse.md new file mode 100644 index 000000000..4dbd133c1 --- /dev/null +++ b/docs/sdk/reference/interfaces/IChainTransfersListResponse.md @@ -0,0 +1,58 @@ +[@vocdoni/sdk](/sdk) / IChainTransfersListResponse + +# Interface: IChainTransfersListResponse + +## Hierarchy + +- [`IChainTransfersList`](IChainTransfersList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IChainTransfersListResponse`** + +## Table of contents + +### Properties + +- [pagination](IChainTransfersListResponse#pagination) +- [transfers](IChainTransfersListResponse#transfers) + +## Properties + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + +#### Defined in + +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) + +___ + +### transfers + +• **transfers**: [`ITransfer`](ITransfer)[] + +List of transfers + +#### Inherited from + +[IChainTransfersList](IChainTransfersList.md).[transfers](IChainTransfersList#transfers) + +#### Defined in + +[src/api/chain.ts:244](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L244) diff --git a/docs/sdk/reference/interfaces/IChainTxCountResponse.md b/docs/sdk/reference/interfaces/IChainTxCountResponse.md deleted file mode 100644 index c7f635bce..000000000 --- a/docs/sdk/reference/interfaces/IChainTxCountResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -[@vocdoni/sdk](/sdk) / IChainTxCountResponse - -# Interface: IChainTxCountResponse - -## Table of contents - -### Properties - -- [count](IChainTxCountResponse#count) - -## Properties - -### count - -• **count**: `number` - -The number of transactions - -#### Defined in - -[api/chain.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L213) diff --git a/docs/sdk/reference/interfaces/IChainTxList.md b/docs/sdk/reference/interfaces/IChainTxList.md new file mode 100644 index 000000000..a4409b5b0 --- /dev/null +++ b/docs/sdk/reference/interfaces/IChainTxList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / IChainTxList + +# Interface: IChainTxList + +## Hierarchy + +- **`IChainTxList`** + + ↳ [`IChainTxListResponse`](IChainTxListResponse) + +## Table of contents + +### Properties + +- [transactions](IChainTxList#transactions) + +## Properties + +### transactions + +• **transactions**: [`IChainTxReference`](IChainTxReference)[] + +List of transactions reference + +#### Defined in + +[src/api/chain.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L235) diff --git a/docs/sdk/reference/interfaces/IChainTxListResponse.md b/docs/sdk/reference/interfaces/IChainTxListResponse.md index 0e9e981a8..2f02fa1b5 100644 --- a/docs/sdk/reference/interfaces/IChainTxListResponse.md +++ b/docs/sdk/reference/interfaces/IChainTxListResponse.md @@ -2,20 +2,57 @@ # Interface: IChainTxListResponse +## Hierarchy + +- [`IChainTxList`](IChainTxList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IChainTxListResponse`** + ## Table of contents ### Properties +- [pagination](IChainTxListResponse#pagination) - [transactions](IChainTxListResponse#transactions) ## Properties +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + +#### Defined in + +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) + +___ + ### transactions • **transactions**: [`IChainTxReference`](IChainTxReference)[] List of transactions reference +#### Inherited from + +[IChainTxList](IChainTxList.md).[transactions](IChainTxList#transactions) + #### Defined in -[api/chain.ts:237](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L237) +[src/api/chain.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L235) diff --git a/docs/sdk/reference/interfaces/IChainTxReference.md b/docs/sdk/reference/interfaces/IChainTxReference.md index a6bf89f98..ea491f85e 100644 --- a/docs/sdk/reference/interfaces/IChainTxReference.md +++ b/docs/sdk/reference/interfaces/IChainTxReference.md @@ -22,7 +22,7 @@ The number of the block where the transaction is. #### Defined in -[api/chain.ts:196](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L196) +[src/api/chain.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L199) ___ @@ -34,7 +34,7 @@ The hash of the transaction. #### Defined in -[api/chain.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L191) +[src/api/chain.ts:194](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L194) ___ @@ -46,7 +46,7 @@ The index of the transaction inside the block. #### Defined in -[api/chain.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L201) +[src/api/chain.ts:204](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L204) ___ @@ -58,7 +58,7 @@ The number of the transaction. #### Defined in -[api/chain.ts:186](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L186) +[src/api/chain.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L189) ___ @@ -70,4 +70,4 @@ The type of the transaction. #### Defined in -[api/chain.ts:206](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L206) +[src/api/chain.ts:209](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L209) diff --git a/docs/sdk/reference/interfaces/IChainValidator.md b/docs/sdk/reference/interfaces/IChainValidator.md index eb5cdfe00..ecb53be25 100644 --- a/docs/sdk/reference/interfaces/IChainValidator.md +++ b/docs/sdk/reference/interfaces/IChainValidator.md @@ -7,9 +7,14 @@ ### Properties - [address](IChainValidator#address) +- [joinHeight](IChainValidator#joinheight) - [name](IChainValidator#name) - [power](IChainValidator#power) +- [proposals](IChainValidator#proposals) - [pubKey](IChainValidator#pubkey) +- [score](IChainValidator#score) +- [validatorAddress](IChainValidator#validatoraddress) +- [votes](IChainValidator#votes) ## Properties @@ -21,7 +26,19 @@ Validator address #### Defined in -[api/chain.ts:342](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L342) +[src/api/chain.ts:353](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L353) + +___ + +### joinHeight + +• **joinHeight**: `number` + +Block height when validator joint + +#### Defined in + +[src/api/chain.ts:363](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L363) ___ @@ -33,7 +50,7 @@ Validator name reference. Could be empty. #### Defined in -[api/chain.ts:347](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L347) +[src/api/chain.ts:358](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L358) ___ @@ -45,7 +62,19 @@ Current power of the validator #### Defined in -[api/chain.ts:332](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L332) +[src/api/chain.ts:343](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L343) + +___ + +### proposals + +• **proposals**: `number` + +Total block proposals count + +#### Defined in + +[src/api/chain.ts:368](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L368) ___ @@ -57,4 +86,40 @@ Validator public key #### Defined in -[api/chain.ts:337](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L337) +[src/api/chain.ts:348](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L348) + +___ + +### score + +• **score**: `number` + +Validatos effectivity. Between 0 and 100 + +#### Defined in + +[src/api/chain.ts:373](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L373) + +___ + +### validatorAddress + +• **validatorAddress**: `string` + +Validator address + +#### Defined in + +[src/api/chain.ts:378](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L378) + +___ + +### votes + +• **votes**: `number` + +Number ob validated blocks (not created) + +#### Defined in + +[src/api/chain.ts:383](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L383) diff --git a/docs/sdk/reference/interfaces/IChainValidatorsListResponse.md b/docs/sdk/reference/interfaces/IChainValidatorsListResponse.md index d3596b6f3..a5ef388ca 100644 --- a/docs/sdk/reference/interfaces/IChainValidatorsListResponse.md +++ b/docs/sdk/reference/interfaces/IChainValidatorsListResponse.md @@ -18,4 +18,4 @@ The list of validators #### Defined in -[api/chain.ts:354](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L354) +[src/api/chain.ts:390](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L390) diff --git a/docs/sdk/reference/interfaces/IChoice.md b/docs/sdk/reference/interfaces/IChoice.md index 1a233dd55..a2fd61c2a 100644 --- a/docs/sdk/reference/interfaces/IChoice.md +++ b/docs/sdk/reference/interfaces/IChoice.md @@ -19,7 +19,7 @@ #### Defined in -[types/metadata/election.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L27) +[src/types/metadata/election.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L27) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[types/metadata/election.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L26) +[src/types/metadata/election.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L26) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[types/metadata/election.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L24) +[src/types/metadata/election.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L24) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[types/metadata/election.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L25) +[src/types/metadata/election.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L25) diff --git a/docs/sdk/reference/interfaces/ICspAuthStep.md b/docs/sdk/reference/interfaces/ICspAuthStep.md index a79b5ee95..183d245d1 100644 --- a/docs/sdk/reference/interfaces/ICspAuthStep.md +++ b/docs/sdk/reference/interfaces/ICspAuthStep.md @@ -19,7 +19,7 @@ The title of the step #### Defined in -[api/csp.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L15) +[src/api/csp.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L15) ___ @@ -31,4 +31,4 @@ The type of data of the step #### Defined in -[api/csp.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L20) +[src/api/csp.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L20) diff --git a/docs/sdk/reference/interfaces/ICspFinalStepResponse.md b/docs/sdk/reference/interfaces/ICspFinalStepResponse.md index e0022cdde..66cee3f41 100644 --- a/docs/sdk/reference/interfaces/ICspFinalStepResponse.md +++ b/docs/sdk/reference/interfaces/ICspFinalStepResponse.md @@ -18,4 +18,4 @@ The final token #### Defined in -[api/csp.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L61) +[src/api/csp.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L61) diff --git a/docs/sdk/reference/interfaces/ICspInfoResponse.md b/docs/sdk/reference/interfaces/ICspInfoResponse.md index 699fd8ae4..40945f81c 100644 --- a/docs/sdk/reference/interfaces/ICspInfoResponse.md +++ b/docs/sdk/reference/interfaces/ICspInfoResponse.md @@ -21,7 +21,7 @@ The auth steps to follow in order to get a blind signature #### Defined in -[api/csp.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L42) +[src/api/csp.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L42) ___ @@ -33,7 +33,7 @@ The authentication type of the CSP #### Defined in -[api/csp.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L37) +[src/api/csp.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L37) ___ @@ -45,7 +45,7 @@ The types of signature of the CSP #### Defined in -[api/csp.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L32) +[src/api/csp.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L32) ___ @@ -57,4 +57,4 @@ The title of the CSP Information #### Defined in -[api/csp.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L27) +[src/api/csp.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L27) diff --git a/docs/sdk/reference/interfaces/ICspIntermediateStepResponse.md b/docs/sdk/reference/interfaces/ICspIntermediateStepResponse.md index bd8fd3bc9..68ae87a7e 100644 --- a/docs/sdk/reference/interfaces/ICspIntermediateStepResponse.md +++ b/docs/sdk/reference/interfaces/ICspIntermediateStepResponse.md @@ -19,7 +19,7 @@ The auth token for the following requests #### Defined in -[api/csp.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L49) +[src/api/csp.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L49) ___ @@ -31,4 +31,4 @@ The response of the CSP #### Defined in -[api/csp.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L54) +[src/api/csp.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L54) diff --git a/docs/sdk/reference/interfaces/ICspSignResponse.md b/docs/sdk/reference/interfaces/ICspSignResponse.md index cab049f9e..467d28399 100644 --- a/docs/sdk/reference/interfaces/ICspSignResponse.md +++ b/docs/sdk/reference/interfaces/ICspSignResponse.md @@ -18,4 +18,4 @@ The blind signature #### Defined in -[api/csp.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/csp.ts#L68) +[src/api/csp.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/csp.ts#L68) diff --git a/docs/sdk/reference/interfaces/IElectionCreateResponse.md b/docs/sdk/reference/interfaces/IElectionCreateResponse.md index a32c2f3b3..e0a7991d6 100644 --- a/docs/sdk/reference/interfaces/IElectionCreateResponse.md +++ b/docs/sdk/reference/interfaces/IElectionCreateResponse.md @@ -20,7 +20,7 @@ The election identifier #### Defined in -[api/election.ts:134](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L134) +[src/api/election.ts:132](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L132) ___ @@ -32,7 +32,7 @@ The metadata URL #### Defined in -[api/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L139) +[src/api/election.ts:137](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L137) ___ @@ -44,4 +44,4 @@ The hash of the transaction #### Defined in -[api/election.ts:129](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L129) +[src/api/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L127) diff --git a/docs/sdk/reference/interfaces/IElectionInfoResponse.md b/docs/sdk/reference/interfaces/IElectionInfoResponse.md index a1c0e919d..8d21bc708 100644 --- a/docs/sdk/reference/interfaces/IElectionInfoResponse.md +++ b/docs/sdk/reference/interfaces/IElectionInfoResponse.md @@ -35,7 +35,7 @@ The census of the election #### Defined in -[api/election.ts:220](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L220) +[src/api/election.ts:218](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L218) ___ @@ -47,7 +47,7 @@ The chain identifier of the election #### Defined in -[api/election.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L215) +[src/api/election.ts:213](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L213) ___ @@ -59,7 +59,7 @@ The date of creation of the election #### Defined in -[api/election.ts:230](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L230) +[src/api/election.ts:228](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L228) ___ @@ -71,7 +71,7 @@ The id of the election #### Defined in -[api/election.ts:165](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L165) +[src/api/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L163) ___ @@ -83,7 +83,7 @@ The election mode of the election #### Defined in -[api/election.ts:240](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L240) +[src/api/election.ts:238](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L238) ___ @@ -95,7 +95,7 @@ The end date of the election #### Defined in -[api/election.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L185) +[src/api/election.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L183) ___ @@ -107,7 +107,7 @@ If the election has the final results #### Defined in -[api/election.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L195) +[src/api/election.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L193) ___ @@ -119,7 +119,7 @@ If the election comes from the archive #### Defined in -[api/election.ts:210](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L210) +[src/api/election.ts:208](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L208) ___ @@ -131,7 +131,7 @@ If the election has been ended manually #### Defined in -[api/election.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L205) +[src/api/election.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L203) ___ @@ -143,7 +143,7 @@ The metadata of the election (can be encrypted) #### Defined in -[api/election.ts:250](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L250) +[src/api/election.ts:248](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L248) ___ @@ -155,7 +155,7 @@ The URL of the metadata #### Defined in -[api/election.ts:225](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L225) +[src/api/election.ts:223](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L223) ___ @@ -167,7 +167,7 @@ The id of the organization that created the election #### Defined in -[api/election.ts:170](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L170) +[src/api/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L168) ___ @@ -179,7 +179,7 @@ The result of the election #### Defined in -[api/election.ts:200](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L200) +[src/api/election.ts:198](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L198) ___ @@ -191,7 +191,7 @@ The start date of the election #### Defined in -[api/election.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L180) +[src/api/election.ts:178](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L178) ___ @@ -203,7 +203,7 @@ The status of the election #### Defined in -[api/election.ts:175](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L175) +[src/api/election.ts:173](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L173) ___ @@ -215,7 +215,7 @@ The tally mode of the vote #### Defined in -[api/election.ts:245](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L245) +[src/api/election.ts:243](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L243) ___ @@ -227,7 +227,7 @@ The number of votes of the election #### Defined in -[api/election.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L190) +[src/api/election.ts:188](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L188) ___ @@ -239,4 +239,4 @@ The voting mode of the election #### Defined in -[api/election.ts:235](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L235) +[src/api/election.ts:233](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L233) diff --git a/docs/sdk/reference/interfaces/IElectionKeysResponse.md b/docs/sdk/reference/interfaces/IElectionKeysResponse.md index 33e413889..f99fbe3d4 100644 --- a/docs/sdk/reference/interfaces/IElectionKeysResponse.md +++ b/docs/sdk/reference/interfaces/IElectionKeysResponse.md @@ -17,7 +17,7 @@ #### Defined in -[api/election.ts:267](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L267) +[src/api/election.ts:265](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L265) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[api/election.ts:266](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L266) +[src/api/election.ts:264](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L264) diff --git a/docs/sdk/reference/interfaces/IElectionList.md b/docs/sdk/reference/interfaces/IElectionList.md new file mode 100644 index 000000000..fffed5874 --- /dev/null +++ b/docs/sdk/reference/interfaces/IElectionList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / IElectionList + +# Interface: IElectionList + +## Hierarchy + +- **`IElectionList`** + + ↳ [`IElectionListResponse`](IElectionListResponse) + +## Table of contents + +### Properties + +- [elections](IElectionList#elections) + +## Properties + +### elections + +• **elections**: [`IElectionSummary`](IElectionSummary)[] + +List of election summaries + +#### Defined in + +[src/api/election.ts:328](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L328) diff --git a/docs/sdk/reference/interfaces/IElectionListFilter.md b/docs/sdk/reference/interfaces/IElectionListFilter.md deleted file mode 100644 index 033821b2d..000000000 --- a/docs/sdk/reference/interfaces/IElectionListFilter.md +++ /dev/null @@ -1,52 +0,0 @@ -[@vocdoni/sdk](/sdk) / IElectionListFilter - -# Interface: IElectionListFilter - -## Table of contents - -### Properties - -- [electionId](IElectionListFilter#electionid) -- [organizationId](IElectionListFilter#organizationid) -- [status](IElectionListFilter#status) -- [withResults](IElectionListFilter#withresults) - -## Properties - -### electionId - -• `Optional` **electionId**: `string` - -#### Defined in - -[api/election.ts:364](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L364) - -___ - -### organizationId - -• `Optional` **organizationId**: `string` - -#### Defined in - -[api/election.ts:363](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L363) - -___ - -### status - -• `Optional` **status**: [`PROCESS_UNKNOWN`](../enums/ElectionStatus.md#process_unknown) \| [`ENDED`](../enums/ElectionStatus.md#ended) \| [`CANCELED`](../enums/ElectionStatus.md#canceled) \| [`PAUSED`](../enums/ElectionStatus.md#paused) \| [`RESULTS`](../enums/ElectionStatus.md#results) \| [`READY`](../enums/ElectionStatusReady#ready) - -#### Defined in - -[api/election.ts:366](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L366) - -___ - -### withResults - -• `Optional` **withResults**: `boolean` - -#### Defined in - -[api/election.ts:365](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L365) diff --git a/docs/sdk/reference/interfaces/IElectionListResponse.md b/docs/sdk/reference/interfaces/IElectionListResponse.md index 54bd5f190..f971c55c6 100644 --- a/docs/sdk/reference/interfaces/IElectionListResponse.md +++ b/docs/sdk/reference/interfaces/IElectionListResponse.md @@ -2,11 +2,20 @@ # Interface: IElectionListResponse +## Hierarchy + +- [`IElectionList`](IElectionList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IElectionListResponse`** + ## Table of contents ### Properties - [elections](IElectionListResponse#elections) +- [pagination](IElectionListResponse#pagination) ## Properties @@ -16,6 +25,34 @@ List of election summaries +#### Inherited from + +[IElectionList](IElectionList.md).[elections](IElectionList#elections) + +#### Defined in + +[src/api/election.ts:328](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L328) + +___ + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + #### Defined in -[api/election.ts:359](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L359) +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) diff --git a/docs/sdk/reference/interfaces/IElectionMode.md b/docs/sdk/reference/interfaces/IElectionMode.md index 2c63b0991..109dbcd04 100644 --- a/docs/sdk/reference/interfaces/IElectionMode.md +++ b/docs/sdk/reference/interfaces/IElectionMode.md @@ -22,7 +22,7 @@ If the election should start automatically #### Defined in -[api/election.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L75) +[src/api/election.ts:73](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L73) ___ @@ -34,7 +34,7 @@ If the election has a dynamic census #### Defined in -[api/election.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L85) +[src/api/election.ts:83](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L83) ___ @@ -46,7 +46,7 @@ If the election has encrypted metadata #### Defined in -[api/election.ts:90](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L90) +[src/api/election.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L88) ___ @@ -58,7 +58,7 @@ If the election is interruptible #### Defined in -[api/election.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L80) +[src/api/election.ts:78](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L78) ___ @@ -70,4 +70,4 @@ If the election has preregister phase #### Defined in -[api/election.ts:95](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L95) +[src/api/election.ts:93](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L93) diff --git a/docs/sdk/reference/interfaces/IElectionNextIdResponse.md b/docs/sdk/reference/interfaces/IElectionNextIdResponse.md index 61aaf6ddd..cbc785fa0 100644 --- a/docs/sdk/reference/interfaces/IElectionNextIdResponse.md +++ b/docs/sdk/reference/interfaces/IElectionNextIdResponse.md @@ -18,4 +18,4 @@ The next election identifier #### Defined in -[api/election.ts:146](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L146) +[src/api/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L144) diff --git a/docs/sdk/reference/interfaces/IElectionParameters.md b/docs/sdk/reference/interfaces/IElectionParameters.md index d6f49e611..ef83fc6b4 100644 --- a/docs/sdk/reference/interfaces/IElectionParameters.md +++ b/docs/sdk/reference/interfaces/IElectionParameters.md @@ -45,7 +45,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -55,7 +55,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -67,7 +67,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -77,7 +77,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -87,7 +87,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -99,7 +99,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -119,7 +119,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -131,7 +131,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -141,7 +141,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -151,7 +151,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -163,7 +163,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -175,7 +175,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -187,7 +187,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -197,4 +197,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/IElectionSummary.md b/docs/sdk/reference/interfaces/IElectionSummary.md index 0465ee045..b2cfa8108 100644 --- a/docs/sdk/reference/interfaces/IElectionSummary.md +++ b/docs/sdk/reference/interfaces/IElectionSummary.md @@ -6,9 +6,11 @@ ### Properties +- [chainId](IElectionSummary#chainid) - [electionId](IElectionSummary#electionid) - [endDate](IElectionSummary#enddate) - [finalResults](IElectionSummary#finalresults) +- [manuallyEnded](IElectionSummary#manuallyended) - [organizationId](IElectionSummary#organizationid) - [startDate](IElectionSummary#startdate) - [status](IElectionSummary#status) @@ -16,6 +18,18 @@ ## Properties +### chainId + +• **chainId**: `string` + +The chain identifier + +#### Defined in + +[src/api/election.ts:319](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L319) + +___ + ### electionId • **electionId**: `string` @@ -24,7 +38,7 @@ The id of the election #### Defined in -[api/election.ts:322](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L322) +[src/api/election.ts:279](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L279) ___ @@ -36,7 +50,7 @@ The end date of the election #### Defined in -[api/election.ts:342](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L342) +[src/api/election.ts:299](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L299) ___ @@ -48,7 +62,19 @@ If the election has the final results #### Defined in -[api/election.ts:352](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L352) +[src/api/election.ts:309](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L309) + +___ + +### manuallyEnded + +• **manuallyEnded**: `boolean` + +If the election has been ended manually + +#### Defined in + +[src/api/election.ts:314](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L314) ___ @@ -60,7 +86,7 @@ The id of the organization #### Defined in -[api/election.ts:327](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L327) +[src/api/election.ts:284](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L284) ___ @@ -72,7 +98,7 @@ The start date of the election #### Defined in -[api/election.ts:337](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L337) +[src/api/election.ts:294](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L294) ___ @@ -84,7 +110,7 @@ The status of the election #### Defined in -[api/election.ts:332](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L332) +[src/api/election.ts:289](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L289) ___ @@ -96,4 +122,4 @@ The number of votes of the election #### Defined in -[api/election.ts:347](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L347) +[src/api/election.ts:304](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L304) diff --git a/docs/sdk/reference/interfaces/IElectionType.md b/docs/sdk/reference/interfaces/IElectionType.md index 3aefc03f9..b88352477 100644 --- a/docs/sdk/reference/interfaces/IElectionType.md +++ b/docs/sdk/reference/interfaces/IElectionType.md @@ -23,7 +23,7 @@ Enable anonymous voting. #### Defined in -[types/election/election.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L92) +[src/types/election/election.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L92) ___ @@ -35,7 +35,7 @@ If false, election will start PAUSED and will have to be resumed manually. #### Defined in -[types/election/election.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L76) +[src/types/election/election.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L76) ___ @@ -47,7 +47,7 @@ Can add more voters to the census tree during the election. #### Defined in -[types/election/election.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L84) +[src/types/election/election.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L84) ___ @@ -59,7 +59,7 @@ The process can be paused and resumed. #### Defined in -[types/election/election.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L80) +[src/types/election/election.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L80) ___ @@ -78,7 +78,7 @@ If the metadata has to be encrypted or not. #### Defined in -[types/election/election.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L96) +[src/types/election/election.ts:96](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L96) ___ @@ -90,4 +90,4 @@ Protect the results until the end of the process if true. It will show live resu #### Defined in -[types/election/election.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L88) +[src/types/election/election.ts:88](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L88) diff --git a/docs/sdk/reference/interfaces/IElectionVote.md b/docs/sdk/reference/interfaces/IElectionVote.md deleted file mode 100644 index 5073e54c0..000000000 --- a/docs/sdk/reference/interfaces/IElectionVote.md +++ /dev/null @@ -1,73 +0,0 @@ -[@vocdoni/sdk](/sdk) / IElectionVote - -# Interface: IElectionVote - -## Table of contents - -### Properties - -- [blockHeight](IElectionVote#blockheight) -- [transactionIndex](IElectionVote#transactionindex) -- [txHash](IElectionVote#txhash) -- [voteID](IElectionVote#voteid) -- [voterID](IElectionVote#voterid) - -## Properties - -### blockHeight - -• **blockHeight**: `number` - -Block containing the vote transaction - -#### Defined in - -[api/election.ts:303](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L303) - -___ - -### transactionIndex - -• **transactionIndex**: `number` - -Transaction number on the block - -#### Defined in - -[api/election.ts:308](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L308) - -___ - -### txHash - -• **txHash**: `string` - -Containing transaction hash - -#### Defined in - -[api/election.ts:288](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L288) - -___ - -### voteID - -• **voteID**: `string` - -Vote unique identifier also known as vote nullifier - -#### Defined in - -[api/election.ts:293](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L293) - -___ - -### voterID - -• **voterID**: `string` - -Account that emit the vote - -#### Defined in - -[api/election.ts:298](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L298) diff --git a/docs/sdk/reference/interfaces/IElectionVoteListResponse.md b/docs/sdk/reference/interfaces/IElectionVoteListResponse.md deleted file mode 100644 index b3cc1c5ca..000000000 --- a/docs/sdk/reference/interfaces/IElectionVoteListResponse.md +++ /dev/null @@ -1,21 +0,0 @@ -[@vocdoni/sdk](/sdk) / IElectionVoteListResponse - -# Interface: IElectionVoteListResponse - -## Table of contents - -### Properties - -- [votes](IElectionVoteListResponse#votes) - -## Properties - -### votes - -• **votes**: [`IElectionVote`](IElectionVote)[] - -List of votes - -#### Defined in - -[api/election.ts:315](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L315) diff --git a/docs/sdk/reference/interfaces/IEncryptionKey.md b/docs/sdk/reference/interfaces/IEncryptionKey.md index 8b616b5af..8a56c2358 100644 --- a/docs/sdk/reference/interfaces/IEncryptionKey.md +++ b/docs/sdk/reference/interfaces/IEncryptionKey.md @@ -19,7 +19,7 @@ The index of the encryption key #### Defined in -[api/election.ts:257](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L257) +[src/api/election.ts:255](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L255) ___ @@ -31,4 +31,4 @@ The encryption key #### Defined in -[api/election.ts:262](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L262) +[src/api/election.ts:260](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L260) diff --git a/docs/sdk/reference/interfaces/IFeesList.md b/docs/sdk/reference/interfaces/IFeesList.md new file mode 100644 index 000000000..443b86781 --- /dev/null +++ b/docs/sdk/reference/interfaces/IFeesList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / IFeesList + +# Interface: IFeesList + +## Hierarchy + +- **`IFeesList`** + + ↳ [`IChainFeesListResponse`](IChainFeesListResponse) + +## Table of contents + +### Properties + +- [fees](IFeesList#fees) + +## Properties + +### fees + +• **fees**: [`Fee`](../sdk-reference#fee)[] + +The list of fees + +#### Defined in + +[src/api/chain.ts:431](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L431) diff --git a/docs/sdk/reference/interfaces/IInvalidElectionParameters.md b/docs/sdk/reference/interfaces/IInvalidElectionParameters.md index fb4e8fee4..1ad73861c 100644 --- a/docs/sdk/reference/interfaces/IInvalidElectionParameters.md +++ b/docs/sdk/reference/interfaces/IInvalidElectionParameters.md @@ -16,4 +16,4 @@ #### Defined in -[types/election/invalid.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/invalid.ts#L2) +[src/types/election/invalid.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/invalid.ts#L2) diff --git a/docs/sdk/reference/interfaces/IMultiChoiceElectionParameters.md b/docs/sdk/reference/interfaces/IMultiChoiceElectionParameters.md index b68574bbe..f188e8d3c 100644 --- a/docs/sdk/reference/interfaces/IMultiChoiceElectionParameters.md +++ b/docs/sdk/reference/interfaces/IMultiChoiceElectionParameters.md @@ -46,7 +46,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[types/election/multichoice.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L10) +[src/types/election/multichoice.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L10) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[types/election/multichoice.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L9) +[src/types/election/multichoice.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L9) ___ @@ -80,7 +80,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -96,7 +96,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -110,7 +110,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -140,7 +140,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -164,7 +164,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -174,7 +174,7 @@ ___ #### Defined in -[types/election/multichoice.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/multichoice.ts#L8) +[src/types/election/multichoice.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/multichoice.ts#L8) ___ @@ -190,7 +190,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -204,7 +204,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -218,7 +218,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -234,7 +234,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -250,7 +250,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -266,7 +266,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -280,4 +280,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/IPublishedElectionParameters.md b/docs/sdk/reference/interfaces/IPublishedElectionParameters.md index c33ee5b77..8ffd8cfab 100644 --- a/docs/sdk/reference/interfaces/IPublishedElectionParameters.md +++ b/docs/sdk/reference/interfaces/IPublishedElectionParameters.md @@ -56,7 +56,7 @@ Used to add the SDK version to the election metadata #### Defined in -[types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L168) +[src/types/election/election.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L168) ___ @@ -70,7 +70,7 @@ ___ #### Defined in -[types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L142) +[src/types/election/election.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L142) ___ @@ -80,7 +80,7 @@ ___ #### Defined in -[types/election/published.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L35) +[src/types/election/published.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L35) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[types/election/published.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L36) +[src/types/election/published.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L36) ___ @@ -106,7 +106,7 @@ Election description #### Defined in -[types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L127) +[src/types/election/election.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L127) ___ @@ -120,7 +120,7 @@ ___ #### Defined in -[types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L144) +[src/types/election/election.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L144) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L141) +[src/types/election/election.ts:141](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L141) ___ @@ -144,7 +144,7 @@ ___ #### Defined in -[types/election/published.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L31) +[src/types/election/published.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L31) ___ @@ -154,7 +154,7 @@ ___ #### Defined in -[types/election/published.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L34) +[src/types/election/published.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L34) ___ @@ -170,7 +170,7 @@ Election header image url. #### Defined in -[types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L131) +[src/types/election/election.ts:131](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L131) ___ @@ -180,7 +180,7 @@ ___ #### Defined in -[types/election/published.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L27) +[src/types/election/published.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L27) ___ @@ -190,7 +190,7 @@ ___ #### Defined in -[types/election/published.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L33) +[src/types/election/published.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L33) ___ @@ -214,7 +214,7 @@ size` error. #### Defined in -[types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L158) +[src/types/election/election.ts:158](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L158) ___ @@ -230,7 +230,7 @@ Metadata (anything added by the election creator) #### Defined in -[types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L139) +[src/types/election/election.ts:139](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L139) ___ @@ -240,7 +240,7 @@ ___ #### Defined in -[types/election/published.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L37) +[src/types/election/published.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L37) ___ @@ -250,7 +250,7 @@ ___ #### Defined in -[types/election/published.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L28) +[src/types/election/published.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L28) ___ @@ -264,7 +264,7 @@ ___ #### Defined in -[types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L145) +[src/types/election/election.ts:145](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L145) ___ @@ -274,7 +274,7 @@ ___ #### Defined in -[types/election/published.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L39) +[src/types/election/published.ts:39](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L39) ___ @@ -284,7 +284,7 @@ ___ #### Defined in -[types/election/published.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L32) +[src/types/election/published.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L32) ___ @@ -294,7 +294,7 @@ ___ #### Defined in -[types/election/published.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L38) +[src/types/election/published.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L38) ___ @@ -308,7 +308,7 @@ ___ #### Defined in -[types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L140) +[src/types/election/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L140) ___ @@ -318,7 +318,7 @@ ___ #### Defined in -[types/election/published.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L29) +[src/types/election/published.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L29) ___ @@ -334,7 +334,7 @@ Election stream Uri (ex: a video url) #### Defined in -[types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L135) +[src/types/election/election.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L135) ___ @@ -350,7 +350,7 @@ Is used to remove the secret identities of the voters once the process is done. #### Defined in -[types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L163) +[src/types/election/election.ts:163](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L163) ___ @@ -366,7 +366,7 @@ Election title #### Defined in -[types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L123) +[src/types/election/election.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L123) ___ @@ -376,7 +376,7 @@ ___ #### Defined in -[types/election/published.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L30) +[src/types/election/published.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L30) ___ @@ -390,4 +390,4 @@ ___ #### Defined in -[types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L143) +[src/types/election/election.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L143) diff --git a/docs/sdk/reference/interfaces/IQuestion.md b/docs/sdk/reference/interfaces/IQuestion.md index 806237994..0e913d865 100644 --- a/docs/sdk/reference/interfaces/IQuestion.md +++ b/docs/sdk/reference/interfaces/IQuestion.md @@ -19,7 +19,7 @@ #### Defined in -[types/metadata/election.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L34) +[src/types/metadata/election.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L34) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[types/metadata/election.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L32) +[src/types/metadata/election.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L32) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[types/metadata/election.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L33) +[src/types/metadata/election.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L33) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[types/metadata/election.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L31) +[src/types/metadata/election.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L31) diff --git a/docs/sdk/reference/interfaces/ITallyMode.md b/docs/sdk/reference/interfaces/ITallyMode.md index e9ff2657f..b79ff0a59 100644 --- a/docs/sdk/reference/interfaces/ITallyMode.md +++ b/docs/sdk/reference/interfaces/ITallyMode.md @@ -22,7 +22,7 @@ The cost exponent of the vote #### Defined in -[api/election.ts:122](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L122) +[src/api/election.ts:120](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L120) ___ @@ -34,7 +34,7 @@ The max count of the vote's values sum #### Defined in -[api/election.ts:102](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L102) +[src/api/election.ts:100](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L100) ___ @@ -46,7 +46,7 @@ The max total cost of the votes #### Defined in -[api/election.ts:117](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L117) +[src/api/election.ts:115](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L115) ___ @@ -58,7 +58,7 @@ The max value of the vote's values #### Defined in -[api/election.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L107) +[src/api/election.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L105) ___ @@ -70,4 +70,4 @@ The max number of votes overwrites #### Defined in -[api/election.ts:112](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L112) +[src/api/election.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L110) diff --git a/docs/sdk/reference/interfaces/ITransfer.md b/docs/sdk/reference/interfaces/ITransfer.md new file mode 100644 index 000000000..50950878c --- /dev/null +++ b/docs/sdk/reference/interfaces/ITransfer.md @@ -0,0 +1,74 @@ +[@vocdoni/sdk](/sdk) / ITransfer + +# Interface: ITransfer + +## Table of contents + +### Properties + +- [amount](ITransfer#amount) +- [from](ITransfer#from) +- [height](ITransfer#height) +- [timestamp](ITransfer#timestamp) +- [to](ITransfer#to) +- [txHash](ITransfer#txhash) + +## Properties + +### amount + +• **amount**: `number` + +#### Defined in + +[src/api/chain.ts:248](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L248) + +___ + +### from + +• **from**: `string` + +#### Defined in + +[src/api/chain.ts:249](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L249) + +___ + +### height + +• **height**: `number` + +#### Defined in + +[src/api/chain.ts:250](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L250) + +___ + +### timestamp + +• **timestamp**: `string` + +#### Defined in + +[src/api/chain.ts:252](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L252) + +___ + +### to + +• **to**: `string` + +#### Defined in + +[src/api/chain.ts:253](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L253) + +___ + +### txHash + +• **txHash**: `string` + +#### Defined in + +[src/api/chain.ts:251](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L251) diff --git a/docs/sdk/reference/interfaces/IVoteEncryptedPackage.md b/docs/sdk/reference/interfaces/IVoteEncryptedPackage.md index 359e05034..88d1ae907 100644 --- a/docs/sdk/reference/interfaces/IVoteEncryptedPackage.md +++ b/docs/sdk/reference/interfaces/IVoteEncryptedPackage.md @@ -18,4 +18,4 @@ The base64 encrypted vote package #### Defined in -[api/vote.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L38) +[src/api/vote.ts:40](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L40) diff --git a/docs/sdk/reference/interfaces/IVoteInfoResponse.md b/docs/sdk/reference/interfaces/IVoteInfoResponse.md deleted file mode 100644 index ce580dce5..000000000 --- a/docs/sdk/reference/interfaces/IVoteInfoResponse.md +++ /dev/null @@ -1,151 +0,0 @@ -[@vocdoni/sdk](/sdk) / IVoteInfoResponse - -# Interface: IVoteInfoResponse - -## Table of contents - -### Properties - -- [blockHeight](IVoteInfoResponse#blockheight) -- [date](IVoteInfoResponse#date) -- [electionID](IVoteInfoResponse#electionid) -- [encryptionKeys](IVoteInfoResponse#encryptionkeys) -- [overwriteCount](IVoteInfoResponse#overwritecount) -- [package](IVoteInfoResponse#package) -- [transactionIndex](IVoteInfoResponse#transactionindex) -- [txHash](IVoteInfoResponse#txhash) -- [voteID](IVoteInfoResponse#voteid) -- [voterID](IVoteInfoResponse#voterid) -- [weight](IVoteInfoResponse#weight) - -## Properties - -### blockHeight - -• **blockHeight**: `number` - -The block number where the transaction is mined. - -#### Defined in - -[api/vote.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L80) - -___ - -### date - -• **date**: `string` - -Date when the vote was emitted - -#### Defined in - -[api/vote.ts:95](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L95) - -___ - -### electionID - -• **electionID**: `string` - -The identifier of the election. - -#### Defined in - -[api/vote.ts:70](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L70) - -___ - -### encryptionKeys - -• `Optional` **encryptionKeys**: `number`[] - -Encryption key indexes used - -#### Defined in - -[api/vote.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L55) - -___ - -### overwriteCount - -• **overwriteCount**: `number` - -The number of votes overwrites. - -#### Defined in - -[api/vote.ts:90](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L90) - -___ - -### package - -• **package**: [`IVotePackage`](IVotePackage.md) \| [`IVoteEncryptedPackage`](IVoteEncryptedPackage) - -The vote package. - -#### Defined in - -[api/vote.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L60) - -___ - -### transactionIndex - -• **transactionIndex**: `number` - -The index inside the block where the transaction is mined. - -#### Defined in - -[api/vote.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L85) - -___ - -### txHash - -• **txHash**: `string` - -The hash of the transaction - -#### Defined in - -[api/vote.ts:45](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L45) - -___ - -### voteID - -• **voteID**: `string` - -The identifier of the vote, also called nullifier. - -#### Defined in - -[api/vote.ts:50](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L50) - -___ - -### voterID - -• **voterID**: `string` - -The identifier of the voter. - -#### Defined in - -[api/vote.ts:75](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L75) - -___ - -### weight - -• **weight**: `string` - -The weight of the vote. - -#### Defined in - -[api/vote.ts:65](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L65) diff --git a/docs/sdk/reference/interfaces/IVoteListResponse.md b/docs/sdk/reference/interfaces/IVoteListResponse.md new file mode 100644 index 000000000..578fdea7b --- /dev/null +++ b/docs/sdk/reference/interfaces/IVoteListResponse.md @@ -0,0 +1,58 @@ +[@vocdoni/sdk](/sdk) / IVoteListResponse + +# Interface: IVoteListResponse + +## Hierarchy + +- [`VotesList`](VotesList) + +- [`PaginationResponse`](PaginationResponse) + + ↳ **`IVoteListResponse`** + +## Table of contents + +### Properties + +- [pagination](IVoteListResponse#pagination) +- [votes](IVoteListResponse#votes) + +## Properties + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Inherited from + +[PaginationResponse](PaginationResponse.md).[pagination](PaginationResponse#pagination) + +#### Defined in + +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) + +___ + +### votes + +• **votes**: [`VoteSummary`](../sdk-reference#votesummary)[] + +The list of votes + +#### Inherited from + +[VotesList](VotesList.md).[votes](VotesList#votes) + +#### Defined in + +[src/api/vote.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L49) diff --git a/docs/sdk/reference/interfaces/IVoteMode.md b/docs/sdk/reference/interfaces/IVoteMode.md index b7b5e0506..52c504b27 100644 --- a/docs/sdk/reference/interfaces/IVoteMode.md +++ b/docs/sdk/reference/interfaces/IVoteMode.md @@ -22,7 +22,7 @@ If the vote is anonymous #### Defined in -[api/election.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L53) +[src/api/election.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L51) ___ @@ -34,7 +34,7 @@ Cost from weight of the election #### Defined in -[api/election.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L68) +[src/api/election.ts:66](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L66) ___ @@ -46,7 +46,7 @@ If the vote is encrypted #### Defined in -[api/election.ts:58](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L58) +[src/api/election.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L56) ___ @@ -58,7 +58,7 @@ If the vote is serial #### Defined in -[api/election.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L48) +[src/api/election.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L46) ___ @@ -70,4 +70,4 @@ If the vote values are unique #### Defined in -[api/election.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/election.ts#L63) +[src/api/election.ts:61](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/election.ts#L61) diff --git a/docs/sdk/reference/interfaces/IVotePackage.md b/docs/sdk/reference/interfaces/IVotePackage.md index 15ac362c0..69552a19b 100644 --- a/docs/sdk/reference/interfaces/IVotePackage.md +++ b/docs/sdk/reference/interfaces/IVotePackage.md @@ -19,7 +19,7 @@ The nonce of the vote package #### Defined in -[api/vote.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L26) +[src/api/vote.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L28) ___ @@ -31,4 +31,4 @@ The raw vote package #### Defined in -[api/vote.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L31) +[src/api/vote.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L33) diff --git a/docs/sdk/reference/interfaces/IVoteSubmitResponse.md b/docs/sdk/reference/interfaces/IVoteSubmitResponse.md index d54648f65..91e593ece 100644 --- a/docs/sdk/reference/interfaces/IVoteSubmitResponse.md +++ b/docs/sdk/reference/interfaces/IVoteSubmitResponse.md @@ -19,7 +19,7 @@ The hash of the transaction #### Defined in -[api/vote.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L14) +[src/api/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L16) ___ @@ -31,4 +31,4 @@ The identifier of the vote, also called nullifier. #### Defined in -[api/vote.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/vote.ts#L19) +[src/api/vote.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L21) diff --git a/docs/sdk/reference/interfaces/IVoteType.md b/docs/sdk/reference/interfaces/IVoteType.md index 8124d3632..4acec768d 100644 --- a/docs/sdk/reference/interfaces/IVoteType.md +++ b/docs/sdk/reference/interfaces/IVoteType.md @@ -46,7 +46,7 @@ assigned to each voter determines the credits they have available for voting. #### Defined in -[types/election/election.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L46) +[src/types/election/election.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L46) ___ @@ -59,7 +59,7 @@ several choices, even including quadratic voting scenarios. #### Defined in -[types/election/election.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L20) +[src/types/election/election.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L20) ___ @@ -76,7 +76,7 @@ this value should match the total number of choices available for voting. #### Defined in -[types/election/election.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L62) +[src/types/election/election.ts:62](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L62) ___ @@ -91,7 +91,7 @@ A value of 0 implies no maximum limit or that this parameter is not applicable i #### Defined in -[types/election/election.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L69) +[src/types/election/election.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L69) ___ @@ -106,7 +106,7 @@ In the context of a quadratic voting system, this value should typically be set #### Defined in -[types/election/election.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L53) +[src/types/election/election.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L53) ___ @@ -118,7 +118,7 @@ The number of times a voter con overwrite its vote (change vote option). #### Defined in -[types/election/election.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L15) +[src/types/election/election.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L15) ___ @@ -130,4 +130,4 @@ Voter can only select one answer for question #### Defined in -[types/election/election.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L11) +[src/types/election/election.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L11) diff --git a/docs/sdk/reference/interfaces/IZkProofResponse.md b/docs/sdk/reference/interfaces/IZkProofResponse.md index 14d295551..4b9d3d51c 100644 --- a/docs/sdk/reference/interfaces/IZkProofResponse.md +++ b/docs/sdk/reference/interfaces/IZkProofResponse.md @@ -21,7 +21,7 @@ The proof for the given key #### Defined in -[api/zk.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L19) +[src/api/zk.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L19) ___ @@ -33,7 +33,7 @@ The root (id) of the census #### Defined in -[api/zk.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L14) +[src/api/zk.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L14) ___ @@ -45,7 +45,7 @@ The value for the census siblings #### Defined in -[api/zk.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L29) +[src/api/zk.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L29) ___ @@ -57,4 +57,4 @@ The value for the given key #### Defined in -[api/zk.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L24) +[src/api/zk.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L24) diff --git a/docs/sdk/reference/interfaces/IZkSIKResponse.md b/docs/sdk/reference/interfaces/IZkSIKResponse.md index 443685df3..c117354a7 100644 --- a/docs/sdk/reference/interfaces/IZkSIKResponse.md +++ b/docs/sdk/reference/interfaces/IZkSIKResponse.md @@ -18,4 +18,4 @@ The sik of the address #### Defined in -[api/zk.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/zk.ts#L36) +[src/api/zk.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/zk.ts#L36) diff --git a/docs/sdk/reference/interfaces/MintTokensTx.md b/docs/sdk/reference/interfaces/MintTokensTx.md index fc1d7ab05..1e4b37bad 100644 --- a/docs/sdk/reference/interfaces/MintTokensTx.md +++ b/docs/sdk/reference/interfaces/MintTokensTx.md @@ -19,7 +19,7 @@ #### Defined in -[api/chain/transactions.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L128) +[src/api/chain/transactions.ts:128](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L128) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[api/chain/transactions.ts:129](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L129) +[src/api/chain/transactions.ts:129](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L129) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[api/chain/transactions.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L127) +[src/api/chain/transactions.ts:127](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L127) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[api/chain/transactions.ts:130](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L130) +[src/api/chain/transactions.ts:130](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L130) diff --git a/docs/sdk/reference/interfaces/NewProcessTx.md b/docs/sdk/reference/interfaces/NewProcessTx.md index afaa8257b..90013d8aa 100644 --- a/docs/sdk/reference/interfaces/NewProcessTx.md +++ b/docs/sdk/reference/interfaces/NewProcessTx.md @@ -18,7 +18,7 @@ #### Defined in -[api/chain/transactions.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L85) +[src/api/chain/transactions.ts:85](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L85) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[api/chain/transactions.ts:86](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L86) +[src/api/chain/transactions.ts:86](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L86) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[api/chain/transactions.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L84) +[src/api/chain/transactions.ts:84](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L84) diff --git a/docs/sdk/reference/interfaces/OrganizationList.md b/docs/sdk/reference/interfaces/OrganizationList.md new file mode 100644 index 000000000..19a07eda9 --- /dev/null +++ b/docs/sdk/reference/interfaces/OrganizationList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / OrganizationList + +# Interface: OrganizationList + +## Hierarchy + +- **`OrganizationList`** + + ↳ [`IChainOrganizationListResponse`](IChainOrganizationListResponse) + +## Table of contents + +### Properties + +- [organizations](OrganizationList#organizations) + +## Properties + +### organizations + +• **organizations**: [`IChainOrganizationResponse`](IChainOrganizationResponse)[] + +The list of organizations + +#### Defined in + +[src/api/chain.ts:274](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L274) diff --git a/docs/sdk/reference/interfaces/PaginationResponse.md b/docs/sdk/reference/interfaces/PaginationResponse.md new file mode 100644 index 000000000..e344f0419 --- /dev/null +++ b/docs/sdk/reference/interfaces/PaginationResponse.md @@ -0,0 +1,47 @@ +[@vocdoni/sdk](/sdk) / PaginationResponse + +# Interface: PaginationResponse + +## Hierarchy + +- **`PaginationResponse`** + + ↳ [`IAccountsListResponse`](IAccountsListResponse) + + ↳ [`IChainTxListResponse`](IChainTxListResponse) + + ↳ [`IChainTransfersListResponse`](IChainTransfersListResponse) + + ↳ [`IChainOrganizationListResponse`](IChainOrganizationListResponse) + + ↳ [`IChainFeesListResponse`](IChainFeesListResponse) + + ↳ [`IElectionListResponse`](IElectionListResponse) + + ↳ [`IVoteListResponse`](IVoteListResponse) + +## Table of contents + +### Properties + +- [pagination](PaginationResponse#pagination) + +## Properties + +### pagination + +• **pagination**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `currentPage` | `number` | +| `lastPage` | `number` | +| `nextPage` | `number` | +| `previousPage` | `number` | +| `totalItems` | `number` | + +#### Defined in + +[src/api/api.ts:113](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L113) diff --git a/docs/sdk/reference/interfaces/Process.md b/docs/sdk/reference/interfaces/Process.md index 5c80aa38c..28dd4d8d7 100644 --- a/docs/sdk/reference/interfaces/Process.md +++ b/docs/sdk/reference/interfaces/Process.md @@ -48,7 +48,7 @@ BlockCount represents the amount of tendermint blocks that the process will last #### Defined in -[api/chain/transactions.ts:174](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L174) +[src/api/chain/transactions.ts:174](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L174) ___ @@ -58,7 +58,7 @@ ___ #### Defined in -[api/chain/transactions.ts:192](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L192) +[src/api/chain/transactions.ts:192](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L192) ___ @@ -70,7 +70,7 @@ CensusRoot merkle root of all the census in the process #### Defined in -[api/chain/transactions.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L176) +[src/api/chain/transactions.ts:176](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L176) ___ @@ -82,7 +82,7 @@ CensusURI where to find the census #### Defined in -[api/chain/transactions.ts:178](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L178) +[src/api/chain/transactions.ts:178](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L178) ___ @@ -94,7 +94,7 @@ EncryptionPrivateKeys are the keys required to decrypt the votes #### Defined in -[api/chain/transactions.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L180) +[src/api/chain/transactions.ts:180](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L180) ___ @@ -106,7 +106,7 @@ EncryptionPublicKeys are the keys required to encrypt the votes #### Defined in -[api/chain/transactions.ts:182](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L182) +[src/api/chain/transactions.ts:182](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L182) ___ @@ -118,7 +118,7 @@ EntityId identifies unequivocally an entity #### Defined in -[api/chain/transactions.ts:170](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L170) +[src/api/chain/transactions.ts:170](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L170) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[api/chain/transactions.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L187) +[src/api/chain/transactions.ts:187](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L187) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[api/chain/transactions.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L195) +[src/api/chain/transactions.ts:195](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L195) ___ @@ -148,7 +148,7 @@ ___ #### Defined in -[api/chain/transactions.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L183) +[src/api/chain/transactions.ts:183](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L183) ___ @@ -160,7 +160,7 @@ MaxCensusSize is set by the Process creator. #### Defined in -[api/chain/transactions.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L205) +[src/api/chain/transactions.ts:205](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L205) ___ @@ -172,7 +172,7 @@ Metadata is the content hashed URI of the JSON meta data (See Data Origins) #### Defined in -[api/chain/transactions.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L201) +[src/api/chain/transactions.ts:201](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L201) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[api/chain/transactions.ts:188](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L188) +[src/api/chain/transactions.ts:188](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L188) ___ @@ -192,7 +192,7 @@ ___ #### Defined in -[api/chain/transactions.ts:186](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L186) +[src/api/chain/transactions.ts:186](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L186) ___ @@ -205,7 +205,7 @@ Used when Mode.PreRegister = true. #### Defined in -[api/chain/transactions.ts:220](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L220) +[src/api/chain/transactions.ts:220](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L220) ___ @@ -217,7 +217,7 @@ Owner is the creator of a process (if any) otherwise is assumed the creator is t #### Defined in -[api/chain/transactions.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L199) +[src/api/chain/transactions.ts:199](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L199) ___ @@ -227,7 +227,7 @@ ___ #### Defined in -[api/chain/transactions.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L185) +[src/api/chain/transactions.ts:185](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L185) ___ @@ -237,7 +237,7 @@ ___ #### Defined in -[api/chain/transactions.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L168) +[src/api/chain/transactions.ts:168](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L168) ___ @@ -247,7 +247,7 @@ ___ #### Defined in -[api/chain/transactions.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L190) +[src/api/chain/transactions.ts:190](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L190) ___ @@ -257,7 +257,7 @@ ___ #### Defined in -[api/chain/transactions.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L189) +[src/api/chain/transactions.ts:189](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L189) ___ @@ -267,7 +267,7 @@ ___ #### Defined in -[api/chain/transactions.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L193) +[src/api/chain/transactions.ts:193](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L193) ___ @@ -277,7 +277,7 @@ ___ #### Defined in -[api/chain/transactions.ts:194](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L194) +[src/api/chain/transactions.ts:194](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L194) ___ @@ -290,7 +290,7 @@ vocdoni-node when Mode.Process = true #### Defined in -[api/chain/transactions.ts:210](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L210) +[src/api/chain/transactions.ts:210](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L210) ___ @@ -303,7 +303,7 @@ true and the StartBlock has been reached. #### Defined in -[api/chain/transactions.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L215) +[src/api/chain/transactions.ts:215](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L215) ___ @@ -315,7 +315,7 @@ SourceBlockHeight is the block height of the origin blockchain (if any) #### Defined in -[api/chain/transactions.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L197) +[src/api/chain/transactions.ts:197](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L197) ___ @@ -328,7 +328,7 @@ the contract address of the token that is going to define the census #### Defined in -[api/chain/transactions.ts:225](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L225) +[src/api/chain/transactions.ts:225](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L225) ___ @@ -340,7 +340,7 @@ SourceNetworkId is the identifier of the network origin (where the process have #### Defined in -[api/chain/transactions.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L203) +[src/api/chain/transactions.ts:203](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L203) ___ @@ -352,7 +352,7 @@ StartBlock represents the tendermint block where the process goes from scheduled #### Defined in -[api/chain/transactions.ts:172](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L172) +[src/api/chain/transactions.ts:172](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L172) ___ @@ -362,7 +362,7 @@ ___ #### Defined in -[api/chain/transactions.ts:184](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L184) +[src/api/chain/transactions.ts:184](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L184) ___ @@ -375,7 +375,7 @@ It is normally used for processes with on-chain census #### Defined in -[api/chain/transactions.ts:230](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L230) +[src/api/chain/transactions.ts:230](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L230) ___ @@ -385,4 +385,4 @@ ___ #### Defined in -[api/chain/transactions.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L191) +[src/api/chain/transactions.ts:191](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L191) diff --git a/docs/sdk/reference/interfaces/Proof.md b/docs/sdk/reference/interfaces/Proof.md index 45a44fee1..4420584b3 100644 --- a/docs/sdk/reference/interfaces/Proof.md +++ b/docs/sdk/reference/interfaces/Proof.md @@ -16,4 +16,4 @@ #### Defined in -[api/chain/transactions.ts:341](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L341) +[src/api/chain/transactions.ts:341](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L341) diff --git a/docs/sdk/reference/interfaces/RegisterKeyTx.md b/docs/sdk/reference/interfaces/RegisterKeyTx.md index 14ae90ee3..5bdbdec1f 100644 --- a/docs/sdk/reference/interfaces/RegisterKeyTx.md +++ b/docs/sdk/reference/interfaces/RegisterKeyTx.md @@ -22,7 +22,7 @@ New key to register #### Defined in -[api/chain/transactions.ts:121](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L121) +[src/api/chain/transactions.ts:121](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L121) ___ @@ -34,7 +34,7 @@ Unique number per vote attempt, so that replay attacks can't reuse this payload #### Defined in -[api/chain/transactions.ts:115](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L115) +[src/api/chain/transactions.ts:115](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L115) ___ @@ -46,7 +46,7 @@ The process for which the vote is casted #### Defined in -[api/chain/transactions.ts:117](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L117) +[src/api/chain/transactions.ts:117](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L117) ___ @@ -58,7 +58,7 @@ Franchise proof #### Defined in -[api/chain/transactions.ts:119](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L119) +[src/api/chain/transactions.ts:119](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L119) ___ @@ -70,4 +70,4 @@ Weight to delegate to newKey #### Defined in -[api/chain/transactions.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L123) +[src/api/chain/transactions.ts:123](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L123) diff --git a/docs/sdk/reference/interfaces/SendTokensTx.md b/docs/sdk/reference/interfaces/SendTokensTx.md index cb023edce..1780092bf 100644 --- a/docs/sdk/reference/interfaces/SendTokensTx.md +++ b/docs/sdk/reference/interfaces/SendTokensTx.md @@ -20,7 +20,7 @@ #### Defined in -[api/chain/transactions.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L136) +[src/api/chain/transactions.ts:136](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L136) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[api/chain/transactions.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L135) +[src/api/chain/transactions.ts:135](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L135) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[api/chain/transactions.ts:137](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L137) +[src/api/chain/transactions.ts:137](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L137) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[api/chain/transactions.ts:134](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L134) +[src/api/chain/transactions.ts:134](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L134) ___ @@ -60,4 +60,4 @@ ___ #### Defined in -[api/chain/transactions.ts:138](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L138) +[src/api/chain/transactions.ts:138](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L138) diff --git a/docs/sdk/reference/interfaces/ServiceProperties.md b/docs/sdk/reference/interfaces/ServiceProperties.md index 327b04abe..a8387aece 100644 --- a/docs/sdk/reference/interfaces/ServiceProperties.md +++ b/docs/sdk/reference/interfaces/ServiceProperties.md @@ -20,4 +20,4 @@ #### Defined in -[services/service.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/service.ts#L2) +[src/services/service.ts:2](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/service.ts#L2) diff --git a/docs/sdk/reference/interfaces/SetAccountTx.md b/docs/sdk/reference/interfaces/SetAccountTx.md index 1e79af8fd..1cab5efb2 100644 --- a/docs/sdk/reference/interfaces/SetAccountTx.md +++ b/docs/sdk/reference/interfaces/SetAccountTx.md @@ -21,7 +21,7 @@ #### Defined in -[api/chain/transactions.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L151) +[src/api/chain/transactions.ts:151](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L151) ___ @@ -31,7 +31,7 @@ ___ #### Defined in -[api/chain/transactions.ts:153](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L153) +[src/api/chain/transactions.ts:153](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L153) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[api/chain/transactions.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L152) +[src/api/chain/transactions.ts:152](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L152) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[api/chain/transactions.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L150) +[src/api/chain/transactions.ts:150](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L150) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[api/chain/transactions.ts:149](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L149) +[src/api/chain/transactions.ts:149](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L149) ___ @@ -71,4 +71,4 @@ ___ #### Defined in -[api/chain/transactions.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L148) +[src/api/chain/transactions.ts:148](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L148) diff --git a/docs/sdk/reference/interfaces/SetProcessTx.md b/docs/sdk/reference/interfaces/SetProcessTx.md index 0be41a059..65db7c4b7 100644 --- a/docs/sdk/reference/interfaces/SetProcessTx.md +++ b/docs/sdk/reference/interfaces/SetProcessTx.md @@ -24,7 +24,7 @@ #### Defined in -[api/chain/transactions.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L107) +[src/api/chain/transactions.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L107) ___ @@ -34,7 +34,7 @@ ___ #### Defined in -[api/chain/transactions.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L108) +[src/api/chain/transactions.ts:108](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L108) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[api/chain/transactions.ts:103](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L103) +[src/api/chain/transactions.ts:103](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L103) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[api/chain/transactions.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L104) +[src/api/chain/transactions.ts:104](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L104) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[api/chain/transactions.ts:109](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L109) +[src/api/chain/transactions.ts:109](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L109) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[api/chain/transactions.ts:106](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L106) +[src/api/chain/transactions.ts:106](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L106) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[api/chain/transactions.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L110) +[src/api/chain/transactions.ts:110](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L110) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[api/chain/transactions.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L105) +[src/api/chain/transactions.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L105) ___ @@ -104,4 +104,4 @@ ___ #### Defined in -[api/chain/transactions.ts:102](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L102) +[src/api/chain/transactions.ts:102](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L102) diff --git a/docs/sdk/reference/interfaces/SetTransactionCostsTx.md b/docs/sdk/reference/interfaces/SetTransactionCostsTx.md index 9cb213d66..3ff1ac506 100644 --- a/docs/sdk/reference/interfaces/SetTransactionCostsTx.md +++ b/docs/sdk/reference/interfaces/SetTransactionCostsTx.md @@ -18,7 +18,7 @@ #### Defined in -[api/chain/transactions.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L143) +[src/api/chain/transactions.ts:143](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L143) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[api/chain/transactions.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L142) +[src/api/chain/transactions.ts:142](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L142) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[api/chain/transactions.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L144) +[src/api/chain/transactions.ts:144](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L144) diff --git a/docs/sdk/reference/interfaces/Tx.md b/docs/sdk/reference/interfaces/Tx.md index 5fb63e522..1122a3adb 100644 --- a/docs/sdk/reference/interfaces/Tx.md +++ b/docs/sdk/reference/interfaces/Tx.md @@ -17,7 +17,7 @@ #### Defined in -[api/chain/transactions.ts:4](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L4) +[src/api/chain/transactions.ts:4](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L4) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[api/chain/transactions.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L53) +[src/api/chain/transactions.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L53) diff --git a/docs/sdk/reference/interfaces/VoteEnvelope.md b/docs/sdk/reference/interfaces/VoteEnvelope.md index 21f190841..d98790d07 100644 --- a/docs/sdk/reference/interfaces/VoteEnvelope.md +++ b/docs/sdk/reference/interfaces/VoteEnvelope.md @@ -23,7 +23,7 @@ On encrypted votes, contains the (sorted) indexes of the keys used to encrypt #### Defined in -[api/chain/transactions.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L80) +[src/api/chain/transactions.ts:80](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L80) ___ @@ -35,7 +35,7 @@ Unique number per vote attempt, so that replay attacks can't reuse this payload #### Defined in -[api/chain/transactions.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L60) +[src/api/chain/transactions.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L60) ___ @@ -47,7 +47,7 @@ Hash of the private key + processId #### Defined in -[api/chain/transactions.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L76) +[src/api/chain/transactions.ts:76](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L76) ___ @@ -59,7 +59,7 @@ The process for which the vote is casted #### Defined in -[api/chain/transactions.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L64) +[src/api/chain/transactions.ts:64](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L64) ___ @@ -71,7 +71,7 @@ Franchise proof #### Defined in -[api/chain/transactions.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L68) +[src/api/chain/transactions.ts:68](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L68) ___ @@ -83,4 +83,4 @@ JSON string of the Vote Package (potentially encrypted), encoded as bytes. #### Defined in -[api/chain/transactions.ts:72](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain/transactions.ts#L72) +[src/api/chain/transactions.ts:72](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain/transactions.ts#L72) diff --git a/docs/sdk/reference/interfaces/VotesList.md b/docs/sdk/reference/interfaces/VotesList.md new file mode 100644 index 000000000..25bad9774 --- /dev/null +++ b/docs/sdk/reference/interfaces/VotesList.md @@ -0,0 +1,27 @@ +[@vocdoni/sdk](/sdk) / VotesList + +# Interface: VotesList + +## Hierarchy + +- **`VotesList`** + + ↳ [`IVoteListResponse`](IVoteListResponse) + +## Table of contents + +### Properties + +- [votes](VotesList#votes) + +## Properties + +### votes + +• **votes**: [`VoteSummary`](../sdk-reference#votesummary)[] + +The list of votes + +#### Defined in + +[src/api/vote.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L49) diff --git a/docs/sdk/reference/sdk-reference.md b/docs/sdk/reference/sdk-reference.md index 60971d85e..3a3036682 100644 --- a/docs/sdk/reference/sdk-reference.md +++ b/docs/sdk/reference/sdk-reference.md @@ -4,6 +4,7 @@ ### Classes +- [API](classes/API) - [Account](classes/Account) - [AccountAPI](classes/AccountAPI) - [AccountService](classes/AccountService) @@ -19,6 +20,7 @@ - [Census3TokenAPI](classes/Census3TokenAPI) - [CensusAPI](classes/CensusAPI) - [CensusService](classes/CensusService) +- [CensusStillNotPublished](classes/CensusStillNotPublished) - [ChainAPI](classes/ChainAPI) - [ChainService](classes/ChainService) - [CspAPI](classes/CspAPI) @@ -28,6 +30,100 @@ - [Election](classes/Election) - [ElectionAPI](classes/ElectionAPI) - [ElectionService](classes/ElectionService) +- [ErrAPI](classes/ErrAPI) +- [ErrAccountAlreadyExists](classes/ErrAccountAlreadyExists) +- [ErrAccountNotFound](classes/ErrAccountNotFound) +- [ErrAddressMalformed](classes/ErrAddressMalformed) +- [ErrBlockNotFound](classes/ErrBlockNotFound) +- [ErrCantABIEncodeResults](classes/ErrCantABIEncodeResults) +- [ErrCantAddKeyAndValueToTree](classes/ErrCantAddKeyAndValueToTree) +- [ErrCantAddKeyToTree](classes/ErrCantAddKeyToTree) +- [ErrCantCheckTxType](classes/ErrCantCheckTxType) +- [ErrCantComputeKeyHash](classes/ErrCantComputeKeyHash) +- [ErrCantCountVotes](classes/ErrCantCountVotes) +- [ErrCantEstimateBlockHeight](classes/ErrCantEstimateBlockHeight) +- [ErrCantExtractMetadataURI](classes/ErrCantExtractMetadataURI) +- [ErrCantFetchElection](classes/ErrCantFetchElection) +- [ErrCantFetchEnvelope](classes/ErrCantFetchEnvelope) +- [ErrCantFetchEnvelopeHeight](classes/ErrCantFetchEnvelopeHeight) +- [ErrCantFetchTokenFees](classes/ErrCantFetchTokenFees) +- [ErrCantFetchTokenTransfers](classes/ErrCantFetchTokenTransfers) +- [ErrCantGenerateFaucetPkg](classes/ErrCantGenerateFaucetPkg) +- [ErrCantGetCircomSiblings](classes/ErrCantGetCircomSiblings) +- [ErrCantMarshalMetadata](classes/ErrCantMarshalMetadata) +- [ErrCantParseAccountID](classes/ErrCantParseAccountID) +- [ErrCantParseBearerToken](classes/ErrCantParseBearerToken) +- [ErrCantParseBoolean](classes/ErrCantParseBoolean) +- [ErrCantParseDataAsJSON](classes/ErrCantParseDataAsJSON) +- [ErrCantParseElectionID](classes/ErrCantParseElectionID) +- [ErrCantParseHexString](classes/ErrCantParseHexString) +- [ErrCantParseMetadataAsJSON](classes/ErrCantParseMetadataAsJSON) +- [ErrCantParseNumber](classes/ErrCantParseNumber) +- [ErrCantParseOrgID](classes/ErrCantParseOrgID) +- [ErrCantParsePayloadAsJSON](classes/ErrCantParsePayloadAsJSON) +- [ErrCantParseVoteID](classes/ErrCantParseVoteID) +- [ErrCantPublishMetadata](classes/ErrCantPublishMetadata) +- [ErrCensusBuild](classes/ErrCensusBuild) +- [ErrCensusIDLengthInvalid](classes/ErrCensusIDLengthInvalid) +- [ErrCensusIndexedFlagMismatch](classes/ErrCensusIndexedFlagMismatch) +- [ErrCensusNotFound](classes/ErrCensusNotFound) +- [ErrCensusProofVerificationFailed](classes/ErrCensusProofVerificationFailed) +- [ErrCensusRootHashMismatch](classes/ErrCensusRootHashMismatch) +- [ErrCensusRootIsNil](classes/ErrCensusRootIsNil) +- [ErrCensusTypeMismatch](classes/ErrCensusTypeMismatch) +- [ErrCensusTypeUnknown](classes/ErrCensusTypeUnknown) +- [ErrDstAccountUnknown](classes/ErrDstAccountUnknown) +- [ErrDstAddressMalformed](classes/ErrDstAddressMalformed) +- [ErrElectionEndDateBeforeStart](classes/ErrElectionEndDateBeforeStart) +- [ErrElectionEndDateInThePast](classes/ErrElectionEndDateInThePast) +- [ErrElectionFinished](classes/ErrElectionFinished) +- [ErrElectionIsNil](classes/ErrElectionIsNil) +- [ErrElectionNotFound](classes/ErrElectionNotFound) +- [ErrElectionNotStarted](classes/ErrElectionNotStarted) +- [ErrElectionResultsIsNil](classes/ErrElectionResultsIsNil) +- [ErrElectionResultsMismatch](classes/ErrElectionResultsMismatch) +- [ErrElectionResultsNotYetAvailable](classes/ErrElectionResultsNotYetAvailable) +- [ErrFaucetAlreadyFunded](classes/ErrFaucetAlreadyFunded) +- [ErrFileSizeTooBig](classes/ErrFileSizeTooBig) +- [ErrGettingSIK](classes/ErrGettingSIK) +- [ErrIndexedCensusCantUseWeight](classes/ErrIndexedCensusCantUseWeight) +- [ErrIndexerQueryFailed](classes/ErrIndexerQueryFailed) +- [ErrInvalidCensusKeyLength](classes/ErrInvalidCensusKeyLength) +- [ErrInvalidStatus](classes/ErrInvalidStatus) +- [ErrKeyNotFoundInCensus](classes/ErrKeyNotFoundInCensus) +- [ErrMarshalingJSONFailed](classes/ErrMarshalingJSONFailed) +- [ErrMarshalingServerJSONFailed](classes/ErrMarshalingServerJSONFailed) +- [ErrMarshalingServerProto](classes/ErrMarshalingServerProto) +- [ErrMetadataProvidedButNoURI](classes/ErrMetadataProvidedButNoURI) +- [ErrMetadataURINotMatchContent](classes/ErrMetadataURINotMatchContent) +- [ErrMissingParameter](classes/ErrMissingParameter) +- [ErrNoElectionKeys](classes/ErrNoElectionKeys) +- [ErrOrgNotFound](classes/ErrOrgNotFound) +- [ErrPageNotFound](classes/ErrPageNotFound) +- [ErrParamDumpOrRootMissing](classes/ErrParamDumpOrRootMissing) +- [ErrParamKeyOrProofMissing](classes/ErrParamKeyOrProofMissing) +- [ErrParamNetworkInvalid](classes/ErrParamNetworkInvalid) +- [ErrParamParticipantsMissing](classes/ErrParamParticipantsMissing) +- [ErrParamParticipantsTooBig](classes/ErrParamParticipantsTooBig) +- [ErrParamRootInvalid](classes/ErrParamRootInvalid) +- [ErrParamStatusInvalid](classes/ErrParamStatusInvalid) +- [ErrParamToInvalid](classes/ErrParamToInvalid) +- [ErrParticipantKeyMissing](classes/ErrParticipantKeyMissing) +- [ErrSIKNotFound](classes/ErrSIKNotFound) +- [ErrTransactionNotFound](classes/ErrTransactionNotFound) +- [ErrTxTypeMismatch](classes/ErrTxTypeMismatch) +- [ErrUnmarshalingServerProto](classes/ErrUnmarshalingServerProto) +- [ErrVochainEmptyReply](classes/ErrVochainEmptyReply) +- [ErrVochainGetTxFailed](classes/ErrVochainGetTxFailed) +- [ErrVochainOverloaded](classes/ErrVochainOverloaded) +- [ErrVochainReturnedErrorCode](classes/ErrVochainReturnedErrorCode) +- [ErrVochainReturnedInvalidElectionID](classes/ErrVochainReturnedInvalidElectionID) +- [ErrVochainReturnedWrongMetadataCID](classes/ErrVochainReturnedWrongMetadataCID) +- [ErrVochainSendTxFailed](classes/ErrVochainSendTxFailed) +- [ErrVoteIDMalformed](classes/ErrVoteIDMalformed) +- [ErrVoteNotFound](classes/ErrVoteNotFound) +- [ErrWalletNotFound](classes/ErrWalletNotFound) +- [ErrWalletPrivKeyAlreadyExists](classes/ErrWalletPrivKeyAlreadyExists) - [FaucetAPI](classes/FaucetAPI) - [FaucetService](classes/FaucetService) - [FileAPI](classes/FileAPI) @@ -58,10 +154,16 @@ - [CircuitInputs](interfaces/CircuitInputs) - [CollectFaucetTx](interfaces/CollectFaucetTx) - [ElectionMetadata](interfaces/ElectionMetadata) +- [FetchAccountsParameters](interfaces/FetchAccountsParameters) - [FetchElectionsParameters](interfaces/FetchElectionsParameters) +- [FetchFeesParameters](interfaces/FetchFeesParameters) +- [FetchOrganizationParameters](interfaces/FetchOrganizationParameters) +- [FetchTransactionsParameters](interfaces/FetchTransactionsParameters) +- [FetchTransfersParameters](interfaces/FetchTransfersParameters) +- [FetchVotesParameters](interfaces/FetchVotesParameters) - [IAccount](interfaces/IAccount) -- [IAccountTransfersCountResponse](interfaces/IAccountTransfersCountResponse) -- [IAccountsCountResponse](interfaces/IAccountsCountResponse) +- [IAccountInfoResponse](interfaces/IAccountInfoResponse) +- [IAccountsList](interfaces/IAccountsList) - [IAccountsListResponse](interfaces/IAccountsListResponse) - [IApprovalElectionParameters](interfaces/IApprovalElectionParameters) - [IBlockTransactionsResponse](interfaces/IBlockTransactionsResponse) @@ -79,8 +181,7 @@ - [ICensus3StrategiesOperatorsResponse](interfaces/ICensus3StrategiesOperatorsResponse) - [ICensus3StrategyCreateResponse](interfaces/ICensus3StrategyCreateResponse) - [ICensus3StrategyEstimationQueueResponse](interfaces/ICensus3StrategyEstimationQueueResponse) -- [ICensus3StrategyHoldersResponse](interfaces/ICensus3StrategyHoldersResponse) -- [ICensus3StrategyHoldersResponsePaginated](interfaces/ICensus3StrategyHoldersResponsePaginated) +- [ICensus3StrategyHoldersQueueResponse](interfaces/ICensus3StrategyHoldersQueueResponse) - [ICensus3StrategyImportQueueResponse](interfaces/ICensus3StrategyImportQueueResponse) - [ICensus3StrategyToken](interfaces/ICensus3StrategyToken) - [ICensus3SupportedChain](interfaces/ICensus3SupportedChain) @@ -95,17 +196,19 @@ - [ICensusImportResponse](interfaces/ICensusImportResponse) - [ICensusParticipant](interfaces/ICensusParticipant) - [ICensusProofResponse](interfaces/ICensusProofResponse) +- [ICensusPublishAsyncResponse](interfaces/ICensusPublishAsyncResponse) - [ICensusPublishResponse](interfaces/ICensusPublishResponse) - [IChainBlockInfoResponse](interfaces/IChainBlockInfoResponse) - [IChainFeesListResponse](interfaces/IChainFeesListResponse) - [IChainGetCircuitResponse](interfaces/IChainGetCircuitResponse) - [IChainGetCostsResponse](interfaces/IChainGetCostsResponse) - [IChainGetInfoResponse](interfaces/IChainGetInfoResponse) -- [IChainOrganizationCountResponse](interfaces/IChainOrganizationCountResponse) - [IChainOrganizationListResponse](interfaces/IChainOrganizationListResponse) - [IChainOrganizationResponse](interfaces/IChainOrganizationResponse) - [IChainSubmitTxResponse](interfaces/IChainSubmitTxResponse) -- [IChainTxCountResponse](interfaces/IChainTxCountResponse) +- [IChainTransfersList](interfaces/IChainTransfersList) +- [IChainTransfersListResponse](interfaces/IChainTransfersListResponse) +- [IChainTxList](interfaces/IChainTxList) - [IChainTxListResponse](interfaces/IChainTxListResponse) - [IChainTxReference](interfaces/IChainTxReference) - [IChainValidator](interfaces/IChainValidator) @@ -119,23 +222,23 @@ - [IElectionCreateResponse](interfaces/IElectionCreateResponse) - [IElectionInfoResponse](interfaces/IElectionInfoResponse) - [IElectionKeysResponse](interfaces/IElectionKeysResponse) -- [IElectionListFilter](interfaces/IElectionListFilter) +- [IElectionList](interfaces/IElectionList) - [IElectionListResponse](interfaces/IElectionListResponse) - [IElectionMode](interfaces/IElectionMode) - [IElectionNextIdResponse](interfaces/IElectionNextIdResponse) - [IElectionParameters](interfaces/IElectionParameters) - [IElectionSummary](interfaces/IElectionSummary) - [IElectionType](interfaces/IElectionType) -- [IElectionVote](interfaces/IElectionVote) -- [IElectionVoteListResponse](interfaces/IElectionVoteListResponse) - [IEncryptionKey](interfaces/IEncryptionKey) +- [IFeesList](interfaces/IFeesList) - [IInvalidElectionParameters](interfaces/IInvalidElectionParameters) - [IMultiChoiceElectionParameters](interfaces/IMultiChoiceElectionParameters) - [IPublishedElectionParameters](interfaces/IPublishedElectionParameters) - [IQuestion](interfaces/IQuestion) - [ITallyMode](interfaces/ITallyMode) +- [ITransfer](interfaces/ITransfer) - [IVoteEncryptedPackage](interfaces/IVoteEncryptedPackage) -- [IVoteInfoResponse](interfaces/IVoteInfoResponse) +- [IVoteListResponse](interfaces/IVoteListResponse) - [IVoteMode](interfaces/IVoteMode) - [IVotePackage](interfaces/IVotePackage) - [IVoteSubmitResponse](interfaces/IVoteSubmitResponse) @@ -144,6 +247,8 @@ - [IZkSIKResponse](interfaces/IZkSIKResponse) - [MintTokensTx](interfaces/MintTokensTx) - [NewProcessTx](interfaces/NewProcessTx) +- [OrganizationList](interfaces/OrganizationList) +- [PaginationResponse](interfaces/PaginationResponse) - [Process](interfaces/Process) - [Proof](interfaces/Proof) - [RegisterKeyTx](interfaces/RegisterKeyTx) @@ -154,6 +259,7 @@ - [SetTransactionCostsTx](interfaces/SetTransactionCostsTx) - [Tx](interfaces/Tx) - [VoteEnvelope](interfaces/VoteEnvelope) +- [VotesList](interfaces/VotesList) ### Enumerations @@ -206,16 +312,26 @@ - [ElectionCreationStepValue](sdk-reference#electioncreationstepvalue) - [ElectionIdOption](sdk-reference#electionidoption) - [ElectionKeys](sdk-reference#electionkeys) +- [ElectionList](sdk-reference#electionlist) +- [ElectionListWithPagination](sdk-reference#electionlistwithpagination) - [ElectionMeta](sdk-reference#electionmeta) - [ElectionResultsType](sdk-reference#electionresultstype) - [FaucetOptions](sdk-reference#faucetoptions) - [FaucetPackage](sdk-reference#faucetpackage) - [Fee](sdk-reference#fee) +- [FetchAccountsParametersWithPagination](sdk-reference#fetchaccountsparameterswithpagination) +- [FetchElectionsParametersWithPagination](sdk-reference#fetchelectionsparameterswithpagination) +- [FetchFeesParametersWithPagination](sdk-reference#fetchfeesparameterswithpagination) +- [FetchOrganizationParametersWithPagination](sdk-reference#fetchorganizationparameterswithpagination) +- [FetchTransactionsParametersWithPagination](sdk-reference#fetchtransactionsparameterswithpagination) +- [FetchTransfersParametersWithPagination](sdk-reference#fetchtransfersparameterswithpagination) +- [FetchVotesParametersWithPagination](sdk-reference#fetchvotesparameterswithpagination) - [HasAlreadyVotedOptions](sdk-reference#hasalreadyvotedoptions) - [IAccountSummary](sdk-reference#iaccountsummary) - [IBudgetElectionParameters](sdk-reference#ibudgetelectionparameters) - [IsAbleToVoteOptions](sdk-reference#isabletovoteoptions) - [IsInCensusOptions](sdk-reference#isincensusoptions) +- [PaginationRequest](sdk-reference#paginationrequest) - [ParsedPredicate](sdk-reference#parsedpredicate) - [SendTokensOptions](sdk-reference#sendtokensoptions) - [Strategy](sdk-reference#strategy) @@ -229,8 +345,10 @@ - [TxWaitOptions](sdk-reference#txwaitoptions) - [VoteIdOption](sdk-reference#voteidoption) - [VoteInfo](sdk-reference#voteinfo) +- [VoteInfoResponse](sdk-reference#voteinforesponse) - [VoteStepValue](sdk-reference#votestepvalue) - [VoteSubmit](sdk-reference#votesubmit) +- [VoteSummary](sdk-reference#votesummary) - [VotesLeftCountOptions](sdk-reference#votesleftcountoptions) - [WalletOption](sdk-reference#walletoption) - [ZkProof](sdk-reference#zkproof) @@ -262,7 +380,7 @@ have hex prefix and are lowercase. #### Defined in -[util/common.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L35) +[src/util/common.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L35) ___ @@ -285,7 +403,7 @@ Throws an exception if it is not. #### Defined in -[types/metadata/account.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L8) +[src/types/metadata/account.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L8) ___ @@ -308,7 +426,7 @@ Throws an exception if it is not. #### Defined in -[types/metadata/election.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L8) +[src/types/metadata/election.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L8) ___ @@ -328,7 +446,7 @@ ___ #### Defined in -[util/common.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L6) +[src/util/common.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L6) ___ @@ -354,7 +472,7 @@ Return the object data #### Defined in -[util/common.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L60) +[src/util/common.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L60) ___ @@ -374,7 +492,7 @@ ___ #### Defined in -[util/common.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L12) +[src/util/common.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L12) ___ @@ -399,7 +517,7 @@ The formatted string #### Defined in -[util/common.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L48) +[src/util/common.ts:48](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L48) ___ @@ -419,7 +537,7 @@ ___ #### Defined in -[util/common.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L16) +[src/util/common.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L16) ___ @@ -435,7 +553,7 @@ Generates a random seed and returns a 32 byte keccak256 hash of it (starting wit #### Defined in -[util/common.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L23) +[src/util/common.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L23) ___ @@ -455,29 +573,17 @@ ___ #### Defined in -[util/common.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/util/common.ts#L8) +[src/util/common.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/util/common.ts#L8) ## Type Aliases ### AccountData -Ƭ **AccountData**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `account` | [`Account`](classes/Account) | -| `address` | `string` | -| `balance` | `number` | -| `electionIndex` | `number` | -| `infoURL?` | `string` | -| `nonce` | `number` | -| `sik?` | `string` | +Ƭ **AccountData**: \{ `account`: [`Account`](classes/Account.md) } & `Pick`\<[`IAccountInfoResponse`](interfaces/IAccountInfoResponse), ``"address"`` \| ``"balance"`` \| ``"nonce"`` \| ``"electionIndex"`` \| ``"infoURI"`` \| ``"sik"`` \| ``"transfersCount"`` \| ``"feesCount"``\> #### Defined in -[services/account.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L25) +[src/services/account.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L29) ___ @@ -487,7 +593,7 @@ ___ #### Defined in -[types/election/published.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/published.ts#L24) +[src/types/election/published.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/published.ts#L24) ___ @@ -497,7 +603,7 @@ ___ #### Defined in -[services/account.ts:35](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/account.ts#L35) +[src/services/account.ts:36](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L36) ___ @@ -507,7 +613,7 @@ ___ #### Defined in -[census3.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L31) +[src/census3.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L29) ___ @@ -517,7 +623,7 @@ ___ #### Defined in -[api/census3/strategy.ts:105](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L105) +[src/api/census3/strategy.ts:92](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L92) ___ @@ -537,7 +643,7 @@ ___ #### Defined in -[api/census3/strategy.ts:46](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L46) +[src/api/census3/strategy.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L33) ___ @@ -558,7 +664,7 @@ ___ #### Defined in -[api/census3/strategy.ts:73](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/strategy.ts#L73) +[src/api/census3/strategy.ts:60](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/strategy.ts#L60) ___ @@ -568,7 +674,7 @@ ___ #### Defined in -[api/census3/token.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L12) +[src/api/census3/token.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L12) ___ @@ -601,7 +707,7 @@ ___ #### Defined in -[api/census3/token.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/census3/token.ts#L14) +[src/api/census3/token.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/census3/token.ts#L14) ___ @@ -620,7 +726,7 @@ ___ #### Defined in -[services/census.ts:42](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L42) +[src/services/census.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L49) ___ @@ -641,7 +747,7 @@ ___ #### Defined in -[services/census.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L26) +[src/services/census.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L33) ___ @@ -665,7 +771,7 @@ ___ #### Defined in -[services/anonymous.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L51) +[src/services/anonymous.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L51) ___ @@ -675,7 +781,7 @@ ___ #### Defined in -[services/chain.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L14) +[src/services/chain.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L14) ___ @@ -695,7 +801,7 @@ ___ #### Defined in -[services/chain.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L29) +[src/services/chain.ts:54](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L54) ___ @@ -705,7 +811,7 @@ ___ #### Defined in -[services/chain.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L15) +[src/services/chain.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L15) ___ @@ -720,6 +826,7 @@ Optional VocdoniSDKClient arguments | Name | Type | | :------ | :------ | | `api_url?` | `string` | +| `census?` | `CensusOptions` | | `electionId?` | `string` | | `env` | [`EnvOptions`](enums/EnvOptions) | | `faucet?` | `Partial`\<[`FaucetOptions`](sdk-reference#faucetoptions)\> | @@ -728,7 +835,7 @@ Optional VocdoniSDKClient arguments #### Defined in -[client.ts:86](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/client.ts#L86) +[src/client.ts:109](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/client.ts#L109) ___ @@ -748,7 +855,7 @@ ___ #### Defined in -[services/census.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/census.ts#L56) +[src/services/census.ts:63](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/census.ts#L63) ___ @@ -758,7 +865,7 @@ ___ #### Defined in -[services/election.ts:38](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L38) +[src/services/election.ts:56](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L56) ___ @@ -768,7 +875,7 @@ ___ #### Defined in -[services/election.ts:51](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L51) +[src/services/election.ts:69](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L69) ___ @@ -784,7 +891,7 @@ ___ #### Defined in -[types/client/account.ts:5](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L5) +[src/types/client/account.ts:5](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L5) ___ @@ -794,7 +901,27 @@ ___ #### Defined in -[services/election.ts:37](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/election.ts#L37) +[src/services/election.ts:55](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L55) + +___ + +### ElectionList + +Ƭ **ElectionList**: ([`PublishedElection`](classes/PublishedElection.md) \| [`ArchivedElection`](classes/ArchivedElection.md) \| [`InvalidElection`](classes/InvalidElection))[] + +#### Defined in + +[src/services/election.ts:52](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L52) + +___ + +### ElectionListWithPagination + +Ƭ **ElectionListWithPagination**: \{ `elections`: [`ElectionList`](sdk-reference.md#electionlist) } & [`PaginationResponse`](interfaces/PaginationResponse) + +#### Defined in + +[src/services/election.ts:53](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L53) ___ @@ -804,7 +931,7 @@ ___ #### Defined in -[types/election/election.ts:114](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/election.ts#L114) +[src/types/election/election.ts:114](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/election.ts#L114) ___ @@ -814,7 +941,7 @@ ___ #### Defined in -[types/metadata/election.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L44) +[src/types/metadata/election.ts:44](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L44) ___ @@ -824,7 +951,7 @@ ___ #### Defined in -[services/faucet.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/faucet.ts#L28) +[src/services/faucet.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/faucet.ts#L28) ___ @@ -841,7 +968,7 @@ ___ #### Defined in -[services/faucet.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/faucet.ts#L23) +[src/services/faucet.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/faucet.ts#L23) ___ @@ -862,7 +989,77 @@ ___ #### Defined in -[api/chain.ts:357](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/chain.ts#L357) +[src/api/chain.ts:393](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/chain.ts#L393) + +___ + +### FetchAccountsParametersWithPagination + +Ƭ **FetchAccountsParametersWithPagination**: [`FetchAccountsParameters`](interfaces/FetchAccountsParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/account.ts:14](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/account.ts#L14) + +___ + +### FetchElectionsParametersWithPagination + +Ƭ **FetchElectionsParametersWithPagination**: [`FetchElectionsParameters`](interfaces/FetchElectionsParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/election.ts:41](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/election.ts#L41) + +___ + +### FetchFeesParametersWithPagination + +Ƭ **FetchFeesParametersWithPagination**: [`FetchFeesParameters`](interfaces/FetchFeesParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/chain.ts:18](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L18) + +___ + +### FetchOrganizationParametersWithPagination + +Ƭ **FetchOrganizationParametersWithPagination**: [`FetchOrganizationParameters`](interfaces/FetchOrganizationParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/chain.ts:17](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L17) + +___ + +### FetchTransactionsParametersWithPagination + +Ƭ **FetchTransactionsParametersWithPagination**: [`FetchTransactionsParameters`](interfaces/FetchTransactionsParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/chain.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L19) + +___ + +### FetchTransfersParametersWithPagination + +Ƭ **FetchTransfersParametersWithPagination**: [`FetchTransfersParameters`](interfaces/FetchTransfersParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/chain.ts:20](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L20) + +___ + +### FetchVotesParametersWithPagination + +Ƭ **FetchVotesParametersWithPagination**: [`FetchVotesParameters`](interfaces/FetchVotesParameters.md) & [`PaginationRequest`](sdk-reference#paginationrequest) + +#### Defined in + +[src/services/vote.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L15) ___ @@ -872,17 +1069,17 @@ ___ #### Defined in -[types/client/account.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L10) +[src/types/client/account.ts:10](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L10) ___ ### IAccountSummary -Ƭ **IAccountSummary**: `Pick`\<`IAccountInfoResponse`, ``"address"`` \| ``"balance"`` \| ``"nonce"``\> +Ƭ **IAccountSummary**: `Pick`\<[`IAccountInfoResponse`](interfaces/IAccountInfoResponse), ``"address"`` \| ``"balance"`` \| ``"nonce"``\> #### Defined in -[api/account.ts:19](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/api/account.ts#L19) +[src/api/account.ts:13](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/account.ts#L13) ___ @@ -892,7 +1089,7 @@ ___ #### Defined in -[types/election/budget.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/election/budget.ts#L21) +[src/types/election/budget.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/election/budget.ts#L21) ___ @@ -902,7 +1099,7 @@ ___ #### Defined in -[types/client/account.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L12) +[src/types/client/account.ts:12](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L12) ___ @@ -912,7 +1109,24 @@ ___ #### Defined in -[types/client/account.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L9) +[src/types/client/account.ts:9](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L9) + +___ + +### PaginationRequest + +Ƭ **PaginationRequest**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `limit` | `number` | +| `page` | `number` | + +#### Defined in + +[src/api/api.ts:107](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/api.ts#L107) ___ @@ -922,7 +1136,7 @@ ___ #### Defined in -[census3.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L34) +[src/census3.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L32) ___ @@ -932,7 +1146,7 @@ ___ #### Defined in -[types/client/account.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L8) +[src/types/client/account.ts:8](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L8) ___ @@ -942,7 +1156,7 @@ ___ #### Defined in -[census3.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L27) +[src/census3.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L25) ___ @@ -959,24 +1173,17 @@ ___ #### Defined in -[census3.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L28) +[src/census3.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L26) ___ ### StrategyHolders -Ƭ **StrategyHolders**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `holders` | [`StrategyHolder`](sdk-reference#strategyholder)[] | -| `pagination` | `Census3Pagination` | +Ƭ **StrategyHolders**: [`StrategyHolder`](sdk-reference#strategyholder)[] #### Defined in -[census3.ts:29](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L29) +[src/census3.ts:27](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L27) ___ @@ -986,7 +1193,7 @@ ___ #### Defined in -[census3.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L30) +[src/census3.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L28) ___ @@ -996,7 +1203,7 @@ ___ #### Defined in -[census3.ts:32](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L32) +[src/census3.ts:30](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L30) ___ @@ -1006,7 +1213,7 @@ ___ #### Defined in -[census3.ts:33](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L33) +[src/census3.ts:31](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L31) ___ @@ -1016,7 +1223,7 @@ ___ #### Defined in -[census3.ts:25](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L25) +[src/census3.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L23) ___ @@ -1026,7 +1233,7 @@ ___ #### Defined in -[census3.ts:26](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/census3.ts#L26) +[src/census3.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/census3.ts#L24) ___ @@ -1045,7 +1252,7 @@ Specify custom retry times and attempts when waiting for a transaction. #### Defined in -[services/chain.ts:24](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/chain.ts#L24) +[src/services/chain.ts:49](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/chain.ts#L49) ___ @@ -1061,17 +1268,43 @@ ___ #### Defined in -[types/client/account.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L6) +[src/types/client/account.ts:6](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L6) ___ ### VoteInfo -Ƭ **VoteInfo**: [`IVoteInfoResponse`](interfaces/IVoteInfoResponse) +Ƭ **VoteInfo**: [`VoteInfoResponse`](sdk-reference#voteinforesponse) + +#### Defined in + +[src/services/vote.ts:21](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L21) + +___ + +### VoteInfoResponse + +Ƭ **VoteInfoResponse**: `Object` + +#### Type declaration + +| Name | Type | Description | +| :------ | :------ | :------ | +| `blockHeight` | `number` | The block number where the transaction is mined. | +| `date` | `string` | Date when the vote was emitted | +| `electionID` | `string` | The identifier of the election. | +| `encryptionKeys?` | `number`[] | Encryption key indexes used | +| `overwriteCount` | `number` | The number of votes overwrites. | +| `package` | [`IVotePackage`](interfaces/IVotePackage.md) \| [`IVoteEncryptedPackage`](interfaces/IVoteEncryptedPackage) | The vote package. | +| `transactionIndex` | `number` | The index inside the block where the transaction is mined. | +| `txHash` | `string` | The hash of the transaction | +| `voteID` | `string` | The identifier of the vote, also called nullifier. | +| `voterID` | `string` | The identifier of the voter. | +| `weight` | `string` | The weight of the vote. | #### Defined in -[services/vote.ts:15](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L15) +[src/api/vote.ts:57](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L57) ___ @@ -1081,7 +1314,7 @@ ___ #### Defined in -[services/vote.ts:28](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L28) +[src/services/vote.ts:34](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L34) ___ @@ -1091,7 +1324,17 @@ ___ #### Defined in -[services/vote.ts:16](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/vote.ts#L16) +[src/services/vote.ts:22](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/vote.ts#L22) + +___ + +### VoteSummary + +Ƭ **VoteSummary**: `Pick`\<[`VoteInfoResponse`](sdk-reference#voteinforesponse), ``"txHash"`` \| ``"voteID"`` \| ``"voterID"`` \| ``"electionID"`` \| ``"blockHeight"`` \| ``"transactionIndex"``\> + +#### Defined in + +[src/api/vote.ts:52](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/api/vote.ts#L52) ___ @@ -1101,7 +1344,7 @@ ___ #### Defined in -[types/client/account.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L11) +[src/types/client/account.ts:11](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L11) ___ @@ -1117,7 +1360,7 @@ ___ #### Defined in -[types/client/account.ts:4](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/client/account.ts#L4) +[src/types/client/account.ts:4](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/client/account.ts#L4) ___ @@ -1139,7 +1382,7 @@ ___ #### Defined in -[services/anonymous.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/services/anonymous.ts#L23) +[src/services/anonymous.ts:23](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/services/anonymous.ts#L23) ## Variables @@ -1149,7 +1392,7 @@ ___ #### Defined in -[types/metadata/account.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/account.ts#L67) +[src/types/metadata/account.ts:67](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/account.ts#L67) ___ @@ -1159,4 +1402,4 @@ ___ #### Defined in -[types/metadata/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/2ec9544f0d792289a6e591f4f269c47a23ca40a1/src/types/metadata/election.ts#L140) +[src/types/metadata/election.ts:140](https://github.com/vocdoni/vocdoni-sdk/blob/ef8eebceabb8466129f955c031c0cc00a8dcbb9b/src/types/metadata/election.ts#L140)