Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Models/AuthSpec_oneOf_2.md
Models/AuthSpec_oneOf_3.md
Models/AwsKmsSignerRequestConfig.md
Models/BalanceResponse.md
Models/CdpSignerRequestConfig.md
Models/ContractSource.md
Models/ContractSource_oneOf.md
Models/ContractSource_oneOf_1.md
Expand Down Expand Up @@ -135,6 +136,7 @@ Models/SignerConfigResponse_oneOf_1.md
Models/SignerConfigResponse_oneOf_2.md
Models/SignerConfigResponse_oneOf_3.md
Models/SignerConfigResponse_oneOf_4.md
Models/SignerConfigResponse_oneOf_5.md
Models/SignerCreateRequest.md
Models/SignerResponse.md
Models/SignerType.md
Expand Down
6 changes: 3 additions & 3 deletions docs/Models/ApiResponse_TransactionResponse_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
| **data** | **String** | | [optional] [default to null] |
| **from** | **String** | | [default to null] |
| **gas\_limit** | **Long** | | [optional] [default to null] |
| **gas\_price** | **Integer** | | [optional] [default to null] |
| **gas\_price** | **String** | | [optional] [default to null] |
| **hash** | **String** | | [optional] [default to null] |
| **id** | **String** | | [default to null] |
| **max\_fee\_per\_gas** | **Integer** | | [optional] [default to null] |
| **max\_priority\_fee\_per\_gas** | **Integer** | | [optional] [default to null] |
| **max\_fee\_per\_gas** | **String** | | [optional] [default to null] |
| **max\_priority\_fee\_per\_gas** | **String** | | [optional] [default to null] |
| **nonce** | **Long** | | [optional] [default to null] |
| **relayer\_id** | **String** | | [default to null] |
| **sent\_at** | **String** | | [optional] [default to null] |
Expand Down
12 changes: 12 additions & 0 deletions docs/Models/CdpSignerRequestConfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# CdpSignerRequestConfig
## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| **account\_address** | **String** | | [default to null] |
| **api\_key\_id** | **String** | | [default to null] |
| **api\_key\_secret** | **String** | | [default to null] |
| **wallet\_secret** | **String** | | [default to null] |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

6 changes: 3 additions & 3 deletions docs/Models/EvmTransactionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
| **data** | **String** | | [optional] [default to null] |
| **from** | **String** | | [default to null] |
| **gas\_limit** | **Long** | | [optional] [default to null] |
| **gas\_price** | **Integer** | | [optional] [default to null] |
| **gas\_price** | **String** | | [optional] [default to null] |
| **hash** | **String** | | [optional] [default to null] |
| **id** | **String** | | [default to null] |
| **max\_fee\_per\_gas** | **Integer** | | [optional] [default to null] |
| **max\_priority\_fee\_per\_gas** | **Integer** | | [optional] [default to null] |
| **max\_fee\_per\_gas** | **String** | | [optional] [default to null] |
| **max\_priority\_fee\_per\_gas** | **String** | | [optional] [default to null] |
| **nonce** | **Long** | | [optional] [default to null] |
| **relayer\_id** | **String** | | [default to null] |
| **sent\_at** | **String** | | [optional] [default to null] |
Expand Down
4 changes: 4 additions & 0 deletions docs/Models/SignerConfigRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
| **organization\_id** | **String** | | [default to null] |
| **private\_key\_id** | **String** | | [default to null] |
| **public\_key** | **String** | | [default to null] |
| **account\_address** | **String** | | [default to null] |
| **api\_key\_id** | **String** | | [default to null] |
| **api\_key\_secret** | **String** | | [default to null] |
| **wallet\_secret** | **String** | | [default to null] |
| **service\_account** | [**GoogleCloudKmsSignerServiceAccountRequestConfig**](GoogleCloudKmsSignerServiceAccountRequestConfig.md) | | [default to null] |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 2 additions & 0 deletions docs/Models/SignerConfigResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
| **organization\_id** | **String** | | [default to null] |
| **private\_key\_id** | **String** | | [default to null] |
| **public\_key** | **String** | | [default to null] |
| **account\_address** | **String** | | [default to null] |
| **api\_key\_id** | **String** | | [default to null] |
| **key** | [**GoogleCloudKmsSignerKeyResponseConfig**](GoogleCloudKmsSignerKeyResponseConfig.md) | | [default to null] |
| **service\_account** | [**GoogleCloudKmsSignerServiceAccountResponseConfig**](GoogleCloudKmsSignerServiceAccountResponseConfig.md) | | [default to null] |

Expand Down
4 changes: 2 additions & 2 deletions docs/Models/SignerConfigResponse_oneOf_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| **key** | [**GoogleCloudKmsSignerKeyResponseConfig**](GoogleCloudKmsSignerKeyResponseConfig.md) | | [default to null] |
| **service\_account** | [**GoogleCloudKmsSignerServiceAccountResponseConfig**](GoogleCloudKmsSignerServiceAccountResponseConfig.md) | | [default to null] |
| **account\_address** | **String** | | [default to null] |
| **api\_key\_id** | **String** | | [default to null] |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

10 changes: 10 additions & 0 deletions docs/Models/SignerConfigResponse_oneOf_5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SignerConfigResponse_oneOf_5
## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
| **key** | [**GoogleCloudKmsSignerKeyResponseConfig**](GoogleCloudKmsSignerKeyResponseConfig.md) | | [default to null] |
| **service\_account** | [**GoogleCloudKmsSignerServiceAccountResponseConfig**](GoogleCloudKmsSignerServiceAccountResponseConfig.md) | | [default to null] |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

6 changes: 3 additions & 3 deletions docs/Models/TransactionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
| **data** | **String** | | [optional] [default to null] |
| **from** | **String** | | [default to null] |
| **gas\_limit** | **Long** | | [optional] [default to null] |
| **gas\_price** | **Integer** | | [optional] [default to null] |
| **gas\_price** | **String** | | [optional] [default to null] |
| **hash** | **String** | | [optional] [default to null] |
| **id** | **String** | | [default to null] |
| **max\_fee\_per\_gas** | **Integer** | | [optional] [default to null] |
| **max\_priority\_fee\_per\_gas** | **Integer** | | [optional] [default to null] |
| **max\_fee\_per\_gas** | **String** | | [optional] [default to null] |
| **max\_priority\_fee\_per\_gas** | **String** | | [optional] [default to null] |
| **nonce** | **Long** | | [optional] [default to null] |
| **relayer\_id** | **String** | | [default to null] |
| **sent\_at** | **String** | | [optional] [default to null] |
Expand Down
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ All URIs are relative to *http://localhost*
- [AuthSpec_oneOf_3](./Models/AuthSpec_oneOf_3.md)
- [AwsKmsSignerRequestConfig](./Models/AwsKmsSignerRequestConfig.md)
- [BalanceResponse](./Models/BalanceResponse.md)
- [CdpSignerRequestConfig](./Models/CdpSignerRequestConfig.md)
- [ContractSource](./Models/ContractSource.md)
- [ContractSource_oneOf](./Models/ContractSource_oneOf.md)
- [ContractSource_oneOf_1](./Models/ContractSource_oneOf_1.md)
Expand Down Expand Up @@ -176,6 +177,7 @@ All URIs are relative to *http://localhost*
- [SignerConfigResponse_oneOf_2](./Models/SignerConfigResponse_oneOf_2.md)
- [SignerConfigResponse_oneOf_3](./Models/SignerConfigResponse_oneOf_3.md)
- [SignerConfigResponse_oneOf_4](./Models/SignerConfigResponse_oneOf_4.md)
- [SignerConfigResponse_oneOf_5](./Models/SignerConfigResponse_oneOf_5.md)
- [SignerCreateRequest](./Models/SignerCreateRequest.md)
- [SignerResponse](./Models/SignerResponse.md)
- [SignerType](./Models/SignerType.md)
Expand Down
58 changes: 50 additions & 8 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4274,6 +4274,31 @@
}
}
},
"CdpSignerRequestConfig": {
"type": "object",
"description": "CDP signer configuration for API requests",
"required": [
"api_key_id",
"api_key_secret",
"wallet_secret",
"account_address"
],
"properties": {
"account_address": {
"type": "string"
},
"api_key_id": {
"type": "string"
},
"api_key_secret": {
"type": "string"
},
"wallet_secret": {
"type": "string"
}
},
"additionalProperties": false
},
"ContractSource": {
"oneOf": [
{
Expand Down Expand Up @@ -4601,8 +4626,7 @@
"minimum": 0
},
"gas_price": {
"type": "integer",
"minimum": 0
"type": "string"
},
"hash": {
"type": "string"
Expand All @@ -4611,12 +4635,10 @@
"type": "string"
},
"max_fee_per_gas": {
"type": "integer",
"minimum": 0
"type": "string"
},
"max_priority_fee_per_gas": {
"type": "integer",
"minimum": 0
"type": "string"
},
"nonce": {
"type": "integer",
Expand Down Expand Up @@ -6284,6 +6306,9 @@
{
"$ref": "#/components/schemas/TurnkeySignerRequestConfig"
},
{
"$ref": "#/components/schemas/CdpSignerRequestConfig"
},
{
"$ref": "#/components/schemas/GoogleCloudKmsSignerRequestConfig"
}
Expand Down Expand Up @@ -6390,6 +6415,21 @@
}
}
},
{
"type": "object",
"required": [
"api_key_id",
"account_address"
],
"properties": {
"account_address": {
"type": "string"
},
"api_key_id": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -6465,7 +6505,8 @@
"google_cloud_kms",
"vault",
"vault_transit",
"turnkey"
"turnkey",
"cdp"
]
},
"SignerTypeRequest": {
Expand All @@ -6477,6 +6518,7 @@
"vault",
"vault_transit",
"turnkey",
"cdp",
"google_cloud_kms"
]
},
Expand Down Expand Up @@ -7413,4 +7455,4 @@
"description": "Health is responsible for showing the health of the relayers."
}
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"generate:docs": "pnpm openapi-generator-cli generate -i ./openapi.json -g markdown -o docs",
"post:generate:client": "node scripts/post-generate.js",
"build:client": "pnpm clean:dist && tsc -p tsconfig.build.json && tsc -p tsconfig.build.esm.json",
"generate": "pnpm generate:client && pnpm post:generate:client && pnpm build:client",
"generate": "pnpm generate:client && pnpm post:generate:client && pnpm build:client && pnpm generate:docs",
"prepare": "husky",
"pre-commit": "lint-staged",
"lint": "prettier --check --write .",
Expand Down
2 changes: 2 additions & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ models/auth-spec-one-of3.ts
models/auth-spec.ts
models/aws-kms-signer-request-config.ts
models/balance-response.ts
models/cdp-signer-request-config.ts
models/contract-source-one-of.ts
models/contract-source-one-of1.ts
models/contract-source.ts
Expand Down Expand Up @@ -145,6 +146,7 @@ models/signer-config-response-one-of1.ts
models/signer-config-response-one-of2.ts
models/signer-config-response-one-of3.ts
models/signer-config-response-one-of4.ts
models/signer-config-response-one-of5.ts
models/signer-config-response.ts
models/signer-create-request.ts
models/signer-response.ts
Expand Down
48 changes: 48 additions & 0 deletions src/models/cdp-signer-request-config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* tslint:disable */
/* eslint-disable */
/**
* OpenZeppelin Relayer API
* OpenZeppelin Relayer API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* CDP signer configuration for API requests
* @export
* @interface CdpSignerRequestConfig
*/
export interface CdpSignerRequestConfig {
/**
*
* @type {string}
* @memberof CdpSignerRequestConfig
*/
'account_address': string;
/**
*
* @type {string}
* @memberof CdpSignerRequestConfig
*/
'api_key_id': string;
/**
*
* @type {string}
* @memberof CdpSignerRequestConfig
*/
'api_key_secret': string;
/**
*
* @type {string}
* @memberof CdpSignerRequestConfig
*/
'wallet_secret': string;
}

12 changes: 6 additions & 6 deletions src/models/evm-transaction-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ export interface EvmTransactionResponse {
'gas_limit'?: number | null;
/**
*
* @type {number}
* @type {string}
* @memberof EvmTransactionResponse
*/
'gas_price'?: number;
'gas_price'?: string;
/**
*
* @type {string}
Expand All @@ -79,16 +79,16 @@ export interface EvmTransactionResponse {
'id': string;
/**
*
* @type {number}
* @type {string}
* @memberof EvmTransactionResponse
*/
'max_fee_per_gas'?: number;
'max_fee_per_gas'?: string;
/**
*
* @type {number}
* @type {string}
* @memberof EvmTransactionResponse
*/
'max_priority_fee_per_gas'?: number;
'max_priority_fee_per_gas'?: string;
/**
*
* @type {number}
Expand Down
2 changes: 2 additions & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export * from './auth-spec-one-of2';
export * from './auth-spec-one-of3';
export * from './aws-kms-signer-request-config';
export * from './balance-response';
export * from './cdp-signer-request-config';
export * from './contract-source';
export * from './contract-source-one-of';
export * from './contract-source-one-of1';
Expand Down Expand Up @@ -129,6 +130,7 @@ export * from './signer-config-response-one-of1';
export * from './signer-config-response-one-of2';
export * from './signer-config-response-one-of3';
export * from './signer-config-response-one-of4';
export * from './signer-config-response-one-of5';
export * from './signer-create-request';
export * from './signer-response';
export * from './signer-type';
Expand Down
5 changes: 4 additions & 1 deletion src/models/signer-config-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
import type { AwsKmsSignerRequestConfig } from './aws-kms-signer-request-config';
// May contain unused imports in some cases
// @ts-ignore
import type { CdpSignerRequestConfig } from './cdp-signer-request-config';
// May contain unused imports in some cases
// @ts-ignore
import type { GoogleCloudKmsSignerKeyRequestConfig } from './google-cloud-kms-signer-key-request-config';
// May contain unused imports in some cases
// @ts-ignore
Expand All @@ -43,6 +46,6 @@ import type { VaultTransitSignerRequestConfig } from './vault-transit-signer-req
* Signer configuration enum for API requests (without type discriminator)
* @export
*/
export type SignerConfigRequest = AwsKmsSignerRequestConfig | GoogleCloudKmsSignerRequestConfig | LocalSignerRequestConfig | TurnkeySignerRequestConfig | VaultSignerRequestConfig | VaultTransitSignerRequestConfig;
export type SignerConfigRequest = AwsKmsSignerRequestConfig | CdpSignerRequestConfig | GoogleCloudKmsSignerRequestConfig | LocalSignerRequestConfig | TurnkeySignerRequestConfig | VaultSignerRequestConfig | VaultTransitSignerRequestConfig;


Loading